runger_actions 0.19.2 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a2019449b4d70a8ea1fb493e9af4c6a41f87f2a4ac45422385650996f84f69b
4
- data.tar.gz: 5bac9b37d9aed9a2b7c064e4ec085d818d9e469f8c1e35c75305ea1989bb60e9
3
+ metadata.gz: f8c21d60a2733eeeb2579d597ae5d6368e6630fc1e0ca5edd4f960d4ed6566de
4
+ data.tar.gz: d3d04dfa0f1f78fae0ca4fc454993f78ed3a99ed392f3fdfa71a68bf3ac5370a
5
5
  SHA512:
6
- metadata.gz: 781667bd4ae4b885ba31efe16866e832c7197fd9907f2aa010ccbb0a27e9097be664e80abf329468c6949169e84284364d8a6094c22e3630f018e250df2546f9
7
- data.tar.gz: 4080c5da8d3e779becfe10ad930b38e5a55ed67e78d2621d2aad00eca932f8ad3345ec6325d90a3bbdd4b8dd66689688320a8592e3df11669291d8114f0b3355
6
+ metadata.gz: af0a768637ac690715562fd80ec9acbb17d575e40d26bfe8ceb111bf02157a61576a40dbf2ec12105ce126dc8a6bbc12cfdda9cb7b3d88045b96aa3a361483af
7
+ data.tar.gz: 5d8cda7c2bfaee83c872bdec36da9c5430b0dd73cbf27fea3ff0a136dda621cf7b612463ba420c5a76fd098868a7eff33cc66aa134202814ab0a76193a21c140
@@ -7,7 +7,3 @@ updates:
7
7
  time: "04:04"
8
8
  timezone: America/Chicago
9
9
  open-pull-requests-limit: 20
10
- ignore:
11
- - dependency-name: shaped
12
- versions:
13
- - 0.8.0
@@ -1,9 +1,12 @@
1
- name: Run Rspec Tests
1
+ name: Run RuboCop and RSpec
2
2
 
3
3
  on:
4
4
  pull_request:
5
5
  branches:
6
- - master
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 Rubocop
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.2.2
1
+ 3.3.3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.20.0 (2024-06-15)
2
+ - Rename primary branch from `master` to `main`
3
+
1
4
  ## v0.19.2 (2023-05-30)
2
5
  ### Changed
3
6
  - Update dependencies
@@ -154,7 +157,7 @@ end
154
157
  ### Breaking changes
155
158
  - Update `shaped` (which is used for param validation) from version 0.2.1 to 0.3.0, which has
156
159
  breaking changes. For more details, see the [`shaped`
157
- changelog](https://github.com/davidrunger/shaped/blob/master/CHANGELOG.md#030---2020-06-18).
160
+ changelog](https://github.com/davidrunger/shaped/blob/main/CHANGELOG.md#030---2020-06-18).
158
161
  - For `requires`, _all_ type/shape descriptions (i.e. arguments `[1..]`) are now passed through the
159
162
  `Shaped::Shape(...)` constructor method. (In most cases, this change will not have any effect,
160
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.0', require: false
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.12'
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.19.2)
4
+ runger_actions (0.20.0)
5
5
  memo_wise (>= 1.7, < 2)
6
6
  rails (>= 6, < 8)
7
- shaped (>= 0.9, < 0.11)
7
+ shaped (>= 0.9, < 0.12)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (7.0.5)
13
- actionpack (= 7.0.5)
14
- activesupport (= 7.0.5)
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
- actionmailbox (7.0.5)
18
- actionpack (= 7.0.5)
19
- activejob (= 7.0.5)
20
- activerecord (= 7.0.5)
21
- activestorage (= 7.0.5)
22
- activesupport (= 7.0.5)
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.0.5)
28
- actionpack (= 7.0.5)
29
- actionview (= 7.0.5)
30
- activejob (= 7.0.5)
31
- activesupport (= 7.0.5)
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.0)
37
- actionpack (7.0.5)
38
- actionview (= 7.0.5)
39
- activesupport (= 7.0.5)
40
- rack (~> 2.0, >= 2.2.4)
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.0)
43
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.5)
45
- actionpack (= 7.0.5)
46
- activerecord (= 7.0.5)
47
- activestorage (= 7.0.5)
48
- activesupport (= 7.0.5)
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.0.5)
52
- activesupport (= 7.0.5)
55
+ actionview (7.1.3.4)
56
+ activesupport (= 7.1.3.4)
53
57
  builder (~> 3.1)
