deputy 0.1.36 → 0.1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/deputy.gemspec +1 -1
  3. data/lib/deputy.rb +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.36
1
+ 0.1.37
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.36"
8
+ s.version = "0.1.37"
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
@@ -126,7 +126,7 @@ module Deputy
126
126
  url = url.sub(%r{//(.*?):(.*?)@}, '//')
127
127
  auth = [$1, $2].compact
128
128
  options[:http_basic_authentication] = auth if auth.size == 2
129
- options[:remote_host] = hostname
129
+ options['REMOTE_HOST'] = hostname
130
130
 
131
131
  Timeout.timeout(config['timeout']||10) do
132
132
  open(url, options).read
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: 83
4
+ hash: 81
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 36
10
- version: 0.1.36
9
+ - 37
10
+ version: 0.1.37
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Grosser