Skip to content

Commit

Permalink
Update gems including ruby and bundler version (#241)
Browse files Browse the repository at this point in the history
* Update gems

* Replace version 3.2.2  to 3.3.4 for tests 

* Update Readme

* Fix deprecated message info

* Add version to the missing gems

* Fix rubocop offenses
  • Loading branch information
luciagirasoles authored Sep 2, 2024
1 parent 1f1c984 commit ad12927
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 42 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
ruby: ['3.2.2']
ruby: ['3.3.4']
runs-on: ubuntu-20.04
services:
postgres:
Expand All @@ -27,7 +27,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install Bundler
run: gem install bundler:2.4.5
run: gem install bundler:2.5.18
- name: Run yarn commands
run: |
yarn install
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.4
26 changes: 16 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '~> 3.2'
ruby '~> 3.3.4'

gem 'devise', '~>4.9.2'

Expand All @@ -18,7 +18,7 @@ gem 'sassc-rails', '~> 2.1.2'
gem 'shakapacker', '= 7.2.1'
gem 'slack-ruby-client', '~> 2.0.0'

gem 'bootsnap', '>= 1.4.4', require: false
gem 'bootsnap', '>= 1.18.4', require: false
gem 'jwt', '>= 2.6.0'
gem 'pundit', '>= 2.3.0'

Expand All @@ -42,13 +42,20 @@ gem 'httpparty', '~> 0.2'
# pagination
gem 'pagy', '~> 6.2'

# timezones
gem 'tzinfo-data', '~> 2.0',platforms: %i[mingw mswin x64_mingw jruby]

# Explicitly depend on and compile nokogiri
# so we can run CI on Ruby head
gem 'nokogiri', '~> 1.16', force_ruby_platform: true

group :development, :test do
# Annotate models, routes, fixtures, and others based on the database schema
gem 'annotate', '~> 3.2.0'

# Call 'byebug' anywhere in the code to stop execution and get a
# debugger console
gem 'byebug', platforms: %i[mri mingw x64_mingw]
gem 'byebug', '~> 11.1.3', platforms: %i[mri mingw x64_mingw]

# Generates fake data
gem 'faker', '~> 2.18.0'
Expand All @@ -72,13 +79,12 @@ end

group :test do
gem 'capybara', '>=3.39.2'
gem 'factory_bot_rails', '~> 6.2.0'
gem 'selenium-webdriver', '~> 4.15'
gem 'factory_bot_rails', '~> 6.4.3'
gem 'launchy', '~>3.0.1'
gem 'selenium-webdriver', '~> 4.24'
gem 'shoulda-matchers', '~>5.3.0'
end

gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]

