Skip to content

Commit 558941f

Browse files
committed
Ruby 3.2
1 parent e7f7456 commit 558941f

File tree

4 files changed

+39
-40
lines changed

4 files changed

+39
-40
lines changed

.github/workflows/ruby.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
ruby-version: ["2.7", "3.0", "3.1"]
22+
ruby-version: ["3.2"]
2323

2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2626
- name: Set up Ruby
2727
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
2828
# change this to (see https://github.com/ruby/setup-ruby#versioning):
@@ -38,15 +38,15 @@ jobs:
3838
name: Linters
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v3
4242
- name: Set up Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: "3.1"
45+
ruby-version: "3.2"
4646
bundler-cache: true
4747
- name: Run Rubocop
4848
run: |
49-
gem install rubocop-rspec rubocop-performance
49+
gem install rubocop-rspec rubocop-performance rubocop-rake rubocop-md
5050
git clone https://gist.github.com/65e21b9e8b0d1db285dcb4fc627b98fa.git .rubocop
5151
cp .rubocop/.rubocop.yml .rubocop-ruby.yml
5252
git clone https://gist.github.com/14cfa24d53c12bf385871e9b93b95c37.git .rubocop-rspec

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.3
1+
3.2.2

Gemfile.lock

+31-32
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activemodel (7.0.4)
5-
activesupport (= 7.0.4)
6-
activerecord (7.0.4)
7-
activemodel (= 7.0.4)
8-
activesupport (= 7.0.4)
9-
activesupport (7.0.4)
4+
activemodel (7.0.7.2)
5+
activesupport (= 7.0.7.2)
6+
activerecord (7.0.7.2)
7+
activemodel (= 7.0.7.2)
8+
activesupport (= 7.0.7.2)
9+
activesupport (7.0.7.2)
1010
concurrent-ruby (~> 1.0, >= 1.0.2)
1111
i18n (>= 1.6, < 2)
1212
minitest (>= 5.1)
1313
tzinfo (~> 2.0)
14-
addressable (2.8.1)
14+
addressable (2.8.5)
1515
public_suffix (>= 2.0.2, < 6.0)
1616
builder (3.2.4)
17-
concurrent-ruby (1.1.10)
17+
concurrent-ruby (1.2.2)
1818
descendants_tracker (0.0.4)
1919
thread_safe (~> 0.3, >= 0.3.1)
2020
diff-lcs (1.5.0)
21-
faraday (1.10.2)
21+
faraday (1.10.3)
2222
faraday-em_http (~> 1.0)
2323
faraday-em_synchrony (~> 1.0)
2424
faraday-excon (~> 1.1)
@@ -41,7 +41,7 @@ GEM
4141
faraday-patron (1.0.0)
4242
faraday-rack (1.0.0)
4343
faraday-retry (1.0.3)
44-
git (1.12.0)
44+
git (1.18.0)
4545
addressable (~> 2.8)
4646
rchardet (~> 1.8)
4747
github_api (0.19.0)
@@ -51,10 +51,10 @@ GEM
5151
hashie (~> 3.5, >= 3.5.2)
5252
oauth2 (~> 1.0)
5353
hashie (3.6.0)
54-
highline (2.0.3)
54+
highline (2.1.0)
5555
httpi (3.0.1)
5656
rack
57-
i18n (1.12.0)
57+
i18n (1.14.1)
5858
concurrent-ruby (~> 1.0)
5959
juwelier (2.4.9)
6060
builder
@@ -68,16 +68,16 @@ GEM
6868
rake
6969
rdoc
7070
semver2
71-
jwt (2.5.0)
71+
jwt (2.7.1)
7272
kamelcase (0.0.2)
7373
semver2 (~> 3)
74-
mini_portile2 (2.8.0)
75-
minitest (5.16.3)
74+
minitest (5.19.0)
7675
multi_json (1.15.0)
7776
multi_xml (0.6.0)
78-
multipart-post (2.2.3)
79-
nokogiri (1.13.9)
80-
mini_portile2 (~> 2.8.0)
77+
multipart-post (2.3.0)
78+
nokogiri (1.15.4-arm64-darwin)
79+
racc (~> 1.4)
80+
nokogiri (1.15.4-x86_64-linux)
8181
racc (~> 1.4)
8282
oauth2 (1.4.11)
8383
faraday (>= 0.17.3, < 3.0)
@@ -86,37 +86,36 @@ GEM
8686
multi_xml (~> 0.5)
8787
rack (>= 1.2, < 4)
8888
psych (3.3.4)
89-
public_suffix (5.0.0)
90-
racc (1.6.0)
91-
rack (3.0.1)
89+
public_suffix (5.0.3)
90+
racc (1.7.1)
91+
rack (3.0.8)
9292
rake (13.0.6)
9393
rchardet (1.8.0)
9494
rdoc (6.3.3)
95-
redcarpet (3.5.1)
95+
redcarpet (3.6.0)
9696
rspec (3.12.0)
9797
rspec-core (~> 3.12.0)
9898
rspec-expectations (~> 3.12.0)
9999
rspec-mocks (~> 3.12.0)
100-
rspec-core (3.12.0)
100+
rspec-core (3.12.2)
101101
rspec-support (~> 3.12.0)
102-
rspec-expectations (3.12.0)
102+
rspec-expectations (3.12.3)
103103
diff-lcs (>= 1.2.0, < 2.0)
104104
rspec-support (~> 3.12.0)
105-
rspec-mocks (3.12.0)
105+
rspec-mocks (3.12.6)
106106
diff-lcs (>= 1.2.0, < 2.0)
107107
rspec-support (~> 3.12.0)
108-
rspec-support (3.12.0)
108+
rspec-support (3.12.1)
109109
ruby2_keywords (0.0.5)
110110
semver2 (3.4.2)
111111
thread_safe (0.3.6)
112-
tzinfo (2.0.5)
112+
tzinfo (2.0.6)
113113
concurrent-ruby (~> 1.0)
114-
webrick (1.7.0)
115-
yard (0.9.28)
116-
webrick (~> 1.7.0)
114+
yard (0.9.34)
117115

118116
PLATFORMS
119-
ruby
117+
arm64-darwin-22
118+
x86_64-linux
120119

121120
DEPENDENCIES
122121
activerecord
@@ -130,4 +129,4 @@ DEPENDENCIES
130129
yard
131130

132131
BUNDLED WITH
133-
2.3.26
132+
2.4.19

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ valid endpoints.
2121
Add the gem to your project's Gemfile:
2222

2323
``` ruby
24-
gem 'url_validation'
24+
gem "url_validation"
2525
```
2626

2727
## Usage
@@ -32,7 +32,7 @@ This gem is an `EachValidator`, and thus is used with the `validates` method:
3232
class User < ActiveRecord::Base
3333
validates :terms_of_service_link,
3434
presence: true,
35-
url: true
35+
url: true
3636
end
3737
```
3838

0 commit comments

Comments
 (0)