activejob-status 0.5.0 → 1.0.1

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: fa875564067c50989a462e58c7dc6cda721f9c737d90555842a45ff45c26a39a
4
- data.tar.gz: 4275fd985ad9007cbbb841bee0e6a6f3eace42baacb4609ecedbc04883388bf9
3
+ metadata.gz: 843334651f7e39f88ff267202ef1d7bbe239705be4dd5507e97b5c1dcdcd79b6
4
+ data.tar.gz: 285ec915bd5eddbd58f83ef557beaf7798a59c9def6b2a7437af1d4a26e9ed58
5
5
  SHA512:
6
- metadata.gz: 004c5a2e04dc3f780a97737531becd4baeee68d453283d07e6826c4712a54e9cbec151500e7c1dd8cf0e1561b9e319668ae469989999769bedd2d256ffb16af9
7
- data.tar.gz: 4f6e55367525b445d13b2b524f55913cc57cf871dc4407001ce32cc8e0a4ee92b8fc28284471fe0525f77a2782afb505cbc14a13f53d4026ba56eb3b40180972
6
+ metadata.gz: 2d56a7a5b689688deef228d0ec8e7a6ebd68188bf45a9881da5adeddcb7fa2f6ec8baebe7821208c75140015b318b5cb01e23496dd23a7a1baef367b3111f69e
7
+ data.tar.gz: 35bb63ac0aac832ed79ce3437731b944a3307193ecffdc502d85c2b9b00cdba0769eac511502411b6f7fa81920d621fd624e9b2f4fc3f8a1dbce970910385b8b
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023 Savater Sebastien
1
+ Copyright (c) 2016-2024 Savater Sebastien
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -20,10 +20,9 @@ bundle add activejob-status
20
20
 
21
21
  ## Dependencies
22
22
 
23
- This is a legacy branch of `ActiveJob::Status` to support [EOL versions](https://endoflife.date/rails) of `ActiveJob` & `ActiveSupport`.
24
-
25
- This version works with `ActiveSupport >= 5.0` but requires `ruby < 3.0`.
23
+ ActiveJob::Status 1.x requires `ActiveSupport >= 6.0`
26
24
 
25
+ If you're still using an older version of Rails, see [v0.5.0](https://github.com/inkstak/activejob-status/releases/tag/v0.5.0).
27
26
 
28
27
  ## Configuration
29
28
 
@@ -401,20 +400,20 @@ bundle exec rubocop
401
400
  bundle exec standardrb
402
401
  ```
403
402
 
404
- All of them can be run with:
405
-
403
+ To run RSpec against various version of Rails dependencies:
406
404
  ```bash
407
- bundle exec rake
405
+ bundle exec appraisal install
406
+ bundle exec appraisal rspec
408
407
  ```
409
408
 
410
- To run test suite against various version of Rails dependencies:
409
+ All of them can be run with:
410
+
411
411
  ```bash
412
- bundle exec appraisal install
413
- bundle exec appraisal
412
+ bundle exec rake
414
413
  ```
415
414
 
416
415
  ## License & credits
417
416
 
418
- Please see [LICENSE](https://github.com/inkstak/coverart/blob/main/LICENSE) for further details.
417
+ Please see [LICENSE](https://github.com/inkstak/activejob-status/blob/main/LICENSE) for further details.
419
418
 
420
- Contributors: [./graphs/contributors](https://github.com/inkstak/coverart/graphs/contributors)
419
+ Contributors: [./graphs/contributors](https://github.com/inkstak/activejob-status/graphs/contributors)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveJob
4
4
  module Status
5
- VERSION = "0.5.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
@@ -54,7 +54,7 @@ module ActiveJob
54
54
  end
55
55
 
56
56
  def store
57
- @@store ||= (defined?(Rails) && Rails.cache)
57
+ @@store ||= (Rails.cache if defined?(Rails))
58
58
  end
59
59
 
60
60
  def get(id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Savater Sebastien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-03 00:00:00.000000000 Z
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
@@ -16,40 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '6'
19
+ version: '6.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '6'
26
+ version: '6.0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: activesupport
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: '5.0'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '6'
33
+ version: '6.0'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - ">="
48
39
  - !ruby/object:Gem::Version
49
- version: '5.0'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '6'
40
+ version: '6.0'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: appraisal
55
43
  requirement: !ruby/object:Gem::Requirement
@@ -168,14 +156,14 @@ dependencies:
168
156
  requirements:
169
157
  - - ">="
170
158
  - !ruby/object:Gem::Version
171
- version: '0'
159
+ version: '1.0'
172
160
  type: :development
173
161
  prerelease: false
174
162
  version_requirements: !ruby/object:Gem::Requirement
175
163
  requirements:
176
164
  - - ">="
177
165
  - !ruby/object:Gem::Version
178
- version: '0'
166
+ version: '1.0'
179
167
  - !ruby/object:Gem::Dependency
180
168
  name: timecop
181
169
  requirement: !ruby/object:Gem::Requirement
@@ -214,9 +202,9 @@ require_paths:
214
202
  - lib
215
203
  required_ruby_version: !ruby/object:Gem::Requirement
216
204
  requirements:
217
- - - "<"
205
+ - - ">="
218
206
  - !ruby/object:Gem::Version
219
- version: '3'
207
+ version: '0'
220
208
  required_rubygems_version: !ruby/object:Gem::Requirement
221
209
  requirements:
222
210
  - - ">="