proxy_pac_rb 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/proxy_pac_rb/environment.rb +1 -1
- data/lib/proxy_pac_rb/version.rb +1 -1
- data/spec/environment_spec.rb +2 -2
- metadata +4 -4
data/lib/proxy_pac_rb/version.rb
CHANGED
data/spec/environment_spec.rb
CHANGED
@@ -77,12 +77,12 @@ describe ProxyPacRb::Environment do
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
describe '#
|
80
|
+
describe '#myIpAddress ' do
|
81
81
|
it 'returns the given ip address' do
|
82
82
|
ip = '127.0.0.1'
|
83
83
|
environment = Environment.new(client_ip: ip, time: Time.now)
|
84
84
|
|
85
|
-
expect(environment.
|
85
|
+
expect(environment.myIpAddress).to eq(ip)
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proxy_pac_rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-03-
|
12
|
+
date: 2014-03-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
segments:
|
123
123
|
- 0
|
124
|
-
hash: -
|
124
|
+
hash: -2077589213194333842
|
125
125
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
126
|
none: false
|
127
127
|
requirements:
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash: -
|
133
|
+
hash: -2077589213194333842
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
136
|
rubygems_version: 1.8.23
|