Skip to content

Commit

Permalink
## 2.1.0
Browse files Browse the repository at this point in the history
* Downgrade .
  • Loading branch information
Nialixus committed Oct 19, 2023
1 parent 1eb5db2 commit f93632d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 9 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@

## 2.0.3
* Hide EnvEncryption
* Hide EnvParser
* Hide EnvParser

## 2.1.0
* Downgrade `cryptography`.
3 changes: 3 additions & 0 deletions example/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Env Reader related
.env
assets/env/

# Miscellaneous
*.class
Expand Down
2 changes: 1 addition & 1 deletion example/assets/env/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
YFUGCtrfyGKHzriwmWhRq3eJ2hCR5v6K85xU+odlmBzpKPc2K8tI+YTB3O1mm+Do5dtqVZOweza0/GwUx3J/zxA2WbrmWQP1AVDZKLO3QLEaohT4XTtb+IjVqKOZVp5UgDMiwsEXESBMZ3kZPptdHiBIjRtmUjDTNurGUJ+/1Fs7tpLs42/kVaTmncUSr+X7yS4ym7Lw/G+S7/v1+sZQ6CbsgHD42KeIO9JMX/9pOc6lCoYrcU3kn/BdMhGUgHZ5GM3hSsAKlWkK+AolV0qkzUmQRpGzldZHDzijj/wM9+hqwIu8sbsQtl2fzdAkNqn9yg/vCcLzJYWOsjDk9rMYsi6YJID8vM67Czbr4TICSd/cbHWUBuNZt1Ua5XcOtf8wxuYfokCW1KIxYX+dy2IL0aGK6Nzkugp3capfZ7EeZB55jdOTApS8V29cAtritfHJ5J/UTLGzXxMuYyKTlxIt6oSjBL+m39PX7tHoVFETUKJAGyVDgb6cT8cBr9cfQJxj1LEonWBcpOBC0CtvhpibFU4/xV4VMmhR3+pRZogcwVIAVQoG7recqyZIKI2rnpvElIiKsckakPSMnrWc1r9vomjWe9tSQittxYxT8WDCVSifWLAsh1/h+h01U9fQ9VU8CorGB/iQkWg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9H2qlNl3K8jTXrne75T9XyhzH8UxsmPVM17gJMiFAeG7iXbspFZqNxcF0ptiTjQ0ilhXudGkxP5d8mvP2TTqkY5SFljI3wpqNf/NnpL7StBXqjE9JL6hmiUGdztVMaC1U7sfuOVISxqQXivy80+h+DstRDS1gtAnj1m7Hn2zHQacNNNrmUzA1s/ZG6o35TusPBGWOqiaXX5U5KWhy+d+FS8x5we2djCHoBudMWIG+t1AUO9ggCCkK8F7zkguH/Ay1FQ/4q+FOSo88gZ0EWmJ+f0d54tGVP7ziX5tcy5comnvMW7914DLbhg5zB1QqNqbVHHj98EqfgxIPmvsS0HzHovKxDY7Nw26GBEBFWVU/QYpm3H24HbY5xSrHvzqZzimU2Y0HDYoppWejTm1KCecR1P3mVa9f8RZvu61RsYwJpCf6aq82C4aQlXSh1oXQl+9wPGuK3xh05FTvkBa9Q23+Ews0kjeuV9bpmXX/nrjOJpp+dY6Tg0ASLJRCnkiy7ewIFodoWB+1CAlY36TX9SQ2++HPWhUnS9mb3SbCscOfw7GGOegYABFfUzkBsY9Tob/Pd/0upsFGzTZ/KKP0AkRRrSioeW6ZZfCq+S7v5NSpy4dRT1bcwyPeG037u0DcT+8TzZWXsgqUfBDbNycGz6xa8dCLsTFnl8W1OPdh1aq42y.cJA72VGghSDQCiTe.+Hl5gwx2qqTJxL65UGopuQ==
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Future<void> main(List<String> arguments) async {
WidgetsFlutterBinding.ensureInitialized();
await Env.load(
EnvStringLoader(await rootBundle.loadString('assets/env/.env')),
"MyOptionalSecretKey",
"Nigam.123",
);
runApp(
const MaterialApp(
Expand Down
3 changes: 1 addition & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.8.0"
version: "2.0.3"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -257,4 +257,3 @@ packages:
version: "0.1.4-beta"
sdks:
dart: ">=3.1.0 <4.0.0"
flutter: ">=1.17.0"
2 changes: 1 addition & 1 deletion lib/env_reader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class EnvReader {
try {
value = await source.data(key);
} catch (e) {
log("\n\n\u001b[1m[ENV_READER]\u001b[31m 💥 Unable to load data\u001b[0m 💥\n$e\n\n");
log("\u001b[1mEnvReader:\u001b[31m Unable to load data\u001b[0m\n$e");
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/env_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class EnvParser {
}
} catch (e) {
// [10] Tell user that env value was unable to be parsed.
log("\n\n\u001b[1m[ENV_READER]\u001b[31m 💥 Parsing failed on line ${index + 1}\u001b[0m 💥\n$e\n\n");
log("\u001b[1mEnvReader:\u001b[31m Parsing failed on line ${index + 1}\u001b[0m 💥\n$e");
}
}
return data;
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: env_reader
description: Read, encrypt, or generate environment variables from a .env file
into an obfuscated Dart model.
version: 2.0.3
version: 2.1.0
homepage: https://github.com/Nialixus/env_reader
repository: https://github.com/Nialixus/env_reader.git
issue_tracker: https://github.com/Nialixus/env_reader/issues
Expand All @@ -28,7 +28,7 @@ environment:

dependencies:
args: ^2.4.2
cryptography: ^2.7.0
cryptography: ^2.2.0
http: ^1.1.0

dev_dependencies:

0 comments on commit f93632d

Please sign in to comment.