delayed_job_master 3.1.0 → 3.1.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6683f368856e5c22a45b1a58bc11073761ee2214d28b520d5006b3a3c5d573e2
4
- data.tar.gz: 19b671f335157e6a4a3ff4ea0c2dde4a0fdb9029f9e8cda013a4d8c27d4b1923
3
+ metadata.gz: 237a80bad0dd9d04944bec81f13afb72a514afc4a094baae795c23c79db9e7a0
4
+ data.tar.gz: 9b133b2767e9f3ff59e02ebdd5a43360efe5efe3c49c4559b36945764db23667
5
5
  SHA512:
6
- metadata.gz: f7e5076e40a1637698209c5980d877fa1f5e25b1bf1913e22944ac9ed2667f9877236716e0c4d15cf2427bf6aecdfa919cc75a2163c1e1ab5901c16f6329b4c1
7
- data.tar.gz: f723aaf03678034ac3309f05bb8f5aa88f780aa9b6bc5e829bc2f127d9b249026546409b33354df3de81860ff005cc16e7771a10591989436525de0da736343e
6
+ metadata.gz: d2b7b5726ac369876b0d95ef66898c6564d1e4c739729f19b1c649a2716f98ddf90809588dea2840e19e1eeb0d3220e813d734ea5d3919b0b8eee2bf9be27a26
7
+ data.tar.gz: d08efe63ab48634f03b153c23c51db0a422a12bd06fd91437b4feba02d3c45dab6b519915972e68cde25fec55b86d9c55292f77f4b9a70fa6978829ba61c7ad1
@@ -4,10 +4,10 @@ on: [push, pull_request]
4
4
 
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-20.04
7
+ runs-on: ubuntu-22.04
8
8
  services:
9
9
  postgres:
10
- image: postgres:9.5
10
+ image: postgres:15
11
11
  env:
12
12
  POSTGRES_USER: postgres
13
13
  POSTGRES_PASSWORD: postgres
@@ -24,8 +24,8 @@ jobs:
24
24
  strategy:
25
25
  fail-fast: false
26
26
  matrix:
27
- ruby: [2.7, '3.0', 3.1, 3.2]
28
- gemfile: ['rails60', 'rails61', 'rails70']
27
+ ruby: [2.7, '3.0', 3.1, 3.2, 3.3]
28
+ gemfile: ['rails60', 'rails61', 'rails70', 'rails71']
29
29
  database: ['postgresql', 'mysql']
30
30
  database_config: ['default', 'multi']
31
31
 
@@ -39,7 +39,7 @@ jobs:
39
39
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
40
40
 
41
41
  steps:
42
- - uses: actions/checkout@v3
42
+ - uses: actions/checkout@v4
43
43
  - uses: ruby/setup-ruby@v1
44
44
  with:
45
45
  ruby-version: ${{ matrix.ruby }}
data/.gitignore CHANGED
@@ -6,4 +6,5 @@
6
6
  /spec/reports/
7
7
  /spec/**/log/*.log
8
8
  /spec/**/tmp/*
9
+ /tmp/
9
10
  /vendor/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.1.2
4
+
5
+ * Fix deprecation warnings to work without activesupport.
6
+
7
+ ## 3.1.1
8
+
9
+ * Add `frozen_string_literal: true`.
10
+
3
11
  ## 3.1.0
4
12
 
5
13
  * Add timer feature.
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem "rails", "~> 7.1.0"
4
+
5
+ gemspec path: "../"
@@ -67,8 +67,8 @@ module Delayed
67
67
  end
68
68
 
69
69
  def monitor_wait(value = nil)
70
- ActiveSupport::Deprecation.warn <<-TEXT.squish
71
- deprecated 'monitor_wait' setting was used. Use 'monitor_interval' instead."
70
+ warn <<-TEXT.squish
71
+ DEPRECATION WARNING: 'monitor_wait' setting was deprecated. Use 'monitor_interval' instead. (#{caller[0]})
72
72
  TEXT
73
73
  @monitor_interval = @polling_interval = value
74
74
  end
@@ -56,14 +56,14 @@ module Delayed
56
56
  end
57
57
 
58
58
  def control(value = nil)
59
- ActiveSupport::Deprecation.warn <<-TEXT.squish
60
- deprecated 'control' setting was used. Remove it from your config file.
59
+ warn <<-TEXT.squish
60
+ DEPRECATION WARNING: 'control' setting was deprecated. Remove it from your config file. (#{caller[0]})
61
61
  TEXT
62
62
  end
63
63
 
64
64
  def count(value = nil)
65
- ActiveSupport::Deprecation.warn <<-TEXT.squish
66
- deprecated 'count' setting was used. Use 'max_processes' instead.
65
+ warn <<-TEXT.squish
66
+ DEPRECATION WARNING: 'count' setting was deprecated. Use 'max_processes' instead. (#{caller[0]})
67
67
  TEXT
68
68
  max_processes value
69
69
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module DelayedJobMaster
2
4
  class Railtie < Rails::Railtie
3
5
  config.after_initialize do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DelayedJobMaster
4
- VERSION = "3.1.0"
4
+ VERSION = "3.1.2"
5
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'active_support'
2
4
 
3
5
  require_relative 'delayed_job_master/version'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rails/generators'
2
4
 
3
5
  module DelayedJobMaster
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-27 00:00:00.000000000 Z
11
+ date: 2024-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: delayed_job
@@ -184,6 +184,7 @@ files:
184
184
  - gemfiles/rails60.gemfile
185
185
  - gemfiles/rails61.gemfile
186
186
  - gemfiles/rails70.gemfile
187
+ - gemfiles/rails71.gemfile
187
188
  - lib/delayed/master.rb
188
189
  - lib/delayed/master/callbacks.rb
189
190
  - lib/delayed/master/command.rb
@@ -224,7 +225,7 @@ homepage: https://github.com/kanety/delayed_job_master
224
225
  licenses:
225
226
  - MIT
226
227
  metadata: {}
227
- post_install_message:
228
+ post_install_message:
228
229
  rdoc_options: []
229
230
  require_paths:
230
231
  - lib
@@ -240,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
241
  version: '0'
241
242
  requirements: []
242
243
  rubygems_version: 3.3.3
243
- signing_key:
244
+ signing_key:
244
245
  specification_version: 4
245
246
  summary: A simple delayed_job master process to control multiple workers
246
247
  test_files: []