# Explicitly depend on and compile nokogiri
# so we can run CI on Ruby head
gem 'nokogiri', '~> 1.16', force_ruby_platform: true
# bug deprecate gems not longer in ruby standard warning
gem 'drb', '~> 2.2.1'
gem 'mutex_m', '~> 0.2.0'
65 changes: 37 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,10 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (5.1.0)
logger (~> 1.5)
coderay (1.1.3)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
crass (1.0.6)
cssbundling-rails (1.4.1)
railties (>= 6.0.0)
Expand All @@ -118,23 +120,24 @@ GEM
responders
warden (~> 1.2.3)
diff-lcs (1.5.1)
drb (2.2.1)
erubi (1.13.0)
factory_bot (6.2.1)
factory_bot (6.4.6)
activesupport (>= 5.0.0)
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
factory_bot_rails (6.4.3)
factory_bot (~> 6.4)
railties (>= 5.0.0)
faker (2.18.0)
i18n (>= 1.6, < 2)
faraday (2.10.1)
faraday-net_http (>= 2.0, < 3.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
logger
faraday-mashify (0.1.1)
faraday (~> 2.0)
hashie
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (3.1.1)
faraday-net_http (3.3.0)
net-http
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
Expand Down Expand Up @@ -183,6 +186,9 @@ GEM
jwt (2.8.2)
base64
language_server-protocol (3.17.0.3)
launchy (3.0.1)
addressable (~> 2.8)
childprocess (~> 5.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand All @@ -201,15 +207,16 @@ GEM
method_source (1.1.0)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.24.1)
minitest (5.25.1)
msgpack (1.7.2)
multi_json (1.15.0)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
multipart-post (2.4.1)
mutex_m (0.2.0)
net-http (0.4.1)
uri
net-imap (0.4.14)
net-imap (0.4.15)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -226,8 +233,8 @@ GEM
os (1.1.4)
package_json (0.1.0)
pagy (6.5.0)
parallel (1.25.1)
parser (3.3.4.0)
parallel (1.26.3)
parser (3.3.4.2)
ast (~> 2.4.1)
racc
pg (1.4.6)
Expand All @@ -242,7 +249,7 @@ GEM
public_suffix (6.0.1)
puma (6.4.2)
nio4r (~> 2.0)
pundit (2.3.2)
pundit (2.4.0)
activesupport (>= 3.0.0)
racc (1.8.1)
rack (2.2.9)
Expand Down Expand Up @@ -306,13 +313,13 @@ GEM
strscan
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
rspec-expectations (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.3)
rspec-rails (6.1.4)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
Expand All @@ -321,18 +328,17 @@ GEM
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.65.1)
rubocop (1.66.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (>= 1.32.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.0)
rubocop-ast (1.32.1)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
rubyzip (2.3.2)
Expand All @@ -344,7 +350,7 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
selenium-webdriver (4.23.0)
selenium-webdriver (4.24.0)
base64 (~> 0.2)
logger (~> 1.4)
rexml (~> 3.2, >= 3.2.5)
Expand Down Expand Up @@ -382,7 +388,7 @@ GEM
railties (>= 6.0.0)
stringio (3.1.1)
strscan (3.1.0)
thor (1.3.1)
thor (1.3.2)
tilt (2.4.0)
timeout (0.4.1)
trailblazer-option (0.1.2)
Expand All @@ -395,7 +401,7 @@ GEM
concurrent-ruby (~> 1.0)
uber (0.1.0)
unicode-display_width (2.5.0)
uri (0.13.0)
uri (0.13.1)
warden (1.2.9)
rack (>= 2.0.9)
web-console (4.2.1)
Expand All @@ -417,20 +423,23 @@ PLATFORMS

DEPENDENCIES
annotate (~> 3.2.0)
bootsnap (>= 1.4.4)
byebug
bootsnap (>= 1.18.4)
byebug (~> 11.1.3)
capybara (>= 3.39.2)
cssbundling-rails (~> 1.1)
debug (~> 1.7.1)
devise (~> 4.9.2)
factory_bot_rails (~> 6.2.0)
drb (~> 2.2.1)
factory_bot_rails (~> 6.4.3)
faker (~> 2.18.0)
google_drive!
httpparty (~> 0.2)
jbuilder (~> 2.7)
jsbundling-rails (~> 1.1)
jwt (>= 2.6.0)
launchy (~> 3.0.1)
listen (~> 3.3)
mutex_m (~> 0.2.0)
nokogiri (~> 1.16)
pagy (~> 6.2)
pg (~> 1.4.5)
Expand All @@ -444,18 +453,18 @@ DEPENDENCIES
rspec-rails (~> 6.1.1)
rubocop (~> 1.22)
sassc-rails (~> 2.1.2)
selenium-webdriver (~> 4.15)
selenium-webdriver (~> 4.24)
shakapacker (= 7.2.1)
shoulda-matchers (~> 5.3.0)
slack-ruby-client (~> 2.0.0)
stimulus-rails (~> 1.2.1)
truncate_html (~> 0.9.3)
turbo-rails (~> 1.4.0)
tzinfo-data
tzinfo-data (~> 2.0)
web-console (>= 4.1.0)

RUBY VERSION
ruby 3.2.2p53
ruby 3.3.4p94

BUNDLED WITH
2.4.10
2.5.18
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ All contributors to this repository must follow the [WNB.rb code of conduct](htt

Before you try to set up this app, make sure you have the following installed on your machine:

- Ruby (3.2.2)
- Ruby (3.3.4)
- Node (16.3.0) + Yarn
- Postgres (13.3)
- [Foreman](https://github.com/ddollar/foreman) for managing multiple servers
Expand Down

0 comments on commit ad12927

Please sign in to comment.