status_workflow 3.0.4 → 4.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 77a10c66fc98d941c2ac4a0d52500d3e9a045a4f
4
- data.tar.gz: 3147c248d293ff5a3d2582af15343450b8c81ba4
2
+ SHA256:
3
+ metadata.gz: 9d96a5ee8dc5343ebab7ab98c447d79f7903ba0831ef1225de8c9da6e6127838
4
+ data.tar.gz: '0139b6590a10230f353059e4e31d3d50c27e9717e1ffd68b0beb9bbea03e8a55'
5
5
  SHA512:
6
- metadata.gz: e9633d6bb4472b3d0bd7d4fcb72944316387f3d43ab556c5e96db19aad5cd65b55ee0c1da3c3d4f8c6861ed4879ff9d7e484e9a9d6b806b4086f5f32c2a9dfe9
7
- data.tar.gz: 236c64ba48a44a8463b6c98b69804665fec3b545b71f4225f64982f817c2ac9834407118667b68a27548a3337e304991b3ae0bdf25c7ba55a05e9e8547eb89da
6
+ metadata.gz: 745bb828ae26bc09ce89e0ffeb60f0b9596cfef4f66bc3d31ae63a14db1e35d9dc33837f1102a259249d800445328a728361f41f3260c8325118f94060669861
7
+ data.tar.gz: fc999e463399151a1c22e0aae5522c2679339800e2f62c1f03b452f722280ee178b8447b80200ac4a3c3e4270d4d0d0430a1a4f1b66bb10e5b5b5d2005180f0e
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 4.0.0 / 2018-11-14
2
+
3
+ Breaking changes
4
+
5
+ * Remove special treatment of `error` state
6
+
1
7
  3.0.4 / 2018-11-09
2
8
 
3
9
  Enhancements
@@ -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
@@ -1,3 +1,3 @@
1
1
  module StatusWorkflow
2
- VERSION = '3.0.4'
2
+ VERSION = '4.0.0'
3
3
  end
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
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-09 00:00:00.000000000 Z
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.13
166
+ rubygems_version: 2.7.6
167
167
  signing_key:
168
168
  specification_version: 4
169
169
  summary: State machine used internally at Faraday.