status_workflow 3.0.3 → 3.0.4
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 +4 -4
- data/CHANGELOG +6 -0
- data/lib/status_workflow.rb +1 -1
- data/lib/status_workflow/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77a10c66fc98d941c2ac4a0d52500d3e9a045a4f
|
|
4
|
+
data.tar.gz: 3147c248d293ff5a3d2582af15343450b8c81ba4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9633d6bb4472b3d0bd7d4fcb72944316387f3d43ab556c5e96db19aad5cd65b55ee0c1da3c3d4f8c6861ed4879ff9d7e484e9a9d6b806b4086f5f32c2a9dfe9
|
|
7
|
+
data.tar.gz: 236c64ba48a44a8463b6c98b69804665fec3b545b71f4225f64982f817c2ac9834407118667b68a27548a3337e304991b3ae0bdf25c7ba55a05e9e8547eb89da
|
data/CHANGELOG
CHANGED
data/lib/status_workflow.rb
CHANGED
|
@@ -106,7 +106,7 @@ module StatusWorkflow
|
|
|
106
106
|
to_statuses.each do |to_status|
|
|
107
107
|
to_status = to_status.to_sym
|
|
108
108
|
memo[to_status] ||= Set.new
|
|
109
|
-
memo[to_status] << from_status
|
|
109
|
+
memo[to_status] << from_status&.to_sym # support nil or strings/symbols
|
|
110
110
|
end
|
|
111
111
|
memo
|
|
112
112
|
end.tap do |to_from|
|
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: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
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-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redis
|