action_subscriber 5.3.0-java → 5.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/action_subscriber.gemspec +10 -9
- data/lib/action_subscriber/configuration.rb +3 -5
- data/lib/action_subscriber/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7118cc94b2470de09e0d09003c7ca567ec9b248644b2e37ed584dd45413e50bc
|
4
|
+
data.tar.gz: fcc00a790f6ce89165999d724266666efe6e38004c092e8b5f418696004eed2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78bd313463131f6111120298842eec212764f6516964235354b2fe5f2244ff7174a7be41e7a43cb7507168f70bdfb1fb4fb09dd220f184eacc97b5794821765e
|
7
|
+
data.tar.gz: 42f88c9c6f91f9ee8b1d504e0f659a8b6c97b40efb95cc4416765265d3758e6922066d2690fcd99a2785beac60a6d0c13c3ce5567a395d8dd8d27ec529e703c1
|
data/action_subscriber.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require "action_subscriber/version"
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "action_subscriber"
|
@@ -18,17 +18,18 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency
|
21
|
+
spec.add_dependency "activesupport", ">= 3.2"
|
22
22
|
|
23
|
-
if ENV[
|
23
|
+
if ENV["PLATFORM"] == "java" || ::RUBY_PLATFORM == "java"
|
24
24
|
spec.platform = "java"
|
25
|
-
spec.add_dependency
|
25
|
+
spec.add_dependency "march_hare", "~> 4.4"
|
26
26
|
else
|
27
|
-
spec.add_dependency
|
27
|
+
spec.add_dependency "bunny", ">= 1.5.0"
|
28
28
|
end
|
29
|
-
spec.add_dependency
|
30
|
-
spec.add_dependency
|
31
|
-
spec.add_dependency
|
29
|
+
spec.add_dependency "concurrent-ruby"
|
30
|
+
spec.add_dependency "middleware"
|
31
|
+
spec.add_dependency "psych", ">= 3.3.2"
|
32
|
+
spec.add_dependency "thor"
|
32
33
|
|
33
34
|
spec.add_development_dependency "active_publisher", "~> 0.1.5"
|
34
35
|
spec.add_development_dependency "activerecord", ">= 3.2"
|
@@ -69,11 +69,9 @@ module ActionSubscriber
|
|
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 = ::ERB.new(::File.read(absolute_config_path)).result
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
yaml_config = ::YAML.load(erb)[env]
|
76
|
-
end
|
72
|
+
# Defined in Psych 3.2+ and the new canonical way to load trusted documents:
|
73
|
+
# https://github.com/ruby/psych/issues/533#issuecomment-1019363688
|
74
|
+
yaml_config = ::YAML.unsafe_load(erb)[env]
|
77
75
|
end
|
78
76
|
|
79
77
|
::ActionSubscriber::Configuration::DEFAULTS.each_pair do |key, value|
|
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.1
|
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-05-05 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,6 +70,20 @@ 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
|
73
87
|
- !ruby/object:Gem::Dependency
|
74
88
|
requirement: !ruby/object:Gem::Requirement
|
75
89
|
requirements:
|
@@ -300,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
314
|
- !ruby/object:Gem::Version
|
301
315
|
version: '0'
|
302
316
|
requirements: []
|
303
|
-
rubygems_version: 3.
|
317
|
+
rubygems_version: 3.3.11
|
304
318
|
signing_key:
|
305
319
|
specification_version: 4
|
306
320
|
summary: ActionSubscriber is a DSL that allows a rails app to consume messages from
|