configatron 4.0.1 → 4.0.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
  SHA1:
3
- metadata.gz: e6c93e7ecc847458d9417c053fa4a93fba83b616
4
- data.tar.gz: f8f87d9a27a7a0e9af621dc109dbf17a1b664054
3
+ metadata.gz: 42e2eb8bce1d430a7e733637d802f6385ef680d5
4
+ data.tar.gz: 9f35fee29168a663d1f0c6b57d526a54f54e276b
5
5
  SHA512:
6
- metadata.gz: 75cca363649f725091cfbe1b4e5d846d9a5a23b479a83163fd5e647be097353ae6cbbeae78a3bef5277d101cc837e9a88ab569d83f7c132f61ac1bf6b2fc20e8
7
- data.tar.gz: 3e7f64f6a99e29280a6981b4188dd887f33998d6c785cf3e458f6ea039d3aac3fcc44cd9a2482111f1ed445e6d40c530881fe428f95ccf2b3ef06f3526f06784
6
+ metadata.gz: d9434069be9ce0666a151ef6882bee3e893f3e6842f2371edf510c88c7e8b9b8c48f8d397d6f9a3ba72c898af7891724607913d31e9e530a08720dbf43fc1469
7
+ data.tar.gz: c2b2d51eab684d3b54bc226b021c6da58a801e98cd65d37d8f479ab854f4c54d3d46b6c169eed0f9dc301d1d1a4895cd8a930a91b2b5cfb4780fcda35d0a3e16
data/README.md CHANGED
@@ -185,7 +185,7 @@ configatron.current.time = Configatron::Dynamic.new {Time.now}
185
185
 
186
186
  Each time you call `configatron.current.time` it will return a new value to you. While this seems a bit useless, it is pretty useful if you have ever changing configurations.
187
187
 
188
- ### nil
188
+ ### Checking keys
189
189
 
190
190
  Even if parameters haven't been set, you can still call them, but you'll get a `Configatron::Store` object back. You can use `.has_key?` to determine if a key already exists.
191
191
 
@@ -275,23 +275,24 @@ configatron.to_h # => {:letters=>{:a=>"A", :b=>"BB", :c=>"C"}}
275
275
  ## Contributors
276
276
 
277
277
  * Mark Bates
278
+ * Greg Brockman
278
279
  * Kurtis Rainbolt-Greene
279
280
  * Rob Sanheim
280
- * Greg Brockman
281
281
  * Jérémy Lecour
282
282
  * Cody Maggard
283
283
  * Jean-Denis Vauguet
284
- * Torsten Schönebaum
285
- * Simon Menke
286
- * Gleb Pomykalov
287
284
  * chatgris
285
+ * Simon Menke
288
286
  * Mat Brown
287
+ * Torsten Schönebaum
288
+ * Gleb Pomykalov
289
289
  * Casper Gripenberg
290
- * Dan Pickett
291
290
  * Artiom Diomin
292
- * Tim Riley
293
291
  * mattelacchiato
294
- * joe miller
295
- * Brandon Dimcheff
292
+ * Dan Pickett
293
+ * Tim Riley
296
294
  * Rick Fletcher
295
+ * Jose Antonio Pio
296
+ * Brandon Dimcheff
297
+ * joe miller
297
298
  * Josh Nichols
data/Rakefile CHANGED
@@ -11,3 +11,5 @@ Rake::TestTask.new do |t|
11
11
  file.end_with?('_lib.rb') || file.include?('/_lib/')
12
12
  end
13
13
  end
14
+
15
+ task :default => :test
@@ -1,3 +1,3 @@
1
1
  class Configatron
2
- VERSION = "4.0.1"
2
+ VERSION = "4.0.2"
3
3
  end
@@ -1,2 +1,4 @@
1
1
  require 'configatron'
2
+ require 'configatron/integrations/rails'
3
+
2
4
  Configatron::Integrations::Rails.init
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Bates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-10 00:00:00.000000000 Z
11
+ date: 2014-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -77,7 +77,6 @@ files:
77
77
  - ".ruby-version"
78
78
  - ".travis.yml"
79
79
  - Gemfile
80
- - Gemfile.lock
81
80
  - Guardfile
82
81
  - History.txt
83
82
  - LICENSE.txt
@@ -134,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
133
  version: '0'
135
134
  requirements: []
136
135
  rubyforge_project:
137
- rubygems_version: 2.2.0
136
+ rubygems_version: 2.2.1
138
137
  signing_key:
139
138
  specification_version: 4
140
139
  summary: A powerful Ruby configuration system.
data/Gemfile.lock DELETED
@@ -1,34 +0,0 @@
1
- GIT
2
- remote: git://github.com/unmanbearpig/m.git
3
- revision: c30126fc346a924e04e1a77177a0c5b07ce19ae9
4
- specs:
5
- m (1.3.2)
6
- method_source (>= 0.6.7)
7
- rake (>= 0.9.2.2)
8
-
9
- PATH
10
- remote: .
11
- specs:
12
- configatron (4.0.1)
13
-
14
- GEM
15
- remote: https://rubygems.org/
16
- specs:
17
- metaclass (0.0.4)
18
- method_source (0.8.2)
19
- minitest (5.2.3)
20
- mocha (1.0.0)
21
- metaclass (~> 0.0.1)
22
- rake (10.2.2)
23
- subprocess (1.0.0)
24
-
25
- PLATFORMS
26
- ruby
27
-
28
- DEPENDENCIES
29
- configatron!
30
- m!
31
- minitest (>= 5.2.3)
32
- mocha
33
- rake
34
- subprocess