Skip to content

Commit

Permalink
Merge pull request #40 from Adrian-Hirt/ruby_and_rails_updates
Browse files Browse the repository at this point in the history
Ruby and rails updates
  • Loading branch information
Adrian-Hirt authored Jan 7, 2024
2 parents 2330639 + 2de9533 commit cd900eb
Show file tree
Hide file tree
Showing 39 changed files with 295 additions and 222 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
ruby-version: 3.3.0
bundler-cache: true
- name: Set up Node
uses: actions/setup-node@v1
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-3.2.2
ruby-3.3.0
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
# Changelog

## 1.10.0 - 2024-01-07

### Changed

* Updated ruby version to `3.3.0`
* Updated gem dependencies

### Fixed

* Fixed an exception in the orders show view

### Added

* Added ability to set multiple exception recipients

### Upgrading instructions

* Rename the env var (e.g. in your `.env` file) `EXCEPTION_NOTIFIER_RECIPIENT`
to `EXCEPTION_NOTIFIER_RECIPIENTS` (now pluralized). You can now set multiple
recipients by setting the variable to a string containing all email addresses,
delimited by a semicolon `;`, e.g. `"foo@example.com; bar@example.com"`

## 1.9.7 - 2023-12-07

### Fixed

* Fix a previously introduced bug

## 1.9.6 - 2023-12-07

### Fixed

* Fix a bug in singleplayer tournament signup

## 1.9.5 - 2023-10-21
Expand Down
5 changes: 4 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ variables set as well:
For the exception notification:

* `ENABLE_EXCEPTION_NOTIFIER`
* `EXCEPTION_NOTIFIER_RECIPIENT`
* `EXCEPTION_NOTIFIER_RECIPIENTS` (optional, only if `ENABLE_EXCEPTION_NOTIFIER` is `true`)
* `EXCEPTION_NOTIFIER_SENDER` (optional)

If you want to add more than one recipient, you can pass in a string where the recipients
are delimited by a semicolon `;`, e.g. `"foo@example.com; bar@example.com`

For the devise mailer

* `DEVISE_MAIL_SENDER` (optional)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use ruby image to build our own image
FROM ruby:3.2.2
FROM ruby:3.3.0

# Install dependencies
RUN apt-get update -qq && apt-get install -y postgresql-client libvips cron \
Expand Down
30 changes: 15 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
source 'https://rubygems.org'

ruby '3.2.2'
ruby '3.3.0'

# Rails and rails-y stuff
gem 'bootsnap', '>= 1.4.4', require: false
gem 'rails', '~> 7.0.7'
gem 'rails', '~> 7.1.2'

# Authentication & Authorization
gem 'cancancan', '~> 3.5.0'
gem 'devise', '~> 4.9'
gem 'devise-two-factor', '~> 5.0.0'
gem 'doorkeeper', '~> 5.6.5'
gem 'doorkeeper-openid_connect', '~> 1.8.4'
gem 'recaptcha', '~> 5.14.0'
gem 'recaptcha', '~> 5.16.0'

# Session handling
gem 'activerecord-session_store', '~> 2.0.0'
gem 'activerecord-session_store', '~> 2.1.0'

# Puma
gem 'puma', '~> 6.3'
gem 'puma', '~> 6.4'

# Database
gem 'pg', '~> 1.5.3'

# Assets
gem 'cssbundling-rails', '~> 1.2.0'
gem 'jsbundling-rails', '~> 1.1.2'
gem 'cssbundling-rails', '~> 1.3.0'
gem 'jsbundling-rails', '~> 1.2.1'
gem 'sprockets-rails', '~> 3.4.1'
gem 'stimulus-rails', '~> 1.2.1'
gem 'turbo-rails', '~> 1.4.0'
gem 'stimulus-rails', '~> 1.3.0'
gem 'turbo-rails', '~> 1.5.0'

# Application structure
gem 'active_type', '~> 2.3.0'
gem 'active_type', '~> 2.4.0'
gem 'inquery', '~> 1.0.9'
gem 'rails_ops', '~> 1.4.0'
gem 'rails_ops', '~> 1.5.0'
gem 'schemacop', '~> 3.0.11'

# Views
gem 'breadcrumbs_on_rails', '~> 4.1.0'
gem 'cocoon', '~> 1.2.15'
gem 'datagrid', '~> 1.7.0'
gem 'datagrid', '~> 1.8.0'
gem 'haml-rails', '~> 2.0'
gem 'kaminari', '~> 1.2.1'
gem 'rqrcode', '~> 2.2.0'
gem 'simple_form', '~> 5.2.0'
gem 'simple_form', '~> 5.3.0'

# Translations
gem 'gettext_i18n_rails', '~> 1.12.0'
Expand All @@ -58,7 +58,7 @@ gem 'figaro', '1.2.0'
gem 'rails-settings-cached', '~> 2.9.2'

# Attachments
gem 'active_storage_validations', '~> 1.0.2'
gem 'active_storage_validations', '~> 1.1.4'
gem 'image_processing', '~> 1.12'

# Models
Expand Down Expand Up @@ -95,7 +95,7 @@ group :development do
gem 'ruby_parser', require: false

# Code analysis and standards
gem 'haml_lint', '~> 0.49.0', require: false
gem 'haml_lint', '~> 0.52.0', require: false
gem 'rubocop', '~> 1.24'
gem 'rubocop-performance', '~> 1.13'
gem 'rubocop-rails', '~> 2.13'
Expand Down
Loading

0 comments on commit cd900eb

Please sign in to comment.