state_machine_job 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests.yml +18 -0
- data/CHANGELOG.md +8 -6
- data/README.md +1 -1
- data/lib/state_machine_job/version.rb +1 -1
- data/spec/state_machine_job/macro_spec.rb +4 -0
- data/state_machine_job.gemspec +6 -8
- metadata +30 -47
- data/.travis.yml +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac9e3a5fff6839a9d6163a9364ac64a259aef40bb8ceb15f9229e1de1e5d3e10
|
4
|
+
data.tar.gz: 1e4f1a6b4fee4f35e723f33b99ad0cf3ac0039e2bdb2e9e307523aaf76ccfc2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c48d231892c18e97eed3d2a1bb15728999b348dfefaae2c720144bba4548be10c63c6b3204d65c45cd310f619d5cb1befeb60337e76874405ab4fb95ae655dc4
|
7
|
+
data.tar.gz: 8549de2a218b54be88f429a913e014ada04a34a5d85db107813954f7a9295e64d5199aa3586df230050c97e591729798e44328fcb0b55ca3bdc25b9ecbe2e375
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name: tests
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
pull_request:
|
5
|
+
schedule:
|
6
|
+
- cron: '0 2 * * *'
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
rspec:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v3
|
14
|
+
- uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: 3.2
|
17
|
+
bundler-cache: true
|
18
|
+
- run: bundle exec rspec
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
-
### Version 3.
|
3
|
+
### Version 3.2.0
|
4
4
|
|
5
|
-
|
5
|
+
2023-09-04
|
6
6
|
|
7
|
-
[Compare changes](http://github.com/codevise/state_machine_job/compare/3-
|
7
|
+
[Compare changes](http://github.com/codevise/state_machine_job/compare/3-1-stable...v3.2.0)
|
8
8
|
|
9
|
-
-
|
10
|
-
([#
|
9
|
+
- Support Rails 6 and 7
|
10
|
+
([#12](https://github.com/codevise/state_machine_job/pull/12))
|
11
|
+
- Migrate to GitHub actions
|
12
|
+
([#13](https://github.com/codevise/state_machine_job/pull/13))
|
11
13
|
|
12
14
|
See
|
13
|
-
[3-
|
15
|
+
[3-1-stable branch](http://github.com/codevise/state_machine_job/blob/3-1-stable/CHANGELOG.md)
|
14
16
|
for previous changes.
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# State Machine Job
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/state_machine_job.svg)](http://badge.fury.io/rb/state_machine_job)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://github.com/codevise/state_machine_job/actions/workflows/tests.yml/badge.svg)](https://github.com/codevise/state_machine_job/actions)
|
5
5
|
|
6
6
|
Enqueue jobs on state machine transitions and change state according
|
7
7
|
to job result.
|
data/state_machine_job.gemspec
CHANGED
@@ -18,15 +18,13 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency 'state_machines-activemodel', '~> 0.
|
22
|
-
spec.add_development_dependency 'bundler', '
|
23
|
-
spec.add_development_dependency 'rake', '<
|
24
|
-
spec.add_development_dependency 'rspec-rails', '~>
|
25
|
-
spec.add_development_dependency 'activesupport', '< 6'
|
26
|
-
spec.add_development_dependency 'activemodel', '< 6'
|
21
|
+
spec.add_development_dependency 'state_machines-activemodel', '~> 0.9.0'
|
22
|
+
spec.add_development_dependency 'bundler', ['>= 1.3', '< 3']
|
23
|
+
spec.add_development_dependency 'rake', '< 14'
|
24
|
+
spec.add_development_dependency 'rspec-rails', '~> 6.0'
|
27
25
|
spec.add_development_dependency 'semmy', '~> 1.0'
|
28
26
|
spec.add_development_dependency 'timecop', '~> 0.9.1'
|
29
27
|
|
30
|
-
spec.add_runtime_dependency 'activejob', ['>= 4.2', '<
|
31
|
-
spec.add_runtime_dependency 'state_machines', '
|
28
|
+
spec.add_runtime_dependency 'activejob', ['>= 4.2', '< 8']
|
29
|
+
spec.add_runtime_dependency 'state_machines', ['>= 0.5', '< 0.7']
|
32
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machine_job
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: state_machines-activemodel
|
@@ -16,84 +16,62 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.9.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.9.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.3'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '3'
|
34
37
|
type: :development
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
|
-
- - "
|
41
|
+
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
43
|
version: '1.3'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '3'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rake
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "<"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '14'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "<"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '14'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rspec-rails
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
67
|
+
version: '6.0'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: activesupport
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "<"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '6'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "<"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '6'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: activemodel
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "<"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '6'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "<"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '6'
|
74
|
+
version: '6.0'
|
97
75
|
- !ruby/object:Gem::Dependency
|
98
76
|
name: semmy
|
99
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +109,7 @@ dependencies:
|
|
131
109
|
version: '4.2'
|
132
110
|
- - "<"
|
133
111
|
- !ruby/object:Gem::Version
|
134
|
-
version: '
|
112
|
+
version: '8'
|
135
113
|
type: :runtime
|
136
114
|
prerelease: false
|
137
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -141,21 +119,27 @@ dependencies:
|
|
141
119
|
version: '4.2'
|
142
120
|
- - "<"
|
143
121
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
122
|
+
version: '8'
|
145
123
|
- !ruby/object:Gem::Dependency
|
146
124
|
name: state_machines
|
147
125
|
requirement: !ruby/object:Gem::Requirement
|
148
126
|
requirements:
|
149
|
-
- - "
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0.5'
|
130
|
+
- - "<"
|
150
131
|
- !ruby/object:Gem::Version
|
151
|
-
version: 0.
|
132
|
+
version: '0.7'
|
152
133
|
type: :runtime
|
153
134
|
prerelease: false
|
154
135
|
version_requirements: !ruby/object:Gem::Requirement
|
155
136
|
requirements:
|
156
|
-
- - "
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.5'
|
140
|
+
- - "<"
|
157
141
|
- !ruby/object:Gem::Version
|
158
|
-
version: 0.
|
142
|
+
version: '0.7'
|
159
143
|
description: State Machine + Active Job
|
160
144
|
email:
|
161
145
|
- info@codevise.de
|
@@ -163,8 +147,8 @@ executables: []
|
|
163
147
|
extensions: []
|
164
148
|
extra_rdoc_files: []
|
165
149
|
files:
|
150
|
+
- ".github/workflows/tests.yml"
|
166
151
|
- ".gitignore"
|
167
|
-
- ".travis.yml"
|
168
152
|
- CHANGELOG.md
|
169
153
|
- Gemfile
|
170
154
|
- LICENSE.txt
|
@@ -196,8 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
180
|
- !ruby/object:Gem::Version
|
197
181
|
version: '0'
|
198
182
|
requirements: []
|
199
|
-
|
200
|
-
rubygems_version: 2.7.5
|
183
|
+
rubygems_version: 3.4.10
|
201
184
|
signing_key:
|
202
185
|
specification_version: 4
|
203
186
|
summary: Trigger jobs via Rails state machines.
|
data/.travis.yml
DELETED