From 9d56bd76af2aaf2c1cbe1cc15fc011bc63c79015 Mon Sep 17 00:00:00 2001
From: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
Date: Sat, 12 Sep 2020 16:47:26 +0200
Subject: [PATCH 1/2] fix get_secret spec in the README

Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
---
 README.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 3dc0adc..fa63b4c 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ TEST_BOOL="false"
 TEST_STRING="this is a string"
 TEST_LIST1="this is a list"
 TEST_LIST2="this,is,also,a,list"
-TEST_SECRET1="this is a secret in an environment variable"
+TEST_SECRET1="this is a secret in an environment variable\n"
 TEST_SECRET2_FILE="./secret.txt"
 $ cat -e ./secret.txt
 this is a secret in a file$
@@ -42,6 +42,8 @@ True
 ["this", "is", "also", "a", "list"]
 >>> env.get_secret("TEST_SECRET1")
 "this is a secret in an environment variable"
+>>> env.get_secret("TEST_SECRET1", strip_value=False)
+"this is a secret in an environment variable\n"
 >>> env.get_secret("TEST_SECRET2")
 "this is a secret in a file"
 ```
@@ -54,4 +56,4 @@ True
 
 #### `env.get_list(name, default=env.NO_DEFAULT, separator=None)`
 
-#### `env.get_secret(name, default=env.NO_DEFAULT)`
+#### `env.get_secret(name, default=env.NO_DEFAULT, strip_value=True)`
-- 
GitLab


From eca524da6e6b335cda90016b2acf13da06f9e21c Mon Sep 17 00:00:00 2001
From: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
Date: Sun, 13 Sep 2020 11:41:31 +0200
Subject: [PATCH 2/2] project: bump version to 1.1.0

Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 882e3b3..e8e3016 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "epita-env"
-version = "1.0.0"
+version = "1.1.0"
 description = "EPITA env helper"
 license = "AGPL-3.0"
 authors = ["Marin Hannache <mareo@cri.epita.fr>"]
-- 
GitLab