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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03a9f0066659dc667431ab9ebc586c2529832d1461258dd6d426f863e5f86d01
4
- data.tar.gz: ab1c0829e4734e8582f59b403e51ae9caa2415afa1f871a1bab630b052cbae59
3
+ metadata.gz: e66577a1ef061e5623346875c94024af0dccf4f15f3788d86c9fab410b5a3620
4
+ data.tar.gz: 4353a8d9b1bcbe29c256367e5ad3502cdd93ebd2a351e90a1c706294661dfd28
5
5
  SHA512:
6
- metadata.gz: 3c268e4005abf1659599be599224e0ed2ff67e36f81bfaea8814de515384974ebecab3d60be9b6a985305294d9bb58ebd65c23a5a4ee5fe6300a15b46b7081a0
7
- data.tar.gz: 55ab232adbd0e6f36d2dd36d2eab69210bdae606de95eee08de87f98545b650b4e37a9bc8dcf7838a925a3d6750e2cf7690664c0f81df23933eb7cd8bfa8d1ef
6
+ metadata.gz: b872e26617a67db33ca43d8da7bb24ebfaa253a1c110aff02204c7d64f54b4852cf98b6804cefabfb2dba700fdab6f9eda5fe6edd2881490ec26fe59a42fb111
7
+ data.tar.gz: 16154ad9d50605537785e50dda77f1500bb67fff8035d2c41e311956ff34b312d44749904f6d606436698ddbaae0858816a27a5c690e5fd5d756e8bf4cd17e54
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  salsify_rubocop: conf/rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.3
5
+ TargetRubyVersion: 2.5
6
6
 
7
7
  Style/FrozenStringLiteralComment:
8
8
  Enabled: true
@@ -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.3.8
11
- - 2.4.5
12
- - 2.5.3
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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.5.0
4
+ * Drop support for Ruby 2.3 and 2.4.
5
+ * Drop support for Rails < 5.2.
6
+ * Bugfix for rails version in generated migration files
7
+
3
8
  ### 0.4.3
4
9
  * Bugfix for `on_completion_job` when `failure_cancels_group` is set to false.
5
10
 
@@ -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.3'
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', '>= 4.2', '< 6.1'
31
- spec.add_development_dependency 'coveralls'
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'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Delayed
4
4
  module JobGroups
5
- VERSION = '0.4.3'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
@@ -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.rb', 'db/migrate/create_delayed_job_groups.rb')
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.3
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-06-09 00:00:00.000000000 Z
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: '4.2'
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: '4.2'
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: coveralls
77
+ name: coveralls_reborn
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
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: '0'
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.rb
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.3'
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:
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "activerecord", "4.2.10"
7
- gem "activesupport", "4.2.10"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "activerecord", "5.0.7"
7
- gem "activesupport", "5.0.7"
8
-
9
- gemspec path: "../"
@@ -1,9 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "sqlite3", "~> 1.3.6"
6
- gem "activerecord", "5.1.6"
7
- gem "activesupport", "5.1.6"
8
-
9
- gemspec path: "../"