Skip to content

Commit 9d75067

Browse files
committed
Ruby 3.4
1 parent 5aba542 commit 9d75067

4 files changed

Lines changed: 63 additions & 57 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby-version: ["3.3"]
22+
ruby-version: ["3.4"]
2323

2424
steps:
2525
- uses: actions/checkout@v4
@@ -42,15 +42,13 @@ jobs:
4242
- name: Set up Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: "3.3"
45+
ruby-version: .ruby-version
4646
bundler-cache: true
4747
- name: Run Rubocop
4848
run: |
4949
gem install rubocop-rails rubocop-rspec rubocop-performance rubocop-md rubocop-rake rubocop-graphql rubocop-rspec_rails rubocop-sidekiq rubocop-yard rubocop-factory_bot
50-
git clone https://gist.github.com/65e21b9e8b0d1db285dcb4fc627b98fa.git .rubocop
51-
cp .rubocop/.rubocop.yml .rubocop-ruby.yml
52-
git clone https://gist.github.com/14cfa24d53c12bf385871e9b93b95c37.git .rubocop-rspec
53-
cp .rubocop-rspec/.rubocop-rspec.yml .
50+
curl https://gist.githubusercontent.com/RISCfuture/65e21b9e8b0d1db285dcb4fc627b98fa/raw/.rubocop.yml > .rubocop-ruby.yml
51+
curl -O https://gist.githubusercontent.com/RISCfuture/14cfa24d53c12bf385871e9b93b95c37/raw/.rubocop-rspec.yml
5452
cat .rubocop.yml | sed -e 's/~\/.rubocop/.rubocop/' | sed -e 's/.rubocop.yml/.rubocop-ruby.yml/' > .rubocop2.yml
5553
mv .rubocop2.yml .rubocop.yml
5654
rubocop --parallel

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.6
1+
3.4.8

Gemfile.lock

