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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/carnivore/config.rb +1 -2
- data/lib/carnivore/version.rb +1 -1
- data/lib/carnivore.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df028b8724cf4c5392538b3c6f9b36615c2f1b0e
|
4
|
+
data.tar.gz: 5b9eb357bf2357f57a7d41fa6d44a3fe01374d85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74081290aa5c3469e05c7bc5f0bb3369152e695dd45c8bc962efb5da39bf0eaaa70b31d5185c8691d2734943d424da7c1bd8e53b18d3bffc9003977ad3d6d051
|
7
|
+
data.tar.gz: 16243f3f57017e037b4788843a8ee942b6905ca2dee703b91276d2205940a6afcc873642003eed92b80d820e2fdaa93f2e0f87abfe3034749d38010dae5281c7
|
data/CHANGELOG.md
CHANGED
data/lib/carnivore/config.rb
CHANGED
@@ -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 =
|
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}"
|
data/lib/carnivore/version.rb
CHANGED
data/lib/carnivore.rb
CHANGED