active_interaction-active_job 0.3.1 → 0.3.2

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: '0598ac21103014d92d50f30e78ac3617f1d3ac97a9bbaaee81f20bfb8f3cd6d6'
4
- data.tar.gz: 199803066524e6aa2b5c0f7b5d3da74bc150e3ac73a841d58b480b1b19e6d740
3
+ metadata.gz: 7fa4e8c87d430b63f62d6d62a9ed877e4b243ac0da4935c47f38d26a421f7bf5
4
+ data.tar.gz: c0365d6efc7e71654d19f6a80fd17004d2a724fb09f2eb4dc0f3e2e7dedc1a36
5
5
  SHA512:
6
- metadata.gz: c21f6ff73ad4055fb7aa53648b7230c603ddba13e03bd8e1749f522412d96e3c4085d130a7584f5b23cf2145b5869fc6a1996c05144b4aabd42c4018221f1325
7
- data.tar.gz: c7960ee212465127480c723e282845be71b60f09515194027d647970daaa336e93b1f683c3bf1e4b8ca9c9c5d1e6d587875c601946e3d692fd36d817fd0ac59a
6
+ metadata.gz: 017d448d6431190a8b15deb81cfd0d507c5911aaba8481a625a684d2fc1f9af334fe7cbc82bc361422b62131346da28e7ddf796af1ffb03f17448d676936cd06
7
+ data.tar.gz: 468d32049f3a229cf3f6e1b0c728cfd51126ceadea09b20042208e537ea94bc80d8216e1953d4d43675037e59472fe6422077256d9fc971d4379ce0da2682b36
@@ -1,3 +1,6 @@
1
+ ### 0.3.2
2
+ - Fix rails 6 deprecation warning (#2)
3
+
1
4
  ### 0.3.1
2
5
  - Add support for Sidekiq Enterprise Encryption
3
6
 
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency "activesupport"
26
26
  spec.add_dependency "active_interaction"
27
27
 
28
- spec.add_development_dependency "bundler", "~> 1.13"
29
- spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "bundler", "~> 2.0.1"
29
+ spec.add_development_dependency "rake", "~> 13.0.1"
30
30
  end
@@ -1,5 +1,9 @@
1
1
  module ActiveInteraction::ActiveJob::JobHelper
2
2
  def perform *args
3
- self.class.parent.run!(*args)
3
+ if self.class.respond_to?(:module_parent)
4
+ self.class.module_parent.run!(*args)
5
+ else
6
+ self.class.parent.run!(*args)
7
+ end
4
8
  end
5
9
  end
@@ -6,6 +6,10 @@ module ActiveInteraction::ActiveJob::Sidekiq::JobHelper
6
6
  end
7
7
 
8
8
  args = ActiveJob::Arguments.deserialize(args)
9
- self.class.parent.run!(*args)
9
+ if self.class.respond_to?(:module_parent)
10
+ self.class.module_parent.run!(*args)
11
+ else
12
+ self.class.parent.run!(*args)
13
+ end
10
14
  end
11
15
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveInteraction
2
2
  module ActiveJob
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_interaction-active_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Katunin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2020-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.13'
61
+ version: 2.0.1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.13'
68
+ version: 2.0.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: 13.0.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: 13.0.1
83
83
  description: Add ActiveJob support to ActiveInteraction gem
84
84
  email:
85
85
  - antulik@gmail.com
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.0.1
128
+ rubygems_version: 3.0.3
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Add ActiveJob support to ActiveInteraction gem