titech-pubnet-auth 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/titech_pubnet_auth.rb +1 -1
- data/lib/titech_pubnet_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1105b394137f8c02a980326256be37c1a8d0f30c
|
4
|
+
data.tar.gz: 9f7883e331fcaddd0ff8b996a4fa3f0bb022ef06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ed09e86ac16b4d26c280cba335ded1e5f3177927d7a6117418c6fc9a6fc2d51e481c21e7a7ce35355088211fc39cbd297e1d0dbabb88494899db2f82593978
|
7
|
+
data.tar.gz: b921e1c0a594442b776410a63de369e7503b89924f0b291e32052b40a7cecd988f2be37ac08163c09b062168a67518a51be91b5386158426c1355a289edc3cae
|
data/lib/titech_pubnet_auth.rb
CHANGED
@@ -13,7 +13,7 @@ class TitechPubnetAuth
|
|
13
13
|
SAMPLE_URI = URI "http://example.org"
|
14
14
|
HTTP_PROXY = {ip: '131.112.125.238', port: 3128}
|
15
15
|
|
16
|
-
def initialize(opt)
|
16
|
+
def initialize(opt = {})
|
17
17
|
opt = {open_timeout: 5}.merge(opt)
|
18
18
|
@agent, @agent_with_proxy = Mechanize.new, Mechanize.new
|
19
19
|
[@agent, @agent_with_proxy].each{|agent|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: titech-pubnet-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sohei Takeno
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|