action_subscriber 5.3.1.pre-java → 5.3.3-java
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa97fd626af0fc640175fb24134710f56720d59423c6202257ea0ae430cf184d
|
4
|
+
data.tar.gz: d6afd3be203fdb1674ee5e5ffe5b9827525072a76839347f909e60a4ad3e2477
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cb3e64190f4f5c25c652d8f239d10d88db283637e8ec19793ee714a53192d009a5b0305bf46f451fd784f845300e50804b7ccf77fac912b88f2e8d47daaa03b
|
7
|
+
data.tar.gz: ca9e016b271a01e0dec7110fcea6a84a3c75f85b6a0d8f5fbca7488f5eda07354cb72691f01465c28889aa15b12d323efadd0b4022863626d8677f05a4123f9c
|
data/.circleci/config.yml
CHANGED
data/action_subscriber.gemspec
CHANGED
@@ -68,10 +68,10 @@ module ActionSubscriber
|
|
68
68
|
yaml_config = {}
|
69
69
|
absolute_config_path = ::File.expand_path(::File.join("config", "action_subscriber.yml"))
|
70
70
|
if ::File.exists?(absolute_config_path)
|
71
|
-
|
71
|
+
erb_yaml = ::ERB.new(::File.read(absolute_config_path)).result
|
72
72
|
# Defined in Psych 3.2+ and the new canonical way to load trusted documents:
|
73
73
|
# https://github.com/ruby/psych/issues/533#issuecomment-1019363688
|
74
|
-
yaml_config = ::YAML.unsafe_load(
|
74
|
+
yaml_config = ::YAML.respond_to?(:unsafe_load) ? ::YAML.unsafe_load(erb_yaml)[env] : ::YAML.load(erb_yaml)[env]
|
75
75
|
end
|
76
76
|
|
77
77
|
::ActionSubscriber::Configuration::DEFAULTS.each_pair do |key, value|
|
@@ -58,7 +58,11 @@ module ActionSubscriber
|
|
58
58
|
when ENV['APP_NAME'] then
|
59
59
|
ENV['APP_NAME'].to_s.dup
|
60
60
|
when defined?(::Rails) then
|
61
|
-
::Rails.application.class.
|
61
|
+
if ::Rails.application.class.respond_to?(:module_parent_name)
|
62
|
+
::Rails.application.class.module_parent_name.dup
|
63
|
+
else
|
64
|
+
::Rails.application.class.parent_name.dup
|
65
|
+
end
|
62
66
|
else
|
63
67
|
raise "Define an application name (ENV['APP_NAME'])"
|
64
68
|
end
|
@@ -35,7 +35,11 @@ module ActionSubscriber
|
|
35
35
|
when ENV['APP_NAME'] then
|
36
36
|
ENV['APP_NAME'].to_s.dup
|
37
37
|
when defined?(::Rails) then
|
38
|
-
::Rails.application.class.
|
38
|
+
if ::Rails.application.class.respond_to?(:module_parent_name)
|
39
|
+
::Rails.application.class.module_parent_name.dup
|
40
|
+
else
|
41
|
+
::Rails.application.class.parent_name.dup
|
42
|
+
end
|
39
43
|
else
|
40
44
|
raise "Define an application name (ENV['APP_NAME'])"
|
41
45
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_subscriber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Brian Stien
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2022-
|
15
|
+
date: 2022-12-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,20 +70,6 @@ dependencies:
|
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0'
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
requirement: !ruby/object:Gem::Requirement
|
75
|
-
requirements:
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 3.3.2
|
79
|
-
name: psych
|
80
|
-
prerelease: false
|
81
|
-
type: :runtime
|
82
|
-
version_requirements: !ruby/object:Gem::Requirement
|
83
|
-
requirements:
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 3.3.2
|
87
73
|
- !ruby/object:Gem::Dependency
|
88
74
|
requirement: !ruby/object:Gem::Requirement
|
89
75
|
requirements:
|
@@ -310,11 +296,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
310
296
|
version: '0'
|
311
297
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
298
|
requirements:
|
313
|
-
- - "
|
299
|
+
- - ">="
|
314
300
|
- !ruby/object:Gem::Version
|
315
|
-
version:
|
301
|
+
version: '0'
|
316
302
|
requirements: []
|
317
|
-
rubygems_version: 3.
|
303
|
+
rubygems_version: 3.2.29
|
318
304
|
signing_key:
|
319
305
|
specification_version: 4
|
320
306
|
summary: ActionSubscriber is a DSL that allows a rails app to consume messages from
|