action_subscriber 5.3.2 → 5.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -0
- data/lib/action_subscriber/router.rb +5 -1
- data/lib/action_subscriber/subscribable.rb +5 -1
- data/lib/action_subscriber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 541f90b322d1636dd9b4cc73d33dc679df5559ad636f99ee41599f79e48d74c3
|
4
|
+
data.tar.gz: 3713638d75a1f4c4a30b7872304257ac46d454e5bcb81447e023e7f896b3cf84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bfd5dac3737f8d4e9e2721fbae604ff184a377c7d99609abbc6c65aa94d6a4a1f393624b7398a120e14c944c80272f839350008e885403d730da983ab5948a5
|
7
|
+
data.tar.gz: 5c49c79b4d44a9872a1b1c115ea985c4cc5d99c9e0fd358be136166c6c595166c8653fc08ae050e60eb18be91ea978ae38813c35c3b83fc859c0473eac9b8e67
|
data/.circleci/config.yml
CHANGED
@@ -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: ruby
|
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
|
name: activesupport
|