ae_active_job_state 0.1.0 → 0.2.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: 06a4c9233311e99e2aa3f14bcf7310c36ab0221ed9fe8cd01d0c9b660c9cd6f1
4
- data.tar.gz: 4d15d5d24db0a18f773a05695e6139d3acfdbabdbdee91080b218e0eb31d00e1
3
+ metadata.gz: 8fbbc040ea54164e68433c3d291e388386bf6e6b6ef770afda14cb58191d9b2f
4
+ data.tar.gz: e714144e28307b336696804b07d8af1aa57efea378aaf6631c31b3836186ab25
5
5
  SHA512:
6
- metadata.gz: afcf025d29e44a480b902a15e861821b2a93c2f1cb2f266a22783e036cdffa000c24f5f48942bd6b292f051cd7ad605d87e3a1cc3a40079de4f0562444735f9f
7
- data.tar.gz: b0258ee0af5d7e4232e6a2e720789c43a8067dd0048d918f97ae031c5b85d11ac2f7af4efb36f6843ae3f2199d6d2b873447f60c8c531ab978a68268448ba0f6
6
+ metadata.gz: cda4cf5a133194f6f91810677e3e26d9abe3e4cb6174840c8a9b873e56f0d1a2ee316f48520f0703dd5a6be416a4aefc09e5dd95f0d72419df1cb63a2ecf0f1a
7
+ data.tar.gz: 2e86b1f8efb7a387d2a74236df9a6c664583faa819d4049344b94a14e802f2d2314afcf0d996498a16cd6da8e02b81c1da708f7e021cd0892fd3f4500d831d7a
@@ -15,7 +15,7 @@ module AeActiveJobState
15
15
  state :failed
16
16
 
17
17
  event :run do
18
- transitions from: :pending, to: :running
18
+ transitions from: %w[pending failed], to: :running
19
19
  after { update!(started_at: Time.now) }
20
20
  end
21
21
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AeActiveJobState
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ae_active_job_state
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-18 00:00:00.000000000 Z
11
+ date: 2021-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.0.8
121
+ rubygems_version: 3.1.2
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Store ActiveJob status in ActiveRecord