activejob-cancel 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 99ba1ad25092d81d1e814585fd026fd68f813c2a
4
+ data.tar.gz: 272ae21271e5ddc2b5081b2de32756885dfb5352
5
+ SHA512:
6
+ metadata.gz: 9c5f55cf87d82c363d00148021bcf08f481723f58da89c91d4f445d8289ce87eba3a0c39167c6dd355ff0830357aef3480f392f738d1cabbbb76bced0f3097d9
7
+ data.tar.gz: ca5b5d7aae41db84ff5d4ea694f01bebfbd155ded00073c2dac1dc591a4f436b7584b53022cc4042f35c391610c8e0ffe2282dd64475d63dad051c133a0d7c19
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ gemfiles/*.lock
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.5
4
+ - 2.3.1
5
+
6
+ gemfile:
7
+ - gemfiles/active_job_42.gemfile
8
+ - gemfiles/active_job_50.gemfile
9
+
10
+ before_install: gem install bundler -v 1.11.2
11
+
12
+ services:
13
+ - redis
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at yuuji.yaginuma@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'coveralls', require: false
4
+ # Specify your gem's dependencies in activejob-cancel.gemspec
5
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Yuji Yaginuma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,60 @@
1
+ # ActiveJob::Cancel
2
+
3
+ `activejob-cancel` provides cancel method to Active Job. Currently it supports only `Sidekiq` and `Delayed Job`.
4
+
5
+ [![Build Status](https://travis-ci.org/y-yagi/activejob-cancel.svg?branch=master)](https://travis-ci.org/y-yagi/activejob-cancel)
6
+ [![Gem Version](https://badge.fury.io/rb/activejob-cancel.svg)](http://badge.fury.io/rb/activejob-cancel)
7
+ [![Code Climate](https://codeclimate.com/github/y-yagi/activejob-cancel/badges/gpa.svg)](https://codeclimate.com/github/y-yagi/activejob-cancel)
8
+ [![Coverage Status](https://coveralls.io/repos/github/y-yagi/activejob-cancel/badge.svg?branch=master)](https://coveralls.io/github/y-yagi/activejob-cancel?branch=master)
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'activejob-cancel'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install activejob-cancel
25
+
26
+ ## Usage
27
+
28
+ ```ruby
29
+ # app/jobs/hello_job.rb
30
+ class HelloJob < ActiveJob::Base
31
+ def perform
32
+ end
33
+ end
34
+ ```
35
+
36
+ ```ruby
37
+ job = HelloJob.perform_later
38
+ job.cancel
39
+ ```
40
+
41
+ Or
42
+
43
+ ```ruby
44
+ HelloJob.cancel(job id) # You must use the job id that Active Job provided.
45
+ ```
46
+
47
+ If you want to use an id that backend job provided, use the `cancel_by` method.
48
+
49
+ ```ruby
50
+ HelloJob.cancel_by(provider_job_id: job_id)
51
+ ```
52
+
53
+ ## Contributing
54
+
55
+ Bug reports and pull requests are welcome on GitHub at https://github.com/y-yagi/activejob-cancel. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
56
+
57
+ ## License
58
+
59
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
60
+
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,31 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'active_job/cancel/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "activejob-cancel"
7
+ spec.version = ActiveJob::Cancel::VERSION
8
+ spec.authors = ["Yuji Yaginuma"]
9
+ spec.email = ["yuuji.yaginuma@gmail.com"]
10
+
11
+ spec.summary = %q{activejob-cancel provides cancel method to Active Job}
12
+ spec.homepage = "https://github.com/y-yagi/activejob-cancel"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_dependency 'activejob', '>= 4.2.0'
21
+ spec.add_dependency 'activesupport', '>= 4.2.0'
22
+ spec.add_development_dependency "bundler", "~> 1.11"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "minitest", "~> 5.0"
25
+ spec.add_development_dependency "sidekiq"
26
+ spec.add_development_dependency "activerecord", '>= 4.2.0'
27
+ spec.add_development_dependency "delayed_job"
28
+ spec.add_development_dependency "delayed_job_active_record"
29
+ spec.add_development_dependency "sqlite3"
30
+ spec.add_development_dependency "byebug"
31
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "activejob/cancel"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'coveralls', require: false
4
+ gem 'rake'
5
+ gem 'sidekiq'
6
+ gem 'delayed_job'
7
+ gem 'delayed_job_active_record'
8
+ gem 'sqlite3'
9
+ gem 'activesupport', '~> 4.2.0'
10
+ gem 'activejob', '~> 4.2.0'
11
+ gem 'activerecord', '~> 4.2.0'
@@ -0,0 +1,11 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'coveralls', require: false
4
+ gem 'rake'
5
+ gem 'sidekiq'
6
+ gem 'delayed_job'
7
+ gem 'delayed_job_active_record'
8
+ gem 'sqlite3'
9
+ gem 'activesupport', '~> 5.0.0'
10
+ gem 'activejob', '~> 5.0.0'
11
+ gem 'activerecord', '~> 5.0.0'
@@ -0,0 +1,57 @@
1
+ require 'active_support'
2
+ require 'active_job'
3
+ require 'active_job/cancel/queue_adapters'
4
+ require 'active_job/cancel/version'
5
+
6
+ module ActiveJob
7
+ module Cancel
8
+ extend ActiveSupport::Concern
9
+
10
+ SUPPORTED_ADAPTERS = %w(Sidekiq DelayedJob).freeze
11
+
12
+ def cancel
13
+ if self.class.can_cancel?
14
+ self.class.cancel_adapter_class.new.cancel(job_id, queue_name)
15
+ else
16
+ raise NotImplementedError, 'This queueing backend does not support cancel.'
17
+ end
18
+ end
19
+
20
+ module ClassMethods
21
+ def cancel(job_id)
22
+ if can_cancel?
23
+ cancel_adapter_class.new.cancel(job_id, self.queue_name)
24
+ else
25
+ raise NotImplementedError, 'This queueing backend does not support cancel.'
26
+ end
27
+ end
28
+
29
+ def cancel_by(opts)
30
+ if can_cancel?
31
+ cancel_adapter_class.new.cancel_by(opts, self.queue_name)
32
+ else
33
+ raise NotImplementedError, 'This queueing backend does not support cancel_by.'
34
+ end
35
+ end
36
+
37
+ def can_cancel?
38
+ SUPPORTED_ADAPTERS.include?(adapter_name)
39
+ end
40
+
41
+ def cancel_adapter_class
42
+ Object.const_get("ActiveJob::Cancel::QueueAdapters::#{adapter_name}Adapter")
43
+ end
44
+
45
+ private
46
+ def adapter_name
47
+ if ActiveJob.version > Gem::Version.new('4.3')
48
+ self.queue_adapter.class.name.demodulize.chomp('Adapter')
49
+ else
50
+ self.queue_adapter.name.demodulize.chomp('Adapter')
51
+ end
52
+ end
53
+ end
54
+ end
55
+ end
56
+
57
+ ActiveJob::Base.include(ActiveJob::Cancel)
@@ -0,0 +1,10 @@
1
+ module ActiveJob
2
+ module Cancel
3
+ module QueueAdapters
4
+ extend ActiveSupport::Autoload
5
+
6
+ autoload :SidekiqAdapter
7
+ autoload :DelayedJobAdapter
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,36 @@
1
+ require 'delayed_job'
2
+ require 'delayed_job_active_record'
3
+
4
+ module ActiveJob
5
+ module Cancel
6
+ module QueueAdapters
7
+ class DelayedJobAdapter
8
+ def cancel(job_id, queue_name)
9
+ job = find_job(job_id, queue_name)
10
+ if job
11
+ job.destroy
12
+ return true
13
+ end
14
+ false
15
+ end
16
+
17
+ def cancel_by(opts, _queue_name)
18
+ raise ArgumentError, 'Please specify ":provider_job_id"' unless opts[:provider_job_id]
19
+ job_id = opts[:provider_job_id]
20
+
21
+ job = Delayed::Job.find_by(id: job_id)
22
+ if job
23
+ job.destroy
24
+ return true
25
+ end
26
+ false
27
+ end
28
+
29
+ private
30
+ def find_job(job_id, queue_name)
31
+ Delayed::Job.where('handler LIKE ?', "%job_id: #{job_id}%").where(queue: queue_name).first
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,58 @@
1
+ require 'sidekiq/api'
2
+
3
+ module ActiveJob
4
+ module Cancel
5
+ module QueueAdapters
6
+ class SidekiqAdapter
7
+ def cancel(job_id, queue_name)
8
+ job = find_job_by_job_id(job_id, queue_name)
9
+
10
+ if job
11
+ job.delete
12
+ return true
13
+ end
14
+
15
+ false
16
+ end
17
+
18
+ def cancel_by(opts, queue_name)
19
+ raise ArgumentError, 'Please specify ":provider_job_id"' unless opts[:provider_job_id]
20
+
21
+ job = find_job_by_provider_job_id(opts[:provider_job_id], queue_name)
22
+ if job
23
+ job.delete
24
+ return true
25
+ end
26
+
27
+ false
28
+ end
29
+
30
+ private
31
+ def find_job_by_job_id(job_id, queue_name)
32
+ find_job_from_queue(job_id, queue_name) || find_job_from_scheduled_set(job_id) || find_job_from_retry_set(job_id)
33
+ end
34
+
35
+ def find_job_by_provider_job_id(provider_job_id, queue_name)
36
+ Sidekiq::Queue.new(queue_name).find_job(provider_job_id) ||
37
+ Sidekiq::ScheduledSet.new.find_job(provider_job_id) ||
38
+ Sidekiq::RetrySet.new.find_job(provider_job_id)
39
+ end
40
+
41
+ def find_job_from_queue(job_id, queue_name)
42
+ queue = Sidekiq::Queue.new(queue_name)
43
+ queue.detect { |j| j.args.first['job_id'] == job_id }
44
+ end
45
+
46
+ def find_job_from_scheduled_set(job_id)
47
+ scheduled_set = Sidekiq::ScheduledSet.new
48
+ scheduled_set.detect { |j| j.args.first['job_id'] == job_id }
49
+ end
50
+
51
+ def find_job_from_retry_set(job_id)
52
+ scheduled_set = Sidekiq::RetrySet.new
53
+ scheduled_set.detect { |j| j.args.first['job_id'] == job_id }
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,5 @@
1
+ module ActiveJob
2
+ module Cancel
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
@@ -0,0 +1 @@
1
+ require "active_job/cancel"
metadata ADDED
@@ -0,0 +1,217 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activejob-cancel
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Yuji Yaginuma
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-07-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activejob
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.2.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 4.2.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 4.2.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.11'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.11'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sidekiq
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: activerecord
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 4.2.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 4.2.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: delayed_job
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: delayed_job_active_record
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: sqlite3
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: byebug
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description:
168
+ email:
169
+ - yuuji.yaginuma@gmail.com
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - ".travis.yml"
176
+ - CODE_OF_CONDUCT.md
177
+ - Gemfile
178
+ - LICENSE.txt
179
+ - README.md
180
+ - Rakefile
181
+ - activejob-cancel.gemspec
182
+ - bin/console
183
+ - bin/setup
184
+ - gemfiles/active_job_42.gemfile
185
+ - gemfiles/active_job_50.gemfile
186
+ - lib/active_job/cancel.rb
187
+ - lib/active_job/cancel/queue_adapters.rb
188
+ - lib/active_job/cancel/queue_adapters/delayed_job_adapter.rb
189
+ - lib/active_job/cancel/queue_adapters/sidekiq_adapter.rb
190
+ - lib/active_job/cancel/version.rb
191
+ - lib/activejob/cancel.rb
192
+ homepage: https://github.com/y-yagi/activejob-cancel
193
+ licenses:
194
+ - MIT
195
+ metadata: {}
196
+ post_install_message:
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 2.5.1
213
+ signing_key:
214
+ specification_version: 4
215
+ summary: activejob-cancel provides cancel method to Active Job
216
+ test_files: []
217
+ has_rdoc: