a9n 0.8.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c01e44cda9bcf5236abb9f3e48b210770559debc113dd329eb9be58be5e6ffb
4
- data.tar.gz: 19cc16d440842053dd4deaf3534fa4367d4be03d72f672249d42bfd133e24fd5
3
+ metadata.gz: 64635e48744929de570a088a20cbd25dfd0f0d8e436f315bafda97fe5ede1201
4
+ data.tar.gz: 797e01d61523df13ec756aeb118554736436dc65bcb96e89862bdcae558efb63
5
5
  SHA512:
6
- metadata.gz: a5258bfce395c5b2af491824036833601979f1f0b7fbb7bd22d999549698e0240de74911c92bf83acc7e5db61a1ad34015799783ae1dffc4877b03d02ce0bf09
7
- data.tar.gz: 185d114b3f8db2aefefe5e4a8a4b434b19be429d6c28b1d840c45e7d91e1537fb47c11410097192ac3d6c8141ea73a2afeda083c6985c96051ca3e47837d8d52
6
+ metadata.gz: ef3c1cf8cdc5b46b9a97ce6cea4527cd24bb069790dcf06359cab9d371484da55d397b38b0ec87653fc76cf51f92c567ba2daf4dcd1c5253f1e000c4d1148a6e
7
+ data.tar.gz: 4fe030566efa78a7845657c95dda4e2c0eddc8799b449343cb00995227f9a5183da5340bb37100ebc7835b51a70450b4310512e133b4ebdbee31687ebd31d12d
data/README.md CHANGED
@@ -24,10 +24,10 @@ And then execute:
24
24
 
25
25
  $ bundle
26
26
 
27
- Add `configuration.yml.example` and/or `configuration.yml` file into the config
27
+ Add `a9n.yml.example` and/or `a9n.yml` file into the config
28
28
  directory. When none fo these files exists, `A9n::MissingConfigurationFile`
29
- exception is thrown. You can also use `a9n.yml`, which is loaded by default.
30
- If both file exist, content of `configuration.yml` is validated. It means that
29
+ exception is thrown. You can also use `configuration.yml(.example)`.
30
+ If both file exist, content of `a9n.yml` is validated. It means that
31
31
  all keys existing in example file must exist in local file - in case of missing
32
32
  keys `A9n::MissingConfigurationVariablesError` is thrown with the explanation what is missing.
33
33
 
@@ -62,7 +62,7 @@ is accessible by:
62
62
 
63
63
  ## Custom and multiple configuration files
64
64
 
65
- If you want to split configuration, you can use multiple files. All files from `config/a9n` are loaded by default, but you may pass custom paths as an argument to `A9n.load` e.g. `A9n.load('config/facebook.yml', 'config/mongoid.yml')`. In such cases config items are accessible through the scope consistent with the file name.
65
+ If you want to split configuration, you can use multiple files. All files from `config/a9n` are loaded by default, but you may pass custom paths as an argument to `A9n.load` e.g. `A9n.load('config/aws.yml', 'config/mail.yml')`. In such cases config items are accessible through the scope consistent with the file name.
66
66
 
67
67
  E.g. if you have `config/a9n/mail.yml`:
68
68
 
