Skip to content

Commit

Permalink
Bump Ruby version to 3.0.3 (#2523)
Browse files Browse the repository at this point in the history
* Bump Ruby version to 3.0.3

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

* Update Gemfile.lock
  • Loading branch information
bcoles authored Aug 1, 2022
1 parent 7798316 commit 8d98a8e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AllCops:
- 'tmp/**/*'
- 'tools/**/*'
- 'doc/**/*'
TargetRubyVersion: 2.7
TargetRubyVersion: 3.0
NewCops: enable

Layout/LineLength:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.4
3.0.3
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
19 changes: 14 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -272,29 +280,30 @@ 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
rubocop (~> 1.32.0)
rubyzip (>= 1.2.2)
rushover
selenium-webdriver
sinatra (>= 2.0.2)
sinatra (>= 2.2.0)
slack-notifier
sqlite3
term-ansicolor
test-unit
test-unit-full
thin
twitter (>= 7.0.0)
uglifier (>= 2.7.2)
uglifier (>= 4.2.0)
unf
websocket-client-simple (~> 0.5.1)
xmlrpc
Expand Down

0 comments on commit 8d98a8e

Please sign in to comment.