54
- erubi (~> 1.4)
55
- rails-dom-testing (~> 2.0)
56
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.5)
58
- activesupport (= 7.0.5)
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.0.5)
61
- activesupport (= 7.0.5)
62
- activerecord (7.0.5)
63
- activemodel (= 7.0.5)
64
- activesupport (= 7.0.5)
65
- activestorage (7.0.5)
66
- actionpack (= 7.0.5)
67
- activejob (= 7.0.5)
68
- activerecord (= 7.0.5)
69
- activesupport (= 7.0.5)
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
- mini_mime (>= 1.1.0)
72
- activesupport (7.0.5)
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.5.0)
86
+ amazing_print (1.6.0)
78
87
  ast (2.4.2)
79
- builder (3.2.4)
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
- colorize (0.8.1)
83
- concurrent-ruby (1.2.2)
93
+ concurrent-ruby (1.3.3)
94
+ connection_pool (2.4.1)
84
95
  crass (1.0.6)
85
- date (3.3.3)
86
- diff-lcs (1.5.0)
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.0)
90
- activesupport (>= 5.0)
91
- i18n (1.13.0)
101
+ globalid (1.2.1)
102
+ activesupport (>= 6.1)
103
+ i18n (1.14.5)
92
104
  concurrent-ruby (~> 1.0)
93
- json (2.6.3)
94
- loofah (2.21.3)
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,124 +116,140 @@ GEM
99
116
  net-imap
100
117
  net-pop
101
118
  net-smtp
102
- marcel (1.0.2)
103
- memo_wise (1.7.0)
104
- method_source (1.0.0)
105
- mini_mime (1.1.2)
106
- mini_portile2 (2.8.2)
107
- minitest (5.18.0)
108
- net-imap (0.3.4)
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)
109
127
  date
110
128
  net-protocol
111
129
  net-pop (0.1.2)
112
130
  net-protocol
113
- net-protocol (0.2.1)
131
+ net-protocol (0.2.2)
114
132
  timeout
115
- net-smtp (0.3.3)
133
+ net-smtp (0.5.0)
116
134
  net-protocol
117
- nio4r (2.5.9)
118
- nokogiri (1.15.2)
135
+ nio4r (2.7.3)
136
+ nokogiri (1.16.5)
119
137
  mini_portile2 (~> 2.8.2)
120
138
  racc (~> 1.4)
121
- parallel (1.23.0)
122
- parser (3.2.2.1)
139
+ parallel (1.25.1)
140
+ parser (3.3.3.0)
123
141
  ast (~> 2.4.1)
142
+ racc
143
+ prism (0.30.0)
124
144
  pry (0.14.2)
125
145
  coderay (~> 1.1)
126
146
  method_source (~> 1.0)
127
147
  pry-byebug (3.10.1)
128
148
  byebug (~> 11.0)
129
149
  pry (>= 0.13, < 0.15)
130
- racc (1.6.2)
131
- rack (2.2.7)
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)
132
156
  rack-test (2.1.0)
133
157
  rack (>= 1.3)
134
- rails (7.0.5)
135
- actioncable (= 7.0.5)
136
- actionmailbox (= 7.0.5)
137
- actionmailer (= 7.0.5)
138
- actionpack (= 7.0.5)
139
- actiontext (= 7.0.5)
140
- actionview (= 7.0.5)
141
- activejob (= 7.0.5)
142
- activemodel (= 7.0.5)
143
- activerecord (= 7.0.5)
144
- activestorage (= 7.0.5)
145
- activesupport (= 7.0.5)
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)
146
173
  bundler (>= 1.15.0)
