active_message 0.0.2B → 0.0.3

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40f5be9eba5374a2d38c652e4b405d0189178b14
4
- data.tar.gz: e1f6b329ec7e4978fe7450c285fe3c9979a6aa37
3
+ metadata.gz: b495104eaf4951875086c542b0163c845a059267
4
+ data.tar.gz: f306f31a37452c97a84aec97787847b78e94d751
5
5
  SHA512:
6
- metadata.gz: 1d97ee8a2fc834680ab139455c64898242fd37312f767d38647ef1d50667babe0770f7d02811fc66d4f0145c56b7ccb620b366db14238dae62f82065878b2297
7
- data.tar.gz: 160c746f4b7a350e1574634e0caecdd1eb2381c0de874f5dde39e12b9b986eb609c34ed41372c933f9f7732b22a70d187c753b7b5433830dc455a1abaef7d012
6
+ metadata.gz: 59212b3dbe2248303b783f927e885dd03a700429f77f2738b7057ac2aecb1d1fd85ee907506ca2919ab2f94857e76afe1de4a7eae0cc78aaabd485714a5e5208
7
+ data.tar.gz: 89203364102074b2ed548250f739e0fa409d4036f982d62eaf489d81237177efdb1093bb4ffd0f06c4397600429ce2afaaa64be6053656796cd47e4fa3b50cde
@@ -1,5 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <module type="RUBY_MODULE" version="4">
3
+ <component name="CompassSettings">
4
+ <option name="compassSupportEnabled" value="true" />
5
+ </component>
3
6
  <component name="FacetManager">
4
7
  <facet type="gem" name="Ruby Gem">
5
8
  <configuration>
@@ -13,22 +16,6 @@
13
16
  <content url="file://$MODULE_DIR$" />
14
17
  <orderEntry type="jdk" jdkName="RVM: ruby-2.1.1 [aquasol_client]" jdkType="RUBY_SDK" />
15
18
  <orderEntry type="sourceFolder" forTests="false" />
16
- <orderEntry type="module-library">
17
- <library name="active_message (v0.0.1, /Users/dustin/Projects/Personal/active_message) [path][gem]">
18
- <CLASSES>
19
- <root url="file://$MODULE_DIR$/bin" />
20
- <root url="file://$MODULE_DIR$/lib" />
21
- <root url="file://$MODULE_DIR$/.idea" />
22
- <root url="file://$MODULE_DIR$/config" />
23
- </CLASSES>
24
- <SOURCES>
25
- <root url="file://$MODULE_DIR$/bin" />
26
- <root url="file://$MODULE_DIR$/lib" />
27
- <root url="file://$MODULE_DIR$/.idea" />
28
- <root url="file://$MODULE_DIR$/config" />
29
- </SOURCES>
30
- </library>
31
- </orderEntry>
32
19
  <orderEntry type="library" scope="PROVIDED" name="amq-protocol (v1.9.2, RVM: ruby-2.1.1 [aquasol_client]) [gem]" level="application" />
33
20
  <orderEntry type="library" scope="PROVIDED" name="bunny (v1.2.1, RVM: ruby-2.1.1 [aquasol_client]) [gem]" level="application" />
34
21
  <orderEntry type="library" scope="PROVIDED" name="daemons (v1.1.9, RVM: ruby-2.1.1 [aquasol_client]) [gem]" level="application" />
@@ -6,7 +6,7 @@ require "daemons"
6
6
 
7
7
  APP_PATH = File.expand_path(File.join('.', 'config/application.rb'))
8
8
  CONFIG_PATH = File.expand_path(File.join('.', 'config/active_message.yml'))
9
- ENV["RAILS_ENV"] ||= "development"
9
+ # ENV["RAILS_ENV"] ||= ("development")
10
10
 
11
11
  Daemons.run_proc('active_message_worker') do
12
12
  if File.exist? APP_PATH
@@ -2,7 +2,7 @@ module ActiveMessage
2
2
  class Broker
3
3
  include Singleton
4
4
 
5
- attr_accessor :configuration
5
+ attr_accessor :configuration, :connection, :exchange
6
6
 
7
7
  def initialize
8
8
  end
@@ -44,7 +44,8 @@ module ActiveMessage
44
44
  end
45
45
 
46
46
  def self.load_from_file(file)
47
- YAML.load(File.read(file)).each do |attr, value|
47
+ temp = YAML.load(File.read(file))[Rails.env]
48
+ temp.each do |attr, value|
48
49
  ActiveMessage::Configuration.send("#{attr}=", value)
49
50
  end
50
51
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveMessage
2
- VERSION = "0.0.2B"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2B
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Ward
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-22 00:00:00.000000000 Z
11
+ date: 2014-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -125,9 +125,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">"
128
+ - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 1.3.1
130
+ version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
133
  rubygems_version: 2.2.2
@@ -135,3 +135,4 @@ signing_key:
135
135
  specification_version: 4
136
136
  summary: Active Messaging For AMQP
137
137
  test_files: []
138
+ has_rdoc: