tor-privoxy 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. data/lib/tor-privoxy/agent.rb +2 -2
  2. metadata +3 -3
@@ -8,7 +8,7 @@ module TorPrivoxy
8
8
  @mechanize = Mechanize.new
9
9
  @mechanize.set_proxy(@proxy.host, @proxy.port)
10
10
  @callback = callback
11
- @callback.call
11
+ @callback.call self
12
12
  end
13
13
 
14
14
  def method_missing method, *args, &block
@@ -31,7 +31,7 @@ module TorPrivoxy
31
31
  @mechanize = Mechanize.new
32
32
  @mechanize.set_proxy(@proxy.host, @proxy.port)
33
33
 
34
- @callback.call
34
+ @callback.call self
35
35
  end
36
36
 
37
37
  def ip
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tor-privoxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mechanize
17
- requirement: &82474660 !ruby/object:Gem::Requirement
17
+ requirement: &78820790 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *82474660
25
+ version_requirements: *78820790
26
26
  description: Mechanize wrapper to work via Tor/Privoxy with endpoint switching ability
27
27
  email:
28
28
  - pirj@mail.ru