Skip to content

Commit 7167f35

Browse files
viralpraxissunny
andauthored
Bump development dependencies (#221)
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
1 parent 61c513c commit 7167f35

8 files changed

Lines changed: 140 additions & 96 deletions

File tree

Gemfile.lock

Lines changed: 99 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -8,108 +8,136 @@ GEM
88
remote: https://rubygems.org/
99
specs:
1010
ast (2.4.3)
11+
benchmark (0.5.0)
1112
code-scanning-rubocop (0.6.1)
1213
rubocop (~> 1.0)
1314
coderay (1.1.3)
14-
date (3.4.1)
15+
date (3.5.1)
1516
diff-lcs (1.6.2)
1617
diffy (3.4.4)
1718
docile (1.4.1)
18-
erb (6.0.1.1)
19-
interactor (3.1.2)
20-
io-console (0.8.1)
21-
irb (1.15.2)
19+
erb (6.0.4)
20+
interactor (3.2.0)
21+
ostruct
22+
io-console (0.8.2)
23+
irb (1.18.0)
2224
pp (>= 0.6.0)
25+
prism (>= 1.3.0)
2326
rdoc (>= 4.0.0)
2427
reline (>= 0.4.2)
25-
json (2.12.2)
28+
json (2.19.9)
2629
language_server-protocol (3.17.0.5)
2730
lint_roller (1.1.0)
2831
method_source (1.1.0)
29-
ostruct (0.6.2)
30-
parallel (1.27.0)
31-
parser (3.3.8.0)
32+
ostruct (0.6.3)
33+
parallel (1.28.0)
34+
parser (3.3.11.1)
3235
ast (~> 2.4.1)
3336
racc
34-
pp (0.6.2)
37+
pp (0.6.3)
3538
prettyprint
3639
prettyprint (0.2.0)
37-
prism (1.4.0)
38-
pry (0.15.2)
40+
prism (1.9.0)
41+
pry (0.16.0)
3942
coderay (~> 1.1)
4043
method_source (~> 1.0)
41-
psych (5.2.6)
44+
reline (>= 0.6.0)
45+
psych (5.4.0)
4246
date
4347
stringio
4448
racc (1.8.1)
4549
rainbow (3.1.1)
46-
rake (13.3.0)
47-
rdoc (6.14.2)
50+
rake (13.4.2)
51+
rdoc (7.2.0)
4852
erb
4953
psych (>= 4.0.0)
50-
regexp_parser (2.10.0)
51-
reline (0.6.2)
54+
tsort
55+
regexp_parser (2.12.0)
56+
reline (0.6.3)
5257
io-console (~> 0.5)
53-
rspec (3.13.1)
58+
rspec (3.13.2)
5459
rspec-core (~> 3.13.0)
5560
rspec-expectations (~> 3.13.0)
5661
rspec-mocks (~> 3.13.0)
57-
rspec-block_is_expected (1.0.6)
58-
rspec-core (3.13.4)
62+
rspec-core (3.13.6)
5963
rspec-support (~> 3.13.0)
6064
rspec-expectations (3.13.5)
6165
diff-lcs (>= 1.2.0, < 2.0)
6266
rspec-support (~> 3.13.0)
63-
rspec-mocks (3.13.5)
67+
rspec-mocks (3.13.8)
6468
diff-lcs (>= 1.2.0, < 2.0)
6569
rspec-support (~> 3.13.0)
66-
rspec-support (3.13.4)
67-
rubocop (1.75.8)
70+
rspec-support (3.13.7)
71+
rubocop (1.87.0)
6872
json (~> 2.3)
6973
language_server-protocol (~> 3.17.0.2)
7074
lint_roller (~> 1.1.0)
71-
parallel (~> 1.10)
75+
parallel (>= 1.10)
7276
parser (>= 3.3.0.2)
7377
rainbow (>= 2.2.2, < 4.0)
7478
regexp_parser (>= 2.9.3, < 3.0)
75-
rubocop-ast (>= 1.44.0, < 2.0)
79+
rubocop-ast (>= 1.49.0, < 2.0)
7680
ruby-progressbar (~> 1.7)
7781
unicode-display_width (>= 2.4.0, < 4.0)
78-
rubocop-ast (1.45.1)
82+
rubocop-ast (1.49.1)
7983
parser (>= 3.3.7.2)
80-
prism (~> 1.4)
81-
rubocop-gradual (0.3.6)
84+
prism (~> 1.7)
85+
rubocop-capybara (2.23.0)
86+
lint_roller (~> 1.1)
87+
rubocop (~> 1.81)
88+
rubocop-env (0.1.0)
89+
rubocop
90+
rubocop-factory_bot (2.28.0)
91+
lint_roller (~> 1.1)
92+
rubocop (~> 1.72, >= 1.72.1)
93+
rubocop-gradual (0.4.0)
94+
benchmark
8295
diff-lcs (>= 1.2.0, < 2.0)
8396
diffy (~> 3.0)
8497
parallel (~> 1.10)
8598
rainbow (>= 2.2.2, < 4.0)
8699
rubocop (~> 1.0)
87-
rubocop-lts (24.0.2)
88-
rubocop-ruby3_2 (>= 2.0.5, < 3)
89-
standard-rubocop-lts (>= 1.0.3, < 3)
90-
version_gem (>= 1.1.2, < 3)
91-
rubocop-md (1.2.4)
92-
rubocop (>= 1.45)
93-
rubocop-performance (1.25.0)
100+
rubocop-lts (24.2.0)
101+
rubocop-ruby3_2 (~> 3.0, >= 3.0.1)
102+
standard-rubocop-lts (~> 2.0, >= 2.0.3)
103+
version_gem (~> 1.1, >= 1.1.9)
104+
rubocop-lts-rspec (1.0.3)
105+
rubocop (~> 1.84, >= 1.84.2)
106+
rubocop-env (~> 0.1, >= 0.1.0)
107+
rubocop-factory_bot (~> 2.28, >= 2.28.0)
108+
rubocop-rspec (~> 3.9, >= 3.9.0)
109+
rubocop-rspec-extra (~> 0.3, >= 0.3.0)
110+
standard (~> 1.54, >= 1.54.0)
111+
standard-rspec (~> 0.5, >= 0.5.0)
112+
version_gem (~> 1.1, >= 1.1.9)
113+
rubocop-md (2.0.4)
114+
lint_roller (~> 1.1)
115+
rubocop (>= 1.72.1)
116+
rubocop-performance (1.26.1)
94117
lint_roller (~> 1.1)
95118
rubocop (>= 1.75.0, < 2.0)
96-
rubocop-ast (>= 1.38.0, < 2.0)
119+
rubocop-ast (>= 1.47.1, < 2.0)
97120
rubocop-rake (0.7.1)
98121
lint_roller (~> 1.1)
99122
rubocop (>= 1.72.1)
100-
rubocop-rspec (3.6.0)
123+
rubocop-rspec (3.10.2)
124+
lint_roller (~> 1.1)
125+
regexp_parser (>= 2.0)
126+
rubocop (~> 1.86, >= 1.86.2)
127+
rubocop-rspec-extra (0.3.0)
128+
lint_roller (~> 1.1)
129+
rubocop (>= 1.72.1, < 2.0)
130+
rubocop-rspec_rails (2.32.0)
101131
lint_roller (~> 1.1)
102132
rubocop (~> 1.72, >= 1.72.1)
103-
rubocop-ruby3_2 (2.0.7)
104-
rubocop-gradual (~> 0.3, >= 0.3.1)
105-
rubocop-md (~> 1.2)
106-
rubocop-rake (~> 0.6)
107-
rubocop-shopify (~> 2.14)
108-
rubocop-thread_safety (~> 0.5, >= 0.5.1)
109-
standard-rubocop-lts (~> 1.0, >= 1.0.7)
110-
version_gem (>= 1.1.3, < 3)
111-
rubocop-shopify (2.17.1)
112-
rubocop (~> 1.62)
133+
rubocop-rspec (~> 3.5)
134+
rubocop-ruby3_2 (3.0.2)
135+
rubocop-gradual (~> 0.3, >= 0.3.6)
136+
rubocop-md (~> 2.0, >= 2.0.4)
137+
rubocop-rake (~> 0.7, >= 0.7.1)
138+
rubocop-thread_safety (~> 0.7, >= 0.7.3)
139+
standard-rubocop-lts (~> 2.0, >= 2.0.3)
140+
version_gem (~> 1.1, >= 1.1.9)
113141
rubocop-thread_safety (0.7.3)
114142
lint_roller (~> 1.1)
115143
rubocop (~> 1.72, >= 1.72.1)
@@ -119,32 +147,38 @@ GEM
119147
docile (~> 1.1)
120148
simplecov-html (~> 0.11)
121149
simplecov_json_formatter (~> 0.1)
122-
simplecov-html (0.13.1)
150+
simplecov-html (0.13.2)
123151
simplecov_json_formatter (0.1.4)
124-
standard (1.50.0)
152+
standard (1.55.0)
125153
language_server-protocol (~> 3.17.0.2)
126154
lint_roller (~> 1.0)
127-
rubocop (~> 1.75.5)
155+
rubocop (~> 1.87.0)
128156
standard-custom (~> 1.0.0)
129157
standard-performance (~> 1.8)
130158
standard-custom (1.0.2)
131159
lint_roller (~> 1.0)
132160
rubocop (~> 1.50)
133-
standard-performance (1.8.0)
161+
standard-performance (1.9.0)
134162
lint_roller (~> 1.1)
135-
rubocop-performance (~> 1.25.0)
136-
standard-rubocop-lts (1.0.10)
137-
rspec-block_is_expected (~> 1.0, >= 1.0.5)
138-
standard (>= 1.35.1, < 2)
139-
standard-custom (>= 1.0.2, < 2)
140-
standard-performance (>= 1.3.1, < 2)
141-
version_gem (>= 1.1.4, < 3)
142-
stringio (3.1.7)
143-
unicode-display_width (3.1.4)
144-
unicode-emoji (~> 4.0, >= 4.0.4)
145-
unicode-emoji (4.0.4)
146-
version_gem (1.1.8)
147-
zeitwerk (2.7.3)
163+
rubocop-performance (~> 1.26.0)
164+
standard-rspec (0.5.0)
165+
lint_roller (>= 1.0)
166+
rubocop-capybara (~> 2.23)
167+
rubocop-factory_bot (~> 2.27)
168+
rubocop-rspec (~> 3.9)
169+
rubocop-rspec_rails (~> 2.31)
170+
standard-rubocop-lts (2.0.5)
171+
standard (~> 1.54, >= 1.54.0)
172+
standard-custom (~> 1.0, >= 1.0.2)
173+
standard-performance (~> 1.9, >= 1.9.0)
174+
version_gem (~> 1.1, >= 1.1.11)
175+
stringio (3.2.0)
176+
tsort (0.2.0)
177+
unicode-display_width (3.2.0)
178+
unicode-emoji (~> 4.1)
179+
unicode-emoji (4.2.0)
180+
version_gem (1.1.12)
181+
zeitwerk (2.8.2)
148182

149183
PLATFORMS
150184
ruby
@@ -161,6 +195,7 @@ DEPENDENCIES
161195
rspec (>= 3.0)
162196
rubocop-gradual (>= 0.3)
163197
rubocop-lts (~> 24.0)
198+
rubocop-lts-rspec (>= 1.0.3)
164199
rubocop-performance (>= 1.0)
165200
rubocop-rake (>= 0.1)
166201
rubocop-rspec (>= 2.0)

lib/service_actor/checkable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module PrependedMethods
1212
ServiceActor::Checks::TypeCheck,
1313
ServiceActor::Checks::MustCheck,
1414
ServiceActor::Checks::InclusionCheck,
15-
ServiceActor::Checks::NilCheck,
15+
ServiceActor::Checks::NilCheck
1616
].freeze
1717
private_constant :CHECK_CLASSES
1818

