carnivore 0.3.2 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53b8ec60c760fbb66c90b7a4b4656c6af94c7af1
4
- data.tar.gz: 17c969706dcd316f54a62b9fe7a04f17fdd735ec
3
+ metadata.gz: b3ebd582b172d7f8a172e53b246fb649662b62f4
4
+ data.tar.gz: daa0ee227892628fdcc56bd3e045d7740aa5535a
5
5
  SHA512:
6
- metadata.gz: 20781c7eb91c7f33d5008e367b8eee65c5a6bc23c5694d3b33c01d86dbe96009f950b67a9532834357523f3210d7a3002a29c35657787a59b23b7970582d062c
7
- data.tar.gz: aa3769e7c258d6380f3fecc2d68688d5b43b77686c82822a6cb02499dcadb40b2cc998d9e81e65c0029d8c71fab24116a421737c6be2a7f73e8ebe71fb2e0b68
6
+ metadata.gz: 9536220e9976707a1b05c7af17b340e0ff04077ce4956b28ea4e3444783da856f371c8c796a4d7637c9f1f7985558027e8754e1de46ac36cd128ced3b300247b
7
+ data.tar.gz: 93b87e705f41946c55eeee4387066f731f8f99e190e8ca9d302629de8b87005fb1c16e09c9fe1bcca6659e259f23a87f9344444b5bf63897c56271b50c085126
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v0.3.4
2
+ * Remove loading of unused CLI library
3
+ * Only terminate callback supervisor if alive
4
+ * Set logging level to debug if env var is set
5
+
1
6
  # v0.3.2
2
7
  * Update auto configuration behavior
3
8
  * Return configuration instance when running configure
@@ -207,7 +207,7 @@ module Carnivore
207
207
  # Ensure we cleanup our internal supervisor before bailing out
208
208
  def teardown_cleanup
209
209
  warn 'Termination request received. Tearing down!'
210
- callback_supervisor.terminate
210
+ callback_supervisor.terminate if callback_supervisor.alive?
211
211
  end
212
212
 
213
213
  # @return [TrueClass, FalseClass] automatic message confirmation enabled
@@ -2,7 +2,7 @@ require 'carnivore'
2
2
  require 'celluloid'
3
3
  require 'minitest/autorun'
4
4
 
5
- Celluloid.logger.level = 4
5
+ Celluloid.logger.level = ENV['DEBUG'] ? 0 : 4
6
6
 
7
7
  if(File.directory?(dir = File.join(Dir.pwd, 'test', 'specs')))
8
8
  Dir.glob(File.join(dir, '*.rb')).each do |path|
@@ -1,4 +1,4 @@
1
1
  module Carnivore
2
2
  # Current version of library
3
- VERSION = Gem::Version.new('0.3.2')
3
+ VERSION = Gem::Version.new('0.3.4')
4
4
  end
data/lib/carnivore.rb CHANGED
@@ -2,7 +2,6 @@
2
2
  autoload :Celluloid, 'celluloid'
3
3
  autoload :MultiJson, 'multi_json'
4
4
 
5
- require 'bogo-cli'
6
5
  require 'bogo-config'
7
6
  require 'carnivore/runner'
8
7
  require 'carnivore/version'
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.2
4
+ version: 0.3.4
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-21 00:00:00.000000000 Z
11
+ date: 2015-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: celluloid