hidemyass 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/hidemyass.gemspec CHANGED
@@ -4,7 +4,7 @@ require File.expand_path('../lib/hidemyass/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Javier Saldana"]
6
6
  gem.email = ["javier@tractical.com"]
7
- gem.description = "Hide My Ass! fetches and connects to proxies at http://hidemyass.com"
7
+ gem.description = "Hide My Ass! fetches and connects to proxies at www.hidemyass.com"
8
8
  gem.summary = "Hide My Ass! lets you connect anonymously, fetch proxies from hidemyass.com and try each one until a successful connection is made."
9
9
  gem.homepage = "http://github.com/jassa/hidemyass"
10
10
 
data/lib/hidemyass.rb CHANGED
@@ -1,12 +1,12 @@
1
- require 'nokogiri'
2
1
  require 'open-uri'
3
2
  require 'net/http'
3
+ require 'nokogiri'
4
+
4
5
  require 'hidemyass/version'
5
6
  require 'hidemyass/ip'
6
7
  require 'hidemyass/http'
7
8
  require 'hidemyass/logger'
8
- require 'hidemyass/railtie'
9
- require 'logger'
9
+ require 'hidemyass/railtie' if defined?(Rails)
10
10
 
11
11
  module HideMyAss
12
12
  extend Logger
@@ -1,3 +1,5 @@
1
+ require 'logger'
2
+
1
3
  module HideMyAss
2
4
  module Logger
3
5
  def log(message)
@@ -1,8 +1,6 @@
1
1
  require 'hidemyass'
2
2
 
3
3
  module HideMyAss
4
- require 'rails'
5
-
6
4
  class Railtie < Rails::Railtie
7
5
  initializer "hidemyass.configure_rails_initialization" do
8
6
  HideMyAss.options[:logger] = Rails.logger if defined?(Rails)
@@ -1,3 +1,3 @@
1
1
  module HideMyAss
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hidemyass
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:
@@ -13,7 +13,7 @@ date: 2012-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &70167372757800 !ruby/object:Gem::Requirement
16
+ requirement: &70335159623280 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.5.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70167372757800
24
+ version_requirements: *70335159623280
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70167372757300 !ruby/object:Gem::Requirement
27
+ requirement: &70335159622780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,8 +32,8 @@ dependencies:
32
32
  version: 2.12.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70167372757300
36
- description: Hide My Ass! fetches and connects to proxies at http://hidemyass.com
35
+ version_requirements: *70335159622780
36
+ description: Hide My Ass! fetches and connects to proxies at www.hidemyass.com
37
37
  email:
38
38
  - javier@tractical.com
39
39
  executables: []