deputy 0.1.52 → 0.1.53
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/deputy.gemspec +2 -2
- data/lib/deputy.rb +2 -0
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.53
|
data/deputy.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{deputy}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.53"
|
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"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-06-08}
|
13
13
|
s.default_executable = %q{deputy}
|
14
14
|
s.email = %q{mirko@dawanda.com}
|
15
15
|
s.executables = ["deputy"]
|
data/lib/deputy.rb
CHANGED
@@ -100,6 +100,7 @@ module Deputy
|
|
100
100
|
end
|
101
101
|
|
102
102
|
def self.run_plugins(options={})
|
103
|
+
return if config['disabled']
|
103
104
|
start_time = Time.now.to_i
|
104
105
|
sleep_random_interval unless options[:no_wait]
|
105
106
|
|
@@ -136,6 +137,7 @@ module Deputy
|
|
136
137
|
end
|
137
138
|
|
138
139
|
def self.get(path, options = {})
|
140
|
+
return if config['disabled']
|
139
141
|
url = "#{sheriff_url}#{path}"
|
140
142
|
url = "http://#{url}" unless url =~ %r{://}
|
141
143
|
options[:http_basic_authentication] = extract_auth_from_url!(url)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deputy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 113
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 53
|
10
|
+
version: 0.1.53
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-06-08 00:00:00 +02:00
|
19
19
|
default_executable: deputy
|
20
20
|
dependencies: []
|
21
21
|
|