delayed_job_groups_plugin 0.4.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/.travis.yml +3 -12
- data/Appraisals +2 -20
- data/CHANGELOG.md +5 -0
- data/delayed_job_groups.gemspec +3 -3
- data/lib/delayed/job_groups/version.rb +1 -1
- data/lib/generators/delayed_job_groups_plugin/install_generator.rb +1 -1
- data/lib/generators/delayed_job_groups_plugin/templates/{migration.rb → migration.erb} +1 -1
- metadata +11 -14
- data/gemfiles/rails_4.2.gemfile +0 -9
- data/gemfiles/rails_5.0.gemfile +0 -9
- data/gemfiles/rails_5.1.gemfile +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e66577a1ef061e5623346875c94024af0dccf4f15f3788d86c9fab410b5a3620
|
4
|
+
data.tar.gz: 4353a8d9b1bcbe29c256367e5ad3502cdd93ebd2a351e90a1c706294661dfd28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b872e26617a67db33ca43d8da7bb24ebfaa253a1c110aff02204c7d64f54b4852cf98b6804cefabfb2dba700fdab6f9eda5fe6edd2881490ec26fe59a42fb111
|
7
|
+
data.tar.gz: 16154ad9d50605537785e50dda77f1500bb67fff8035d2c41e311956ff34b312d44749904f6d606436698ddbaae0858816a27a5c690e5fd5d756e8bf4cd17e54
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -1,21 +1,12 @@
|
|
1
1
|
language: ruby
|
2
2
|
sudo: false
|
3
3
|
gemfile:
|
4
|
-
- gemfiles/rails_4.2.gemfile
|
5
|
-
- gemfiles/rails_5.0.gemfile
|
6
|
-
- gemfiles/rails_5.1.gemfile
|
7
4
|
- gemfiles/rails_5.2.gemfile
|
8
5
|
- gemfiles/rails_6.0.gemfile
|
9
6
|
rvm:
|
10
|
-
- 2.
|
11
|
-
- 2.
|
12
|
-
- 2.
|
7
|
+
- 2.5.8
|
8
|
+
- 2.6.6
|
9
|
+
- 2.7.2
|
13
10
|
script:
|
14
11
|
- bundle exec rspec
|
15
12
|
- bundle exec rubocop
|
16
|
-
matrix:
|
17
|
-
exclude:
|
18
|
-
- rvm: 2.3.8
|
19
|
-
gemfile: gemfiles/rails_6.0.gemfile
|
20
|
-
- rvm: 2.4.5
|
21
|
-
gemfile: gemfiles/rails_6.0.gemfile
|
data/Appraisals
CHANGED
@@ -1,27 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise 'rails-4.2' do
|
4
|
-
gem 'sqlite3', '~> 1.3.6'
|
5
|
-
gem 'activerecord', '4.2.10'
|
6
|
-
gem 'activesupport', '4.2.10'
|
7
|
-
end
|
8
|
-
|
9
|
-
appraise 'rails-5.0' do
|
10
|
-
gem 'sqlite3', '~> 1.3.6'
|
11
|
-
gem 'activerecord', '5.0.7'
|
12
|
-
gem 'activesupport', '5.0.7'
|
13
|
-
end
|
14
|
-
|
15
|
-
appraise 'rails-5.1' do
|
16
|
-
gem 'sqlite3', '~> 1.3.6'
|
17
|
-
gem 'activerecord', '5.1.6'
|
18
|
-
gem 'activesupport', '5.1.6'
|
19
|
-
end
|
20
|
-
|
21
3
|
appraise 'rails-5.2' do
|
22
4
|
gem 'sqlite3', '~> 1.3.6'
|
23
|
-
gem 'activerecord', '5.2.1
|
24
|
-
gem 'activesupport', '5.2.1
|
5
|
+
gem 'activerecord', '5.2.1'
|
6
|
+
gem 'activesupport', '5.2.1'
|
25
7
|
end
|
26
8
|
|
27
9
|
appraise 'rails-6.0' do
|
data/CHANGELOG.md
CHANGED
data/delayed_job_groups.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = Dir.glob('spec/**/*')
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.required_ruby_version = '>= 2.
|
22
|
+
spec.required_ruby_version = '>= 2.5'
|
23
23
|
|
24
24
|
spec.add_dependency 'delayed_job', '>= 4.1'
|
25
25
|
spec.add_dependency 'delayed_job_active_record', '>= 4.1'
|
@@ -27,8 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.post_install_message = 'See https://github.com/salsify/delayed_job_groups_plugin#installation for upgrade/installation notes.'
|
28
28
|
|
29
29
|
spec.add_development_dependency 'appraisal'
|
30
|
-
spec.add_dependency 'activerecord', '>=
|
31
|
-
spec.add_development_dependency '
|
30
|
+
spec.add_dependency 'activerecord', '>= 5.2', '< 6.1'
|
31
|
+
spec.add_development_dependency 'coveralls_reborn', '>= 0.18.0'
|
32
32
|
spec.add_development_dependency 'database_cleaner', '>= 1.2'
|
33
33
|
spec.add_development_dependency 'mime-types'
|
34
34
|
spec.add_development_dependency 'rake'
|
@@ -11,7 +11,7 @@ module DelayedJobGroupsPlugin
|
|
11
11
|
source_paths << File.join(File.dirname(__FILE__), 'templates')
|
12
12
|
|
13
13
|
def create_migration_file
|
14
|
-
migration_template('migration.
|
14
|
+
migration_template('migration.erb', 'db/migrate/create_delayed_job_groups.rb')
|
15
15
|
end
|
16
16
|
|
17
17
|
def self.next_migration_number(dirname)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class CreateDelayedJobGroups < ActiveRecord::Migration
|
3
|
+
class CreateDelayedJobGroups < ActiveRecord::Migration[<%= ActiveRecord::VERSION::MAJOR %>.<%= ActiveRecord::VERSION::MINOR %>]
|
4
4
|
|
5
5
|
def up
|
6
6
|
add_column(:delayed_jobs, :blocked, :boolean, default: false, null: false)
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: delayed_job_groups_plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Turkel
|
8
8
|
- Randy Burkes
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: delayed_job
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
62
|
+
version: '5.2'
|
63
63
|
- - "<"
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '6.1'
|
@@ -69,24 +69,24 @@ dependencies:
|
|
69
69
|
requirements:
|
70
70
|
- - ">="
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '
|
72
|
+
version: '5.2'
|
73
73
|
- - "<"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '6.1'
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
|
-
name:
|
77
|
+
name: coveralls_reborn
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.18.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 0.18.0
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: database_cleaner
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -233,9 +233,6 @@ files:
|
|
233
233
|
- README.md
|
234
234
|
- Rakefile
|
235
235
|
- delayed_job_groups.gemspec
|
236
|
-
- gemfiles/rails_4.2.gemfile
|
237
|
-
- gemfiles/rails_5.0.gemfile
|
238
|
-
- gemfiles/rails_5.1.gemfile
|
239
236
|
- gemfiles/rails_5.2.gemfile
|
240
237
|
- gemfiles/rails_6.0.gemfile
|
241
238
|
- lib/delayed/job_groups/compatibility.rb
|
@@ -246,7 +243,7 @@ files:
|
|
246
243
|
- lib/delayed/job_groups/yaml_loader.rb
|
247
244
|
- lib/delayed_job_groups_plugin.rb
|
248
245
|
- lib/generators/delayed_job_groups_plugin/install_generator.rb
|
249
|
-
- lib/generators/delayed_job_groups_plugin/templates/migration.
|
246
|
+
- lib/generators/delayed_job_groups_plugin/templates/migration.erb
|
250
247
|
- spec/db/database.yml
|
251
248
|
- spec/db/schema.rb
|
252
249
|
- spec/delayed/job_groups/job_group_spec.rb
|
@@ -267,7 +264,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
264
|
requirements:
|
268
265
|
- - ">="
|
269
266
|
- !ruby/object:Gem::Version
|
270
|
-
version: '2.
|
267
|
+
version: '2.5'
|
271
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
269
|
requirements:
|
273
270
|
- - ">="
|
@@ -275,7 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
275
272
|
version: '0'
|
276
273
|
requirements: []
|
277
274
|
rubygems_version: 3.0.8
|
278
|
-
signing_key:
|
275
|
+
signing_key:
|
279
276
|
specification_version: 4
|
280
277
|
summary: Delayed::Job job groups plugin
|
281
278
|
test_files:
|
data/gemfiles/rails_4.2.gemfile
DELETED
data/gemfiles/rails_5.0.gemfile
DELETED