deputy 0.1.40 → 0.1.41

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.40
1
+ 0.1.41
data/deputy.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deputy}
8
- s.version = "0.1.40"
8
+ s.version = "0.1.41"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
data/lib/deputy.rb CHANGED
@@ -112,7 +112,7 @@ module Deputy
112
112
  puts "#{plugin.clean_class_name}: waiting another #{minutes_to_wait} minutes"
113
113
  end
114
114
  end
115
- send_report 'Deputies.finished', 1
115
+ send_report 'Deputies.finished', DEFAULT_VALUE
116
116
  rescue Exception => e
117
117
  send_report "Deputies.Error", e.message
118
118
  raise e
data/spec/deputy_spec.rb CHANGED
@@ -152,7 +152,7 @@ describe Deputy do
152
152
  $notify = 0
153
153
  Deputy.stub!(:sheriff_url).and_return 'http://sheri.ff'
154
154
  FakeWeb.register_uri(:get, "http://sheri.ff/plugins.rb", :body => klass('C', :code => '$notify=1'))
155
- FakeWeb.register_uri(:get, "http://sheri.ff/notify?group=Deputies.finished&value=1&hostname=my_host", :body => 'OK')
155
+ FakeWeb.register_uri(:get, "http://sheri.ff/notify?group=Deputies.finished&value=OK&hostname=my_host", :body => 'OK')
156
156
  Deputy.run_plugins
157
157
  $notify.should == 1
158
158
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 40
9
- version: 0.1.40
8
+ - 41
9
+ version: 0.1.41
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser