app_konfig 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.MD +4 -0
- data/lib/app_konfig/config.rb +1 -1
- data/lib/app_konfig/version.rb +1 -1
- data/spec/app_konfig_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb95d8fab72354ed94eebaed550157930b6ead49
|
4
|
+
data.tar.gz: 0143be4e96589cc8cc9ea9cd1ac61460e8bcb0a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 417300f48c53866371a3a338e2ed7f6eadbf796efbd5fad4fc6e3fdf5eb675c2f63b8f550a420569429d3bde6ec0b1372131f9e7f30795d8974ce398e9537df7
|
7
|
+
data.tar.gz: 981653ed437ec513f9e4c9de584a816649d75d1f75f2109d5f42b35225c30b78fc18984c188899fa81747b49a223f8590288485353a24541cc415c8a8878cab5
|
data/CHANGELOG.MD
CHANGED
data/lib/app_konfig/config.rb
CHANGED
data/lib/app_konfig/version.rb
CHANGED
data/spec/app_konfig_spec.rb
CHANGED
@@ -78,6 +78,15 @@ RSpec.describe AppKonfig::Config do
|
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
|
+
context 'when config file is not found' do
|
82
|
+
it 'fails silently' do
|
83
|
+
stub_const('AppKonfig::Config::CONFIG_PATH', {
|
84
|
+
public: '',
|
85
|
+
secret: './config/secrets.yml',
|
86
|
+
})
|
87
|
+
expect{ subject }.not_to raise_error
|
88
|
+
end
|
89
|
+
end
|
81
90
|
|
82
91
|
context 'when secrets file is not found' do
|
83
92
|
it 'fails silently' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app_konfig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bartosz Kopiński
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|