delayed_job_master 3.1.1 → 3.1.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: c64ac5ffbb010ea728b8ecd5ab347e7ad4971736572a9ef92b19bfe5454c4a89
4
- data.tar.gz: 7346a6743488dbe534e2fd7b772510c529350a7e19ec90ad23149898acc138fa
3
+ metadata.gz: 237a80bad0dd9d04944bec81f13afb72a514afc4a094baae795c23c79db9e7a0
4
+ data.tar.gz: 9b133b2767e9f3ff59e02ebdd5a43360efe5efe3c49c4559b36945764db23667
5
5
  SHA512:
6
- metadata.gz: f19876c0847934d89437522d51b8afe4d5925af0bbb1157dbfa2190ccd0ae60ac2bde30d591d296cdbde7d08a55309083e089ce67828bb030ac0baa2f152dd58
7
- data.tar.gz: 28ab1a59dee710808ee8b8e4f4bfb18d172f4845a4aff46693fb66b2a69913671844c079d224c63ec49a23ccf0d5464cf97c5045ab6b030546f744261923c1e0
6
+ metadata.gz: d2b7b5726ac369876b0d95ef66898c6564d1e4c739729f19b1c649a2716f98ddf90809588dea2840e19e1eeb0d3220e813d734ea5d3919b0b8eee2bf9be27a26
7
+ data.tar.gz: d08efe63ab48634f03b153c23c51db0a422a12bd06fd91437b4feba02d3c45dab6b519915972e68cde25fec55b86d9c55292f77f4b9a70fa6978829ba61c7ad1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 3.1.2
4
+
5
+ * Fix deprecation warnings to work without activesupport.
6
+
3
7
  ## 3.1.1
4
8
 
5
9
  * Add `frozen_string_literal: true`.
@@ -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,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DelayedJobMaster
4
- VERSION = "3.1.1"
4
+ VERSION = "3.1.2"
5
5
  end
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.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-23 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