147
- railties (= 7.0.5)
148
- rails-dom-testing (2.0.3)
149
- activesupport (>= 4.2.0)
174
+ railties (= 7.1.3.4)
175
+ rails-dom-testing (2.2.0)
176
+ activesupport (>= 5.0.0)
177
+ minitest
150
178
  nokogiri (>= 1.6)
151
179
  rails-html-sanitizer (1.6.0)
152
180
  loofah (~> 2.21)
153
181
  nokogiri (~> 1.14)
154
- railties (7.0.5)
155
- actionpack (= 7.0.5)
156
- activesupport (= 7.0.5)
157
- method_source
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.5)
188
+ thor (~> 1.0, >= 1.2.2)
189
+ zeitwerk (~> 2.6)
161
190
  rainbow (3.1.1)
162
- rake (13.0.6)
163
- regexp_parser (2.8.0)
164
- rexml (3.2.5)
165
- rouge (4.1.1)
166
- rspec (3.12.0)
167
- rspec-core (~> 3.12.0)
168
- rspec-expectations (~> 3.12.0)
169
- rspec-mocks (~> 3.12.0)
170
- rspec-core (3.12.2)
171
- rspec-support (~> 3.12.0)
172
- rspec-expectations (3.12.3)
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.12.0)
175
- rspec-mocks (3.12.5)
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.12.0)
178
- rspec-support (3.12.0)
179
- rubocop (1.51.0)
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.2.0.0)
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.28.0, < 2.0)
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.28.1)
190
- parser (>= 3.2.1.0)
191
- rubocop-capybara (2.18.0)
192
- rubocop (~> 1.41)
193
- rubocop-factory_bot (2.23.1)
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 (2.22.0)
201
- rubocop (~> 1.33)
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
- runger_release_assistant (0.4.2)
234
+ runger_config (5.0.0)
235
+ activesupport (>= 7.1.2)
236
+ runger_release_assistant (0.7.0)
206
237
  activesupport (>= 6, < 8)
207
- colorize (~> 0.8)
208
238
  memo_wise (>= 1.7, < 2)
239
+ rainbow (>= 3.0, < 4)
209
240
  slop (~> 4.8)
210
- runger_style (0.3.0)
241
+ runger_style (2.6.0)
242
+ prism (>= 0.24.0)
211
243
  rubocop (>= 1.38.0, < 2)
212
- shaped (0.10.0)
244
+ shaped (0.11.0)
213
245
  activemodel (>= 6, < 8)
214
246
  activesupport (>= 6, < 8)
215
- simple_cov-formatter-terminal (0.2.4)
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
254
  simplecov (0.22.0)
222
255
  docile (~> 1.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.6.3)
264
+ sqlite3 (1.7.3)
232
265
  mini_portile2 (~> 2.8.0)
233
- thor (1.2.2)
234
- timeout (0.3.2)
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.4.2)
238
- websocket-driver (0.7.5)
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.8)
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.0)
250
- rspec (~> 3.12)
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.2.2p53
299
+ ruby 3.3.3p89
264
300
 
265
301
  BUNDLED WITH
266
- 2.4.13
302
+ 2.5.11
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![codecov](https://codecov.io/gh/davidrunger/runger_actions/branch/master/graph/badge.svg)](https://codecov.io/gh/davidrunger/runger_actions)
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/master/app/actions) if you are
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("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.")
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("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.")
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("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.")
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
 
@@ -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(RungerActions::MissingResultValue, <<~ERROR.squish)
180
- #{self.class.name} failed to set all promised return values on its `result`. The
181
- following were missing on the `result`: #{violation_messages.join(', ')}.
182
- ERROR
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RungerActions
4
- VERSION = '0.19.2'
4
+ VERSION = '0.20.0'
5
5
  end
@@ -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
- ruby_version = File.read('.ruby-version').rstrip
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/master/CHANGELOG.md'
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.11')
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.19.2
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: 2023-05-30 00:00:00.000000000 Z
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.11'
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.11'
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/master/CHANGELOG.md
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.2.2
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.4.13
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.