ruby_rabbitmq_janus 2.3.0.pre.192 → 2.3.0.pre.194

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: ff7402a87105b5e93f3cfe7de361ae1b3b40b5c0a6185fe3dbfef60ed1847912
4
- data.tar.gz: 88ae1d174576c447912abcd79ae231a2fe68c448c4c95da9167eff28ed2f78a7
3
+ metadata.gz: ba8e394ae12c065a82544711879eb5468d5d90298b2629521b17fec690123b5f
4
+ data.tar.gz: 078ea970db2df9103e0c9c95de7a4f834d5175ee43c32bd343ddc049e3931e5b
5
5
  SHA512:
6
- metadata.gz: 3860f8f9e9ed08b57a19fb631008d658fa71428366b7b8a9229c56da228bf94631fa045c40337403a514348e27ee5bd44f76667f72678409c6370be423e229bd
7
- data.tar.gz: b651a24fbac8b0fb04af0312862e905fafd6f90e58aa41987f8be394639f93dd3908ad1b2a4a2d3ab92203d02a069878b10828912d2efd7b3e4a1d395da99531
6
+ metadata.gz: a5d4f2aa339ab4f0055a5b0fcd39c353199c9be08d73f942289270c1d289a14718970c6147098e3177d5bdb63ede782d5252c03d7e108413ce42bfa87210571b
7
+ data.tar.gz: a3ed7b595d4453766e5775d801334aa9a4bd3e49e6272809a18c86c34314846e496850d4981cc9e332c0f51eddd5359f14501379c4b9acc3fabaa7aefc1b4daa
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Metrics/ClassLength
4
+
3
5
  # :reek:TooManyInstanceVariables
4
6
 
5
7
  module RubyRabbitmqJanus
@@ -34,6 +36,7 @@ module RubyRabbitmqJanus
34
36
  end
35
37
 
36
38
  # Restart session
39
+ # :reek:TooManyStatements
37
40
  def restart_session
38
41
  Tools::Log.instance.warn 'Restart session ...'
39
42
  janus = find_model
@@ -48,11 +51,15 @@ module RubyRabbitmqJanus
48
51
  end
49
52
 
50
53
  # Start a timer for TTL
54
+ # rubocop:disable Metrics/AbcSize
55
+ # rubocop:disable Metrics/MethodLength
56
+ # :reek:TooManyStatements
51
57
  def start
52
58
  @timer.loop_keepalive do
53
59
  if detached?(find_model)
54
60
  Tools::Log.instance.info \
55
- "Thread #{__id__} no longer attached to Janus Instance, exiting..."
61
+ "Thread #{__id__} no longer attached to Janus Instance, " \
62
+ 'exiting...'
56
63
  @timer.stop_timer
57
64
  cleanup
58
65
  exit
@@ -66,6 +73,8 @@ module RubyRabbitmqJanus
66
73
  rescue
67
74
  raise Errors::Janus::KeepaliveThread::Start
68
75
  end
76
+ # rubocop:enable Metrics/AbcSize
77
+ # rubocop:enable Metrics/MethodLength
69
78
 
70
79
  # Kill session and disable instance
71
80
  def kill
@@ -75,20 +84,25 @@ module RubyRabbitmqJanus
75
84
  raise Errors::Janus::KeepaliveThread::Kill
76
85
  end
77
86
 
87
+ # rubocop:disable Metrics/MethodLength
88
+ # :reek:TooManyStatements
78
89
  def instance_is_down
79
90
  janus = find_model
80
91
  @session = @message = nil
81
92
  if detached?(janus)
82
93
  Tools::Log.instance.error\
83
- "Thread [#{__id__}] no longer attached to Janus Instance (should be dead)."
94
+ "Thread [#{__id__}] no longer attached to Janus Instance " \
95
+ '(should be dead).'
84
96
  else
85
97
  janus.set(enable: false).unset(%I[thread session])
86
98
  Tools::Log.instance.fatal \
87
- "Janus Instance [#{janus.instance}] is down, thread [#{__id__}] will die."
99
+ "Janus Instance [#{janus.instance}] is down, " \
100
+ "thread [#{__id__}] will die."
88
101
  end
89
102
  rescue
90
103
  raise Errors::Janus::KeepaliveThread::InstanceIsDown
91
104
  end
105
+ # rubocop:enable Metrics/MethodLength
92
106
 
93
107
  private
94
108
 
@@ -100,25 +114,25 @@ module RubyRabbitmqJanus
100
114
  end
101
115
 
102
116
  def cleanup
103
- if @session.present? && @message.present?
104
- response_destroy
105
- end
117
+ response_destroy if @session.present? && @message.present?
106
118
  @rabbit.close
107
119
  end
108
120
 
109
121
  def find_model
110
- if (@message.present?)
122
+ if @message.present?
111
123
  Models::JanusInstance.find(@message.instance)
112
124
  else
113
- Tools::Log.instance.warn 'Lookup Janus Instance model by session [#{@session}]'
125
+ Tools::Log.instance.warn \
126
+ "Lookup Janus Instance model by session [#{@session}]"
114
127
  Models::JanusInstance.find_by_session(@session)
115
128
  end
116
129
  rescue
117
130
  nil
118
131
  end
119
132
 
133
+ # :reek:FeatureEnvy
120
134
  def detached?(janus)
121
- janus.blank? or janus.thread != __id__
135
+ janus.blank? || janus.thread != __id__
122
136
  end
123
137
 
124
138
  def publisher
@@ -146,3 +160,5 @@ module RubyRabbitmqJanus
146
160
  end
147
161
  end
148
162
  end
163
+
164
+ # rubocop:enable Metrics/ClassLength
@@ -26,6 +26,7 @@ module RubyRabbitmqJanus
26
26
  @time_to_live = Tools::Config.instance.ttl
27
27
  @time_to_die = test_time_to_die >= 60 ? 59 : test_time_to_die
28
28
  @timers = Timers::Group.new
29
+ @timer = nil
29
30
  rescue
30
31
  raise Errors::Janus::KeepaliveTimer::Initializer
31
32
  end
@@ -51,12 +52,14 @@ module RubyRabbitmqJanus
51
52
  # Stop timer to keepalive thread
52
53
  def stop_timer
53
54
  @timer.cancel
55
+ @timer = nil
54
56
  rescue
55
57
  raise Errors::Janus::KeepaliveTimer::StopTimer
56
58
  end
57
59
 
58
60
  private
59
61
 
62
+ # :reek:FeatureEnvy
60
63
  def prepare_loop(&block)
61
64
  Timeout.timeout(@time_to_die) do
62
65
  block.binding.receiver.restart_session if yield
@@ -25,9 +25,10 @@ module RubyRabbitmqJanus
25
25
  end
26
26
 
27
27
  # Destroy a session in Janus Instance
28
+ # :reek:UtilityFunction
28
29
  def callback_destroy_after
29
30
  Tools::Log.instance.debug 'Callback AFTER_DESTROY'
30
- #LCO: nothing to do, thread will close session and die
31
+ # LCO: nothing to do, thread will close session and die
31
32
  end
32
33
 
33
34
  private
@@ -133,7 +133,7 @@ module RubyRabbitmqJanus
133
133
  end
134
134
 
135
135
  def test_level?(this_level)
136
- this_level >= Log.instance.level ? true : false
136
+ this_level >= Log.instance.level
137
137
  end
138
138
 
139
139
  def write_tag
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
- #
5
+
5
6
  require 'spec_helper'
6
7
 
7
8
  describe 'RubyRabbitmqJanus::RRJ -- message type handle info' do
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
5
 
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  # LCO: tagged broken 2018/01/26 for v2.3.0
3
4
  # see: https://travis-ci.org/dazzl-tv/ruby-rabbitmq-janus/builds/333359315
4
5
 
data/spec/support/sdp.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- SDP_OFFER = <<~EOF
3
+ SDP_OFFER = <<~SDP
4
4
  v=0
5
5
  o=- 7041456084360858977 2 IN IP4 127.0.0.1
6
6
  s=-
@@ -88,7 +88,7 @@ SDP_OFFER = <<~EOF
88
88
  a=ssrc:258141567 msid:2jKToeOlpzKTn7anwnHOJmzFyhvEYt1kpcMY 25d58816-114a-41d2-aa08-1039e09f942f
89
89
  a=ssrc:258141567 mslabel:2jKToeOlpzKTn7anwnHOJmzFyhvEYt1kpcMY
90
90
  a=ssrc:258141567 label:25d58816-114a-41d2-aa08-1039e09f942f
91
- EOF
91
+ SDP
92
92
 
93
93
  SDP_ANSWER = <<~SDP
94
94
  v=0
@@ -3,7 +3,7 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe RubyRabbitmqJanus::Janus::Concurrencies::KeepaliveThread, type: :thread, name: :keepalive_initializer do
6
- let(:instance) { RubyRabbitmqJanus::Models::JanusInstance.find((ENV['MONGO'].match?('true')? ['1','2']:[1,2]).sample) }
6
+ let(:instance) { RubyRabbitmqJanus::Models::JanusInstance.find((ENV['MONGO'].match?('true') ? %w[1 2] : [1, 2]).sample) }
7
7
  let(:concurrency) { RubyRabbitmqJanus::Janus::Concurrencies::KeepaliveInitializer.new(instance) }
8
8
  it { expect(concurrency.send(:rabbit)).to be_a(RubyRabbitmqJanus::Rabbit::Connect) }
9
9
  it { expect(concurrency.send(:lock)).to be_a(Mutex) }
@@ -3,7 +3,7 @@
3
3
  require 'spec_helper'
4
4
 
5
5
  describe RubyRabbitmqJanus::Janus::Concurrencies::KeepaliveThread, type: :thread, name: :keepalive_thread do
6
- let(:instance) { RubyRabbitmqJanus::Models::JanusInstance.find((ENV['MONGO'].match?('true')? ['1','2']:[1,2]).sample) }
6
+ let(:instance) { RubyRabbitmqJanus::Models::JanusInstance.find((ENV['MONGO'].match?('true') ? %w[1 2] : [1, 2]).sample) }
7
7
  let(:rabbit) { RubyRabbitmqJanus::Janus::Concurrencies::Concurrency.new.send(:rabbit) }
