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 +4 -4
- data/.idea/active_message.iml +3 -16
- data/bin/active_message_worker +1 -1
- data/lib/active_message/broker.rb +1 -1
- data/lib/active_message/configuration.rb +2 -1
- data/lib/active_message/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b495104eaf4951875086c542b0163c845a059267
|
|
4
|
+
data.tar.gz: f306f31a37452c97a84aec97787847b78e94d751
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59212b3dbe2248303b783f927e885dd03a700429f77f2738b7057ac2aecb1d1fd85ee907506ca2919ab2f94857e76afe1de4a7eae0cc78aaabd485714a5e5208
|
|
7
|
+
data.tar.gz: 89203364102074b2ed548250f739e0fa409d4036f982d62eaf489d81237177efdb1093bb4ffd0f06c4397600429ce2afaaa64be6053656796cd47e4fa3b50cde
|
data/.idea/active_message.iml
CHANGED
|
@@ -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" />
|
data/bin/active_message_worker
CHANGED
|
@@ -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
|
|
@@ -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)).
|
|
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
|
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.
|
|
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-
|
|
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:
|
|
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:
|