consul_application_settings 0.1.1 → 0.1.2

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: 9af6fab64f896c6b73c82ed78561f870968460c4cdb41990cac1032030baf3fa
4
- data.tar.gz: 2108b97a57db3a42008960887cf1c1e17962cd7a6f10bd694412d1836536d461
3
+ metadata.gz: 217e64bc55c1429ea1ceb07c52f5a1772d4eeaf6ea3f462f87441c44f09bf064
4
+ data.tar.gz: f97e71bf4951502bd5f5bbd64373415b6f100a9bdff7b314bcb6a1e56c629bea
5
5
  SHA512:
6
- metadata.gz: 7cba0e8a105b7974e18d58e37daec38d830882c74fc3bc4e76e341cababc5497298d142c2a934bf826699b27af6b316aa6675974c35b04725a53716f4829c47b
7
- data.tar.gz: fd68775e59908f91f947a4154413203cd98b278ab31807637fc504aff7a8499bbf4e2d94fa0feb1bf2cee8c9a6e70b6b4762c2b10f1283ca3dde7c14b22e1945
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.1...HEAD
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
 
@@ -1,3 +1,3 @@
1
1
  module ConsulApplicationSettings
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.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.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-28 00:00:00.000000000 Z
11
+ date: 2019-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diplomat