consul_application_settings 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/Gemfile.lock +2 -2
- 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: a2781ea5f69c58f31fd715aee2077fe95d20bff9cba28ba51581a7241f8a4bd1
|
4
|
+
data.tar.gz: 5a1143fdb696ec589688c89c76488e3d06a6627a37115999e111231d2d688388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 245f2bb1637928d4c5e61cdbe993a584da5e73f62f34d9ea1c1608fb45c223882db9154bc4f676d2cf0f23fb7529a81eef0a33b35a2c7148b9b57746f18f2586
|
7
|
+
data.tar.gz: 36b25f0e8bf076f72f8f60cf54708f3622c5c1ed18b11f9049a86a7f76157db74dca025a1da1c5f4819b8affc42146ebd0c19281a67d5834ddd7c1f1119fcf20
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.1.3]
|
4
|
+
### Fixes
|
5
|
+
- Add `Diplomat::PathNotFound` to the list of caught exceptions
|
6
|
+
|
3
7
|
## [0.1.2]
|
4
8
|
### Fixes
|
5
9
|
- Catch system call errors when consul not available
|
@@ -18,7 +22,8 @@
|
|
18
22
|
- Support deep settings search
|
19
23
|
- Support nested configs
|
20
24
|
|
21
|
-
[Unreleased]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.
|
25
|
+
[Unreleased]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.3...HEAD
|
26
|
+
[0.1.3]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.2...0.1.3
|
22
27
|
[0.1.2]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.1...0.1.2
|
23
28
|
[0.1.1]: https://github.com/matic-insurance/consul_application_settings/compare/0.1.0...0.1.1
|
24
29
|
[0.1.0]: https://github.com/matic-insurance/consul_application_settings/compare/cb7194f...0.1.0
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
deep_merge (~> 1.0, >= 1.0.1)
|
15
15
|
faraday (~> 0.9)
|
16
16
|
docile (1.3.1)
|
17
|
-
faraday (0.17.
|
17
|
+
faraday (0.17.3)
|
18
18
|
multipart-post (>= 1.2, < 3)
|
19
19
|
jaro_winkler (1.5.2)
|
20
20
|
json (2.2.0)
|
@@ -69,4 +69,4 @@ DEPENDENCIES
|
|
69
69
|
simplecov (~> 0.16)
|
70
70
|
|
71
71
|
BUNDLED WITH
|
72
|
-
2.
|
72
|
+
2.1.2
|
@@ -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 SystemCallError, Faraday::ConnectionFailed => e
|
45
|
+
rescue SystemCallError, Faraday::ConnectionFailed, Diplomat::PathNotFound => 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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Volodymyr Mykhailyk
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diplomat
|