carnivore 0.2.8 → 0.2.10

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: c5544a7d238e5355db22eade5960e0951e1264a8
4
- data.tar.gz: da081767beaed30441648eaa6f9eb0ac22443eee
3
+ metadata.gz: df028b8724cf4c5392538b3c6f9b36615c2f1b0e
4
+ data.tar.gz: 5b9eb357bf2357f57a7d41fa6d44a3fe01374d85
5
5
  SHA512:
6
- metadata.gz: 795f843419e89c0274e852ca88acdf02575f7ab8ff7c0355c4e31645866a86695b0da932e49452d56848b6765aca2fef38e314eb99ea0ee645b2c6807f9db1a4
7
- data.tar.gz: 52d621ddddf44268daec29b589be139d537463faa0ea62142a45ee7256e2ff45d8275aa51bdeea8c44b62ca868da7facbabccdb1f1b018196eec33567890247e
6
+ metadata.gz: 74081290aa5c3469e05c7bc5f0bb3369152e695dd45c8bc962efb5da39bf0eaaa70b31d5185c8691d2734943d424da7c1bd8e53b18d3bffc9003977ad3d6d051
7
+ data.tar.gz: 16243f3f57017e037b4788843a8ee942b6905ca2dee703b91276d2205940a6afcc873642003eed92b80d820e2fdaa93f2e0f87abfe3034749d38010dae5281c7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v0.2.10
2
+ * Remove explicit JSON usage
3
+
1
4
  # v0.2.8
2
5
  * Make supporting library auto loaded as needed
3
6
 
@@ -1,4 +1,3 @@
1
- require 'json'
2
1
  require 'mixlib/config'
3
2
  require 'carnivore'
4
3
 
@@ -57,7 +56,7 @@ module Carnivore
57
56
  end
58
57
  self.config_path = path_or_hash
59
58
  elsif(File.exists?(path_or_hash.to_s))
60
- conf = JSON.load(File.read(path_or_hash))
59
+ conf = MultiJson.load(File.read(path_or_hash))
61
60
  self.config_path = path_or_hash
62
61
  else
63
62
  raise "Failed to load configuration file: #{path_or_hash}"
@@ -1,4 +1,4 @@
1
1
  module Carnivore
2
2
  # Current version of library
3
- VERSION = Gem::Version.new('0.2.8')
3
+ VERSION = Gem::Version.new('0.2.10')
4
4
  end
data/lib/carnivore.rb CHANGED
@@ -1,5 +1,6 @@
1
- # Load celluloid on demand
1
+ # Load supporters on demand
2
2
  autoload :Celluloid, 'celluloid'
3
+ autoload :MultiJson, 'multi_json'
3
4
 
4
5
  require 'carnivore/runner'
5
6
  require 'carnivore/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carnivore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts