nowa-top4r 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,7 +79,7 @@ class Top4R::Client
79
79
  end
80
80
 
81
81
  def create_http_connection
82
- protocol, host, port = (@@config.env == :production ? @@config.protocol : (@@config.env == :staging ? @@config.staging_protocol : @@config.test_protocol)), (@@config.env == :production ? @@config.host : (@@config.env == :staging ? @@config.staging_host : @@config.test_host)), (@@config.env == :production ? @@config.port : (@@config.env == :staging ? @@config.staging_port : @@config.test_port))
82
+ protocol, host, port = (@@config.env == :production ? @@config.protocol : @@config.test_protocol), (@@config.env == :production ? @@config.host : @@config.test_host), (@@config.env == :production ? @@config.port : @@config.test_port)
83
83
  @@logger.info "Host: #{host}\nPort: #{port}\n"
84
84
  conn = Net::HTTP.new(host, port,
85
85
  @@config.proxy_host, @@config.proxy_port,
data/lib/top4r/config.rb CHANGED
@@ -12,10 +12,10 @@ module Top4R
12
12
  :test_rest_uri,
13
13
  :test_port,
14
14
  :test_protocol,
15
- :staging_host,
16
- :staging_rest_uri,
17
- :staging_port,
18
- :staging_protocol,
15
+ # :staging_host,
16
+ # :staging_rest_uri,
17
+ # :staging_port,
18
+ # :staging_protocol,
19
19
  :proxy_host,
20
20
  :proxy_port,
21
21
  :proxy_user,
@@ -55,10 +55,10 @@ module Top4R
55
55
  :test_rest_uri => '/router/rest',
56
56
  :test_port => 80,
57
57
  :test_protocol => :http,
58
- :staging_host => '192.168.208.110',
59
- :staging_rest_uri => '/top/private/services/rest',
60
- :staging_port => '8080',
61
- :staging_protocol => :http,
58
+ # :staging_host => '192.168.208.110',
59
+ # :staging_rest_uri => '/top/private/services/rest',
60
+ # :staging_port => '8080',
61
+ # :staging_protocol => :http,
62
62
  :proxy_host => nil,
63
63
  :proxy_port => nil,
64
64
  :format => :json,
data/lib/top4r/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Top4R::Version
2
2
  MAJOR = 0
3
3
  MINOR = 0
4
- REVISION = 7
4
+ REVISION = 8
5
5
 
6
6
  class << self
7
7
  # Returns X.Y.Z formatted version string
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nowa-top4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nowa Zhu