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'
uses: ruby/setup-ruby@v1
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'
run: |

View File

@@ -4,7 +4,7 @@ AllCops:
- 'tmp/**/*'
- 'tools/**/*'
- 'doc/**/*'
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable
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
#
#gem 'simplecov', require: false, group: :test
gem 'net-smtp', require: false
gem 'eventmachine'
gem 'thin'
gem 'sinatra', '>= 2.2.0'

View File

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