lib/service_actor/checks/must_check.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def prepared_message_with(nested_check_name, nested_check_conditions)
9898
return if check.call(value)
9999

100100
message
101-
rescue StandardError => e
101+
rescue => e
102102
"The \"#{input_key}\" input on \"#{actor}\" has an error in the code " \
103103
"inside \"#{nested_check_name}\": [#{e.class}] #{e.message}"
104104
end

lib/service_actor/checks/type_check.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
# }
2626
# end
2727
class ServiceActor::Checks::TypeCheck < ServiceActor::Checks::Base
28-
DEFAULT_MESSAGE = lambda do
29-
|origin:, input_key:, actor:, expected_type:, given_type:|
30-
28+
DEFAULT_MESSAGE = lambda do |origin:, input_key:, actor:, expected_type:, given_type:|
3129
"The \"#{input_key}\" #{origin} on \"#{actor}\" must be of type " \
3230
"\"#{expected_type}\" but was \"#{given_type}\""
3331
end

lib/service_actor/core.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ def initialize(result)
3737
end
3838

3939
# To implement in your actors.
40-
def call; end
40+
def call
41+
end
4142

4243
# To implement in your actors.
43-
def rollback; end
44+
def rollback
45+
end
4446

4547
# This method is used internally to override behavior on call. Overriding
4648
# `call` instead would mean that end-users have to call `super` in their

service_actor.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ Gem::Specification.new do |spec|
5656
# https://github.com/sunny/actor/pull/126#issuecomment-1966682674
5757
spec.add_development_dependency "standard-rubocop-lts", ">= 1.0.10"
5858

59+
spec.add_development_dependency "rubocop-lts-rspec", ">= 1.0.3"
60+
5961
# Update RuboCop rules gradually.
6062
# rubocop-lts dependency. Can be removed when RuboCop LTS is upgraded.
6163
spec.add_development_dependency "rubocop-gradual", ">= 0.3"

0 commit comments

Comments
 (0)