proxy_pac_rb 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,7 +65,7 @@ module ProxyPacRb
65
65
  resolve_host(host)
66
66
  end
67
67
 
68
- def MyIpAddress
68
+ def myIpAddress
69
69
  IPAddr.new(client_ip).to_s
70
70
  end
71
71
 
@@ -1,4 +1,4 @@
1
1
  #main ProxyPacRb
2
2
  module ProxyPacRb
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
4
4
  end
@@ -77,12 +77,12 @@ describe ProxyPacRb::Environment do
77
77
  end
78
78
  end
79
79
 
80
- describe '#MyIpAddress ' do
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.MyIpAddress).to eq(ip)
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.3
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-10 00:00:00.000000000 Z
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: -923108084633720374
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: -923108084633720374
133
+ hash: -2077589213194333842
134
134
  requirements: []
135
135
  rubyforge_project:
136
136
  rubygems_version: 1.8.23