beetle_joevandyk_extensions 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module BeetleJoevandykExtensions
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -7,6 +7,10 @@ module BeetleJoevandykExtensions
7
7
 
8
8
  DEFAULT_TIMEOUT = 10
9
9
 
10
+ AMQP_INFO_URI = URI.parse(ENV['AMQP_URL'])
11
+
12
+ Beetle.config.servers = AMQP_INFO_URI.host
13
+
10
14
  def rpc name, message, options={}
11
15
  client = Beetle::Client.new
12
16
  client.register_message name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beetle_joevandyk_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: beetle
17
- requirement: &2157371420 !ruby/object:Gem::Requirement
17
+ requirement: &2156096460 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2157371420
25
+ version_requirements: *2156096460
26
26
  description: Extensions to Beetle
27
27
  email:
28
28
  - joe@fixieconsulting.com