flow 0.10.5 → 0.10.6

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: 946ff11930523a9982a5f4210d74ef656e66c0f84c0267f484799b6a4173956e
4
- data.tar.gz: 7c148b9935abaf957f966c3f576620f5d444e5d8561e35fa40cbc3dc7c525ca7
3
+ metadata.gz: a34353653241a092621920b2f5b2d674fa715be5b29a348f50307b950bd88047
4
+ data.tar.gz: fb3fc0e4842c96bf249fd2335fc29f30107234196eade6f7f04821aa4bc85d9d
5
5
  SHA512:
6
- metadata.gz: a3c5c2cf05a2b9ffbe25bf0ebad9a3b33c83d3f76a79f76717e7ca96744a39b89778cb8fb4ad3cb6522c1f59094fd9619cc878ec4152a26c6876c01e6afadbcb
7
- data.tar.gz: 374fdd652be6bc5bff0db2f5eed97f974f0e78cd0512742294ad8196fa47e58fa72b21ca319375314c0d98ffedc01b1d11279d9a5645b488bef4151d89d17c44
6
+ metadata.gz: 9253cd39c632b5f00a0833d083a1c50a40814ef65c2bc1b1ed40f28c8c059e459d43993d021366aeea8a51b3f297ca3f15f48fbc5c8c2568ab209841337f6474
7
+ data.tar.gz: c2ff508b8fb33d5136f7b7e5773464d996034749a258f67a13580f99c377feadcffc7c6e44d6ec29b496eddb6f3dab3e8afb467273a2e0aab193703ffdd78346
@@ -4,7 +4,7 @@ require "active_model"
4
4
  require "active_record"
5
5
  require "active_support"
6
6
 
7
- require "spicerack"
7
+ require "spicery"
8
8
 
9
9
  require "flow/version"
10
10
 
@@ -8,7 +8,7 @@ module Flow
8
8
 
9
9
  class_methods do
10
10
  def state_class
11
- "#{name.chomp("Flow")}State".constantize
11
+ conjugate(StateBase)
12
12
  end
13
13
  end
14
14
 
@@ -11,6 +11,9 @@ require_relative "flow/trigger"
11
11
  # A **Flow** is a collection of procedurally executed **Operations** sharing a common **State**.
12
12
  module Flow
13
13
  class FlowBase < Spicerack::RootObject
14
+ include Conjunction::Junction
15
+ suffixed_with "Flow"
16
+
14
17
  include TransactionWrapper
15
18
  include Flow::Callbacks
16
19
  include Flow::Core
@@ -6,6 +6,9 @@ require_relative "state/output"
6
6
  # A **State** is an aggregation of input and derived data.
7
7
  module Flow
8
8
  class StateBase < Spicerack::InputModel
9
+ include Conjunction::Junction
10
+ suffixed_with "State"
11
+
9
12
  include State::Status
10
13
  include State::Output
11
14
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flow
4
- VERSION = "0.10.5"
4
+ VERSION = "0.10.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.5
4
+ version: 0.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Garside
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-01-08 00:00:00.000000000 Z
15
+ date: 2020-01-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: activemodel
@@ -57,12 +57,12 @@ dependencies:
57
57
  - !ruby/object:Gem::Version
58
58
  version: 5.2.1
59
59
  - !ruby/object:Gem::Dependency
60
- name: spicerack
60
+ name: spicery
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 0.13.3
65
+ version: 0.20.4
66
66
  - - "<"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.0'
@@ -72,7 +72,7 @@ dependencies:
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 0.13.3
75
+ version: 0.20.4
76
76
  - - "<"
77
77
  - !ruby/object:Gem::Version
78
78
  version: '1.0'
@@ -104,20 +104,6 @@ dependencies:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
106
  version: '10.0'
107
- - !ruby/object:Gem::Dependency
108
- name: rspec
109
- requirement: !ruby/object:Gem::Requirement
110
- requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: '3.0'
114
- type: :development
115
- prerelease: false
116
- version_requirements: !ruby/object:Gem::Requirement
117
- requirements:
118
- - - "~>"
119
- - !ruby/object:Gem::Version
120
- version: '3.0'
121
107
  - !ruby/object:Gem::Dependency
122
108
  name: simplecov
123
109
  requirement: !ruby/object:Gem::Requirement
@@ -132,20 +118,6 @@ dependencies:
132
118
  - - "~>"
133
119
  - !ruby/object:Gem::Version
134
120
  version: '0.16'
135
- - !ruby/object:Gem::Dependency
136
- name: faker
137
- requirement: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: '1.8'
142
- type: :development
143
- prerelease: false
144
- version_requirements: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - "~>"
147
- - !ruby/object:Gem::Version
148
- version: '1.8'
149
121
  - !ruby/object:Gem::Dependency
150
122
  name: pry-byebug
151
123
  requirement: !ruby/object:Gem::Requirement
@@ -188,13 +160,27 @@ dependencies:
188
160
  - - "~>"
189
161
  - !ruby/object:Gem::Version
190
162
  version: 3.1.13
163
+ - !ruby/object:Gem::Dependency
164
+ name: shoulda-matchers
165
+ requirement: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - '='
168
+ - !ruby/object:Gem::Version
169
+ version: 4.0.1
170
+ type: :development
171
+ prerelease: false
172
+ version_requirements: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - '='
175
+ - !ruby/object:Gem::Version
176
+ version: 4.0.1
191
177
  - !ruby/object:Gem::Dependency
192
178
  name: rspice
193
179
  requirement: !ruby/object:Gem::Requirement
194
180
  requirements:
195
181
  - - ">="
196
182
  - !ruby/object:Gem::Version
197
- version: 0.13.3
183
+ version: 0.20.4
198
184
  - - "<"
199
185
  - !ruby/object:Gem::Version
200
186
  version: '1.0'
@@ -204,7 +190,7 @@ dependencies:
204
190
  requirements:
205
191
  - - ">="
206
192
  - !ruby/object:Gem::Version
207
- version: 0.13.3
193
+ version: 0.20.4
208
194
  - - "<"
209
195
  - !ruby/object:Gem::Version
210
196
  version: '1.0'
@@ -214,7 +200,7 @@ dependencies:
214
200
  requirements:
215
201
  - - ">="
216
202
  - !ruby/object:Gem::Version
217
- version: 0.13.3
203
+ version: 0.20.4
218
204
  - - "<"
219
205
  - !ruby/object:Gem::Version
220
206
  version: '1.0'
@@ -224,24 +210,10 @@ dependencies:
224
210
  requirements:
225
211
  - - ">="
226
212
  - !ruby/object:Gem::Version
227
- version: 0.13.3
213
+ version: 0.20.4
228
214
  - - "<"
229
215
  - !ruby/object:Gem::Version
230
216
  version: '1.0'
231
- - !ruby/object:Gem::Dependency
232
- name: shoulda-matchers
233
- requirement: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - '='
236
- - !ruby/object:Gem::Version
237
- version: 4.0.1
238
- type: :development
239
- prerelease: false
240
- version_requirements: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - '='
243
- - !ruby/object:Gem::Version
244
- version: 4.0.1
245
217
  description: Tired of kitchen sink services, god-objects, and fat-everything? So were
246
218
  we. Get in the flow.
247
219
  email: