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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 217e64bc55c1429ea1ceb07c52f5a1772d4eeaf6ea3f462f87441c44f09bf064
4
- data.tar.gz: f97e71bf4951502bd5f5bbd64373415b6f100a9bdff7b314bcb6a1e56c629bea
3
+ metadata.gz: a2781ea5f69c58f31fd715aee2077fe95d20bff9cba28ba51581a7241f8a4bd1
4
+ data.tar.gz: 5a1143fdb696ec589688c89c76488e3d06a6627a37115999e111231d2d688388
5
5
  SHA512:
6
- metadata.gz: d61c76b0498c2f0e0c671fd5c9c34c0bd953afe25ca670651a08e9e9f0074c4e1aab65490089afe4a5bb49fe325680cd69e4dbd5269311c54af4636963f1e48d
7
- data.tar.gz: 2cc543c9248f936bb1af11582c9e05ed7c163b6ee9de481a4d24cccd5e57a44e8350f8de4cd933488aa4a758c8175fae8ea6342ffa860a2553b73320f9fe320c
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.2...HEAD
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.1)
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.0.1
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
 
@@ -1,3 +1,3 @@
1
1
  module ConsulApplicationSettings
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
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.2
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: 2019-11-29 00:00:00.000000000 Z
11
+ date: 2020-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diplomat