runger_actions 0.19.1 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +0 -4
- data/.github/workflows/ruby.yml +6 -3
- data/.ruby-version +1 -1
- data/CHANGELOG.md +8 -1
- data/Gemfile +5 -4
- data/Gemfile.lock +183 -147
- data/README.md +2 -2
- data/bin/_guard-core +2 -2
- data/bin/guard +2 -2
- data/bin/release +2 -2
- data/lib/runger_actions/base.rb +9 -8
- data/lib/runger_actions/version.rb +1 -1
- data/runger_actions.gemspec +3 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c21d60a2733eeeb2579d597ae5d6368e6630fc1e0ca5edd4f960d4ed6566de
|
4
|
+
data.tar.gz: d3d04dfa0f1f78fae0ca4fc454993f78ed3a99ed392f3fdfa71a68bf3ac5370a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af0a768637ac690715562fd80ec9acbb17d575e40d26bfe8ceb111bf02157a61576a40dbf2ec12105ce126dc8a6bbc12cfdda9cb7b3d88045b96aa3a361483af
|
7
|
+
data.tar.gz: 5d8cda7c2bfaee83c872bdec36da9c5430b0dd73cbf27fea3ff0a136dda621cf7b612463ba420c5a76fd098868a7eff33cc66aa134202814ab0a76193a21c140
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/ruby.yml
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
-
name: Run
|
1
|
+
name: Run RuboCop and RSpec
|
2
2
|
|
3
3
|
on:
|
4
4
|
pull_request:
|
5
5
|
branches:
|
6
|
-
-
|
6
|
+
- '*'
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- main
|
7
10
|
|
8
11
|
jobs:
|
9
12
|
build:
|
@@ -13,7 +16,7 @@ jobs:
|
|
13
16
|
- uses: ruby/setup-ruby@v1
|
14
17
|
with:
|
15
18
|
bundler-cache: true
|
16
|
-
- name: Run
|
19
|
+
- name: Run RuboCop
|
17
20
|
run: bin/rubocop --format clang
|
18
21
|
- name: Run RSpec tests
|
19
22
|
run: bin/rspec --format progress
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.3
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## v0.20.0 (2024-06-15)
|
2
|
+
- Rename primary branch from `master` to `main`
|
3
|
+
|
4
|
+
## v0.19.2 (2023-05-30)
|
5
|
+
### Changed
|
6
|
+
- Update dependencies
|
7
|
+
|
1
8
|
## v0.19.1 (2023-05-30)
|
2
9
|
### Changed
|
3
10
|
- Move from Memoist to MemoWise
|
@@ -150,7 +157,7 @@ end
|
|
150
157
|
### Breaking changes
|
151
158
|
- Update `shaped` (which is used for param validation) from version 0.2.1 to 0.3.0, which has
|
152
159
|
breaking changes. For more details, see the [`shaped`
|
153
|
-
changelog](https://github.com/davidrunger/shaped/blob/
|
160
|
+
changelog](https://github.com/davidrunger/shaped/blob/main/CHANGELOG.md#030---2020-06-18).
|
154
161
|
- For `requires`, _all_ type/shape descriptions (i.e. arguments `[1..]`) are now passed through the
|
155
162
|
`Shaped::Shape(...)` constructor method. (In most cases, this change will not have any effect,
|
156
163
|
because in most cases the type/shape description was a single class, and this change has no effect
|
data/Gemfile
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
ruby file: '.ruby-version'
|
4
|
+
|
3
5
|
source 'https://rubygems.org'
|
4
|
-
ruby File.read('.ruby-version').rstrip
|
5
6
|
|
6
7
|
# Specify your gem's dependencies in runger_actions.gemspec
|
7
8
|
gemspec
|
@@ -9,7 +10,7 @@ gemspec
|
|
9
10
|
group :development, :test do
|
10
11
|
gem 'amazing_print'
|
11
12
|
gem 'pry-byebug'
|
12
|
-
gem 'rake', '~> 13.
|
13
|
+
gem 'rake', '~> 13.2', require: false
|
13
14
|
gem 'rubocop', require: false
|
14
15
|
gem 'rubocop-performance', require: false
|
15
16
|
gem 'rubocop-rake', require: false
|
@@ -22,8 +23,8 @@ group :development do
|
|
22
23
|
end
|
23
24
|
|
24
25
|
group :test do
|
25
|
-
gem 'rspec', '~> 3.
|
26
|
+
gem 'rspec', '~> 3.13'
|
26
27
|
gem 'simplecov-cobertura', require: false
|
27
28
|
gem 'simple_cov-formatter-terminal'
|
28
|
-
gem 'sqlite3'
|
29
|
+
gem 'sqlite3', '< 2.0.0'
|
29
30
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,97 +1,114 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_actions (0.
|
4
|
+
runger_actions (0.20.0)
|
5
5
|
memo_wise (>= 1.7, < 2)
|
6
6
|
rails (>= 6, < 8)
|
7
|
-
shaped (>= 0.9, < 0.
|
7
|
+
shaped (>= 0.9, < 0.12)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (7.
|
13
|
-
actionpack (= 7.
|
14
|
-
activesupport (= 7.
|
12
|
+
actioncable (7.1.3.4)
|
13
|
+
actionpack (= 7.1.3.4)
|
14
|
+
activesupport (= 7.1.3.4)
|
15
15
|
nio4r (~> 2.0)
|
16
16
|
websocket-driver (>= 0.6.1)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
17
|
+
zeitwerk (~> 2.6)
|
18
|
+
actionmailbox (7.1.3.4)
|
19
|
+
actionpack (= 7.1.3.4)
|
20
|
+
activejob (= 7.1.3.4)
|
21
|
+
activerecord (= 7.1.3.4)
|
22
|
+
activestorage (= 7.1.3.4)
|
23
|
+
activesupport (= 7.1.3.4)
|
23
24
|
mail (>= 2.7.1)
|
24
25
|
net-imap
|
25
26
|
net-pop
|
26
27
|
net-smtp
|
27
|
-
actionmailer (7.
|
28
|
-
actionpack (= 7.
|
29
|
-
actionview (= 7.
|
30
|
-
activejob (= 7.
|
31
|
-
activesupport (= 7.
|
28
|
+
actionmailer (7.1.3.4)
|
29
|
+
actionpack (= 7.1.3.4)
|
30
|
+
actionview (= 7.1.3.4)
|
31
|
+
activejob (= 7.1.3.4)
|
32
|
+
activesupport (= 7.1.3.4)
|
32
33
|
mail (~> 2.5, >= 2.5.4)
|
33
34
|
net-imap
|
34
35
|
net-pop
|
35
36
|
net-smtp
|
36
|
-
rails-dom-testing (~> 2.
|
37
|
-
actionpack (7.
|
38
|
-
actionview (= 7.
|
39
|
-
activesupport (= 7.
|
40
|
-
|
37
|
+
rails-dom-testing (~> 2.2)
|
38
|
+
actionpack (7.1.3.4)
|
39
|
+
actionview (= 7.1.3.4)
|
40
|
+
activesupport (= 7.1.3.4)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
racc
|
43
|
+
rack (>= 2.2.4)
|
44
|
+
rack-session (>= 1.0.1)
|
41
45
|
rack-test (>= 0.6.3)
|
42
|
-
rails-dom-testing (~> 2.
|
43
|
-
rails-html-sanitizer (~> 1.
|
44
|
-
actiontext (7.
|
45
|
-
actionpack (= 7.
|
46
|
-
activerecord (= 7.
|
47
|
-
activestorage (= 7.
|
48
|
-
activesupport (= 7.
|
46
|
+
rails-dom-testing (~> 2.2)
|
47
|
+
rails-html-sanitizer (~> 1.6)
|
48
|
+
actiontext (7.1.3.4)
|
49
|
+
actionpack (= 7.1.3.4)
|
50
|
+
activerecord (= 7.1.3.4)
|
51
|
+
activestorage (= 7.1.3.4)
|
52
|
+
activesupport (= 7.1.3.4)
|
49
53
|
globalid (>= 0.6.0)
|
50
54
|
nokogiri (>= 1.8.5)
|
51
|
-
actionview (7.
|
52
|
-
activesupport (= 7.
|
55
|
+
actionview (7.1.3.4)
|
56
|
+
activesupport (= 7.1.3.4)
|
53
57
|
builder (~> 3.1)
|
54
|
-
erubi (~> 1.
|
55
|
-
rails-dom-testing (~> 2.
|
56
|
-
rails-html-sanitizer (~> 1.
|
57
|
-
activejob (7.
|
58
|
-
activesupport (= 7.
|
58
|
+
erubi (~> 1.11)
|
59
|
+
rails-dom-testing (~> 2.2)
|
60
|
+
rails-html-sanitizer (~> 1.6)
|
61
|
+
activejob (7.1.3.4)
|
62
|
+
activesupport (= 7.1.3.4)
|
59
63
|
globalid (>= 0.3.6)
|
60
|
-
activemodel (7.
|
61
|
-
activesupport (= 7.
|
62
|
-
activerecord (7.
|
63
|
-
activemodel (= 7.
|
64
|
-
activesupport (= 7.
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
64
|
+
activemodel (7.1.3.4)
|
65
|
+
activesupport (= 7.1.3.4)
|
66
|
+
activerecord (7.1.3.4)
|
67
|
+
activemodel (= 7.1.3.4)
|
68
|
+
activesupport (= 7.1.3.4)
|
69
|
+
timeout (>= 0.4.0)
|
70
|
+
activestorage (7.1.3.4)
|
71
|
+
actionpack (= 7.1.3.4)
|
72
|
+
activejob (= 7.1.3.4)
|
73
|
+
activerecord (= 7.1.3.4)
|
74
|
+
activesupport (= 7.1.3.4)
|
70
75
|
marcel (~> 1.0)
|
71
|
-
|
72
|
-
|
76
|
+
activesupport (7.1.3.4)
|
77
|
+
base64
|
78
|
+
bigdecimal
|
73
79
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
80
|
+
connection_pool (>= 2.2.5)
|
81
|
+
drb
|
74
82
|
i18n (>= 1.6, < 2)
|
75
83
|
minitest (>= 5.1)
|
84
|
+
mutex_m
|
76
85
|
tzinfo (~> 2.0)
|
77
|
-
amazing_print (1.
|
86
|
+
amazing_print (1.6.0)
|
78
87
|
ast (2.4.2)
|
79
|
-
|
88
|
+
base64 (0.2.0)
|
89
|
+
bigdecimal (3.1.8)
|
90
|
+
builder (3.3.0)
|
80
91
|
byebug (11.1.3)
|
81
92
|
coderay (1.1.3)
|
82
|
-
|
83
|
-
|
93
|
+
concurrent-ruby (1.3.3)
|
94
|
+
connection_pool (2.4.1)
|
84
95
|
crass (1.0.6)
|
85
|
-
date (3.3.
|
86
|
-
diff-lcs (1.5.
|
96
|
+
date (3.3.4)
|
97
|
+
diff-lcs (1.5.1)
|
87
98
|
docile (1.4.0)
|
99
|
+
drb (2.2.1)
|
88
100
|
erubi (1.12.0)
|
89
|
-
globalid (1.1
|
90
|
-
activesupport (>=
|
91
|
-
i18n (1.
|
101
|
+
globalid (1.2.1)
|
102
|
+
activesupport (>= 6.1)
|
103
|
+
i18n (1.14.5)
|
92
104
|
concurrent-ruby (~> 1.0)
|
93
|
-
|
94
|
-
|
105
|
+
io-console (0.7.2)
|
106
|
+
irb (1.13.1)
|
107
|
+
rdoc (>= 4.0.0)
|
108
|
+
reline (>= 0.4.2)
|
109
|
+
json (2.7.2)
|
110
|
+
language_server-protocol (3.17.0.3)
|
111
|
+
loofah (2.22.0)
|
95
112
|
crass (~> 1.0.2)
|
96
113
|
nokogiri (>= 1.12.0)
|
97
114
|
mail (2.8.1)
|
@@ -99,126 +116,142 @@ GEM
|
|
99
116
|
net-imap
|
100
117
|
net-pop
|
101
118
|
net-smtp
|
102
|
-
marcel (1.0.
|
103
|
-
memo_wise (1.
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
net-imap (0.
|
119
|
+
marcel (1.0.4)
|
120
|
+
memo_wise (1.9.0)
|
121
|
+
method_source (1.1.0)
|
122
|
+
mini_mime (1.1.5)
|
123
|
+
mini_portile2 (2.8.7)
|
124
|
+
minitest (5.23.1)
|
125
|
+
mutex_m (0.2.0)
|
126
|
+
net-imap (0.4.12)
|
110
127
|
date
|
111
128
|
net-protocol
|
112
129
|
net-pop (0.1.2)
|
113
130
|
net-protocol
|
114
|
-
net-protocol (0.2.
|
131
|
+
net-protocol (0.2.2)
|
115
132
|
timeout
|
116
|
-
net-smtp (0.
|
133
|
+
net-smtp (0.5.0)
|
117
134
|
net-protocol
|
118
|
-
nio4r (2.
|
119
|
-
nokogiri (1.
|
135
|
+
nio4r (2.7.3)
|
136
|
+
nokogiri (1.16.5)
|
120
137
|
mini_portile2 (~> 2.8.2)
|
121
138
|
racc (~> 1.4)
|
122
|
-
parallel (1.
|
123
|
-
parser (3.
|
139
|
+
parallel (1.25.1)
|
140
|
+
parser (3.3.3.0)
|
124
141
|
ast (~> 2.4.1)
|
142
|
+
racc
|
143
|
+
prism (0.30.0)
|
125
144
|
pry (0.14.2)
|
126
145
|
coderay (~> 1.1)
|
127
146
|
method_source (~> 1.0)
|
128
147
|
pry-byebug (3.10.1)
|
129
148
|
byebug (~> 11.0)
|
130
149
|
pry (>= 0.13, < 0.15)
|
131
|
-
|
132
|
-
|
150
|
+
psych (5.1.2)
|
151
|
+
stringio
|
152
|
+
racc (1.8.0)
|
153
|
+
rack (3.1.2)
|
154
|
+
rack-session (2.0.0)
|
155
|
+
rack (>= 3.0.0)
|
133
156
|
rack-test (2.1.0)
|
134
157
|
rack (>= 1.3)
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
158
|
+
rackup (2.1.0)
|
159
|
+
rack (>= 3)
|
160
|
+
webrick (~> 1.8)
|
161
|
+
rails (7.1.3.4)
|
162
|
+
actioncable (= 7.1.3.4)
|
163
|
+
actionmailbox (= 7.1.3.4)
|
164
|
+
actionmailer (= 7.1.3.4)
|
165
|
+
actionpack (= 7.1.3.4)
|
166
|
+
actiontext (= 7.1.3.4)
|
167
|
+
actionview (= 7.1.3.4)
|
168
|
+
activejob (= 7.1.3.4)
|
169
|
+
activemodel (= 7.1.3.4)
|
170
|
+
activerecord (= 7.1.3.4)
|
171
|
+
activestorage (= 7.1.3.4)
|
172
|
+
activesupport (= 7.1.3.4)
|
147
173
|
bundler (>= 1.15.0)
|
148
|
-
railties (= 7.
|
149
|
-
rails-dom-testing (2.0
|
150
|
-
activesupport (>=
|
174
|
+
railties (= 7.1.3.4)
|
175
|
+
rails-dom-testing (2.2.0)
|
176
|
+
activesupport (>= 5.0.0)
|
177
|
+
minitest
|
151
178
|
nokogiri (>= 1.6)
|
152
|
-
rails-html-sanitizer (1.
|
153
|
-
loofah (~> 2.
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
179
|
+
rails-html-sanitizer (1.6.0)
|
180
|
+
loofah (~> 2.21)
|
181
|
+
nokogiri (~> 1.14)
|
182
|
+
railties (7.1.3.4)
|
183
|
+
actionpack (= 7.1.3.4)
|
184
|
+
activesupport (= 7.1.3.4)
|
185
|
+
irb
|
186
|
+
rackup (>= 1.0.0)
|
158
187
|
rake (>= 12.2)
|
159
|
-
thor (~> 1.0)
|
160
|
-
zeitwerk (~> 2.
|
188
|
+
thor (~> 1.0, >= 1.2.2)
|
189
|
+
zeitwerk (~> 2.6)
|
161
190
|
rainbow (3.1.1)
|
162
|
-
rake (13.
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
191
|
+
rake (13.2.1)
|
192
|
+
rdoc (6.7.0)
|
193
|
+
psych (>= 4.0.0)
|
194
|
+
regexp_parser (2.9.2)
|
195
|
+
reline (0.5.8)
|
196
|
+
io-console (~> 0.5)
|
197
|
+
rexml (3.3.0)
|
198
|
+
strscan
|
199
|
+
rouge (4.2.1)
|
200
|
+
rspec (3.13.0)
|
201
|
+
rspec-core (~> 3.13.0)
|
202
|
+
rspec-expectations (~> 3.13.0)
|
203
|
+
rspec-mocks (~> 3.13.0)
|
204
|
+
rspec-core (3.13.0)
|
205
|
+
rspec-support (~> 3.13.0)
|
206
|
+
rspec-expectations (3.13.0)
|
173
207
|
diff-lcs (>= 1.2.0, < 2.0)
|
174
|
-
rspec-support (~> 3.
|
175
|
-
rspec-mocks (3.
|
208
|
+
rspec-support (~> 3.13.0)
|
209
|
+
rspec-mocks (3.13.1)
|
176
210
|
diff-lcs (>= 1.2.0, < 2.0)
|
177
|
-
rspec-support (~> 3.
|
178
|
-
rspec-support (3.
|
179
|
-
rubocop (1.
|
211
|
+
rspec-support (~> 3.13.0)
|
212
|
+
rspec-support (3.13.1)
|
213
|
+
rubocop (1.64.1)
|
180
214
|
json (~> 2.3)
|
215
|
+
language_server-protocol (>= 3.17.0)
|
181
216
|
parallel (~> 1.10)
|
182
|
-
parser (>= 3.
|
217
|
+
parser (>= 3.3.0.2)
|
183
218
|
rainbow (>= 2.2.2, < 4.0)
|
184
219
|
regexp_parser (>= 1.8, < 3.0)
|
185
220
|
rexml (>= 3.2.5, < 4.0)
|
186
|
-
rubocop-ast (>= 1.
|
221
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
187
222
|
ruby-progressbar (~> 1.7)
|
188
223
|
unicode-display_width (>= 2.4.0, < 3.0)
|
189
|
-
rubocop-ast (1.
|
190
|
-
parser (>= 3.
|
191
|
-
rubocop-
|
192
|
-
rubocop (
|
193
|
-
|
194
|
-
rubocop (~> 1.33)
|
195
|
-
rubocop-performance (1.18.0)
|
196
|
-
rubocop (>= 1.7.0, < 2.0)
|
197
|
-
rubocop-ast (>= 0.4.0)
|
224
|
+
rubocop-ast (1.31.3)
|
225
|
+
parser (>= 3.3.1.0)
|
226
|
+
rubocop-performance (1.21.0)
|
227
|
+
rubocop (>= 1.48.1, < 2.0)
|
228
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
198
229
|
rubocop-rake (0.6.0)
|
199
230
|
rubocop (~> 1.0)
|
200
|
-
rubocop-rspec (
|
201
|
-
rubocop (~> 1.
|
202
|
-
rubocop-capybara (~> 2.17)
|
203
|
-
rubocop-factory_bot (~> 2.22)
|
231
|
+
rubocop-rspec (3.0.1)
|
232
|
+
rubocop (~> 1.61)
|
204
233
|
ruby-progressbar (1.13.0)
|
205
|
-
|
234
|
+
runger_config (5.0.0)
|
235
|
+
activesupport (>= 7.1.2)
|
236
|
+
runger_release_assistant (0.7.0)
|
206
237
|
activesupport (>= 6, < 8)
|
207
|
-
|
208
|
-
|
238
|
+
memo_wise (>= 1.7, < 2)
|
239
|
+
rainbow (>= 3.0, < 4)
|
209
240
|
slop (~> 4.8)
|
210
|
-
runger_style (
|
241
|
+
runger_style (2.6.0)
|
242
|
+
prism (>= 0.24.0)
|
211
243
|
rubocop (>= 1.38.0, < 2)
|
212
|
-
shaped (0.
|
244
|
+
shaped (0.11.0)
|
213
245
|
activemodel (>= 6, < 8)
|
214
246
|
activesupport (>= 6, < 8)
|
215
|
-
simple_cov-formatter-terminal (
|
247
|
+
simple_cov-formatter-terminal (1.1.0)
|
216
248
|
activesupport (>= 7.0.4, < 8)
|
217
|
-
|
249
|
+
memo_wise (>= 1.7.0, < 2)
|
218
250
|
rouge (>= 4.0.0, < 5)
|
219
251
|
rspec-core (>= 3.11.0, < 4)
|
252
|
+
runger_config (>= 3.0.0)
|
220
253
|
simplecov (>= 0.21.2, < 1)
|
221
|
-
simplecov (0.
|
254
|
+
simplecov (0.22.0)
|
222
255
|
docile (~> 1.1)
|
223
256
|
simplecov-html (~> 0.11)
|
224
257
|
simplecov_json_formatter (~> 0.1)
|
@@ -228,17 +261,20 @@ GEM
|
|
228
261
|
simplecov-html (0.12.3)
|
229
262
|
simplecov_json_formatter (0.1.4)
|
230
263
|
slop (4.10.1)
|
231
|
-
sqlite3 (1.
|
264
|
+
sqlite3 (1.7.3)
|
232
265
|
mini_portile2 (~> 2.8.0)
|
233
|
-
|
234
|
-
|
266
|
+
stringio (3.1.0)
|
267
|
+
strscan (3.1.0)
|
268
|
+
thor (1.3.1)
|
269
|
+
timeout (0.4.1)
|
235
270
|
tzinfo (2.0.6)
|
236
271
|
concurrent-ruby (~> 1.0)
|
237
|
-
unicode-display_width (2.
|
238
|
-
|
272
|
+
unicode-display_width (2.5.0)
|
273
|
+
webrick (1.8.1)
|
274
|
+
websocket-driver (0.7.6)
|
239
275
|
websocket-extensions (>= 0.1.0)
|
240
276
|
websocket-extensions (0.1.5)
|
241
|
-
zeitwerk (2.6.
|
277
|
+
zeitwerk (2.6.15)
|
242
278
|
|
243
279
|
PLATFORMS
|
244
280
|
ruby
|
@@ -246,8 +282,8 @@ PLATFORMS
|
|
246
282
|
DEPENDENCIES
|
247
283
|
amazing_print
|
248
284
|
pry-byebug
|
249
|
-
rake (~> 13.
|
250
|
-
rspec (~> 3.
|
285
|
+
rake (~> 13.2)
|
286
|
+
rspec (~> 3.13)
|
251
287
|
rubocop
|
252
288
|
rubocop-performance
|
253
289
|
rubocop-rake
|
@@ -257,10 +293,10 @@ DEPENDENCIES
|
|
257
293
|
runger_style
|
258
294
|
simple_cov-formatter-terminal
|
259
295
|
simplecov-cobertura
|
260
|
-
sqlite3
|
296
|
+
sqlite3 (< 2.0.0)
|
261
297
|
|
262
298
|
RUBY VERSION
|
263
|
-
ruby 3.
|
299
|
+
ruby 3.3.3p89
|
264
300
|
|
265
301
|
BUNDLED WITH
|
266
|
-
2.
|
302
|
+
2.5.11
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![codecov](https://codecov.io/gh/davidrunger/runger_actions/branch/
|
1
|
+
[![codecov](https://codecov.io/gh/davidrunger/runger_actions/branch/main/graph/badge.svg)](https://codecov.io/gh/davidrunger/runger_actions)
|
2
2
|
![GitHub tag (latest SemVer pre-release)](https://img.shields.io/github/v/tag/davidrunger/runger_actions?include_prereleases)
|
3
3
|
|
4
4
|
# RungerActions
|
@@ -645,7 +645,7 @@ own itch and for the sake of exploring this problem space a little bit.
|
|
645
645
|
|
646
646
|
I am actively using this gem in the small Rails application that hosts my personal website and apps;
|
647
647
|
you can check out its [`app/actions/`
|
648
|
-
directory](https://github.com/davidrunger/david_runger/tree/
|
648
|
+
directory](https://github.com/davidrunger/david_runger/tree/main/app/actions) if you are
|
649
649
|
interested in seeing some real-world use cases.
|
650
650
|
|
651
651
|
# Development
|
data/bin/_guard-core
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/guard
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/release
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/runger_actions/base.rb
CHANGED
@@ -39,7 +39,7 @@ class RungerActions::Base
|
|
39
39
|
end
|
40
40
|
|
41
41
|
def register_validator_klass(param_name, param_klass, blk)
|
42
|
-
validator_klass = const_set("#{param_name.to_s.camelize}Validator", Class.new)
|
42
|
+
validator_klass = const_set(:"#{param_name.to_s.camelize}Validator", Class.new)
|
43
43
|
validator_klass.include(ActiveModel::Model)
|
44
44
|
validator_klass.attr_accessor(*param_klass.column_names)
|
45
45
|
validator_klass.class_eval(&blk)
|
@@ -54,7 +54,7 @@ class RungerActions::Base
|
|
54
54
|
@return_values[param_name]
|
55
55
|
end
|
56
56
|
|
57
|
-
define_method("#{param_name}=") do |value|
|
57
|
+
define_method(:"#{param_name}=") do |value|
|
58
58
|
if locked?
|
59
59
|
raise(RungerActions::MutatingLockedResult, <<~ERROR.squish)
|
60
60
|
You are attempting to assign a value to an instance of #{self.class} outside of the
|
@@ -77,7 +77,7 @@ class RungerActions::Base
|
|
77
77
|
|
78
78
|
def fails_with(error_type)
|
79
79
|
result_klass.class_eval do
|
80
|
-
define_method("#{error_type}!") do |error_message = nil|
|
80
|
+
define_method(:"#{error_type}!") do |error_message = nil|
|
81
81
|
@failure = error_type
|
82
82
|
@error_message = error_message
|
83
83
|
if @action.raise_on_failure?
|
@@ -88,7 +88,7 @@ class RungerActions::Base
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
define_method("#{error_type}?") do
|
91
|
+
define_method(:"#{error_type}?") do
|
92
92
|
@failure == error_type
|
93
93
|
end
|
94
94
|
end
|
@@ -176,10 +176,11 @@ class RungerActions::Base
|
|
176
176
|
"`#{missing_return_value}` (should be shaped like #{expected_shape})"
|
177
177
|
end
|
178
178
|
|
179
|
-
raise(
|
180
|
-
|
181
|
-
|
182
|
-
|
179
|
+
raise(
|
180
|
+
RungerActions::MissingResultValue,
|
181
|
+
"#{self.class.name} failed to set all promised return values on its `result`. The " \
|
182
|
+
"following were missing on the `result`: #{violation_messages.join(', ')}.",
|
183
|
+
)
|
183
184
|
end
|
184
185
|
end
|
185
186
|
|
data/runger_actions.gemspec
CHANGED
@@ -13,14 +13,13 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/davidrunger/runger_actions'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
|
-
|
17
|
-
spec.required_ruby_version = Gem::Requirement.new(">= #{ruby_version}")
|
16
|
+
spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"
|
18
17
|
|
19
18
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
20
19
|
spec.metadata['homepage_uri'] = spec.homepage
|
21
20
|
spec.metadata['source_code_uri'] = 'https://github.com/davidrunger/runger_actions'
|
22
21
|
spec.metadata['changelog_uri'] =
|
23
|
-
'https://github.com/davidrunger/runger_actions/blob/
|
22
|
+
'https://github.com/davidrunger/runger_actions/blob/main/CHANGELOG.md'
|
24
23
|
|
25
24
|
# Specify which files should be added to the gem when it is released.
|
26
25
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -32,5 +31,5 @@ Gem::Specification.new do |spec|
|
|
32
31
|
|
33
32
|
spec.add_runtime_dependency('memo_wise', '>= 1.7', '< 2')
|
34
33
|
spec.add_runtime_dependency('rails', '>= 6', '< 8')
|
35
|
-
spec.add_runtime_dependency('shaped', '>= 0.9', '< 0.
|
34
|
+
spec.add_runtime_dependency('shaped', '>= 0.9', '< 0.12')
|
36
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runger_actions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: memo_wise
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: '0.9'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.12'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: '0.9'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.12'
|
73
73
|
description: Organize (and validate) the business logic of your Rails application.
|
74
74
|
email:
|
75
75
|
- davidjrunger@gmail.com
|
@@ -114,7 +114,7 @@ metadata:
|
|
114
114
|
rubygems_mfa_required: 'true'
|
115
115
|
homepage_uri: https://github.com/davidrunger/runger_actions
|
116
116
|
source_code_uri: https://github.com/davidrunger/runger_actions
|
117
|
-
changelog_uri: https://github.com/davidrunger/runger_actions/blob/
|
117
|
+
changelog_uri: https://github.com/davidrunger/runger_actions/blob/main/CHANGELOG.md
|
118
118
|
post_install_message:
|
119
119
|
rdoc_options: []
|
120
120
|
require_paths:
|
@@ -123,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements:
|
124
124
|
- - ">="
|
125
125
|
- !ruby/object:Gem::Version
|
126
|
-
version: 3.
|
126
|
+
version: 3.3.3
|
127
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
133
|
+
rubygems_version: 3.5.11
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: Organize (and validate) the business logic of your Rails application.
|