rsmp 0.34.2 → 0.35.0

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
  SHA256:
3
- metadata.gz: e8703bc33e904ea5dc41dacbe1f292497cc0100aa0b882bf12509750d2d005c9
4
- data.tar.gz: 2191a237bc3a513ff01eb989edca3173103f5447d12bedcab217a6c8e64f0224
3
+ metadata.gz: b1dba9786324c2d99518c96c0d254f5552a887fd39bd0881ca3250a4a9bedd8d
4
+ data.tar.gz: 2e852125b614b5ab45c5ba9b10b981a01b9394239ff66662f2011ae8cb0c37b3
5
5
  SHA512:
6
- metadata.gz: 4b8f3bff53ebbb8a169056fbe7ecea868f962276218b7b5982c5f61ff763a7cb4b1212fda409595b15758fb5ca6db25ca4dc3e2d0f6fe139546a377add46edf5
7
- data.tar.gz: 9f48990902e67308acbbf7a2f2c8fdefda101aefa513d397971b431e89a9762cc370cf765e55de0d1b838eeec6d4b0ec9e3d16284d033fd19f2d67ed359d33c5
6
+ metadata.gz: f307ea704153b59de79f2777871b52eb5e0767910602da521a67d18c55e01370763f6dc5022336f13cc2b1500f2d80cac3d45603e62315428d500bceefd179ff
7
+ data.tar.gz: 85230904f92aa9ad230be72c4e94b16783908a5b1cb5fd34fc9837c97fb780c3ebfd1797e6da8c2a17fef0b19c6cc96116179ee534e59c6fcfc870cdc45f3c51
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3
1
+ ruby 3.4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.34.2)
4
+ rsmp (0.35.0)
5
5
  async (~> 2.21)
6
6
  async-io (~> 1.43)
7
7
  colorize (~> 1.1)
@@ -12,7 +12,7 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- aruba (2.2.0)
15
+ aruba (2.3.0)
16
16
  bundler (>= 1.17, < 3.0)
17
17
  contracts (>= 0.16.0, < 0.18.0)
18
18
  cucumber (>= 8.0, < 10.0)
@@ -111,8 +111,8 @@ PLATFORMS
111
111
  x86_64-linux
112
112
 
113
113
  DEPENDENCIES
114
- aruba (~> 2.2)
115
- bundler (~> 2.5)
114
+ aruba (~> 2.3)
115
+ bundler (~> 2.6)
116
116
  cucumber (~> 9.2)
117
117
  rake (~> 13.2)
118
118
  rsmp!
@@ -121,4 +121,4 @@ DEPENDENCIES
121
121
  timecop (~> 0.9)
122
122
 
123
123
  BUNDLED WITH
124
- 2.5.18
124
+ 2.6.3
@@ -156,15 +156,6 @@ module RSMP
156
156
  @distributor.add_receiver self if @distributor
157
157
  end
158
158
 
159
- # Build a string describing how how progress reached before timeout
160
- def describe_progress
161
- str = "#{identifier}: #{@title.capitalize} collection "
162
- str << "in response to #{@m_id} " if @m_id
163
- str << "didn't complete within #{@timeout}s, "
164
- str << "reached #{@messages.size}/#{@num}"
165
- str
166
- end
167
-
168
159
  # Check if we receive a NotAck related to initiating request, identified by @m_id.
169
160
  def reject_not_ack message
170
161
  return unless @m_id
@@ -307,13 +298,13 @@ module RSMP
307
298
  end
308
299
  end
309
300
 
310
- # return a string that describe how many many messages have been collected
301
+ # Build a string describing how how progress reached before timeout
311
302
  def describe_progress
312
- if @num
313
- "#{@messages.size} of #{@num} message#{'s' if @messages.size!=1} collected"
314
- else
315
- "#{@messages.size} message#{'s' if @messages.size!=1} collected"
316
- end
303
+ str = "#{@title.capitalize} #{identifier} "
304
+ str << "in response to #{@m_id} " if @m_id
305
+ str << "timed out after #{@timeout}s, "
306
+ str << "reaching #{@messages.size}/#{@num}"
307
+ str
317
308
  end
318
309
 
319
310
  # log when we start collecting
data/lib/rsmp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = "0.34.2"
2
+ VERSION = "0.35.0"
3
3
  end
data/rsmp.gemspec CHANGED
@@ -37,11 +37,11 @@ Gem::Specification.new do |spec|
37
37
  spec.add_dependency "colorize", "~> 1.1"
38
38
  spec.add_dependency "rsmp_schema", "~> 0.8"
39
39
 
40
- spec.add_development_dependency "bundler", "~> 2.5"
40
+ spec.add_development_dependency "bundler", "~> 2.6"
41
41
  spec.add_development_dependency "rake", "~> 13.2"
42
42
  spec.add_development_dependency "rspec", "~> 3.13"
43
43
  spec.add_development_dependency "rspec-expectations", "~> 3.13"
44
44
  spec.add_development_dependency "timecop", "~> 0.9"
45
45
  spec.add_development_dependency "cucumber", "~> 9.2"
46
- spec.add_development_dependency "aruba" , "~> 2.2"
46
+ spec.add_development_dependency "aruba" , "~> 2.3"
47
47
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.2
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-12-18 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: logger
@@ -100,14 +99,14 @@ dependencies:
100
99
  requirements:
101
100
  - - "~>"
102
101
  - !ruby/object:Gem::Version
103
- version: '2.5'
102
+ version: '2.6'
104
103
  type: :development
105
104
  prerelease: false
106
105
  version_requirements: !ruby/object:Gem::Requirement
107
106
  requirements:
108
107
  - - "~>"
109
108
  - !ruby/object:Gem::Version
110
- version: '2.5'
109
+ version: '2.6'
111
110
  - !ruby/object:Gem::Dependency
112
111
  name: rake
113
112
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +183,14 @@ dependencies:
184
183
  requirements:
185
184
  - - "~>"
186
185
  - !ruby/object:Gem::Version
187
- version: '2.2'
186
+ version: '2.3'
188
187
  type: :development
189
188
  prerelease: false
190
189
  version_requirements: !ruby/object:Gem::Requirement
191
190
  requirements:
192
191
  - - "~>"
193
192
  - !ruby/object:Gem::Version
194
- version: '2.2'
193
+ version: '2.3'
195
194
  description: Easy RSMP site and supervisor communication.
196
195
  email:
197
196
  - zf0f@kk.dk
@@ -278,7 +277,6 @@ metadata:
278
277
  source_code_uri: https://github.com/rsmp-nordic/rsmp
279
278
  changelog_uri: https://github.com/rsmp-nordic/rsmp/blob/master/CHANGELOG.md
280
279
  bug_tracker_uri: https://github.com/rsmp-nordic/rsmp/issues
281
- post_install_message:
282
280
  rdoc_options: []
283
281
  require_paths:
284
282
  - lib
@@ -293,8 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
293
291
  - !ruby/object:Gem::Version
294
292
  version: '0'
295
293
  requirements: []
296
- rubygems_version: 3.5.22
297
- signing_key:
294
+ rubygems_version: 3.6.2
298
295
  specification_version: 4
299
296
  summary: RoadSide Message Protocol (RSMP) library.
300
297
  test_files: []