tdi 0.1.12 → 0.1.13
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/helper/http.rb +2 -1
- data/lib/tdi/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: 437ccda7d8b3ead01862fee2d36f49dd90ba02fe
|
|
4
|
+
data.tar.gz: bce480445a5cf29ab6ff1720e544c0fff308fdd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 400ea241c9ae35e2616aa52d17893253b51ed1f3a49657050e9481560301c6778cf23772cbaadc785f2277a259af8390b49422c19bbf26568c39ddf2032a7951
|
|
7
|
+
data.tar.gz: 377e26d2b7155037135c53f49794e4bc1c0e76638d6c196b65d9fc3570673b89298d89aa0b1c8744e724444fccd7a3b2d180da803f012813031547459b553a2c
|
data/Gemfile.lock
CHANGED
data/helper/http.rb
CHANGED
|
@@ -46,7 +46,7 @@ class TDIPlan < TDI
|
|
|
46
46
|
|
|
47
47
|
if not params['proxy'].nil?
|
|
48
48
|
proxy, proxy_port = params['proxy'].split(/:/)
|
|
49
|
-
proxy_port = 3128
|
|
49
|
+
proxy_port = 3128 if proxy_port.nil?
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
if not params['expect_header'].nil?
|
|
@@ -75,6 +75,7 @@ class TDIPlan < TDI
|
|
|
75
75
|
proxy_addr = nil
|
|
76
76
|
res_str = case_name
|
|
77
77
|
res_dict = {url: case_name, net: origin_network(host)}
|
|
78
|
+
res_dict[:proxy] = "#{proxy}:#{proxy_port}" unless proxy.nil?
|
|
78
79
|
response = nil
|
|
79
80
|
|
|
80
81
|
begin
|
data/lib/tdi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tdi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rogério Carvalho Schneider
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-07-
|
|
13
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|