@@ -100,7 +100,7 @@ Just add an instance configuration file e.g. `configuration.yml.staging`, `confi
100
100
 
101
101
  require 'a9n/capistrano'
102
102
 
103
- to your Capfile. This way `configuration.yml.<stage>` overrides `configuration.yml` on each deploy.
103
+ to your Capfile. This way `a9n.yml.<stage>` overrides `a9n.yml` on each deploy.
104
104
 
105
105
  ## Contributing
106
106
 
data/lib/a9n.rb CHANGED
@@ -27,7 +27,7 @@ module A9n
27
27
  end
28
28
 
29
29
  def app_env
30
- app&.env
30
+ app.env if app.respond_to?(:env)
31
31
  end
32
32
 
33
33
  def app
@@ -43,7 +43,7 @@ module A9n
43
43
  end
44
44
 
45
45
  def app_root
46
- app&.root
46
+ app.root if app.respond_to?(:root)
47
47
  end
48
48
 
49
49
  def root=(path)
@@ -1,3 +1,3 @@
1
1
  module A9n
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.8.2'.freeze
3
3
  end
@@ -5,8 +5,9 @@ RSpec.describe A9n do
5
5
 
6
6
  before do
7
7
  clean_singleton(subject)
8
- ENV['ERB_DWARF'] = 'erbized dwarf'
9
- ENV['DWARF_PASSWORD'] = 'dwarf123'
8
+ ENV['ERB_FOO'] = 'erbized foo'
9
+ ENV['FOO_PASSWORD'] = 'foo123'
10
+ ENV['FOO_KEY'] = 'key123'
10
11
  ENV['AWS_API_KEY'] = 'ASDF1234'
11
12
  ENV['API_KEY'] = 'XYZ999'
12
13
  subject.app = double(env: env)
@@ -16,7 +17,10 @@ RSpec.describe A9n do
16
17
 
17
18
  after do
18
19
  clean_singleton(subject)
19
- ENV.delete('GOOGLE_API_KEY')
20
+ ENV.delete('ERB_FOO')
21
+ ENV.delete('FOO_PASSWORD')
22
+ ENV.delete('FOO_KEY')
23
+ ENV.delete('AWS_API_KEY')
20
24
  ENV.delete('API_KEY')
21
25
  end
22
26
 
@@ -26,20 +30,20 @@ RSpec.describe A9n do
26
30
  end
27
31
 
28
32
  it do
29
- expect(subject.default_dwarf).to eq('default dwarf')
30
- expect(subject.overriden_dwarf).to eq('already overriden dwarf')
31
- subject.set(:default_dwarf, 'lazy dwarf')
32
- subject.set(:overriden_dwarf, 'hard working dwarf')
33
- expect(subject.default_dwarf).to eq('lazy dwarf')
34
- expect(subject.overriden_dwarf).to eq('hard working dwarf')
33
+ expect(subject.default_foo).to eq('default foo')
34
+ expect(subject.overriden_foo).to eq('already overriden foo')
35
+ subject.set(:default_foo, 'lazy foo')
36
+ subject.set(:overriden_foo, 'hard working foo')
37
+ expect(subject.default_foo).to eq('lazy foo')
38
+ expect(subject.overriden_foo).to eq('hard working foo')
35
39
  subject.load
36
- expect(subject.default_dwarf).to eq('default dwarf')
37
- expect(subject.overriden_dwarf).to eq('already overriden dwarf')
40
+ expect(subject.default_foo).to eq('default foo')
41
+ expect(subject.overriden_foo).to eq('already overriden foo')
38
42
  end
39
43
 
40
44
  it do
41
- expect(subject.fetch(:default_dwarf)).to eq('default dwarf')
42
- expect(subject.fetch(:overriden_dwarf)).to eq('already overriden dwarf')
45
+ expect(subject.fetch(:default_foo)).to eq('default foo')
46
+ expect(subject.fetch(:overriden_foo)).to eq('already overriden foo')
43
47
  end
44
48
 
45
49
  it do
@@ -59,13 +63,13 @@ RSpec.describe A9n do
59
63
  let(:env) { 'tropical' }
60
64
 
61
65
  it do
62
- expect(subject.default_dwarf).to eq('default dwarf')
63
- expect(subject.overriden_dwarf).to eq('not yet overriden dwarf')
66
+ expect(subject.default_foo).to eq('default foo')
67
+ expect(subject.overriden_foo).to eq('not yet overriden foo')
64
68
  end
65
69
 
66
70
  it do
67
- expect(subject.fetch(:default_dwarf)).to eq('default dwarf')
68
- expect(subject.fetch(:overriden_dwarf)).to eq('not yet overriden dwarf')
71
+ expect(subject.fetch(:default_foo)).to eq('default foo')
72
+ expect(subject.fetch(:overriden_foo)).to eq('not yet overriden foo')
69
73
  end
70
74
  end
71
75
 
@@ -9,14 +9,16 @@ RSpec.describe A9n do
9
9
  end
10
10
 
11
11
  context 'app_env is set' do
12
+ let(:app) { OpenStruct.new(env: ::A9n::StringInquirer.new('foo_env')) }
13
+
12
14
  before do
13
- expect(subject).to receive(:app).and_return(double(env: ::A9n::StringInquirer.new('dwarf_env')))
15
+ allow(subject).to receive(:app).and_return(app)
14
16
  expect(subject).to receive(:env_var).never
15
17
  end
16
18
 
17
19
  it do
18
- expect(subject.env).to eq('dwarf_env')
19
- expect(subject.env.dwarf_env?).to eq(true)
20
+ expect(subject.env).to eq('foo_env')
21
+ expect(subject.env.foo_env?).to eq(true)
20
22
  expect(subject.env.production?).to eq(false)
21
23
  end
22
24
  end
@@ -26,12 +28,12 @@ RSpec.describe A9n do
26
28
  expect(subject).to receive(:app_env).and_return(nil)
27
29
  expect(subject).to receive(:env_var).with('RAILS_ENV').and_return(nil)
28
30
  expect(subject).to receive(:env_var).with('RACK_ENV').and_return(nil)
29
- expect(subject).to receive(:env_var).with('APP_ENV').and_return('dwarf_env')
31
+ expect(subject).to receive(:env_var).with('APP_ENV').and_return('foo_env')
30
32
  end
31
33
 
32
34
  it do
33
- expect(subject.env).to eq('dwarf_env')
34
- expect(subject.env.dwarf_env?).to eq(true)
35
+ expect(subject.env).to eq('foo_env')
36
+ expect(subject.env.foo_env?).to eq(true)
35
37
  expect(subject.env.production?).to eq(false)
36
38
  end
37
39
  end
@@ -75,7 +77,7 @@ RSpec.describe A9n do
75
77
 
76
78
  describe '.root' do
77
79
  context 'when app is set' do
78
- let(:app) { double(env: 'test', root: '/apps/a9n') }
80
+ let(:app) { OpenStruct.new(env: 'test', root: '/apps/a9n') }
79
81
 
80
82
  before do
81
83
  subject.app = app
@@ -149,15 +151,15 @@ RSpec.describe A9n do
149
151
 
150
152
  describe '.env_var' do
151
153
  before do
152
- ENV['DWARF'] = 'little dwarf'
154
+ ENV['FOO'] = 'little foo'
153
155
  end
154
156
 
155
157
  it do
156
- expect(subject.env_var('DWARF')).to eq('little dwarf')
158
+ expect(subject.env_var('FOO')).to eq('little foo')
157
159
  end
158
160
 
159
161
  it do
160
- expect(subject.env_var('IS_DWARF')).to be_nil
162
+ expect(subject.env_var('IS_FOO')).to be_nil
161
163
  end
162
164
  end
163
165
 
@@ -119,13 +119,15 @@ RSpec.describe A9n::Loader do
119
119
  end
120
120
 
121
121
  before do
122
- ENV['ERB_DWARF'] = 'erbized dwarf'
123
- ENV['DWARF_PASSWORD'] = 'dwarf123'
122
+ ENV['ERB_FOO'] = 'erbized foo'
123
+ ENV['FOO_PASSWORD'] = 'foo123'
124
+ ENV['FOO_KEY'] = 'key123'
124
125
  end
125
126
 
126
127
  after do
127
- ENV.delete('ERB_DWARF')
128
- ENV.delete('DWARF_PASSWORD')
128
+ ENV.delete('ERB_FOO')
129
+ ENV.delete('FOO_PASSWORD')
130
+ ENV.delete('FOO_KEY')
129
131
  end
130
132
 
131
133
  context 'when file has erb extension' do
@@ -140,32 +142,33 @@ RSpec.describe A9n::Loader do
140
142
  it_behaves_like 'non-empty config file'
141
143
 
142
144
  it 'contains keys from defaults scope' do
143
- expect(subject[:default_dwarf]).to eq('default dwarf')
144
- expect(subject[:overriden_dwarf]).to eq('already overriden dwarf')
145
+ expect(subject[:default_foo]).to eq('default foo')
146
+ expect(subject[:overriden_foo]).to eq('already overriden foo')
145
147
  end
146
148
 
147
149
  it 'has symbolized keys' do
148
150
  expect(subject.keys.first).to be_kind_of(Symbol)
149
- expect(subject[:hash_dwarf]).to be_kind_of(Hash)
150
- expect(subject[:hash_dwarf].keys.first).to be_kind_of(Symbol)
151
+ expect(subject[:hash_foo]).to be_kind_of(Hash)
152
+ expect(subject[:hash_foo].keys.first).to be_kind_of(Symbol)
153
+ expect(subject[:hash_foo]).to eq(foo_1: 'hello 1', foo_2: 'hello 2', foo_key: 'key123')
151
154
  end
152
155
 
153
156
  it 'parses erb' do
154
- expect(subject[:erb_dwarf]).to eq('erbized dwarf')
157
+ expect(subject[:erb_foo]).to eq('erbized foo')
155
158
  end
156
159
 
157
160
  it 'gets valus from ENV' do
158
- expect(subject[:dwarf_password]).to eq('dwarf123')
161
+ expect(subject[:foo_password]).to eq('foo123')
159
162
  end
160
163
 
161
164
  it 'raises exception when ENV var is not set' do
162
- ENV.delete('DWARF_PASSWORD')
163
- expect { subject[:dwarf_password] }.to raise_error(A9n::MissingEnvVariableError)
165
+ ENV.delete('FOO_PASSWORD')
166
+ expect { subject[:foo_password] }.to raise_error(A9n::MissingEnvVariableError)
164
167
  end
165
168
 
166
169
  it 'raises exception when ENV var is set to nil' do
167
- ENV['DWARF_PASSWORD'] = nil
168
- expect { subject[:dwarf_password] }.to raise_error(A9n::MissingEnvVariableError)
170
+ ENV['FOO_PASSWORD'] = nil
171
+ expect { subject[:foo_password] }.to raise_error(A9n::MissingEnvVariableError)
169
172
  end
170
173
  end
171
174
 
@@ -176,8 +179,8 @@ RSpec.describe A9n::Loader do
176
179
  it_behaves_like 'non-empty config file'
177
180
 
178
181
  it 'contains keys from defaults scope' do
179
- expect(subject[:default_dwarf]).to eq('default dwarf')
180
- expect(subject[:overriden_dwarf]).to eq('not yet overriden dwarf')
182
+ expect(subject[:default_foo]).to eq('default foo')
183
+ expect(subject[:overriden_foo]).to eq('not yet overriden foo')
181
184
  end
182
185
  end
183
186
 
@@ -11,38 +11,38 @@ RSpec.describe A9n::Struct do
11
11
  end
12
12
 
13
13
  describe '#key?' do
14
- it { expect(subject.key?(:dwarf)).to eq(false) }
14
+ it { expect(subject.key?(:foo)).to eq(false) }
15
15
  end
16
16
 
17
17
  describe '#[]' do
18
- it { expect(subject[:dwarf]).to eq(nil) }
18
+ it { expect(subject[:foo]).to eq(nil) }
19
19
  end
20
20
 
21
21
  describe '#fetch' do
22
22
  it do
23
- expect { subject.fetch(:dwarf) }.to raise_error(KeyError)
23
+ expect { subject.fetch(:foo) }.to raise_error(KeyError)
24
24
  end
25
25
 
26
26
  it do
27
- expect(subject.fetch(:dwarf, 'hello')).to eq('hello')
27
+ expect(subject.fetch(:foo, 'hello')).to eq('hello')
28
28
  end
29
29
  end
30
30
 
31
31
  it 'raises error on accessin invalid attribute' do
32
32
  expect {
33
- subject.dwarf
34
- }.to raise_error(A9n::NoSuchConfigurationVariableError, 'dwarf')
33
+ subject.foo
34
+ }.to raise_error(A9n::NoSuchConfigurationVariableError, 'foo')
35
35
  end
36
36
  end
37
37
 
38
38
  context 'with values' do
39
39
  let(:data) do
40
40
  {
41
- non_empty_dwarf: 'dwarf',
42
- nil_dwarf: nil,
43
- false_dwarf: false,
44
- true_dwarf: true,
45
- hash_dwarf: { dwarf: 'hello' }
41
+ non_empty_foo: 'foo',
42
+ nil_foo: nil,
43
+ false_foo: false,
44
+ true_foo: true,
45
+ hash_foo: { foo: 'hello' }
46
46
  }
47
47
  end
48
48
 
@@ -50,7 +50,7 @@ RSpec.describe A9n::Struct do
50
50
 
51
51
  describe '#keys' do
52
52
  it do
53
- expect(subject.keys).to eq [:non_empty_dwarf, :nil_dwarf, :false_dwarf, :true_dwarf, :hash_dwarf]
53
+ expect(subject.keys).to eq [:non_empty_foo, :nil_foo, :false_foo, :true_foo, :hash_foo]
54
54
  end
55
55
  end
56
56
 
@@ -69,7 +69,7 @@ RSpec.describe A9n::Struct do
69
69
  end
70
70
 
71
71
  describe '#key?' do
72
- it { expect(subject.key?(:nil_dwarf)).to eq(true) }
72
+ it { expect(subject.key?(:nil_foo)).to eq(true) }
73
73
  it { expect(subject.key?(:unknown)).to eq(false) }
74
74
  end
75
75
 
@@ -77,18 +77,18 @@ RSpec.describe A9n::Struct do
77
77
  before { subject.merge(argument) }
78
78
 
79
79
  context 'hash' do
80
- let(:argument) { { non_empty_dwarf: 'hello dwarf' } }
80
+ let(:argument) { { non_empty_foo: 'hello foo' } }
81
81
 
82
82
  it do
83
- expect(subject.non_empty_dwarf).to eq('hello dwarf')
83
+ expect(subject.non_empty_foo).to eq('hello foo')
84
84
  end
85
85
  end
86
86
 
87
87
  context 'struct' do
88
- let(:argument) { described_class.new(non_empty_dwarf: 'hello dwarf') }
88
+ let(:argument) { described_class.new(non_empty_foo: 'hello foo') }
89
89
 
90
90
  it do
91
- expect(subject.non_empty_dwarf).to eq('hello dwarf')
91
+ expect(subject.non_empty_foo).to eq('hello foo')
92
92
  end
93
93
  end
94
94
  end
@@ -98,69 +98,69 @@ RSpec.describe A9n::Struct do
98
98
  end
99
99
 
100
100
  it 'gets non-empty value' do
101
- expect(subject.non_empty_dwarf).to eq('dwarf')
101
+ expect(subject.non_empty_foo).to eq('foo')
102
102
  end
103
103
 
104
104
  it 'gets nil value' do
105
- expect(subject.nil_dwarf).to eq(nil)
105
+ expect(subject.nil_foo).to eq(nil)
106
106
  end
107
107
 
108
108
  it 'gets true value' do
109
- expect(subject.true_dwarf).to eq(true)
109
+ expect(subject.true_foo).to eq(true)
110
110
  end
111
111
 
112
112
  it 'gets false value' do
113
- expect(subject.false_dwarf).to eq(false)
113
+ expect(subject.false_foo).to eq(false)
114
114
  end
115
115
 
116
116
  it 'gets hash value' do
117
- expect(subject.hash_dwarf).to be_kind_of(Hash)
117
+ expect(subject.hash_foo).to be_kind_of(Hash)
118
118
  end
119
119
 
120
120
  it 'raises exception when value not exists' do
121
121
  expect {
122
- subject.non_existing_dwarf
122
+ subject.non_existing_foo
123
123
  }.to raise_error(A9n::NoSuchConfigurationVariableError)
124
124
  end
125
125
 
126
126
  describe '#[]' do
127
127
  it 'returns non empty value' do
128
- expect(subject[:non_empty_dwarf]).to eq('dwarf')
128
+ expect(subject[:non_empty_foo]).to eq('foo')
129
129
  end
130
130
 
131
131
  it 'returns false value' do
132
- expect(subject[:false_dwarf]).to eq(false)
132
+ expect(subject[:false_foo]).to eq(false)
133
133
  end
134
134
 
135
135
  it 'returns nil value' do
136
- expect(subject[:nil_dwarf]).to eq(nil)
136
+ expect(subject[:nil_foo]).to eq(nil)
137
137
  end
138
138
 
139
139
  it 'returns nil for non existing key' do
140
- expect(subject[:non_existing_dwarf]).to eq(nil)
140
+ expect(subject[:non_existing_foo]).to eq(nil)
141
141
  end
142
142
  end
143
143
 
144
144
  describe '#fetch' do
145
145
  it 'returns non empty value' do
146
- expect(subject.fetch(:non_empty_dwarf)).to eq('dwarf')
146
+ expect(subject.fetch(:non_empty_foo)).to eq('foo')
147
147
  end
148
148
 
149
149
  it 'returns false value' do
150
- expect(subject.fetch(:false_dwarf)).to eq(false)
150
+ expect(subject.fetch(:false_foo)).to eq(false)
151
151
  end
152
152
 
153
153
  it 'returns nil value' do
154
- expect(subject.fetch(:nil_dwarf)).to eq(nil)
154
+ expect(subject.fetch(:nil_foo)).to eq(nil)
155
155
  end
156
156
 
157
157
  it 'returns default for non existing value' do
158
- expect(subject.fetch(:non_existing_dwarf, 'hello')).to eq('hello')
158
+ expect(subject.fetch(:non_existing_foo, 'hello')).to eq('hello')
159
159
  end
160
160
 
161
161
  it 'raises error for non existing key' do
162
162
  expect {
163
- subject.fetch(:non_existing_dwarf)
163
+ subject.fetch(:non_existing_foo)
164
164
  }.to raise_error(KeyError)
165
165
  end
166
166
  end
@@ -6,7 +6,7 @@ require 'a9n'
6
6
  class SampleBenchmarkApp
7
7
  def run
8
8
  0.upto(1_000).map do |index|
9
- "#{index} #{::A9n.string_dwarf} #{::A9n.overriden_dwarf}"
9
+ "#{index} #{::A9n.string_foo} #{::A9n.overriden_foo}"
10
10
  end
11
11
  end
12
12
 
@@ -1,23 +1,25 @@
1
1
  defaults:
2
- default_dwarf: "default dwarf"
3
- overriden_dwarf: "not yet overriden dwarf"
4
- erb_dwarf: "<%= ENV['ERB_DWARF'] %>"
5
- dwarf_password: :env
2
+ default_foo: "default foo"
3
+ overriden_foo: "not yet overriden foo"
4
+ erb_foo: "<%= ENV['ERB_FOO'] %>"
5
+ foo_password: :env
6
6
  development:
7
- nil_dwarf: ~
8
- false_dwarf: false
9
- true_dwarf: true
10
- string_dwarf: "dwarf"
11
- overriden_dwarf: "already overriden dwarf"
12
- hash_dwarf:
13
- dwarf_1: "hello 1"
14
- dwarf_2: "hello 2"
7
+ nil_foo: ~
8
+ false_foo: false
9
+ true_foo: true
10
+ string_foo: "foo"
11
+ overriden_foo: "already overriden foo"
12
+ hash_foo:
13
+ foo_1: "hello 1"
14
+ foo_2: "hello 2"
15
+ foo_key: :env
15
16
  test:
16
- nil_dwarf: ~
17
- false_dwarf: false
18
- true_dwarf: true
19
- string_dwarf: "dwarf"
20
- overriden_dwarf: "already overriden dwarf"
21
- hash_dwarf:
22
- dwarf_1: "hello 1"
23
- dwarf_2: "hello 2"
17
+ nil_foo: ~
18
+ false_foo: false
19
+ true_foo: true
20
+ string_foo: "foo"
21
+ overriden_foo: "already overriden foo"
22
+ hash_foo:
23
+ foo_1: "hello 1"
24
+ foo_2: "hello 2"
25
+ foo_key: :env
@@ -1,23 +1,23 @@
1
1
  defaults:
2
- default_dwarf: "example default dwarf"
3
- overriden_dwarf: "example not yet overriden dwarf"
4
- erb_dwarf: "<%= ENV['ERB_DWARF'] %>"
5
- dwarf_password: :env
2
+ default_foo: "example default foo"
3
+ overriden_foo: "example not yet overriden foo"
4
+ erb_foo: "<%= ENV['ERB_FOO'] %>"
5
+ foo_password: :env
6
6
  development:
7
- nil_dwarf: ~
8
- false_dwarf: false
9
- true_dwarf: true
10
- string_dwarf: "dwarf"
11
- overriden_dwarf: "example already overriden dwarf"
12
- hash_dwarf:
13
- dwarf_1: "hello 1"
14
- dwarf_2: "hello 2"
7
+ nil_foo: ~
8
+ false_foo: false
9
+ true_foo: true
10
+ string_foo: "foo"
11
+ overriden_foo: "example already overriden foo"
12
+ hash_foo:
13
+ foo_1: "hello 1"
14
+ foo_2: "hello 2"
15
15
  test:
16
- nil_dwarf: ~
17
- false_dwarf: false
18
- true_dwarf: true
19
- string_dwarf: "dwarf"
20
- overriden_dwarf: "example already overriden dwarf"
21
- hash_dwarf:
22
- dwarf_1: "hello 1"
23
- dwarf_2: "hello 2"
16
+ nil_foo: ~
17
+ false_foo: false
18
+ true_foo: true
19
+ string_foo: "foo"
20
+ overriden_foo: "example already overriden foo"
21
+ hash_foo:
22
+ foo_1: "hello 1"
23
+ foo_2: "hello 2"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a9n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: codeclimate-test-reporter