carnivore 0.3.0 → 0.3.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: 95abd8e88a4967ca0085fbd0c14a5a768d0df98f
4
- data.tar.gz: 5a34e744105ff3d482d8d98d5c2c1bba8c70a5f5
3
+ metadata.gz: 53b8ec60c760fbb66c90b7a4b4656c6af94c7af1
4
+ data.tar.gz: 17c969706dcd316f54a62b9fe7a04f17fdd735ec
5
5
  SHA512:
6
- metadata.gz: f281d3203d532de93c3ff8164fd9ee25f390b82263759b6ca59a20a75c70a8ecd3a0c43aea349c3b6bfb1cb4a9b913b65aeddfff653439a8c250fda4062c8b37
7
- data.tar.gz: c0a8cd07562ce92166f985007c6b3a053d73e10ad5055784971648d2689ffbefbb376aab6b878220ec82a5e52c1d21fa46dec34468ce20422642710b846d09bb
6
+ metadata.gz: 20781c7eb91c7f33d5008e367b8eee65c5a6bc23c5694d3b33c01d86dbe96009f950b67a9532834357523f3210d7a3002a29c35657787a59b23b7970582d062c
7
+ data.tar.gz: aa3769e7c258d6380f3fecc2d68688d5b43b77686c82822a6cb02499dcadb40b2cc998d9e81e65c0029d8c71fab24116a421737c6be2a7f73e8ebe71fb2e0b68
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v0.3.2
2
+ * Update auto configuration behavior
3
+ * Return configuration instance when running configure
4
+
1
5
  # v0.3.0
2
6
  * Remove custom rolled configuration
3
7
  * Auto define configuration when not set prior to start
@@ -17,8 +17,13 @@ module Carnivore
17
17
  end
18
18
  end
19
19
  unless(defined?(Carnivore::Config))
20
- Carnivore.const_set(:Config, Bogo::Config.new(args.first))
20
+ Carnivore.const_set(:Config,
21
+ Bogo::Config.new(
22
+ args.first.is_a?(Symbol) ? Smash.new : args.first
23
+ )
24
+ )
21
25
  end
26
+ Carnivore::Config
22
27
  end
23
28
 
24
29
  # Add configuration to Carnivore
@@ -1,4 +1,4 @@
1
1
  module Carnivore
2
2
  # Current version of library
3
- VERSION = Gem::Version.new('0.3.0')
3
+ VERSION = Gem::Version.new('0.3.2')
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carnivore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid