expansions 0.1.21 → 0.1.23

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
  SHA1:
3
- metadata.gz: 1c76ba1fbd6ef7f86f14c7914e35637b350a2385
4
- data.tar.gz: be5e3edb0c4721af58d58c163a4c82cb95e1d241
3
+ metadata.gz: 61ca4c4484f9447b3d1e50fdc6697e6296dc6e38
4
+ data.tar.gz: e286725e5655fa0fe8bc47b7b7b7c1d64d4b7c74
5
5
  SHA512:
6
- metadata.gz: e7b9764dcd8b2c3005c93f2dc17b08f48ab57911d6753cc6a22288c290cb92c51ea343b25c387575c050b46448f5ce0e0612b0b56de9416e11b919ee98a1e06a
7
- data.tar.gz: c423aa5c6894f56fe407d825644f56eff0b402132d3347d6996a5aefcf8769797479988572a57fb1fcc721e2b31bef819f62b8da2f0c7e01db285c36fe3cc81d
6
+ metadata.gz: 4df458e57bfff198e82856fc333410b05b3c912c91c49d0f7494c1d926d58033bfa5ce07d0062669854be63bbdd94e85fb4486482b6b3d7587f830792f933800
7
+ data.tar.gz: 854924ccd3ff96ab4d31d9be0147286e4b63fc55dbba22771334938f393cd2597af788d287ce10e69650f86954536b35298306c93aa7806c86652f6bf403d1a0
@@ -12,7 +12,7 @@ module Expansions
12
12
  end
13
13
 
14
14
  def configure(configuration_hash)
15
- configatron.configure_from_hash(configure_from_hash)
15
+ configatron.configure_from_hash(configuration_hash)
16
16
  end
17
17
 
18
18
  def disable_logging
@@ -1,3 +1,3 @@
1
1
  module Expansions
2
- VERSION = "0.1.21"
2
+ VERSION = "0.1.23"
3
3
  end
@@ -0,0 +1,9 @@
1
+ describe 'Configatron facade' do
2
+ it "can configure configatron using the facade method" do
3
+ configure({
4
+ age: 42
5
+ })
6
+
7
+ configatron.age.should == 42
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expansions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Develop With Passion®
@@ -146,6 +146,7 @@ files:
146
146
  - lib/expansions/version.rb
147
147
  - spec/spec_helper.rb
148
148
  - spec/specs/array_spec.rb
149
+ - spec/specs/configuration_spec.rb
149
150
  - spec/specs/copy_spec.rb
150
151
  - spec/specs/copy_to_target_spec.rb
151
152
  - spec/specs/enumerable_extensions_spec.rb
@@ -186,6 +187,7 @@ summary: Simple Expansion Automation Utility
186
187
  test_files:
187
188
  - spec/spec_helper.rb
188
189
  - spec/specs/array_spec.rb
190
+ - spec/specs/configuration_spec.rb
189
191
  - spec/specs/copy_spec.rb
190
192
  - spec/specs/copy_to_target_spec.rb
191
193
  - spec/specs/enumerable_extensions_spec.rb