bi-frost 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: 90e78824096123ba6bb0fd116ce9d26160b9ce75
4
- data.tar.gz: e3e59050c9f7b6322c7b565d165249ab420b830f
3
+ metadata.gz: d92c6ad28d58300dc0d87fa0461b00cffd9319b2
4
+ data.tar.gz: 72998caea23e6a28bbd2f2f996ca305f284788d0
5
5
  SHA512:
6
- metadata.gz: 1af54f96b24f16e7d81401e355bb9c3a54784dd0503e8afc38596124d18634ce60b456cb91dbe86cf5d0376f1b32235d8c6be45436f8edcbd778d5fa365e0e68
7
- data.tar.gz: b125fedad0f351203691cf7f9b62bfb7f75d0ed328d524104990eea04065f1a33362b4c86aeca7e20e0f4dc4ead9c70ca3bf7b618f90538564e06a12b3928472
6
+ metadata.gz: 7dc98b221e3de6afa5e53478c9cc1915cdc50806dc08bf986a6a11d17651fad584f11f06985cf89092c9023bc1d56222b486de18d7ac313f77fecbe873b92c0c
7
+ data.tar.gz: 7408d17a8785c8e0d563de1c194fce19dd29b3b0357cb9c3dac2709b10f5efdda58db2152cfd99212ff27cd0d84aec7cc972c18959438046d8cc8554acd4d482
@@ -9,7 +9,7 @@ module Bifrost
9
9
 
10
10
  # The patch version of Bifrost, updated only for bug fixes from the last
11
11
  # feature release.
12
- PATCH_VERSION = 2
12
+ PATCH_VERSION = 3
13
13
 
14
14
  # The full version as a string.
15
15
  VERSION = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{PATCH_VERSION}".freeze
@@ -48,7 +48,7 @@ module Bifrost
48
48
 
49
49
  # A worker can tell you what it's friendly name will be, this is in order for supervision
50
50
  def self.handle(topic, subscriber)
51
- "#{topic.downcase}#{subscriber.downcase}"
51
+ "#{topic.downcase}--#{subscriber.downcase}"
52
52
  end
53
53
 
54
54
  private
@@ -14,12 +14,12 @@ describe Bifrost::Worker do
14
14
  end
15
15
 
16
16
  it 'should have a friendly string name' do
17
- expect(worker.to_s).to eq("#{worker.topic}#{worker.subscriber}")
17
+ expect(worker.to_s).to eq("#{worker.topic}--#{worker.subscriber}")
18
18
  end
19
19
 
20
20
  it 'should downcase the friendly name' do
21
21
  another_worker = Bifrost::Worker.new('toPic', 'subScriber', cb)
22
- expect(another_worker.to_s).to eq("#{another_worker.topic.downcase}#{another_worker.subscriber.downcase}")
22
+ expect(another_worker.to_s).to eq("#{another_worker.topic.downcase}--#{another_worker.subscriber.downcase}")
23
23
  end
24
24
 
25
25
  it 'should have a friendly symbol name' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bi-frost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shirren Premaratne