Bump Ruby version to 3.0.3 (#2523)

* Bump Ruby version to 3.0.3

* Add net-smtp to Gemfile to support Ruby 3.0 < 3.1

* Update Gemfile.lock
This commit is contained in:
bcoles
2022-08-01 16:08:26 +10:00
committed by GitHub
parent 77983167db
commit 8d98a8e205
5 changed files with 20 additions and 8 deletions

View File

@@ -42,7 +42,7 @@ jobs:
- name: 'Setting up Ruby' - name: 'Setting up Ruby'
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: 2.7.4 # Not needed with a .ruby-version file ruby-version: 3.0.3 # Not needed with a .ruby-version file
- name: 'Build and run tests' - name: 'Build and run tests'
run: | run: |

View File

@@ -4,7 +4,7 @@ AllCops:
- 'tmp/**/*' - 'tmp/**/*'
- 'tools/**/*' - 'tools/**/*'
- 'doc/**/*' - 'doc/**/*'
TargetRubyVersion: 2.7 TargetRubyVersion: 3.0
NewCops: enable NewCops: enable
Layout/LineLength: Layout/LineLength:

View File

@@ -1 +1 @@
2.7.4 3.0.3

View File

@@ -4,6 +4,9 @@
# See the file 'doc/COPYING' for copying permission # See the file 'doc/COPYING' for copying permission
# #
#gem 'simplecov', require: false, group: :test #gem 'simplecov', require: false, group: :test
gem 'net-smtp', require: false
gem 'eventmachine' gem 'eventmachine'
gem 'thin' gem 'thin'
gem 'sinatra', '>= 2.2.0' gem 'sinatra', '>= 2.2.0'

View File

@@ -45,6 +45,7 @@ GEM
curb (1.0.1) curb (1.0.1)
daemons (1.4.1) daemons (1.4.1)
diff-lcs (1.5.0) diff-lcs (1.5.0)
digest (3.1.0)
domain_name (0.5.20190701) domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0) unf (>= 0.0.5, < 1.0.0)
em-websocket (0.5.3) em-websocket (0.5.3)
@@ -103,6 +104,12 @@ GEM
mustermann (2.0.2) mustermann (2.0.2)
ruby2_keywords (~> 0.0.1) ruby2_keywords (~> 0.0.1)
naught (1.1.0) naught (1.1.0)
net-protocol (0.1.3)
timeout
net-smtp (0.3.1)
digest
net-protocol
timeout
netrc (0.11.0) netrc (0.11.0)
nio4r (2.5.8) nio4r (2.5.8)
nokogiri (1.13.8-x86_64-linux) nokogiri (1.13.8-x86_64-linux)
@@ -219,6 +226,7 @@ GEM
rack (>= 1, < 3) rack (>= 1, < 3)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.0.11) tilt (2.0.11)
timeout (0.3.0)
timers (4.3.3) timers (4.3.3)
tins (1.31.1) tins (1.31.1)
sync sync
@@ -272,13 +280,14 @@ DEPENDENCIES
maxmind-db maxmind-db
mime-types mime-types
msfrpc-client msfrpc-client
net-smtp
otr-activerecord (>= 1.4.2) otr-activerecord (>= 1.4.2)
parseconfig parseconfig
pry-byebug pry-byebug
qr4r qr4r
rack (>= 2.2.3.1) rack (>= 2.2.4)
rack-protection (>= 2.0.0) rack-protection (>= 2.2.0)
rake (>= 12.3.3) rake (>= 13.0)
rdoc rdoc
rest-client (>= 2.1.0) rest-client (>= 2.1.0)
rspec rspec
@@ -286,7 +295,7 @@ DEPENDENCIES
rubyzip (>= 1.2.2) rubyzip (>= 1.2.2)
rushover rushover
selenium-webdriver selenium-webdriver
sinatra (>= 2.0.2) sinatra (>= 2.2.0)
slack-notifier slack-notifier
sqlite3 sqlite3
term-ansicolor term-ansicolor
@@ -294,7 +303,7 @@ DEPENDENCIES
test-unit-full test-unit-full
thin thin
twitter (>= 7.0.0) twitter (>= 7.0.0)
uglifier (>= 2.7.2) uglifier (>= 4.2.0)
unf unf
websocket-client-simple (~> 0.5.1) websocket-client-simple (~> 0.5.1)
xmlrpc xmlrpc