deputy 0.1.33 → 0.1.34
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
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.34
|
data/deputy.gemspec
CHANGED
data/lib/deputy.rb
CHANGED
@@ -121,7 +121,7 @@ module Deputy
|
|
121
121
|
def self.get(path, options = {})
|
122
122
|
|
123
123
|
url = "#{sheriff_url}#{path}"
|
124
|
-
url = url.sub(%r{(.*?)
|
124
|
+
url = url.sub(%r{//(.*?):(.*?)@}, '//')
|
125
125
|
auth = [$1, $2].compact
|
126
126
|
options = {:http_basic_authentication => auth} if auth.size == 2
|
127
127
|
Timeout.timeout(config['timeout']||10) do
|
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: 95
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 34
|
10
|
+
version: 0.1.34
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Grosser
|