business_flow 0.19.5 → 0.20.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 +4 -4
- data/.circleci/config.yml +95 -0
- data/.reek.yml +5 -0
- data/.rubocop.yml +9 -6
- data/.ruby-version +1 -1
- data/Appraisals +48 -0
- data/Gemfile +10 -3
- data/Gemfile.lock +115 -62
- data/README.md +15 -1
- data/bin/setup +6 -0
- data/business_flow.gemspec +3 -3
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/activemodel_4.2.gemfile +24 -0
- data/gemfiles/activemodel_4.2.gemfile.lock +131 -0
- data/gemfiles/activemodel_5.2.gemfile +24 -0
- data/gemfiles/activemodel_5.2.gemfile.lock +169 -0
- data/gemfiles/activemodel_6.1.gemfile +23 -0
- data/gemfiles/activemodel_6.1.gemfile.lock +174 -0
- data/gemfiles/activemodel_7.0.gemfile +21 -0
- data/gemfiles/activemodel_7.0.gemfile.lock +162 -0
- data/gemfiles/activemodel_7.1.gemfile +21 -0
- data/gemfiles/activemodel_7.1.gemfile.lock +176 -0
- data/gemfiles/activemodel_7.2.gemfile +21 -0
- data/gemfiles/activemodel_7.2.gemfile.lock +174 -0
- data/gemfiles/activemodel_8.0.gemfile +21 -0
- data/gemfiles/activemodel_8.0.gemfile.lock +176 -0
- data/lib/business_flow/cacheable.rb +1 -1
- data/lib/business_flow/callable.rb +1 -1
- data/lib/business_flow/cluster_lock.rb +3 -3
- data/lib/business_flow/dsl.rb +29 -27
- data/lib/business_flow/instrument.rb +16 -1
- data/lib/business_flow/instrumented_executor.rb +3 -12
- data/lib/business_flow/instrumented_step_executor.rb +8 -1
- data/lib/business_flow/step.rb +3 -3
- data/lib/business_flow/version.rb +1 -1
- data/lib/business_flow.rb +1 -0
- metadata +25 -12
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "pry", "~> 0.15.2"
|
6
|
+
gem "rake", "~> 13.0"
|
7
|
+
gem "reek", "~> 6.1"
|
8
|
+
gem "retryable", "~> 3.0.4"
|
9
|
+
gem "rspec", "~> 3.0"
|
10
|
+
gem "rubocop", "~> 1.59"
|
11
|
+
gem "rubocop-factory_bot", "~> 2.24"
|
12
|
+
gem "rubocop-rspec", "~> 2.29"
|
13
|
+
gem "rubocop-rspec_rails", "~> 2.28"
|
14
|
+
gem "simplecov", "~> 0.22.0"
|
15
|
+
gem "timecop", "~> 0.9.1"
|
16
|
+
gem "appraisal", "~> 2.5.0"
|
17
|
+
|
18
|
+
gem "activemodel", "~> 7.1.3"
|
19
|
+
gem "activesupport", "~> 7.1.3"
|
20
|
+
|
21
|
+
gemspec path: "../"
|
@@ -0,0 +1,176 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
business_flow (0.19.6)
|
5
|
+
activemodel (>= 4.2, < 8.1)
|
6
|
+
activesupport (>= 4.2, < 8.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (7.1.5.1)
|
12
|
+
activesupport (= 7.1.5.1)
|
13
|
+
activesupport (7.1.5.1)
|
14
|
+
base64
|
15
|
+
benchmark (>= 0.3)
|
16
|
+
bigdecimal
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
connection_pool (>= 2.2.5)
|
19
|
+
drb
|
20
|
+
i18n (>= 1.6, < 2)
|
21
|
+
logger (>= 1.4.2)
|
22
|
+
minitest (>= 5.1)
|
23
|
+
mutex_m
|
24
|
+
securerandom (>= 0.3)
|
25
|
+
tzinfo (~> 2.0)
|
26
|
+
appraisal (2.5.0)
|
27
|
+
bundler
|
28
|
+
rake
|
29
|
+
thor (>= 0.14.0)
|
30
|
+
ast (2.4.3)
|
31
|
+
base64 (0.3.0)
|
32
|
+
benchmark (0.4.1)
|
33
|
+
bigdecimal (3.2.2)
|
34
|
+
coderay (1.1.3)
|
35
|
+
concurrent-ruby (1.3.5)
|
36
|
+
connection_pool (2.5.3)
|
37
|
+
diff-lcs (1.6.2)
|
38
|
+
docile (1.4.1)
|
39
|
+
drb (2.2.3)
|
40
|
+
dry-configurable (1.3.0)
|
41
|
+
dry-core (~> 1.1)
|
42
|
+
zeitwerk (~> 2.6)
|
43
|
+
dry-core (1.1.0)
|
44
|
+
concurrent-ruby (~> 1.0)
|
45
|
+
logger
|
46
|
+
zeitwerk (~> 2.6)
|
47
|
+
dry-inflector (1.2.0)
|
48
|
+
dry-initializer (3.2.0)
|
49
|
+
dry-logic (1.6.0)
|
50
|
+
bigdecimal
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
dry-core (~> 1.1)
|
53
|
+
zeitwerk (~> 2.6)
|
54
|
+
dry-schema (1.14.1)
|
55
|
+
concurrent-ruby (~> 1.0)
|
56
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
57
|
+
dry-core (~> 1.1)
|
58
|
+
dry-initializer (~> 3.2)
|
59
|
+
dry-logic (~> 1.5)
|
60
|
+
dry-types (~> 1.8)
|
61
|
+
zeitwerk (~> 2.6)
|
62
|
+
dry-types (1.8.3)
|
63
|
+
bigdecimal (~> 3.0)
|
64
|
+
concurrent-ruby (~> 1.0)
|
65
|
+
dry-core (~> 1.0)
|
66
|
+
dry-inflector (~> 1.0)
|
67
|
+
dry-logic (~> 1.4)
|
68
|
+
zeitwerk (~> 2.6)
|
69
|
+
i18n (1.14.7)
|
70
|
+
concurrent-ruby (~> 1.0)
|
71
|
+
json (2.12.2)
|
72
|
+
language_server-protocol (3.17.0.5)
|
73
|
+
lint_roller (1.1.0)
|
74
|
+
logger (1.7.0)
|
75
|
+
method_source (1.1.0)
|
76
|
+
minitest (5.25.5)
|
77
|
+
mutex_m (0.3.0)
|
78
|
+
parallel (1.27.0)
|
79
|
+
parser (3.3.8.0)
|
80
|
+
ast (~> 2.4.1)
|
81
|
+
racc
|
82
|
+
prism (1.4.0)
|
83
|
+
pry (0.15.2)
|
84
|
+
coderay (~> 1.1)
|
85
|
+
method_source (~> 1.0)
|
86
|
+
racc (1.8.1)
|
87
|
+
rainbow (3.1.1)
|
88
|
+
rake (13.3.0)
|
89
|
+
reek (6.5.0)
|
90
|
+
dry-schema (~> 1.13)
|
91
|
+
logger (~> 1.6)
|
92
|
+
parser (~> 3.3.0)
|
93
|
+
rainbow (>= 2.0, < 4.0)
|
94
|
+
rexml (~> 3.1)
|
95
|
+
regexp_parser (2.10.0)
|
96
|
+
retryable (3.0.5)
|
97
|
+
rexml (3.4.1)
|
98
|
+
rspec (3.13.1)
|
99
|
+
rspec-core (~> 3.13.0)
|
100
|
+
rspec-expectations (~> 3.13.0)
|
101
|
+
rspec-mocks (~> 3.13.0)
|
102
|
+
rspec-core (3.13.5)
|
103
|
+
rspec-support (~> 3.13.0)
|
104
|
+
rspec-expectations (3.13.5)
|
105
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
106
|
+
rspec-support (~> 3.13.0)
|
107
|
+
rspec-mocks (3.13.5)
|
108
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
+
rspec-support (~> 3.13.0)
|
110
|
+
rspec-support (3.13.4)
|
111
|
+
rubocop (1.78.0)
|
112
|
+
json (~> 2.3)
|
113
|
+
language_server-protocol (~> 3.17.0.2)
|
114
|
+
lint_roller (~> 1.1.0)
|
115
|
+
parallel (~> 1.10)
|
116
|
+
parser (>= 3.3.0.2)
|
117
|
+
rainbow (>= 2.2.2, < 4.0)
|
118
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
119
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
120
|
+
ruby-progressbar (~> 1.7)
|
121
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
122
|
+
rubocop-ast (1.45.1)
|
123
|
+
parser (>= 3.3.7.2)
|
124
|
+
prism (~> 1.4)
|
125
|
+
rubocop-capybara (2.22.1)
|
126
|
+
lint_roller (~> 1.1)
|
127
|
+
rubocop (~> 1.72, >= 1.72.1)
|
128
|
+
rubocop-factory_bot (2.27.1)
|
129
|
+
lint_roller (~> 1.1)
|
130
|
+
rubocop (~> 1.72, >= 1.72.1)
|
131
|
+
rubocop-rspec (2.31.0)
|
132
|
+
rubocop (~> 1.40)
|
133
|
+
rubocop-capybara (~> 2.17)
|
134
|
+
rubocop-factory_bot (~> 2.22)
|
135
|
+
rubocop-rspec_rails (~> 2.28)
|
136
|
+
rubocop-rspec_rails (2.29.1)
|
137
|
+
rubocop (~> 1.61)
|
138
|
+
ruby-progressbar (1.13.0)
|
139
|
+
securerandom (0.4.1)
|
140
|
+
simplecov (0.22.0)
|
141
|
+
docile (~> 1.1)
|
142
|
+
simplecov-html (~> 0.11)
|
143
|
+
simplecov_json_formatter (~> 0.1)
|
144
|
+
simplecov-html (0.13.1)
|
145
|
+
simplecov_json_formatter (0.1.4)
|
146
|
+
thor (1.3.2)
|
147
|
+
timecop (0.9.10)
|
148
|
+
tzinfo (2.0.6)
|
149
|
+
concurrent-ruby (~> 1.0)
|
150
|
+
unicode-display_width (3.1.4)
|
151
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
152
|
+
unicode-emoji (4.0.4)
|
153
|
+
zeitwerk (2.6.18)
|
154
|
+
|
155
|
+
PLATFORMS
|
156
|
+
ruby
|
157
|
+
|
158
|
+
DEPENDENCIES
|
159
|
+
activemodel (~> 7.1.3)
|
160
|
+
activesupport (~> 7.1.3)
|
161
|
+
appraisal (~> 2.5.0)
|
162
|
+
business_flow!
|
163
|
+
pry (~> 0.15.2)
|
164
|
+
rake (~> 13.0)
|
165
|
+
reek (~> 6.1)
|
166
|
+
retryable (~> 3.0.4)
|
167
|
+
rspec (~> 3.0)
|
168
|
+
rubocop (~> 1.59)
|
169
|
+
rubocop-factory_bot (~> 2.24)
|
170
|
+
rubocop-rspec (~> 2.29)
|
171
|
+
rubocop-rspec_rails (~> 2.28)
|
172
|
+
simplecov (~> 0.22.0)
|
173
|
+
timecop (~> 0.9.1)
|
174
|
+
|
175
|
+
BUNDLED WITH
|
176
|
+
2.6.9
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "pry", "~> 0.15.2"
|
6
|
+
gem "rake", "~> 13.0"
|
7
|
+
gem "reek", "~> 6.1"
|
8
|
+
gem "retryable", "~> 3.0.4"
|
9
|
+
gem "rspec", "~> 3.0"
|
10
|
+
gem "rubocop", "~> 1.59"
|
11
|
+
gem "rubocop-factory_bot", "~> 2.24"
|
12
|
+
gem "rubocop-rspec", "~> 2.29"
|
13
|
+
gem "rubocop-rspec_rails", "~> 2.28"
|
14
|
+
gem "simplecov", "~> 0.22.0"
|
15
|
+
gem "timecop", "~> 0.9.1"
|
16
|
+
gem "appraisal", "~> 2.5.0"
|
17
|
+
|
18
|
+
gem "activemodel", "~> 7.2.1"
|
19
|
+
gem "activesupport", "~> 7.2.1"
|
20
|
+
|
21
|
+
gemspec path: "../"
|
@@ -0,0 +1,174 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
business_flow (0.19.6)
|
5
|
+
activemodel (>= 4.2, < 8.1)
|
6
|
+
activesupport (>= 4.2, < 8.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (7.2.2.1)
|
12
|
+
activesupport (= 7.2.2.1)
|
13
|
+
activesupport (7.2.2.1)
|
14
|
+
base64
|
15
|
+
benchmark (>= 0.3)
|
16
|
+
bigdecimal
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
18
|
+
connection_pool (>= 2.2.5)
|
19
|
+
drb
|
20
|
+
i18n (>= 1.6, < 2)
|
21
|
+
logger (>= 1.4.2)
|
22
|
+
minitest (>= 5.1)
|
23
|
+
securerandom (>= 0.3)
|
24
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
25
|
+
appraisal (2.5.0)
|
26
|
+
bundler
|
27
|
+
rake
|
28
|
+
thor (>= 0.14.0)
|
29
|
+
ast (2.4.3)
|
30
|
+
base64 (0.3.0)
|
31
|
+
benchmark (0.4.1)
|
32
|
+
bigdecimal (3.2.2)
|
33
|
+
coderay (1.1.3)
|
34
|
+
concurrent-ruby (1.3.5)
|
35
|
+
connection_pool (2.5.3)
|
36
|
+
diff-lcs (1.6.2)
|
37
|
+
docile (1.4.1)
|
38
|
+
drb (2.2.3)
|
39
|
+
dry-configurable (1.3.0)
|
40
|
+
dry-core (~> 1.1)
|
41
|
+
zeitwerk (~> 2.6)
|
42
|
+
dry-core (1.1.0)
|
43
|
+
concurrent-ruby (~> 1.0)
|
44
|
+
logger
|
45
|
+
zeitwerk (~> 2.6)
|
46
|
+
dry-inflector (1.2.0)
|
47
|
+
dry-initializer (3.2.0)
|
48
|
+
dry-logic (1.6.0)
|
49
|
+
bigdecimal
|
50
|
+
concurrent-ruby (~> 1.0)
|
51
|
+
dry-core (~> 1.1)
|
52
|
+
zeitwerk (~> 2.6)
|
53
|
+
dry-schema (1.14.1)
|
54
|
+
concurrent-ruby (~> 1.0)
|
55
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
56
|
+
dry-core (~> 1.1)
|
57
|
+
dry-initializer (~> 3.2)
|
58
|
+
dry-logic (~> 1.5)
|
59
|
+
dry-types (~> 1.8)
|
60
|
+
zeitwerk (~> 2.6)
|
61
|
+
dry-types (1.8.3)
|
62
|
+
bigdecimal (~> 3.0)
|
63
|
+
concurrent-ruby (~> 1.0)
|
64
|
+
dry-core (~> 1.0)
|
65
|
+
dry-inflector (~> 1.0)
|
66
|
+
dry-logic (~> 1.4)
|
67
|
+
zeitwerk (~> 2.6)
|
68
|
+
i18n (1.14.7)
|
69
|
+
concurrent-ruby (~> 1.0)
|
70
|
+
json (2.12.2)
|
71
|
+
language_server-protocol (3.17.0.5)
|
72
|
+
lint_roller (1.1.0)
|
73
|
+
logger (1.7.0)
|
74
|
+
method_source (1.1.0)
|
75
|
+
minitest (5.25.5)
|
76
|
+
parallel (1.27.0)
|
77
|
+
parser (3.3.8.0)
|
78
|
+
ast (~> 2.4.1)
|
79
|
+
racc
|
80
|
+
prism (1.4.0)
|
81
|
+
pry (0.15.2)
|
82
|
+
coderay (~> 1.1)
|
83
|
+
method_source (~> 1.0)
|
84
|
+
racc (1.8.1)
|
85
|
+
rainbow (3.1.1)
|
86
|
+
rake (13.3.0)
|
87
|
+
reek (6.5.0)
|
88
|
+
dry-schema (~> 1.13)
|
89
|
+
logger (~> 1.6)
|
90
|
+
parser (~> 3.3.0)
|
91
|
+
rainbow (>= 2.0, < 4.0)
|
92
|
+
rexml (~> 3.1)
|
93
|
+
regexp_parser (2.10.0)
|
94
|
+
retryable (3.0.5)
|
95
|
+
rexml (3.4.1)
|
96
|
+
rspec (3.13.1)
|
97
|
+
rspec-core (~> 3.13.0)
|
98
|
+
rspec-expectations (~> 3.13.0)
|
99
|
+
rspec-mocks (~> 3.13.0)
|
100
|
+
rspec-core (3.13.5)
|
101
|
+
rspec-support (~> 3.13.0)
|
102
|
+
rspec-expectations (3.13.5)
|
103
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
104
|
+
rspec-support (~> 3.13.0)
|
105
|
+
rspec-mocks (3.13.5)
|
106
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
107
|
+
rspec-support (~> 3.13.0)
|
108
|
+
rspec-support (3.13.4)
|
109
|
+
rubocop (1.78.0)
|
110
|
+
json (~> 2.3)
|
111
|
+
language_server-protocol (~> 3.17.0.2)
|
112
|
+
lint_roller (~> 1.1.0)
|
113
|
+
parallel (~> 1.10)
|
114
|
+
parser (>= 3.3.0.2)
|
115
|
+
rainbow (>= 2.2.2, < 4.0)
|
116
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
117
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
118
|
+
ruby-progressbar (~> 1.7)
|
119
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
120
|
+
rubocop-ast (1.45.1)
|
121
|
+
parser (>= 3.3.7.2)
|
122
|
+
prism (~> 1.4)
|
123
|
+
rubocop-capybara (2.22.1)
|
124
|
+
lint_roller (~> 1.1)
|
125
|
+
rubocop (~> 1.72, >= 1.72.1)
|
126
|
+
rubocop-factory_bot (2.27.1)
|
127
|
+
lint_roller (~> 1.1)
|
128
|
+
rubocop (~> 1.72, >= 1.72.1)
|
129
|
+
rubocop-rspec (2.31.0)
|
130
|
+
rubocop (~> 1.40)
|
131
|
+
rubocop-capybara (~> 2.17)
|
132
|
+
rubocop-factory_bot (~> 2.22)
|
133
|
+
rubocop-rspec_rails (~> 2.28)
|
134
|
+
rubocop-rspec_rails (2.29.1)
|
135
|
+
rubocop (~> 1.61)
|
136
|
+
ruby-progressbar (1.13.0)
|
137
|
+
securerandom (0.4.1)
|
138
|
+
simplecov (0.22.0)
|
139
|
+
docile (~> 1.1)
|
140
|
+
simplecov-html (~> 0.11)
|
141
|
+
simplecov_json_formatter (~> 0.1)
|
142
|
+
simplecov-html (0.13.1)
|
143
|
+
simplecov_json_formatter (0.1.4)
|
144
|
+
thor (1.3.2)
|
145
|
+
timecop (0.9.10)
|
146
|
+
tzinfo (2.0.6)
|
147
|
+
concurrent-ruby (~> 1.0)
|
148
|
+
unicode-display_width (3.1.4)
|
149
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
150
|
+
unicode-emoji (4.0.4)
|
151
|
+
zeitwerk (2.6.18)
|
152
|
+
|
153
|
+
PLATFORMS
|
154
|
+
ruby
|
155
|
+
|
156
|
+
DEPENDENCIES
|
157
|
+
activemodel (~> 7.2.1)
|
158
|
+
activesupport (~> 7.2.1)
|
159
|
+
appraisal (~> 2.5.0)
|
160
|
+
business_flow!
|
161
|
+
pry (~> 0.15.2)
|
162
|
+
rake (~> 13.0)
|
163
|
+
reek (~> 6.1)
|
164
|
+
retryable (~> 3.0.4)
|
165
|
+
rspec (~> 3.0)
|
166
|
+
rubocop (~> 1.59)
|
167
|
+
rubocop-factory_bot (~> 2.24)
|
168
|
+
rubocop-rspec (~> 2.29)
|
169
|
+
rubocop-rspec_rails (~> 2.28)
|
170
|
+
simplecov (~> 0.22.0)
|
171
|
+
timecop (~> 0.9.1)
|
172
|
+
|
173
|
+
BUNDLED WITH
|
174
|
+
2.6.9
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "pry", "~> 0.15.2"
|
6
|
+
gem "rake", "~> 13.0"
|
7
|
+
gem "reek", "~> 6.1"
|
8
|
+
gem "retryable", "~> 3.0.4"
|
9
|
+
gem "rspec", "~> 3.0"
|
10
|
+
gem "rubocop", "~> 1.59"
|
11
|
+
gem "rubocop-factory_bot", "~> 2.24"
|
12
|
+
gem "rubocop-rspec", "~> 2.29"
|
13
|
+
gem "rubocop-rspec_rails", "~> 2.28"
|
14
|
+
gem "simplecov", "~> 0.22.0"
|
15
|
+
gem "timecop", "~> 0.9.1"
|
16
|
+
gem "appraisal", "~> 2.5.0"
|
17
|
+
|
18
|
+
gem "activemodel", "~> 8.0.0"
|
19
|
+
gem "activesupport", "~> 8.0.0"
|
20
|
+
|
21
|
+
gemspec path: "../"
|
@@ -0,0 +1,176 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
business_flow (0.19.6)
|
5
|
+
activemodel (>= 4.2, < 8.1)
|
6
|
+
activesupport (>= 4.2, < 8.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (8.0.2)
|
12
|
+
activesupport (= 8.0.2)
|
13
|
+
activesupport (8.0.2)
|
14
|
+
base64
|
15
|
+
benchmark (>= 0.3)
|
16
|
+
bigdecimal
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
18
|
+
connection_pool (>= 2.2.5)
|
19
|
+
drb
|
20
|
+
i18n (>= 1.6, < 2)
|
21
|
+
logger (>= 1.4.2)
|
22
|
+
minitest (>= 5.1)
|
23
|
+
securerandom (>= 0.3)
|
24
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
25
|
+
uri (>= 0.13.1)
|
26
|
+
appraisal (2.5.0)
|
27
|
+
bundler
|
28
|
+
rake
|
29
|
+
thor (>= 0.14.0)
|
30
|
+
ast (2.4.3)
|
31
|
+
base64 (0.3.0)
|
32
|
+
benchmark (0.4.1)
|
33
|
+
bigdecimal (3.2.2)
|
34
|
+
coderay (1.1.3)
|
35
|
+
concurrent-ruby (1.3.5)
|
36
|
+
connection_pool (2.5.3)
|
37
|
+
diff-lcs (1.6.2)
|
38
|
+
docile (1.4.1)
|
39
|
+
drb (2.2.3)
|
40
|
+
dry-configurable (1.3.0)
|
41
|
+
dry-core (~> 1.1)
|
42
|
+
zeitwerk (~> 2.6)
|
43
|
+
dry-core (1.1.0)
|
44
|
+
concurrent-ruby (~> 1.0)
|
45
|
+
logger
|
46
|
+
zeitwerk (~> 2.6)
|
47
|
+
dry-inflector (1.2.0)
|
48
|
+
dry-initializer (3.2.0)
|
49
|
+
dry-logic (1.6.0)
|
50
|
+
bigdecimal
|
51
|
+
concurrent-ruby (~> 1.0)
|
52
|
+
dry-core (~> 1.1)
|
53
|
+
zeitwerk (~> 2.6)
|
54
|
+
dry-schema (1.14.1)
|
55
|
+
concurrent-ruby (~> 1.0)
|
56
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
57
|
+
dry-core (~> 1.1)
|
58
|
+
dry-initializer (~> 3.2)
|
59
|
+
dry-logic (~> 1.5)
|
60
|
+
dry-types (~> 1.8)
|
61
|
+
zeitwerk (~> 2.6)
|
62
|
+
dry-types (1.8.3)
|
63
|
+
bigdecimal (~> 3.0)
|
64
|
+
concurrent-ruby (~> 1.0)
|
65
|
+
dry-core (~> 1.0)
|
66
|
+
dry-inflector (~> 1.0)
|
67
|
+
dry-logic (~> 1.4)
|
68
|
+
zeitwerk (~> 2.6)
|
69
|
+
i18n (1.14.7)
|
70
|
+
concurrent-ruby (~> 1.0)
|
71
|
+
json (2.12.2)
|
72
|
+
language_server-protocol (3.17.0.5)
|
73
|
+
lint_roller (1.1.0)
|
74
|
+
logger (1.7.0)
|
75
|
+
method_source (1.1.0)
|
76
|
+
minitest (5.25.5)
|
77
|
+
parallel (1.27.0)
|
78
|
+
parser (3.3.8.0)
|
79
|
+
ast (~> 2.4.1)
|
80
|
+
racc
|
81
|
+
prism (1.4.0)
|
82
|
+
pry (0.15.2)
|
83
|
+
coderay (~> 1.1)
|
84
|
+
method_source (~> 1.0)
|
85
|
+
racc (1.8.1)
|
86
|
+
rainbow (3.1.1)
|
87
|
+
rake (13.3.0)
|
88
|
+
reek (6.5.0)
|
89
|
+
dry-schema (~> 1.13)
|
90
|
+
logger (~> 1.6)
|
91
|
+
parser (~> 3.3.0)
|
92
|
+
rainbow (>= 2.0, < 4.0)
|
93
|
+
rexml (~> 3.1)
|
94
|
+
regexp_parser (2.10.0)
|
95
|
+
retryable (3.0.5)
|
96
|
+
rexml (3.4.1)
|
97
|
+
rspec (3.13.1)
|
98
|
+
rspec-core (~> 3.13.0)
|
99
|
+
rspec-expectations (~> 3.13.0)
|
100
|
+
rspec-mocks (~> 3.13.0)
|
101
|
+
rspec-core (3.13.5)
|
102
|
+
rspec-support (~> 3.13.0)
|
103
|
+
rspec-expectations (3.13.5)
|
104
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
105
|
+
rspec-support (~> 3.13.0)
|
106
|
+
rspec-mocks (3.13.5)
|
107
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
108
|
+
rspec-support (~> 3.13.0)
|
109
|
+
rspec-support (3.13.4)
|
110
|
+
rubocop (1.78.0)
|
111
|
+
json (~> 2.3)
|
112
|
+
language_server-protocol (~> 3.17.0.2)
|
113
|
+
lint_roller (~> 1.1.0)
|
114
|
+
parallel (~> 1.10)
|
115
|
+
parser (>= 3.3.0.2)
|
116
|
+
rainbow (>= 2.2.2, < 4.0)
|
117
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
118
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
119
|
+
ruby-progressbar (~> 1.7)
|
120
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
121
|
+
rubocop-ast (1.45.1)
|
122
|
+
parser (>= 3.3.7.2)
|
123
|
+
prism (~> 1.4)
|
124
|
+
rubocop-capybara (2.22.1)
|
125
|
+
lint_roller (~> 1.1)
|
126
|
+
rubocop (~> 1.72, >= 1.72.1)
|
127
|
+
rubocop-factory_bot (2.27.1)
|
128
|
+
lint_roller (~> 1.1)
|
129
|
+
rubocop (~> 1.72, >= 1.72.1)
|
130
|
+
rubocop-rspec (2.31.0)
|
131
|
+
rubocop (~> 1.40)
|
132
|
+
rubocop-capybara (~> 2.17)
|
133
|
+
rubocop-factory_bot (~> 2.22)
|
134
|
+
rubocop-rspec_rails (~> 2.28)
|
135
|
+
rubocop-rspec_rails (2.29.1)
|
136
|
+
rubocop (~> 1.61)
|
137
|
+
ruby-progressbar (1.13.0)
|
138
|
+
securerandom (0.4.1)
|
139
|
+
simplecov (0.22.0)
|
140
|
+
docile (~> 1.1)
|
141
|
+
simplecov-html (~> 0.11)
|
142
|
+
simplecov_json_formatter (~> 0.1)
|
143
|
+
simplecov-html (0.13.1)
|
144
|
+
simplecov_json_formatter (0.1.4)
|
145
|
+
thor (1.3.2)
|
146
|
+
timecop (0.9.10)
|
147
|
+
tzinfo (2.0.6)
|
148
|
+
concurrent-ruby (~> 1.0)
|
149
|
+
unicode-display_width (3.1.4)
|
150
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
151
|
+
unicode-emoji (4.0.4)
|
152
|
+
uri (1.0.3)
|
153
|
+
zeitwerk (2.7.3)
|
154
|
+
|
155
|
+
PLATFORMS
|
156
|
+
ruby
|
157
|
+
|
158
|
+
DEPENDENCIES
|
159
|
+
activemodel (~> 8.0.0)
|
160
|
+
activesupport (~> 8.0.0)
|
161
|
+
appraisal (~> 2.5.0)
|
162
|
+
business_flow!
|
163
|
+
pry (~> 0.15.2)
|
164
|
+
rake (~> 13.0)
|
165
|
+
reek (~> 6.1)
|
166
|
+
retryable (~> 3.0.4)
|
167
|
+
rspec (~> 3.0)
|
168
|
+
rubocop (~> 1.59)
|
169
|
+
rubocop-factory_bot (~> 2.24)
|
170
|
+
rubocop-rspec (~> 2.29)
|
171
|
+
rubocop-rspec_rails (~> 2.28)
|
172
|
+
simplecov (~> 0.22.0)
|
173
|
+
timecop (~> 0.9.1)
|
174
|
+
|
175
|
+
BUNDLED WITH
|
176
|
+
2.6.9
|
@@ -108,7 +108,7 @@ module BusinessFlow
|
|
108
108
|
instrument(:cache, flow) do |payload|
|
109
109
|
payload[:cache_hit] = true if payload
|
110
110
|
cache_store.fetch(flow.cache_key,
|
111
|
-
cache_options.to_store_options(flow)) do
|
111
|
+
cache_options.to_store_options(flow)) do # rubocop:disable Lint/UselessDefaultValueArgument
|
112
112
|
payload[:cache_hit] = false if payload
|
113
113
|
yield
|
114
114
|
end
|
@@ -45,7 +45,7 @@ module BusinessFlow
|
|
45
45
|
if key == :cluster_lock
|
46
46
|
ClassMethods.lock_name(self)
|
47
47
|
else
|
48
|
-
super
|
48
|
+
super
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -107,7 +107,7 @@ module BusinessFlow
|
|
107
107
|
|
108
108
|
def build(parameter_object)
|
109
109
|
add_cluster_luck_info_to_result_class
|
110
|
-
super
|
110
|
+
super
|
111
111
|
end
|
112
112
|
|
113
113
|
def execute(flow)
|
@@ -208,7 +208,7 @@ module BusinessFlow
|
|
208
208
|
end
|
209
209
|
end
|
210
210
|
|
211
|
-
def self.with_lock(flow, lock_info, &
|
211
|
+
def self.with_lock(flow, lock_info, &)
|
212
212
|
unless BusinessFlow::ClusterLock.disabled?
|
213
213
|
zk_connection, lock =
|
214
214
|
instrumented_acquire_lock(flow, lock_info)
|