larva 0.9.1 → 0.9.2

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OGVmMmQ1MThmZDA0NGFiNTQ4MjkxNTYxYTZlMzU4YjM1NDMxMmUyNA==
5
- data.tar.gz: !binary |-
6
- MzI0MDViYWUzYjdjZThhOTJmMDJlNzk4NmEyMTI4N2QzMTE4ZWE5MA==
2
+ SHA1:
3
+ metadata.gz: 7d881b296762829b1231faf641557de3f07fd026
4
+ data.tar.gz: 7f5e4c25ef8b107f6a321e7d7fa8cdac5874901c
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzkxY2ViNjIyMWRlZDQ4NTI2YzEwM2QzYTFhMzM4N2E2ZTAzMWY5ODZkNDZh
10
- YjcxODg2ZjM2OTJhOTlhY2E1ZDdlOWVhODllOGRlNWVjMzhkYWUwNmI3MThj
11
- NDU0MjMzYzdlNzdjNTk0ZTkyOTMzODMxMjVhY2NmMjNlZTU5YTA=
12
- data.tar.gz: !binary |-
13
- MDM2NTA5NzMyZDc3OWQyNzFkMjI2MjIxNTkwZGMzNWNhODdmYjRkNTNmYzQ2
14
- ZGIxNWU2NGFkNDUwNGE1MTA1MDAzMjZiNDQzNTU5ZTM3MDRlN2UzZTUxNjZi
15
- MGY0ZTIwMTcwNmJiZTFiYWNmMWU2NjdjNWI5MDJlY2YyZWI5YTY=
6
+ metadata.gz: 591e77b84ca81e4df51cd338982d869486ccbef30d61bc9fc0027cf3f9521858263554786dba168939a33ae36eadb3cd860fa1837ca18f1cd364359c82ab0222
7
+ data.tar.gz: 7e178491832e605929b2d9a8d279bfc9a912327d369eef11d09b4b6677ed907b36a3acc5118b5d42a1854fc78a11578483f9ba05905b7265fbfb00c8654f97b1
@@ -1,3 +1,6 @@
1
+ # 0.9.2 / 2014-04-30
2
+ * [BIGFIX] Do not add suffix to queue names - added by Propono.
3
+
1
4
  # 0.9.1 / 2014-04-30
2
5
  * [FEATURE] Raise exceptions when thread dies
3
6
 
@@ -12,7 +12,7 @@ module Larva
12
12
  end
13
13
 
14
14
  def listen
15
- queue_name = "#{topic_name}#{Propono.config.queue_suffix}"
15
+ queue_name = "#{topic_name}"
16
16
  Propono.config.logger.info "Starting to listen to queue #{queue_name}"
17
17
  Propono.listen_to_queue("#{queue_name}") do |message, context|
18
18
  Propono.config.logger.context_id = context[:id]
@@ -1,3 +1,3 @@
1
1
  module Larva
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
@@ -4,18 +4,13 @@ module Larva
4
4
  class ListenerTest < Minitest::Test
5
5
  def test_listen_to_queue_is_called
6
6
  topic_name = "Foo"
7
- queue_suffix = "bar"
8
- Propono.config.queue_suffix = queue_suffix
9
- Propono.expects(:listen_to_queue).with("#{topic_name}#{queue_suffix}")
7
+ Propono.expects(:listen_to_queue).with("#{topic_name}")
10
8
  Larva::Listener.listen(topic_name, nil)
11
9
  end
12
10
 
13
11
  def test_listener_logs_listening_message
14
12
  topic_name = "Foo"
15
- queue_suffix = "bar"
16
- Propono.config.queue_suffix = queue_suffix
17
-
18
- message = "Starting to listen to queue #{topic_name}#{queue_suffix}"
13
+ message = "Starting to listen to queue #{topic_name}"
19
14
  Propono.config.logger.expects(:info).with(message)
20
15
  Propono.stubs(:listen_to_queue)
21
16
  Larva::Listener.listen(topic_name, nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: larva
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - iHiD
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: propono
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.2'
55
55
  - !ruby/object:Gem::Dependency
@@ -70,28 +70,28 @@ dependencies:
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
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
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mocha
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
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
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
@@ -173,17 +173,17 @@ require_paths:
173
173
  - lib
174
174
  required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
- - - ! '>='
176
+ - - '>='
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
- - - ! '>='
181
+ - - '>='
182
182
  - !ruby/object:Gem::Version
183
183
  version: '0'
184
184
  requirements: []
185
185
  rubyforge_project:
186
- rubygems_version: 2.1.9
186
+ rubygems_version: 2.2.1
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Some Meducation specific helper files for ur pub/sub network