jackal 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dc9e1dfcbc4625124cf64836401a54e6bfc2fd27
4
+ data.tar.gz: 92549591aaef5463e1a1ade9c3b3637049d3dcc8
5
+ SHA512:
6
+ metadata.gz: e49262b50348d41cbb8eed6153e56c305872cee04bc34f472604e4037719878e0c4a1e2ca4b6d64d616acb0674e76408046f388a52979593d80c9ccedad3741b
7
+ data.tar.gz: bc1730415cd904bb61319d931496b6c70d87d19a6b63e43cd07c8404532c85e0dd382e522db90ff7356e0d27c5f128d09ac49365f83598adad9231697c0ab3ba
@@ -1,3 +1,6 @@
1
+ # v0.1.10
2
+ * Add flag to control verbosity
3
+
1
4
  # v0.1.8
2
5
  * Allow extra arguments to be passed through new_payload
3
6
  * Spec helper updates
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = 'Message processing helper'
11
11
  s.require_path = 'lib'
12
12
  s.license = 'Apache 2.0'
13
- s.add_dependency 'carnivore'
13
+ s.add_dependency 'carnivore', '>= 0.2.6'
14
14
  s.add_dependency 'mixlib-cli'
15
15
  s.files = Dir['lib/**/*'] + %w(jackal.gemspec README.md CHANGELOG.md CONTRIBUTING.md LICENSE)
16
16
  s.executables << 'jackal'
@@ -12,5 +12,11 @@ module Jackal
12
12
  :description => 'Path to configuration file'
13
13
  )
14
14
 
15
+ option(:verbosity,
16
+ :short => '-V VERBOSITY',
17
+ :long => '--verbosity VERBOSITY',
18
+ :description => 'Log verbosity (debug info warn error)'
19
+ )
20
+
15
21
  end
16
22
  end
@@ -9,6 +9,10 @@ end
9
9
 
10
10
  Carnivore::Config.auto_symbolize(true)
11
11
 
12
+ Celluloid.logger.level = Celluloid.logger.class.const_get(
13
+ (Carnivore::Config.get(:verbosity) || :debug).to_s.upcase
14
+ )
15
+
12
16
  (Carnivore::Config.get(:jackal, :require) || []).each do |path|
13
17
  require path
14
18
  end
@@ -1,4 +1,4 @@
1
1
  module Jackal
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.1.8')
3
+ VERSION = Gem::Version.new('0.1.10')
4
4
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jackal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
5
- prerelease:
4
+ version: 0.1.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Chris Roberts
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2014-08-14 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: carnivore
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: 0.2.6
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: 0.2.6
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: mixlib-cli
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Message processing helper
@@ -51,52 +46,51 @@ executables:
51
46
  extensions: []
52
47
  extra_rdoc_files: []
53
48
  files:
54
- - lib/jackal/callback.rb
55
- - lib/jackal/version.rb
56
- - lib/jackal/utils/spec/callback_local.rb
57
- - lib/jackal/utils/spec/runner.rb
58
- - lib/jackal/utils/spec/helpers.rb
59
- - lib/jackal/utils/spec/loader.rb
60
- - lib/jackal/utils/http_api.rb
61
- - lib/jackal/utils/spec.rb
62
- - lib/jackal/utils/config.rb
63
- - lib/jackal/utils/payload.rb
64
- - lib/jackal/cli.rb
65
- - lib/jackal/loader.rb
66
- - lib/jackal/error.rb
67
- - lib/jackal/utils.rb
68
- - lib/jackal.rb
69
- - jackal.gemspec
70
- - README.md
71
49
  - CHANGELOG.md
72
50
  - CONTRIBUTING.md
73
51
  - LICENSE
52
+ - README.md
74
53
  - bin/jackal
75
54
  - bin/jackal-test
55
+ - jackal.gemspec
56
+ - lib/jackal.rb
57
+ - lib/jackal/callback.rb
58
+ - lib/jackal/cli.rb
59
+ - lib/jackal/error.rb
60
+ - lib/jackal/loader.rb
61
+ - lib/jackal/utils.rb
62
+ - lib/jackal/utils/config.rb
63
+ - lib/jackal/utils/http_api.rb
64
+ - lib/jackal/utils/payload.rb
65
+ - lib/jackal/utils/spec.rb
66
+ - lib/jackal/utils/spec/callback_local.rb
67
+ - lib/jackal/utils/spec/helpers.rb
68
+ - lib/jackal/utils/spec/loader.rb
69
+ - lib/jackal/utils/spec/runner.rb
70
+ - lib/jackal/version.rb
76
71
  homepage: https://github.com/carnivore-rb/jackal
77
72
  licenses:
78
73
  - Apache 2.0
74
+ metadata: {}
79
75
  post_install_message:
80
76
  rdoc_options: []
81
77
  require_paths:
82
78
  - lib
83
79
  required_ruby_version: !ruby/object:Gem::Requirement
84
- none: false
85
80
  requirements:
86
- - - ! '>='
81
+ - - ">="
87
82
  - !ruby/object:Gem::Version
88
83
  version: '0'
89
84
  required_rubygems_version: !ruby/object:Gem::Requirement
90
- none: false
91
85
  requirements:
92
- - - ! '>='
86
+ - - ">="
93
87
  - !ruby/object:Gem::Version
94
88
  version: '0'
95
89
  requirements: []
96
90
  rubyforge_project:
97
- rubygems_version: 1.8.24
91
+ rubygems_version: 2.2.2
98
92
  signing_key:
99
- specification_version: 3
93
+ specification_version: 4
100
94
  summary: Message processing helper
101
95
  test_files: []
102
96
  has_rdoc: