titech-pubnet-auth 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ require 'titech_pubnet_auth/extensions'
12
12
  class TitechPubnetAuth
13
13
  BASE_DIR = File.expand_path('..',File.dirname(__FILE__))
14
14
 
15
- SAMPLE_URI = ->{%w[www.titech.ac.jp github.com twitter.com].map{|uri| URI.parse("http://#{uri}")}[rand(3)]}
15
+ SAMPLE_URI = ->{%w[www.google.com twitter.com www.facebook.com mixi.jp www.amazon.co.jp www.wikipedia.org www.fc2.com www.yahoo.co.jp www.kakaku.com].map{|uri| URI.parse("http://#{uri}")}[rand(3)]}
16
16
 
17
17
  HTTP_PROXY = {ip: '131.112.125.238', port: 3128}
18
18
 
@@ -24,6 +24,8 @@ class TitechPubnetAuth
24
24
  }
25
25
  @agent_with_proxy.set_proxy(HTTP_PROXY[:ip], HTTP_PROXY[:port])
26
26
 
27
+ require 'pry'
28
+ binding.pry
27
29
  @private = YAML.load(File::open(File::expand_path('config/private.yml',BASE_DIR),'r'))
28
30
  end
29
31
 
@@ -1,3 +1,3 @@
1
1
  class TitechPubnetAuth
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: titech-pubnet-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
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: 2012-12-01 00:00:00.000000000 Z
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colorize
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  requirements: []
101
101
  rubyforge_project:
102
- rubygems_version: 1.8.24
102
+ rubygems_version: 1.8.25
103
103
  signing_key:
104
104
  specification_version: 3
105
105
  summary: This gem provides automatic authentication for titech-pubnet.