kimchi 0.0.11 → 0.0.12
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/lib/kimchi/version.rb +1 -1
- data/lib/wire.rb +5 -3
- 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: 50be63f68126fd189265feaeecfa47d6fd26fff4
|
|
4
|
+
data.tar.gz: 517917d868b5133200cd51c167219dc0b85687f3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1914caa884c20a3842e0941a7e4b1acf4776819f66be697ec75724d0eb051b8b379792781e606ddcf6d86fd5177bf2dfa3f8d80eb3d2dd6266b3fb8c808e581
|
|
7
|
+
data.tar.gz: a9683d576c905eb44ae74048cd16e206c88244a812d874f84dd960818ac88fce0f9897e50c3a3503a61040bb0e8c94e0b32ec0075aa8ba39d52080c47778d211
|
data/lib/kimchi/version.rb
CHANGED
data/lib/wire.rb
CHANGED
|
@@ -152,16 +152,18 @@ module Wire
|
|
|
152
152
|
end
|
|
153
153
|
|
|
154
154
|
class HttpTransport
|
|
155
|
-
def initialize (host, port)
|
|
155
|
+
def initialize (host, port = nil)
|
|
156
156
|
@host = host
|
|
157
|
-
|
|
157
|
+
if !port.nil?
|
|
158
|
+
@host += ":" + port
|
|
159
|
+
end
|
|
158
160
|
end
|
|
159
161
|
|
|
160
162
|
def transmit (service_name, version, invocation_signal, timeout_seconds)
|
|
161
163
|
message = Message.new
|
|
162
164
|
|
|
163
165
|
begin
|
|
164
|
-
uri = URI("#{@host}
|
|
166
|
+
uri = URI("#{@host}/api/message")
|
|
165
167
|
headers = {"Content-Type" => "application/json"}
|
|
166
168
|
http = Net::HTTP.new(uri.host, uri.port)
|
|
167
169
|
http.read_timeout = timeout_seconds
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kimchi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Gautier
|
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
103
103
|
version: '0'
|
|
104
104
|
requirements: []
|
|
105
105
|
rubyforge_project:
|
|
106
|
-
rubygems_version: 2.1.
|
|
106
|
+
rubygems_version: 2.1.9
|
|
107
107
|
signing_key:
|
|
108
108
|
specification_version: 4
|
|
109
109
|
summary: Various frameworks and utilities to accelerate ICIX bdd tests
|