Skip to content

Commit

Permalink
fix: update to ruby 2.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jim80net committed Feb 9, 2023
1 parent 337c928 commit 2b0bc50
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 40 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/rspec_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ on:
jobs:
rspec:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.5.8
uses: actions/setup-ruby@v1
- uses: actions/checkout@v3

- name: Set up Ruby 2.7.4
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.8
ruby-version: 2.7.4
- name: Test with Rspec
run: |
gem install --no-rdoc --no-ri bundler
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rspec
release:
Expand All @@ -25,14 +25,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.5.8
uses: actions/setup-ruby@v1
- uses: actions/checkout@v3
- name: Set up Ruby 2.7.4
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.8
ruby-version: 2.7.4
- name: Build with bundler
run: |
gem install --no-rdoc --no-ri bundler
gem install bundler
bundle install --jobs 4 --retry 3 --deployment --without "development test"
- name: Zip
run : |
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.5.8
ruby-2.7.4
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'
ruby '2.5.8'
ruby '2.7.4'

gem 'dogapi'
gem 'redis'
Expand Down
58 changes: 31 additions & 27 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,59 +1,63 @@
GEM
remote: https://rubygems.org/
specs:
coderay (1.1.2)
diff-lcs (1.3)
dogapi (1.40.0)
coderay (1.1.3)
connection_pool (2.3.0)
diff-lcs (1.5.0)
dogapi (1.45.0)
multi_json
ffi (1.12.2)
formatador (0.2.5)
guard (2.16.2)
ffi (1.15.5)
formatador (1.1.0)
guard (2.18.0)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
pry (>= 0.13.0)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-rspec (4.7.3)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
listen (3.2.1)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.2.4)
lumberjack (1.2.8)
method_source (1.0.0)
multi_json (1.14.1)
multi_json (1.15.0)
nenv (0.3.0)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
pry (0.13.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
rb-fsevent (0.10.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
redis (4.1.3)
rspec (3.9.0)
rspec-core (~> 3.9.0)
rspec-expectations (~> 3.9.0)
rspec-mocks (~> 3.9.0)
rspec-core (3.9.1)
rspec-support (~> 3.9.1)
rspec-expectations (3.9.1)
redis (5.0.6)
redis-client (>= 0.9.0)
redis-client (0.12.1)
connection_pool
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.1)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-mocks (3.9.1)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.2)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
shellany (0.0.1)
thor (1.0.1)
timecop (0.9.1)
thor (1.2.1)
timecop (0.9.6)

PLATFORMS
ruby
Expand All @@ -67,7 +71,7 @@ DEPENDENCIES
timecop

RUBY VERSION
ruby 2.5.8p224
ruby 2.7.4p191

BUNDLED WITH
2.1.4

0 comments on commit 2b0bc50

Please sign in to comment.