Skip to content

Commit

Permalink
Upgrades to ruby 3.3.0 and rails 6.1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed Mar 7, 2024
1 parent 0f7c236 commit daa78b2
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 160 deletions.
7 changes: 3 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ executors:
- image: docker:20.10.23

orbs:
browser-tools: circleci/[email protected].1
browser-tools: circleci/[email protected].7
coveralls: coveralls/[email protected]
jobs:
build:
docker:
# specify the version you desire here
- image: cimg/ruby:3.2.2-browsers
- image: cimg/ruby:3.3.0-browsers
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
Expand All @@ -39,8 +39,7 @@ jobs:

steps:

- browser-tools/install-chrome
- browser-tools/install-chromedriver
- browser-tools/install-browser-tools
- checkout

- restore_cache:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ jobs:
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run rubocop
Expand All @@ -23,7 +22,9 @@ jobs:
run: bundle exec rake
- name: Coveralls
uses: coverallsapp/github-action@v2
- name: Bundler Audit Action
uses: andrewmcodes/[email protected]
- name: Brakeman linter
run: bundle exec brakeman --no-exit-on-warn --no-exit-on-error
- name: 'Bundler Audit'
# uses: andrewmcodes/bundler-audit-action@main
- name: 'Run Bundler Audit'
run: bundle exec bundler-audit
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.0
10 changes: 5 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '3.2.2'
ruby '3.3.0'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.1.7.4'
gem 'rails', '~> 6.1.7.7'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
Expand Down Expand Up @@ -59,6 +59,8 @@ gem 'recaptcha'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

gem 'bigdecimal'

# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

Expand Down Expand Up @@ -104,9 +106,7 @@ end
group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of webdrivers to run system tests
gem 'webdrivers', '~> 4.0', require: false
gem 'selenium-webdriver', '~> 4.18.1'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
Loading

0 comments on commit daa78b2

Please sign in to comment.