Skip to content

Commit 70ad511

Browse files
authored
Merge pull request #10 from scribd/jimp/ruby_2.7.4
fix: update to ruby 2.7.4
2 parents 337c928 + a73e31c commit 70ad511

File tree

4 files changed

+46
-42
lines changed

4 files changed

+46
-42
lines changed

.github/workflows/rspec_and_release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ on:
77
jobs:
88
rspec:
99
runs-on: ubuntu-latest
10-
1110
steps:
12-
- uses: actions/checkout@v2
13-
- name: Set up Ruby 2.5.8
14-
uses: actions/setup-ruby@v1
11+
- uses: actions/checkout@v3
12+
13+
- name: Set up Ruby 2.7.4
14+
uses: ruby/setup-ruby@v1
1515
with:
16-
ruby-version: 2.5.8
16+
ruby-version: 2.7.4
1717
- name: Test with Rspec
1818
run: |
19-
gem install --no-rdoc --no-ri bundler
19+
gem install bundler
2020
bundle install --jobs 4 --retry 3
2121
bundle exec rspec
2222
release:
@@ -25,25 +25,25 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
steps:
28-
- uses: actions/checkout@v2
29-
- name: Set up Ruby 2.5.8
30-
uses: actions/setup-ruby@v1
28+
- uses: actions/checkout@v3
29+
- name: Set up Ruby 2.7.4
30+
uses: ruby/setup-ruby@v1
3131
with:
32-
ruby-version: 2.5.8
32+
ruby-version: 2.7.4
3333
- name: Build with bundler
3434
run: |
35-
gem install --no-rdoc --no-ri bundler
35+
gem install bundler
3636
bundle install --jobs 4 --retry 3 --deployment --without "development test"
3737
- name: Zip
3838
run : |
3939
zip -r slowlog_check.zip ./*
4040
- name: Semantic Release
4141
id: semantic
42-
uses: cycjimmy/semantic-release-action@v2
42+
uses: cycjimmy/semantic-release-action@v3
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
with:
46-
semantic_version: 17
46+
semantic_version: 19
4747
extra_plugins: |
4848
@semantic-release/changelog
4949
@semantic-release/git

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.5.8
1+
ruby-2.7.4

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
source 'https://rubygems.org'
4-
ruby '2.5.8'
4+
ruby '2.7.4'
55

66
gem 'dogapi'
77
gem 'redis'

Gemfile.lock

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,63 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
coderay (1.1.2)
5-
diff-lcs (1.3)
6-
dogapi (1.40.0)
4+
coderay (1.1.3)
5+
connection_pool (2.3.0)
6+
diff-lcs (1.5.0)
7+
dogapi (1.45.0)
78
multi_json
8-
ffi (1.12.2)
9-
formatador (0.2.5)
10-
guard (2.16.2)
9+
ffi (1.15.5)
10+
formatador (1.1.0)
11+
guard (2.18.0)
1112
formatador (>= 0.2.4)
1213
listen (>= 2.7, < 4.0)
1314
lumberjack (>= 1.0.12, < 2.0)
1415
nenv (~> 0.1)
1516
notiffany (~> 0.0)
16-
pry (>= 0.9.12)
17+
pry (>= 0.13.0)
1718
shellany (~> 0.0)
1819
thor (>= 0.18.1)
1920
guard-compat (1.2.1)
2021
guard-rspec (4.7.3)
2122
guard (~> 2.1)
2223
guard-compat (~> 1.1)
2324
rspec (>= 2.99.0, < 4.0)
24-
listen (3.2.1)
25+
listen (3.8.0)
2526
rb-fsevent (~> 0.10, >= 0.10.3)
2627
rb-inotify (~> 0.9, >= 0.9.10)
27-
lumberjack (1.2.4)
28+
lumberjack (1.2.8)
2829
method_source (1.0.0)
29-
multi_json (1.14.1)
30+
multi_json (1.15.0)
3031
nenv (0.3.0)
3132
notiffany (0.1.3)
3233
nenv (~> 0.1)
3334
shellany (~> 0.0)
34-
pry (0.13.1)
35+
pry (0.14.2)
3536
coderay (~> 1.1)
3637
method_source (~> 1.0)
37-
rb-fsevent (0.10.3)
38+
rb-fsevent (0.11.2)
3839
rb-inotify (0.10.1)
3940
ffi (~> 1.0)
40-
redis (4.1.3)
41-
rspec (3.9.0)
42-
rspec-core (~> 3.9.0)
43-
rspec-expectations (~> 3.9.0)
44-
rspec-mocks (~> 3.9.0)
45-
rspec-core (3.9.1)
46-
rspec-support (~> 3.9.1)
47-
rspec-expectations (3.9.1)
41+
redis (5.0.6)
42+
redis-client (>= 0.9.0)
43+
redis-client (0.12.1)
44+
connection_pool
45+
rspec (3.12.0)
46+
rspec-core (~> 3.12.0)
47+
rspec-expectations (~> 3.12.0)
48+
rspec-mocks (~> 3.12.0)
49+
rspec-core (3.12.1)
50+
rspec-support (~> 3.12.0)
51+
rspec-expectations (3.12.2)
4852
diff-lcs (>= 1.2.0, < 2.0)
49-
rspec-support (~> 3.9.0)
50-
rspec-mocks (3.9.1)
53+
rspec-support (~> 3.12.0)
54+
rspec-mocks (3.12.3)
5155
diff-lcs (>= 1.2.0, < 2.0)
52-
rspec-support (~> 3.9.0)
53-
rspec-support (3.9.2)
56+
rspec-support (~> 3.12.0)
57+
rspec-support (3.12.0)
5458
shellany (0.0.1)
55-
thor (1.0.1)
56-
timecop (0.9.1)
59+
thor (1.2.1)
60+
timecop (0.9.6)
5761

5862
PLATFORMS
5963
ruby
@@ -67,7 +71,7 @@ DEPENDENCIES
6771
timecop
6872

6973
RUBY VERSION
70-
ruby 2.5.8p224
74+
ruby 2.7.4p191
7175

7276
BUNDLED WITH
7377
2.1.4

0 commit comments

Comments
 (0)