8
8
  let(:concurrency) { RubyRabbitmqJanus::Janus::Concurrencies::KeepaliveThread.new(instance, rabbit) { nil } }
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_rabbitmq_janus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0.pre.192
4
+ version: 2.3.0.pre.194
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy
@@ -11,175 +11,175 @@ cert_chain: []
11
11
  date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.12'
19
+ version: '4.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.12'
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
28
+ name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '12.0'
33
+ version: '4.2'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '12.0'
40
+ version: '4.2'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: aruba
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.5'
47
+ version: 0.14.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.5'
54
+ version: 0.14.2
55
55
  - !ruby/object:Gem::Dependency
56
- name: overcommit
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.34.2
61
+ version: '1.12'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.34.2
68
+ version: '1.12'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop
70
+ name: database_cleaner
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.48.0
75
+ version: '1.6'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.48.0
82
+ version: '1.6'
83
83
  - !ruby/object:Gem::Dependency
84
- name: yard
84
+ name: factory_girl
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.9.5
89
+ version: '4.8'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.9.5
96
+ version: '4.8'
97
97
  - !ruby/object:Gem::Dependency
98
- name: reek
98
+ name: fuubar
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '4.5'
103
+ version: '2.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '4.5'
110
+ version: '2.2'
111
111
  - !ruby/object:Gem::Dependency
112
- name: fuubar
112
+ name: json-schema
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '2.2'
117
+ version: '2.6'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '2.2'
124
+ version: '2.6'
125
125
  - !ruby/object:Gem::Dependency
126
- name: aruba
126
+ name: json-schema-rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 0.14.2
131
+ version: 0.0.4
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 0.14.2
138
+ version: 0.0.4
139
139
  - !ruby/object:Gem::Dependency
140
- name: pry-byebug
140
+ name: mongoid
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '3.4'
145
+ version: '5.2'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '3.4'
152
+ version: '5.2'
153
153
  - !ruby/object:Gem::Dependency
154
- name: json-schema
154
+ name: overcommit
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.6'
159
+ version: 0.34.2
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '2.6'
166
+ version: 0.34.2
167
167
  - !ruby/object:Gem::Dependency
168
- name: json-schema-rspec
168
+ name: pry-byebug
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 0.0.4
173
+ version: '3.4'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 0.0.4
180
+ version: '3.4'
181
181
  - !ruby/object:Gem::Dependency
182
- name: activesupport
182
+ name: rails
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
@@ -193,103 +193,103 @@ dependencies:
193
193
  - !ruby/object:Gem::Version
194
194
  version: '4.2'
195
195
  - !ruby/object:Gem::Dependency
196
- name: travis
196
+ name: rake
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '1.8'
201
+ version: '12.0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '1.8'
208
+ version: '12.0'
209
209
  - !ruby/object:Gem::Dependency
210
- name: activerecord
210
+ name: reek
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '4.2'
215
+ version: '4.5'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '4.2'
222
+ version: '4.5'
223
223
  - !ruby/object:Gem::Dependency
224
- name: rails
224
+ name: rspec
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '4.2'
229
+ version: '3.5'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '4.2'
236
+ version: '3.5'
237
237
  - !ruby/object:Gem::Dependency
238
- name: sqlite3
238
+ name: rubocop
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '1.3'
243
+ version: 0.48.0
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: '1.3'
250
+ version: 0.48.0
251
251
  - !ruby/object:Gem::Dependency
252
- name: mongoid
252
+ name: sqlite3
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: '5.2'
257
+ version: '1.3'
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
- version: '5.2'
264
+ version: '1.3'
265
265
  - !ruby/object:Gem::Dependency
266
- name: database_cleaner
266
+ name: travis
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '1.6'
271
+ version: '1.8'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: '1.6'
278
+ version: '1.8'
279
279
  - !ruby/object:Gem::Dependency
280
- name: factory_girl
280
+ name: yard
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: '4.8'
285
+ version: 0.9.5
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: '4.8'
292
+ version: 0.9.5
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: bunny
295
295
  requirement: !ruby/object:Gem::Requirement
@@ -319,33 +319,33 @@ dependencies:
319
319
  - !ruby/object:Gem::Version
320
320
  version: '1.2'
321
321
  - !ruby/object:Gem::Dependency
322
- name: thread
322
+ name: semaphore
323
323
  requirement: !ruby/object:Gem::Requirement
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: 0.2.2
327
+ version: 0.0.1
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
- version: 0.2.2
334
+ version: 0.0.1
335
335
  - !ruby/object:Gem::Dependency
336
- name: semaphore
336
+ name: thread
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
339
  - - "~>"
340
340
  - !ruby/object:Gem::Version
341
- version: 0.0.1
341
+ version: 0.2.2
342
342
  type: :runtime
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
346
  - - "~>"
347
347
  - !ruby/object:Gem::Version
348
- version: 0.0.1
348
+ version: 0.2.2
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: timers
351
351
  requirement: !ruby/object:Gem::Requirement