runger_actions 0.19.0 → 0.19.1
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/.github/dependabot.yml +1 -1
- data/.github/workflows/ruby.yml +4 -0
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +74 -76
- data/lib/runger_actions/base.rb +7 -7
- data/lib/runger_actions/version.rb +1 -1
- data/lib/runger_actions.rb +1 -1
- data/runger_actions.gemspec +4 -2
- metadata +15 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd2a4fe75d7206007f81768ec20b659b999331aee6ce2dc8837dc84f80ba7c73
|
|
4
|
+
data.tar.gz: 76aeb75d0ae376e9a1e95cdf8700b2ac4fa335a638673ef49cb27fc81e919419
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45c2ab47ddb4f9514667f94c5ece5be18c4d5ab23bfaee3189bf5d1f49daefe2d7c4011042092920f3eef7a0e03a84f79edf92b51cce89460a99c0da436a3f9d
|
|
7
|
+
data.tar.gz: 5cc0fc5aa4c48d3090b8cf872413add1c92fde43713c4e70fd0d21eefb846b048cc07822dc3d7315719dcaf0b9fd5a692b268d4be117deb19c4ba5d96fac412e
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/ruby.yml
CHANGED
|
@@ -23,3 +23,7 @@ jobs:
|
|
|
23
23
|
run: git diff --exit-code && git diff-index --quiet --cached HEAD
|
|
24
24
|
- name: Ensure "## Unreleased" is in CHANGELOG.md
|
|
25
25
|
run: grep "^## Unreleased" CHANGELOG.md
|
|
26
|
+
- name: Upload Code Coverage
|
|
27
|
+
uses: codecov/codecov-action@v3
|
|
28
|
+
with:
|
|
29
|
+
directory: tmp/simple_cov
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.2
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
source 'https://rubygems.org'
|
|
4
|
-
ruby '
|
|
4
|
+
ruby File.read('.ruby-version').rstrip
|
|
5
5
|
|
|
6
6
|
# Specify your gem's dependencies in runger_actions.gemspec
|
|
7
7
|
gemspec
|
|
@@ -18,12 +18,12 @@ group :development, :test do
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
group :development do
|
|
21
|
-
gem '
|
|
21
|
+
gem 'runger_release_assistant', require: false
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
group :test do
|
|
25
|
-
gem 'codecov', require: false
|
|
26
25
|
gem 'rspec', '~> 3.12'
|
|
26
|
+
gem 'simplecov-cobertura', require: false
|
|
27
27
|
gem 'simple_cov-formatter-terminal'
|
|
28
28
|
gem 'sqlite3'
|
|
29
29
|
end
|
data/Gemfile.lock
CHANGED
|
@@ -1,95 +1,83 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/davidrunger/release_assistant.git
|
|
3
|
-
revision: bd6955962211ee0d89d699a19a2225c2f52ce500
|
|
4
|
-
specs:
|
|
5
|
-
release_assistant (0.3.3.alpha)
|
|
6
|
-
activesupport (>= 6, < 8)
|
|
7
|
-
colorize (~> 0.8)
|
|
8
|
-
memoist (~> 0.16)
|
|
9
|
-
slop (~> 4.8)
|
|
10
|
-
|
|
11
1
|
PATH
|
|
12
2
|
remote: .
|
|
13
3
|
specs:
|
|
14
|
-
runger_actions (0.19.
|
|
15
|
-
|
|
4
|
+
runger_actions (0.19.1)
|
|
5
|
+
memo_wise (>= 1.7, < 2)
|
|
16
6
|
rails (>= 6, < 8)
|
|
17
7
|
shaped (>= 0.9, < 0.11)
|
|
18
8
|
|
|
19
9
|
GEM
|
|
20
10
|
remote: https://rubygems.org/
|
|
21
11
|
specs:
|
|
22
|
-
actioncable (7.0.
|
|
23
|
-
actionpack (= 7.0.
|
|
24
|
-
activesupport (= 7.0.
|
|
12
|
+
actioncable (7.0.5)
|
|
13
|
+
actionpack (= 7.0.5)
|
|
14
|
+
activesupport (= 7.0.5)
|
|
25
15
|
nio4r (~> 2.0)
|
|
26
16
|
websocket-driver (>= 0.6.1)
|
|
27
|
-
actionmailbox (7.0.
|
|
28
|
-
actionpack (= 7.0.
|
|
29
|
-
activejob (= 7.0.
|
|
30
|
-
activerecord (= 7.0.
|
|
31
|
-
activestorage (= 7.0.
|
|
32
|
-
activesupport (= 7.0.
|
|
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)
|
|
33
23
|
mail (>= 2.7.1)
|
|
34
24
|
net-imap
|
|
35
25
|
net-pop
|
|
36
26
|
net-smtp
|
|
37
|
-
actionmailer (7.0.
|
|
38
|
-
actionpack (= 7.0.
|
|
39
|
-
actionview (= 7.0.
|
|
40
|
-
activejob (= 7.0.
|
|
41
|
-
activesupport (= 7.0.
|
|
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)
|
|
42
32
|
mail (~> 2.5, >= 2.5.4)
|
|
43
33
|
net-imap
|
|
44
34
|
net-pop
|
|
45
35
|
net-smtp
|
|
46
36
|
rails-dom-testing (~> 2.0)
|
|
47
|
-
actionpack (7.0.
|
|
48
|
-
actionview (= 7.0.
|
|
49
|
-
activesupport (= 7.0.
|
|
50
|
-
rack (~> 2.0, >= 2.2.
|
|
37
|
+
actionpack (7.0.5)
|
|
38
|
+
actionview (= 7.0.5)
|
|
39
|
+
activesupport (= 7.0.5)
|
|
40
|
+
rack (~> 2.0, >= 2.2.4)
|
|
51
41
|
rack-test (>= 0.6.3)
|
|
52
42
|
rails-dom-testing (~> 2.0)
|
|
53
43
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
54
|
-
actiontext (7.0.
|
|
55
|
-
actionpack (= 7.0.
|
|
56
|
-
activerecord (= 7.0.
|
|
57
|
-
activestorage (= 7.0.
|
|
58
|
-
activesupport (= 7.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)
|
|
59
49
|
globalid (>= 0.6.0)
|
|
60
50
|
nokogiri (>= 1.8.5)
|
|
61
|
-
actionview (7.0.
|
|
62
|
-
activesupport (= 7.0.
|
|
51
|
+
actionview (7.0.5)
|
|
52
|
+
activesupport (= 7.0.5)
|
|
63
53
|
builder (~> 3.1)
|
|
64
54
|
erubi (~> 1.4)
|
|
65
55
|
rails-dom-testing (~> 2.0)
|
|
66
56
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
67
|
-
activejob (7.0.
|
|
68
|
-
activesupport (= 7.0.
|
|
57
|
+
activejob (7.0.5)
|
|
58
|
+
activesupport (= 7.0.5)
|
|
69
59
|
globalid (>= 0.3.6)
|
|
70
|
-
activemodel (7.0.
|
|
71
|
-
activesupport (= 7.0.
|
|
72
|
-
activerecord (7.0.
|
|
73
|
-
activemodel (= 7.0.
|
|
74
|
-
activesupport (= 7.0.
|
|
75
|
-
activestorage (7.0.
|
|
76
|
-
actionpack (= 7.0.
|
|
77
|
-
activejob (= 7.0.
|
|
78
|
-
activerecord (= 7.0.
|
|
79
|
-
activesupport (= 7.0.
|
|
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)
|
|
80
70
|
marcel (~> 1.0)
|
|
81
71
|
mini_mime (>= 1.1.0)
|
|
82
|
-
activesupport (7.0.
|
|
72
|
+
activesupport (7.0.5)
|
|
83
73
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
84
74
|
i18n (>= 1.6, < 2)
|
|
85
75
|
minitest (>= 5.1)
|
|
86
76
|
tzinfo (~> 2.0)
|
|
87
|
-
amazing_print (1.
|
|
77
|
+
amazing_print (1.5.0)
|
|
88
78
|
ast (2.4.2)
|
|
89
79
|
builder (3.2.4)
|
|
90
80
|
byebug (11.1.3)
|
|
91
|
-
codecov (0.6.0)
|
|
92
|
-
simplecov (>= 0.15, < 0.22)
|
|
93
81
|
coderay (1.1.3)
|
|
94
82
|
colorize (0.8.1)
|
|
95
83
|
concurrent-ruby (1.2.2)
|
|
@@ -112,6 +100,7 @@ GEM
|
|
|
112
100
|
net-pop
|
|
113
101
|
net-smtp
|
|
114
102
|
marcel (1.0.2)
|
|
103
|
+
memo_wise (1.7.0)
|
|
115
104
|
memoist (0.16.2)
|
|
116
105
|
method_source (1.0.0)
|
|
117
106
|
mini_mime (1.1.2)
|
|
@@ -127,7 +116,8 @@ GEM
|
|
|
127
116
|
net-smtp (0.3.3)
|
|
128
117
|
net-protocol
|
|
129
118
|
nio4r (2.5.9)
|
|
130
|
-
nokogiri (1.15.
|
|
119
|
+
nokogiri (1.15.2)
|
|
120
|
+
mini_portile2 (~> 2.8.2)
|
|
131
121
|
racc (~> 1.4)
|
|
132
122
|
parallel (1.23.0)
|
|
133
123
|
parser (3.2.2.1)
|
|
@@ -142,28 +132,28 @@ GEM
|
|
|
142
132
|
rack (2.2.7)
|
|
143
133
|
rack-test (2.1.0)
|
|
144
134
|
rack (>= 1.3)
|
|
145
|
-
rails (7.0.
|
|
146
|
-
actioncable (= 7.0.
|
|
147
|
-
actionmailbox (= 7.0.
|
|
148
|
-
actionmailer (= 7.0.
|
|
149
|
-
actionpack (= 7.0.
|
|
150
|
-
actiontext (= 7.0.
|
|
151
|
-
actionview (= 7.0.
|
|
152
|
-
activejob (= 7.0.
|
|
153
|
-
activemodel (= 7.0.
|
|
154
|
-
activerecord (= 7.0.
|
|
155
|
-
activestorage (= 7.0.
|
|
156
|
-
activesupport (= 7.0.
|
|
135
|
+
rails (7.0.5)
|
|
136
|
+
actioncable (= 7.0.5)
|
|
137
|
+
actionmailbox (= 7.0.5)
|
|
138
|
+
actionmailer (= 7.0.5)
|
|
139
|
+
actionpack (= 7.0.5)
|
|
140
|
+
actiontext (= 7.0.5)
|
|
141
|
+
actionview (= 7.0.5)
|
|
142
|
+
activejob (= 7.0.5)
|
|
143
|
+
activemodel (= 7.0.5)
|
|
144
|
+
activerecord (= 7.0.5)
|
|
145
|
+
activestorage (= 7.0.5)
|
|
146
|
+
activesupport (= 7.0.5)
|
|
157
147
|
bundler (>= 1.15.0)
|
|
158
|
-
railties (= 7.0.
|
|
148
|
+
railties (= 7.0.5)
|
|
159
149
|
rails-dom-testing (2.0.3)
|
|
160
150
|
activesupport (>= 4.2.0)
|
|
161
151
|
nokogiri (>= 1.6)
|
|
162
152
|
rails-html-sanitizer (1.5.0)
|
|
163
153
|
loofah (~> 2.19, >= 2.19.1)
|
|
164
|
-
railties (7.0.
|
|
165
|
-
actionpack (= 7.0.
|
|
166
|
-
activesupport (= 7.0.
|
|
154
|
+
railties (7.0.5)
|
|
155
|
+
actionpack (= 7.0.5)
|
|
156
|
+
activesupport (= 7.0.5)
|
|
167
157
|
method_source
|
|
168
158
|
rake (>= 12.2)
|
|
169
159
|
thor (~> 1.0)
|
|
@@ -202,7 +192,7 @@ GEM
|
|
|
202
192
|
rubocop (~> 1.41)
|
|
203
193
|
rubocop-factory_bot (2.22.0)
|
|
204
194
|
rubocop (~> 1.33)
|
|
205
|
-
rubocop-performance (1.
|
|
195
|
+
rubocop-performance (1.18.0)
|
|
206
196
|
rubocop (>= 1.7.0, < 2.0)
|
|
207
197
|
rubocop-ast (>= 0.4.0)
|
|
208
198
|
rubocop-rake (0.6.0)
|
|
@@ -212,7 +202,12 @@ GEM
|
|
|
212
202
|
rubocop-capybara (~> 2.17)
|
|
213
203
|
rubocop-factory_bot (~> 2.22)
|
|
214
204
|
ruby-progressbar (1.13.0)
|
|
215
|
-
|
|
205
|
+
runger_release_assistant (0.4.0)
|
|
206
|
+
activesupport (>= 6, < 8)
|
|
207
|
+
colorize (~> 0.8)
|
|
208
|
+
memoist (~> 0.16)
|
|
209
|
+
slop (~> 4.8)
|
|
210
|
+
runger_style (0.3.0)
|
|
216
211
|
rubocop (>= 1.38.0, < 2)
|
|
217
212
|
shaped (0.10.0)
|
|
218
213
|
activemodel (>= 6, < 8)
|
|
@@ -227,6 +222,9 @@ GEM
|
|
|
227
222
|
docile (~> 1.1)
|
|
228
223
|
simplecov-html (~> 0.11)
|
|
229
224
|
simplecov_json_formatter (~> 0.1)
|
|
225
|
+
simplecov-cobertura (2.1.0)
|
|
226
|
+
rexml
|
|
227
|
+
simplecov (~> 0.19)
|
|
230
228
|
simplecov-html (0.12.3)
|
|
231
229
|
simplecov_json_formatter (0.1.4)
|
|
232
230
|
slop (4.10.1)
|
|
@@ -247,22 +245,22 @@ PLATFORMS
|
|
|
247
245
|
|
|
248
246
|
DEPENDENCIES
|
|
249
247
|
amazing_print
|
|
250
|
-
codecov
|
|
251
248
|
pry-byebug
|
|
252
249
|
rake (~> 13.0)
|
|
253
|
-
release_assistant!
|
|
254
250
|
rspec (~> 3.12)
|
|
255
251
|
rubocop
|
|
256
252
|
rubocop-performance
|
|
257
253
|
rubocop-rake
|
|
258
254
|
rubocop-rspec
|
|
259
255
|
runger_actions!
|
|
256
|
+
runger_release_assistant
|
|
260
257
|
runger_style
|
|
261
258
|
simple_cov-formatter-terminal
|
|
259
|
+
simplecov-cobertura
|
|
262
260
|
sqlite3
|
|
263
261
|
|
|
264
262
|
RUBY VERSION
|
|
265
|
-
ruby 3.2.
|
|
263
|
+
ruby 3.2.2p53
|
|
266
264
|
|
|
267
265
|
BUNDLED WITH
|
|
268
|
-
2.
|
|
266
|
+
2.4.13
|
data/lib/runger_actions/base.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
class RungerActions::Base
|
|
4
|
-
|
|
4
|
+
prepend MemoWise
|
|
5
5
|
|
|
6
6
|
class << self
|
|
7
|
-
|
|
7
|
+
prepend MemoWise
|
|
8
8
|
|
|
9
9
|
def run!(params)
|
|
10
10
|
new!(params).run!
|
|
@@ -94,22 +94,22 @@ class RungerActions::Base
|
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
memo_wise \
|
|
98
98
|
def result_klass
|
|
99
99
|
const_set(:Result, Class.new(RungerActions::Result))
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
memo_wise \
|
|
103
103
|
def required_params
|
|
104
104
|
{}
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
memo_wise \
|
|
108
108
|
def promised_values
|
|
109
109
|
{}
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
memo_wise \
|
|
113
113
|
def validators
|
|
114
114
|
{}
|
|
115
115
|
end
|
|
@@ -160,7 +160,7 @@ class RungerActions::Base
|
|
|
160
160
|
!!@raise_on_failure
|
|
161
161
|
end
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
memo_wise \
|
|
164
164
|
def result
|
|
165
165
|
self.class.result_klass.new(action: self)
|
|
166
166
|
end
|
data/lib/runger_actions.rb
CHANGED
data/runger_actions.gemspec
CHANGED
|
@@ -12,7 +12,9 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = 'Organize (and validate) the business logic of your Rails application.'
|
|
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
18
|
|
|
17
19
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
18
20
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
@@ -28,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
|
28
30
|
end
|
|
29
31
|
spec.require_paths = ['lib']
|
|
30
32
|
|
|
31
|
-
spec.add_runtime_dependency('
|
|
33
|
+
spec.add_runtime_dependency('memo_wise', '>= 1.7', '< 2')
|
|
32
34
|
spec.add_runtime_dependency('rails', '>= 6', '< 8')
|
|
33
35
|
spec.add_runtime_dependency('shaped', '>= 0.9', '< 0.11')
|
|
34
36
|
end
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: runger_actions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.19.
|
|
4
|
+
version: 0.19.1
|
|
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-
|
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: memo_wise
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.7'
|
|
20
|
+
- - "<"
|
|
18
21
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
22
|
+
version: '2'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '1.7'
|
|
30
|
+
- - "<"
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
32
|
+
version: '2'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: rails
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -117,14 +123,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
117
123
|
requirements:
|
|
118
124
|
- - ">="
|
|
119
125
|
- !ruby/object:Gem::Version
|
|
120
|
-
version: 3.2.
|
|
126
|
+
version: 3.2.2
|
|
121
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
128
|
requirements:
|
|
123
129
|
- - ">="
|
|
124
130
|
- !ruby/object:Gem::Version
|
|
125
131
|
version: '0'
|
|
126
132
|
requirements: []
|
|
127
|
-
rubygems_version: 3.4.
|
|
133
|
+
rubygems_version: 3.4.13
|
|
128
134
|
signing_key:
|
|
129
135
|
specification_version: 4
|
|
130
136
|
summary: Organize (and validate) the business logic of your Rails application.
|