cucumber-wire 2.0.0 → 2.0.1
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/CHANGELOG.md +6 -0
- data/lib/cucumber/wire/connections.rb +1 -1
- data/lib/cucumber/wire/data_packet.rb +3 -3
- data/lib/cucumber/wire/version +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b1f0002dd2afa345f8dcda583f4a3df9d51fe9ba5ada4a8e4ba11f5cfa3bcdd
|
4
|
+
data.tar.gz: e9010e0f53bb101ae5e2db94067b0d10974834510a89529c03b39f45903ae440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2261645e4b192554214e7b70c86f33ef226f779e906651a8343c46e576ea088b3373ca5cb440e3bb86b0d77b821b05d721e2eafae2c8210ff681674f9e20a200
|
7
|
+
data.tar.gz: 8c93e7a1aef2d4083956217915d2a0158dc984f687316ed55fe36d807965c4fa85415341edf731cf0b9875bad797ba0aa4a81533536b4b791192942dde2ed2cb
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,12 @@ Please visit [cucumber/CONTRIBUTING.md](https://github.com/cucumber/cucumber/blo
|
|
10
10
|
|
11
11
|
----
|
12
12
|
|
13
|
+
## [In GIT](https://github.com/cucumber/cucumber-ruby-wire/compare/v2.0.0...v2.0.1)
|
14
|
+
|
15
|
+
### Removed
|
16
|
+
|
17
|
+
* Replace use of `MultiJSON` to use native JSON gem
|
18
|
+
|
13
19
|
## [2.0.0](https://github.com/cucumber/cucumber-ruby-wire/compare/v1.2.0...v2.0.0)
|
14
20
|
|
15
21
|
### Changed
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'json'
|
2
2
|
|
3
3
|
module Cucumber
|
4
4
|
module Wire
|
@@ -7,7 +7,7 @@ module Cucumber
|
|
7
7
|
class DataPacket
|
8
8
|
class << self
|
9
9
|
def parse(raw)
|
10
|
-
attributes =
|
10
|
+
attributes = JSON.parse(raw.strip)
|
11
11
|
message = attributes[0]
|
12
12
|
params = attributes[1]
|
13
13
|
new(message, params)
|
@@ -23,7 +23,7 @@ module Cucumber
|
|
23
23
|
def to_json
|
24
24
|
packet = [@message]
|
25
25
|
packet << @params if @params
|
26
|
-
|
26
|
+
JSON.generate(packet)
|
27
27
|
end
|
28
28
|
|
29
29
|
def handle_with(handler)
|
data/lib/cucumber/wire/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-wire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wynne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-core
|
@@ -183,7 +183,7 @@ requirements: []
|
|
183
183
|
rubygems_version: 3.0.6
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
|
-
summary: cucumber-wire-2.0.
|
186
|
+
summary: cucumber-wire-2.0.1
|
187
187
|
test_files:
|
188
188
|
- spec/cucumber/wire/data_packet_spec.rb
|
189
189
|
- spec/cucumber/wire/configuration_spec.rb
|