state_machine_job 2.0.0 → 3.0.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: 7321f4a9acadaf04e7ae9e042984c0236a515d75afb4fa4c099285c8fa315081
4
- data.tar.gz: 7cb0105c55838f3d0e2814ccb5c0e2e867d787b81ab3c04ca90eef416f69bb63
3
+ metadata.gz: 6a7f675ec564eb009278abd23d975cc4a90a8227547f4a6b52d892ff68ea9a09
4
+ data.tar.gz: 3edbe769acda3301a5727296f9658d7dfd38733b04e95e66033e0c0f8e8c2db2
5
5
  SHA512:
6
- metadata.gz: 32a5ee63e8d498fcc5457700f554451b02b243069d9ff92f22cebe96f1382e31030c775a3ddf5a45bc9db36174098dba177206b8cfd1fa568e5fce024e7b7c98
7
- data.tar.gz: cecc86f4fc4dbdc206128251c2cb987f68ff392128397682f8f535970c8c9ed7a0c7de234dc0f745a04806db79fec298b91b743a2ae6f5e2d7f897e690a805ce
6
+ metadata.gz: ae3afe431ed7a0b271ba445a613f57b0bb065c77cc0f8f4c97031ca82d2e9ee44cb1496ecff65accc838d9706445a589f9c5148682f4d3e9a55cfe40aa311c7a
7
+ data.tar.gz: 8b4bc3f88b24bee08753119de4aca55e03cee70a7d883365d9d7ebbfeaa2a65476c58c8353ff270bd5fa14eb0c05512b034fdeb73d494df0cfa2c1d32602ce17
data/CHANGELOG.md CHANGED
@@ -1,15 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 2.0.0
3
+ ### Version 3.0.0
4
4
 
5
- 2018-07-27
5
+ 2018-07-31
6
6
 
7
- [Compare changes](http://github.com/codevise/state_machine_job/compare/1-x-stable...v2.0.0)
7
+ [Compare changes](http://github.com/codevise/state_machine_job/compare/2-x-stable...v3.0.0)
8
8
 
9
- - Breaking change: Decouple from Resque and use Active Job. See README
10
- for updated usage instructions.
11
- ([#9](https://github.com/codevise/state_machine_job/pull/9))
9
+ - Migrate to `state_machines` gem
10
+ ([#10](https://github.com/codevise/state_machine_job/pull/10))
12
11
 
13
12
  See
14
- [1-x-stable branch](http://github.com/codevise/state_machine_job/blob/1-x-stable/CHANGELOG.md)
13
+ [2-x-stable branch](http://github.com/codevise/state_machine_job/blob/2-x-stable/CHANGELOG.md)
15
14
  for previous changes.
@@ -1,3 +1,3 @@
1
1
  module StateMachineJob
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '3.0.0'.freeze
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -7,7 +7,7 @@ $LOAD_PATH << File.join(PROJECT_ROOT, 'lib')
7
7
  require 'active_support/inflector'
8
8
  require 'active_model'
9
9
  require 'active_job'
10
- require 'state_machine'
10
+ require 'state_machines-activemodel'
11
11
  require 'state_machine_job'
12
12
 
13
13
  ActiveJob::Base.logger = Logger.new(nil)
@@ -18,6 +18,7 @@ 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.5.0'
21
22
  spec.add_development_dependency 'bundler', '~> 1.3'
22
23
  spec.add_development_dependency 'rake', '< 13'
23
24
  spec.add_development_dependency 'rspec-rails', '~> 3.7'
@@ -27,5 +28,5 @@ Gem::Specification.new do |spec|
27
28
  spec.add_development_dependency 'timecop', '~> 0.9.1'
28
29
 
29
30
  spec.add_runtime_dependency 'activejob', ['>= 4.2', '< 6']
30
- spec.add_runtime_dependency 'state_machine', '~> 1.2'
31
+ spec.add_runtime_dependency 'state_machines', '~> 0.5.0'
31
32
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: state_machine_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.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: 2018-07-27 00:00:00.000000000 Z
11
+ date: 2018-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: state_machines-activemodel
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.5.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.5.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -129,19 +143,19 @@ dependencies:
129
143
  - !ruby/object:Gem::Version
130
144
  version: '6'
131
145
  - !ruby/object:Gem::Dependency
132
- name: state_machine
146
+ name: state_machines
133
147
  requirement: !ruby/object:Gem::Requirement
134
148
  requirements:
135
149
  - - "~>"
136
150
  - !ruby/object:Gem::Version
137
- version: '1.2'
151
+ version: 0.5.0
138
152
  type: :runtime
139
153
  prerelease: false
140
154
  version_requirements: !ruby/object:Gem::Requirement
141
155
  requirements:
142
156
  - - "~>"
143
157
  - !ruby/object:Gem::Version
144
- version: '1.2'
158
+ version: 0.5.0
145
159
  description: State Machine + Active Job
146
160
  email:
147
161
  - info@codevise.de