activemessaging 0.13.3 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/activemessaging.rb +5 -5
- data/lib/activemessaging/version.rb +1 -1
- metadata +21 -41
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 32e4a6d354a60e3eb51a79ca91a496658fffe39f7e1d5191d4448fed8156f956
|
4
|
+
data.tar.gz: 2be0c55eb42ce095f81ae2167136523056c92f93bb79dd3e76ba4bc3a3ce483d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0b88f4edea3a07ae4af816d587820a0aed25e597404b18a54d97cdae73107ae8c23c78e9a3c6c8ac404fde38d5130f2aa1f623a7ec0143b339c58cd619099d8a
|
7
|
+
data.tar.gz: 848bcf35b46f70a54e4bfcf36c04778038df439d080f189bffe0f582b098ba7314e2b777f906f1ed20c4e7f13bf4eea25b0b428293ae0510cb3490cbb1bfd639
|
data/lib/activemessaging.rb
CHANGED
@@ -36,11 +36,11 @@ module ActiveMessaging
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def self.app_root
|
39
|
-
@@app_root ||= (
|
39
|
+
@@app_root ||= ((defined?(::Rails) && ::Rails.root) || ENV['RAILS_ROOT'] || ENV['APP_ROOT'] || File.expand_path(Dir.pwd))
|
40
40
|
end
|
41
41
|
|
42
42
|
def self.app_env
|
43
|
-
@@app_env ||= (
|
43
|
+
@@app_env ||= ((defined?(::Rails) && ::Rails.env) || ENV['RAILS_ENV'] || ENV['APP_ENV'] || 'development')
|
44
44
|
end
|
45
45
|
|
46
46
|
def self.load_extensions
|
@@ -64,15 +64,15 @@ module ActiveMessaging
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def self.load_config
|
67
|
-
# Skip loading config if there are no custom processors as the generator
|
67
|
+
# Skip loading config if there are no custom processors as the generator
|
68
68
|
# is likely running since application_processor.rb and another processor
|
69
|
-
# should exist when running rails.
|
69
|
+
# should exist when running rails.
|
70
70
|
if Dir["#{app_root}/app/processors/*.rb"].size() <= 1
|
71
71
|
return
|
72
72
|
end
|
73
73
|
path = File.expand_path("#{app_root}/config/messaging.rb")
|
74
74
|
begin
|
75
|
-
load path
|
75
|
+
load path
|
76
76
|
rescue
|
77
77
|
raise $!, " ActiveMessaging: problems trying to load '#{path}': \n\t#{$!.message}"
|
78
78
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activemessaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
5
|
-
prerelease:
|
4
|
+
version: 0.13.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jon Tirsen
|
@@ -16,102 +15,90 @@ authors:
|
|
16
15
|
autorequire:
|
17
16
|
bindir: exe
|
18
17
|
cert_chain: []
|
19
|
-
date: 2018-03-
|
18
|
+
date: 2018-03-26 00:00:00.000000000 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: bundler
|
23
22
|
requirement: !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
23
|
requirements:
|
26
|
-
- -
|
24
|
+
- - ">="
|
27
25
|
- !ruby/object:Gem::Version
|
28
26
|
version: '0'
|
29
27
|
type: :development
|
30
28
|
prerelease: false
|
31
29
|
version_requirements: !ruby/object:Gem::Requirement
|
32
|
-
none: false
|
33
30
|
requirements:
|
34
|
-
- -
|
31
|
+
- - ">="
|
35
32
|
- !ruby/object:Gem::Version
|
36
33
|
version: '0'
|
37
34
|
- !ruby/object:Gem::Dependency
|
38
35
|
name: test-unit
|
39
36
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
37
|
requirements:
|
42
|
-
- -
|
38
|
+
- - ">="
|
43
39
|
- !ruby/object:Gem::Version
|
44
40
|
version: '0'
|
45
41
|
type: :development
|
46
42
|
prerelease: false
|
47
43
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
44
|
requirements:
|
50
|
-
- -
|
45
|
+
- - ">="
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: '0'
|
53
48
|
- !ruby/object:Gem::Dependency
|
54
49
|
name: stomp
|
55
50
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
51
|
requirements:
|
58
|
-
- -
|
52
|
+
- - ">="
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: '0'
|
61
55
|
type: :development
|
62
56
|
prerelease: false
|
63
57
|
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
58
|
requirements:
|
66
|
-
- -
|
59
|
+
- - ">="
|
67
60
|
- !ruby/object:Gem::Version
|
68
61
|
version: '0'
|
69
62
|
- !ruby/object:Gem::Dependency
|
70
63
|
name: appraisal
|
71
64
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
65
|
requirements:
|
74
|
-
- -
|
66
|
+
- - ">="
|
75
67
|
- !ruby/object:Gem::Version
|
76
68
|
version: '0'
|
77
69
|
type: :development
|
78
70
|
prerelease: false
|
79
71
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
72
|
requirements:
|
82
|
-
- -
|
73
|
+
- - ">="
|
83
74
|
- !ruby/object:Gem::Version
|
84
75
|
version: '0'
|
85
76
|
- !ruby/object:Gem::Dependency
|
86
77
|
name: activesupport
|
87
78
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
79
|
requirements:
|
90
|
-
- -
|
80
|
+
- - ">="
|
91
81
|
- !ruby/object:Gem::Version
|
92
82
|
version: '0'
|
93
83
|
type: :runtime
|
94
84
|
prerelease: false
|
95
85
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
86
|
requirements:
|
98
|
-
- -
|
87
|
+
- - ">="
|
99
88
|
- !ruby/object:Gem::Version
|
100
89
|
version: '0'
|
101
90
|
- !ruby/object:Gem::Dependency
|
102
91
|
name: rake
|
103
92
|
requirement: !ruby/object:Gem::Requirement
|
104
|
-
none: false
|
105
93
|
requirements:
|
106
|
-
- -
|
94
|
+
- - ">="
|
107
95
|
- !ruby/object:Gem::Version
|
108
96
|
version: '0'
|
109
97
|
type: :runtime
|
110
98
|
prerelease: false
|
111
99
|
version_requirements: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
100
|
requirements:
|
114
|
-
- -
|
101
|
+
- - ">="
|
115
102
|
- !ruby/object:Gem::Version
|
116
103
|
version: '0'
|
117
104
|
description: ActiveMessaging is an attempt to bring the simplicity and elegance of
|
@@ -125,8 +112,8 @@ executables: []
|
|
125
112
|
extensions: []
|
126
113
|
extra_rdoc_files: []
|
127
114
|
files:
|
128
|
-
- .gitignore
|
129
|
-
- .travis.yml
|
115
|
+
- ".gitignore"
|
116
|
+
- ".travis.yml"
|
130
117
|
- Appraisals
|
131
118
|
- Gemfile
|
132
119
|
- README.md
|
@@ -201,33 +188,26 @@ files:
|
|
201
188
|
homepage: http://github.com/kookster/activemessaging
|
202
189
|
licenses:
|
203
190
|
- MIT
|
191
|
+
metadata: {}
|
204
192
|
post_install_message:
|
205
193
|
rdoc_options: []
|
206
194
|
require_paths:
|
207
195
|
- lib
|
208
196
|
required_ruby_version: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
197
|
requirements:
|
211
|
-
- -
|
198
|
+
- - ">="
|
212
199
|
- !ruby/object:Gem::Version
|
213
200
|
version: '0'
|
214
|
-
segments:
|
215
|
-
- 0
|
216
|
-
hash: -3200962007466934586
|
217
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
202
|
requirements:
|
220
|
-
- -
|
203
|
+
- - ">="
|
221
204
|
- !ruby/object:Gem::Version
|
222
205
|
version: '0'
|
223
|
-
segments:
|
224
|
-
- 0
|
225
|
-
hash: -3200962007466934586
|
226
206
|
requirements: []
|
227
207
|
rubyforge_project:
|
228
|
-
rubygems_version:
|
208
|
+
rubygems_version: 2.7.3
|
229
209
|
signing_key:
|
230
|
-
specification_version:
|
210
|
+
specification_version: 4
|
231
211
|
summary: Official activemessaging gem, now hosted on github.com/kookster. (kookster
|
232
212
|
prefix temporary)
|
233
213
|
test_files: []
|