consul_application_settings 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/consul_application_settings/options.rb +1 -1
- data/lib/consul_application_settings/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 217e64bc55c1429ea1ceb07c52f5a1772d4eeaf6ea3f462f87441c44f09bf064
|
|
4
|
+
data.tar.gz: f97e71bf4951502bd5f5bbd64373415b6f100a9bdff7b314bcb6a1e56c629bea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d61c76b0498c2f0e0c671fd5c9c34c0bd953afe25ca670651a08e9e9f0074c4e1aab65490089afe4a5bb49fe325680cd69e4dbd5269311c54af4636963f1e48d
|
|
7
|
+
data.tar.gz: 2cc543c9248f936bb1af11582c9e05ed7c163b6ee9de481a4d24cccd5e57a44e8350f8de4cd933488aa4a758c8175fae8ea6342ffa860a2553b73320f9fe320c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.1.2]
|
|
4
|
+
### Fixes
|
|
5
|
+
- Catch system call errors when consul not available
|
|
6
|
+
|
|
3
7
|
## [0.1.1]
|
|
4
8
|
### New features
|
|
5
9
|
- Allow Operations without Consul
|
|
@@ -14,6 +18,7 @@
|
|
|
14
18
|
- Support deep settings search
|
|
15
19
|
- Support nested configs
|
|
16
20
|
|
|
17
|
-
[Unreleased]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.
|
|
21
|
+
[Unreleased]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.2...HEAD
|
|
22
|
+
[0.1.2]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.1...0.1.2
|
|
18
23
|
[0.1.1]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.0...0.1.1
|
|
19
24
|
[0.1.0]: https://github.com/matic-insurance/consul_application_settings/compare/cb7194f...0.1.0
|
|
@@ -42,7 +42,7 @@ module ConsulApplicationSettings
|
|
|
42
42
|
|
|
43
43
|
def key_value(name)
|
|
44
44
|
Diplomat::Kv.get(key_path(name), {}, :return)
|
|
45
|
-
rescue Faraday::ConnectionFailed => e
|
|
45
|
+
rescue SystemCallError, Faraday::ConnectionFailed => e
|
|
46
46
|
raise e unless ConsulApplicationSettings.config.disable_consul_connection_errors
|
|
47
47
|
end
|
|
48
48
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: consul_application_settings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Volodymyr Mykhailyk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-11-
|
|
11
|
+
date: 2019-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: diplomat
|