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 +1 -1
- data/deputy.gemspec +1 -1
- data/lib/deputy.rb +1 -1
- data/spec/deputy_spec.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.41
|
data/deputy.gemspec
CHANGED
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',
|
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=
|
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
|