status_workflow 3.0.4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG +6 -0
- data/lib/status_workflow.rb +0 -5
- data/lib/status_workflow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9d96a5ee8dc5343ebab7ab98c447d79f7903ba0831ef1225de8c9da6e6127838
|
4
|
+
data.tar.gz: '0139b6590a10230f353059e4e31d3d50c27e9717e1ffd68b0beb9bbea03e8a55'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 745bb828ae26bc09ce89e0ffeb60f0b9596cfef4f66bc3d31ae63a14db1e35d9dc33837f1102a259249d800445328a728361f41f3260c8325118f94060669861
|
7
|
+
data.tar.gz: fc999e463399151a1c22e0aae5522c2679339800e2f62c1f03b452f722280ee178b8447b80200ac4a3c3e4270d4d0d0430a1a4f1b66bb10e5b5b5d2005180f0e
|
data/CHANGELOG
CHANGED
data/lib/status_workflow.rb
CHANGED
@@ -109,11 +109,6 @@ module StatusWorkflow
|
|
109
109
|
memo[to_status] << from_status&.to_sym # support nil or strings/symbols
|
110
110
|
end
|
111
111
|
memo
|
112
|
-
end.tap do |to_from|
|
113
|
-
to_from[:error] = Set.new
|
114
|
-
to_from.each do |to_status, from_statuses|
|
115
|
-
to_from[:error].merge from_statuses
|
116
|
-
end
|
117
112
|
end.each do |to_status, from_statuses|
|
118
113
|
define_method "#{prefix_}enter_#{to_status}!" do
|
119
114
|
send "#{prefix_}status_transition!", nil, to_status
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: status_workflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seamus Abshere
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
version: '0'
|
164
164
|
requirements: []
|
165
165
|
rubyforge_project:
|
166
|
-
rubygems_version: 2.6
|
166
|
+
rubygems_version: 2.7.6
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: State machine used internally at Faraday.
|