tdi 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae9bc27815d751a3db7a76a354b0033d0b9f53bd
4
- data.tar.gz: 2891feab96a72ee87e3c3449520c105eb2e8fef0
3
+ metadata.gz: 437ccda7d8b3ead01862fee2d36f49dd90ba02fe
4
+ data.tar.gz: bce480445a5cf29ab6ff1720e544c0fff308fdd2
5
5
  SHA512:
6
- metadata.gz: dd11b882f77d79f97232231e9e510252f7b209fe07ba7fec61aa6f3ea5bd322ef56b9f8ed930c7837bbc98cf9ad73779e96f37d80bcfe77d0a7587fe7fd0eda6
7
- data.tar.gz: 3274f2748f47b62a978f22f898de061b4df82bd21a610f32bc991c4c9db32bfdfa046d634430c7c1d37be11e3d8d62f41cf38e077a6298e36bcb2d438b61ea9a
6
+ metadata.gz: 400ea241c9ae35e2616aa52d17893253b51ed1f3a49657050e9481560301c6778cf23772cbaadc785f2277a259af8390b49422c19bbf26568c39ddf2032a7951
7
+ data.tar.gz: 377e26d2b7155037135c53f49794e4bc1c0e76638d6c196b65d9fc3570673b89298d89aa0b1c8744e724444fccd7a3b2d180da803f012813031547459b553a2c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tdi (0.1.12)
4
+ tdi (0.1.13)
5
5
  awesome_print
6
6
  colorize
7
7
  etc
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 unless not proxy_port.nil?
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
@@ -18,5 +18,5 @@
18
18
  # along with TDI. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module Tdi
21
- VERSION = '0.1.12'
21
+ VERSION = '0.1.13'
22
22
  end
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.12
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-17 00:00:00.000000000 Z
13
+ date: 2016-07-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler