propono 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGI3ZmNiOTNiM2RhMmMzOWQwM2NlNTM4OWRhMjY0NjJiYmUyZGMwMQ==
4
+ NTI0YmY4MWZjYThiZDUxOGZiMTI0NzQwNWZlMjMyZDE0MjAyOGU5ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZTgyOTIyOTRlNWZhYzNiNGRjNzc0NGZiZTk4ZWVhZjA1ODNmY2UzZA==
6
+ NTk0YmM5NThlZjAxNTA2YzUyNGRkOTVjZGRmZTU0MThhMDcwYjlmMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjZjMTVlN2IwMmM5Njc5YzMyN2YzZTNmZmUzMDFkYWNkNWFiY2JkYmY1MWMx
10
- MDA2OWJlOTNhODc2MWQyNzUzYjgxODI0ZjZiMzBhZDJiNDEwZjM1ZmNiMzhl
11
- Y2ZkNTc1MTQ3NDcyZDJkZjdiZjNlYTQyZmZmMmI1MjY1M2RkYzk=
9
+ MTY5ZjU1YzY5NTYyN2M5MDdiYTc1ZjM5YmJmZWNkMjA4MTFjMDkyODU3YTM4
10
+ NmJiYzQ5YTA0YjMzOTNhNjVlZDhlOGMwOWQ2MWE4MDQwMzQ5NDU3NWUxOWQx
11
+ YTFiZDhiYmIxNmE0NWMyNTI5NmFhZDk4NDBlZmFhMWNlYTI4Njc=
12
12
  data.tar.gz: !binary |-
13
- NmM4ZGNmNThjOTFmZTc5MGNmOGFmOWMxNjJlODE0NDRjMWMyZGFkNWU1OThm
14
- NjNhNDNhMDQ2NjUxOTc0MTU4Njk1NmIwOTE0NGM5ZjkyN2EyOTNjNzkzZjFm
15
- OWE4MTIzZmMyMGMyN2YzNGM2NDQxNTJjMDA0ZGUyNTg0ZTlmZDA=
13
+ OTM5MWZhNWRlYzg5OWRkOTBhYzA0NjUzNDMwNzYyOGE2MWQ3MTdmZTExNzE2
14
+ NWFiMmYxYWU2ZTk3MTBjNDhlYjRjYjhhZmIwYTAxYTE1NTEwZDgyNmFjN2Qw
15
+ NzQ5YWMxZTgzNTQ2ZDJjNDk2NjUxYmQ4YTIzN2MxNzEzZmYyOTM=
@@ -23,7 +23,7 @@ module Propono
23
23
  end
24
24
 
25
25
  def queue_name
26
- @queue_name ||= "#{config.application_name.gsub(" ", "_")}::#{@topic_id}"
26
+ @queue_name ||= "#{config.application_name.gsub(" ", "_")}-#{@topic_id}"
27
27
  end
28
28
 
29
29
  private
@@ -1,3 +1,3 @@
1
1
  module Propono
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -28,7 +28,7 @@ module Propono
28
28
  topic_id = "Foobar"
29
29
  subscription = QueueSubscription.new(topic_id)
30
30
 
31
- assert_equal subscription.send(:queue_name), "MyApp::Foobar"
31
+ assert_equal subscription.send(:queue_name), "MyApp-Foobar"
32
32
  end
33
33
 
34
34
  def test_subscription_queue_name_with_spaces
@@ -37,7 +37,7 @@ module Propono
37
37
  topic_id = "Foobar"
38
38
  subscription = QueueSubscription.new(topic_id)
39
39
 
40
- assert_equal subscription.send(:queue_name), "My_App::Foobar"
40
+ assert_equal subscription.send(:queue_name), "My_App-Foobar"
41
41
  end
42
42
 
43
43
  def test_create_calls_create
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: propono
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MalcyL