Lines changed: 57 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activemodel (7.2.2)
5-
activesupport (= 7.2.2)
6-
activerecord (7.2.2)
7-
activemodel (= 7.2.2)
8-
activesupport (= 7.2.2)
4+
activemodel (8.1.1)
5+
activesupport (= 8.1.1)
6+
activerecord (8.1.1)
7+
activemodel (= 8.1.1)
8+
activesupport (= 8.1.1)
99
timeout (>= 0.4.0)
10-
activesupport (7.2.2)
10+
activesupport (8.1.1)
1111
base64
12-
benchmark (>= 0.3)
1312
bigdecimal
1413
concurrent-ruby (~> 1.0, >= 1.3.1)
1514
connection_pool (>= 2.2.5)
1615
drb
1716
i18n (>= 1.6, < 2)
17+
json
1818
logger (>= 1.4.2)
1919
minitest (>= 5.1)
2020
securerandom (>= 0.3)
2121
tzinfo (~> 2.0, >= 2.0.5)
22-
addressable (2.8.7)
23-
public_suffix (>= 2.0.2, < 7.0)
24-
base64 (0.2.0)
25-
benchmark (0.3.0)
26-
bigdecimal (3.1.8)
22+
uri (>= 0.13.1)
23+
addressable (2.8.8)
24+
public_suffix (>= 2.0.2, < 8.0)
25+
base64 (0.3.0)
26+
bigdecimal (4.0.1)
2727
builder (3.3.0)
28-
concurrent-ruby (1.3.4)
29-
connection_pool (2.4.1)
28+
concurrent-ruby (1.3.6)
29+
connection_pool (3.0.2)
3030
descendants_tracker (0.0.4)
3131
thread_safe (~> 0.3, >= 0.3.1)
32-
diff-lcs (1.5.1)
33-
drb (2.2.1)
32+
diff-lcs (1.6.2)
33+
drb (2.2.3)
3434
faraday (1.10.4)
3535
faraday-em_http (~> 1.0)
3636
faraday-em_synchrony (~> 1.0)
@@ -44,38 +44,39 @@ GEM
4444
faraday-retry (~> 1.0)
4545
ruby2_keywords (>= 0.0.4)
4646
faraday-em_http (1.0.0)
47-
faraday-em_synchrony (1.0.0)
47+
faraday-em_synchrony (1.0.1)
4848
faraday-excon (1.1.0)
4949
faraday-httpclient (1.0.1)
50-
faraday-multipart (1.0.4)
51-
multipart-post (~> 2)
50+
faraday-multipart (1.1.1)
51+
multipart-post (~> 2.0)
5252
faraday-net_http (1.0.2)
5353
faraday-net_http_persistent (1.2.0)
5454
faraday-patron (1.0.0)
5555
faraday-rack (1.0.0)
5656
faraday-retry (1.0.3)
57-
git (2.3.1)
57+
git (4.0.6)
5858
activesupport (>= 5.0)
5959
addressable (~> 2.8)
60-
process_executer (~> 1.1)
61-
rchardet (~> 1.8)
60+
process_executer (~> 4.0)
61+
rchardet (~> 1.9)
6262
github_api (0.19.0)
6363
addressable (~> 2.4)
6464
descendants_tracker (~> 0.0.4)
6565
faraday (>= 0.8, < 2)
6666
hashie (~> 3.5, >= 3.5.2)
6767
oauth2 (~> 1.0)
6868
hashie (3.6.0)
69-
highline (3.1.1)
69+
highline (3.1.2)
7070
reline
7171
httpi (4.0.4)
7272
base64
7373
mutex_m
7474
nkf
7575
rack (>= 2.0, < 4)
76-
i18n (1.14.6)
76+
i18n (1.14.8)
7777
concurrent-ruby (~> 1.0)
78-
io-console (0.7.2)
78+
io-console (0.8.2)
79+
json (2.18.0)
7980
juwelier (2.4.9)
8081
builder
8182
bundler
@@ -88,65 +89,71 @@ GEM
8889
rake
8990
rdoc
9091
semver2
91-
jwt (2.9.3)
92+
jwt (2.10.2)
9293
base64
9394
kamelcase (0.0.2)
9495
semver2 (~> 3)
95-
logger (1.6.1)
96-
minitest (5.25.1)
97-
multi_json (1.15.0)
98-
multi_xml (0.7.1)
99-
bigdecimal (~> 3.1)
96+
logger (1.7.0)
97+
minitest (6.0.0)
98+
prism (~> 1.5)
99+
multi_json (1.18.0)
100+
multi_xml (0.8.0)
101+
bigdecimal (>= 3.1, < 5)
100102
multipart-post (2.4.1)
101-
mutex_m (0.2.0)
103+
mutex_m (0.3.0)
102104
nkf (0.2.0)
103-
nokogiri (1.16.7-arm64-darwin)
105+
nokogiri (1.18.10-arm64-darwin)
104106
racc (~> 1.4)
105-
nokogiri (1.16.7-x86_64-linux)
107+
nokogiri (1.18.10-x86_64-linux-gnu)
106108
racc (~> 1.4)
107109
oauth2 (1.4.11)
108110
faraday (>= 0.17.3, < 3.0)
109111
jwt (>= 1.0, < 3.0)
110112
multi_json (~> 1.3)
111113
multi_xml (~> 0.5)
112114
rack (>= 1.2, < 4)
113-
process_executer (1.2.0)
115+
prism (1.7.0)
116+
process_executer (4.0.0)
117+
track_open_instances (~> 0.1)
114118
psych (3.3.4)
115-
public_suffix (6.0.1)
119+
public_suffix (7.0.0)
116120
racc (1.8.1)
117-
rack (3.1.8)
118-
rake (13.2.1)
119-
rchardet (1.8.0)
121+
rack (3.2.4)
122+
rake (13.3.1)
123+
rchardet (1.10.0)
120124
rdoc (6.3.4.1)
121-
redcarpet (3.6.0)
122-
reline (0.5.10)
125+
redcarpet (3.6.1)
126+
reline (0.6.3)
123127
io-console (~> 0.5)
124-
rspec (3.13.0)
128+
rspec (3.13.2)
125129
rspec-core (~> 3.13.0)
126130
rspec-expectations (~> 3.13.0)
127131
rspec-mocks (~> 3.13.0)
128-
rspec-core (3.13.2)
132+
rspec-core (3.13.6)
129133
rspec-support (~> 3.13.0)
130-
rspec-expectations (3.13.3)
134+
rspec-expectations (3.13.5)
131135
diff-lcs (>= 1.2.0, < 2.0)
132136
rspec-support (~> 3.13.0)
133-
rspec-mocks (3.13.2)
137+
rspec-mocks (3.13.7)
134138
diff-lcs (>= 1.2.0, < 2.0)
135139
rspec-support (~> 3.13.0)
136-
rspec-support (3.13.1)
140+
rspec-support (3.13.6)
137141
ruby2_keywords (0.0.5)
138-
securerandom (0.3.1)
142+
securerandom (0.4.1)
139143
semver2 (3.4.2)
140144
thread_safe (0.3.6)
141-
timeout (0.4.2)
145+
timeout (0.6.0)
146+
track_open_instances (0.1.15)
142147
tzinfo (2.0.6)
143148
concurrent-ruby (~> 1.0)
144-
yard (0.9.37)
149+
uri (1.1.1)
150+
yard (0.9.38)
145151

146152
PLATFORMS
147153
arm64-darwin-22
148154
arm64-darwin-23
149155
arm64-darwin-24
156+
arm64-darwin-25
150157
x86_64-linux
151158

152159
DEPENDENCIES
@@ -161,4 +168,4 @@ DEPENDENCIES
161168
yard
162169

163170
BUNDLED WITH
164-
2.5.23
171+
4.0.3

spec/url_validator_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
class Record
77
extend ActiveModel::Translation
88
include ActiveModel::Validations
9+
910
attr_accessor :field
1011
end
1112

0 commit comments

Comments
 (0)