cucumber-messages 17.0.0 → 17.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/cucumber/messages/time_conversion.rb +1 -1
- data/spec/cucumber/messages/time_conversion_spec.rb +8 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d0c5f3b224e9a7990db0315f80048238598fb3e28ff751e1d3f28a2a59cb492
|
4
|
+
data.tar.gz: bc63d1daa752d4d68c59dbcac28b2e04f36e8477a91013090bdf85ecb6e9a81a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bbe6bc4aed1f7ee18136c80f3c417e623fe336b7d1c71458f1fe167ba11d202fa7493423309636fe4df8c58c7e82beecc99a345054a1b71df511ae97970cf75
|
7
|
+
data.tar.gz: f6f418b641a8c71e58000c180b438698e9b60f3e8bc64a111170a43fd122eb50aa7fb8b3448e18c3a7e310ce6f72affc6a83e976831e8414aba74d1a8a039644
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
17.0.
|
1
|
+
17.0.1
|
@@ -28,6 +28,14 @@ module Cucumber
|
|
28
28
|
|
29
29
|
expect(duration_in_seconds_again).to be_within(0.000000001).of(duration_in_seconds)
|
30
30
|
end
|
31
|
+
|
32
|
+
it 'converts to a hash where seconds and nanos are integers' do
|
33
|
+
duration_in_seconds = 3.000161
|
34
|
+
duration = seconds_to_duration(duration_in_seconds)
|
35
|
+
|
36
|
+
expect(duration['seconds']).to be_integer
|
37
|
+
expect(duration['nanos']).to be_integer
|
38
|
+
end
|
31
39
|
end
|
32
40
|
end
|
33
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-messages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 17.0.
|
4
|
+
version: 17.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '13.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 13.0.
|
22
|
+
version: 13.0.6
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '13.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 13.0.
|
32
|
+
version: 13.0.6
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,15 +107,15 @@ requirements: []
|
|
107
107
|
rubygems_version: 3.1.2
|
108
108
|
signing_key:
|
109
109
|
specification_version: 4
|
110
|
-
summary: cucumber-messages-17.0.
|
110
|
+
summary: cucumber-messages-17.0.1
|
111
111
|
test_files:
|
112
112
|
- spec/capture_warnings.rb
|
113
113
|
- spec/cucumber/messages/acceptance_spec.rb
|
114
|
-
- spec/cucumber/messages/
|
114
|
+
- spec/cucumber/messages/id_generator_spec.rb
|
115
115
|
- spec/cucumber/messages/message/deserialization_spec.rb
|
116
116
|
- spec/cucumber/messages/message/dummy_messages.rb
|
117
|
-
- spec/cucumber/messages/message/utils_spec.rb
|
118
117
|
- spec/cucumber/messages/message/serialization_spec.rb
|
118
|
+
- spec/cucumber/messages/message/utils_spec.rb
|
119
|
+
- spec/cucumber/messages/ndjson_serialization_spec.rb
|
119
120
|
- spec/cucumber/messages/time_conversion_spec.rb
|
120
|
-
- spec/cucumber/messages/id_generator_spec.rb
|
121
121
|
- spec/cucumber/messages/version_spec.rb
|