Skip to content

Commit

Permalink
closes Upgrade to Ruby v3.3.x #66
Browse files Browse the repository at this point in the history
  • Loading branch information
simonneutert committed Jan 20, 2024
1 parent bf9618c commit fb1d235
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["ruby-3.2"]
ruby: ["ruby-3.3"]
os: [macos-latest, ubuntu-latest]

steps:
Expand All @@ -49,6 +49,9 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Rubocop
run: bundle exec rubocop

- name: Creating shared database
run: bundle exec rake db:shared:init

Expand All @@ -63,6 +66,3 @@ jobs:

- name: Run tests
run: bundle exec rake

- name: Rubocop
run: bundle exec rubocop
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inherit_from: .rubocop_todo.yml
# value will be used.
#
AllCops:
TargetRubyVersion: 3.2
TargetRubyVersion: 3.3
NewCops: enable

require:
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.2.2
ruby 3.3.0
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [next] - unreleased
## [next] - yyyy-mm-dd

- [#72](https://github.com/simonneutert/ka-ching-backend/pull/72) Upgrades Ruby to v3.3.0 - [@simonneutert](https://github.com/simonneutert).

## [0.4.3] - 2023-12-21

- [#46](https://github.com/simonneutert/ka-ching-backend/pull/46) Bump roda, rubocop, alba and bundler itself - [@simonneutert](https://github.com/simonneutert).
- [#47](https://github.com/simonneutert/ka-ching-backend/pull/47) Upgrade alba gem to v3+ - [@simonneutert](https://github.com/simonneutert).
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2-slim
FROM ruby:3.3-slim

ARG uid=1337
ARG user=killerbuchhalter
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2-slim
FROM ruby:3.3-slim

ARG uid=1337
ARG user=killerbuchhalter
Expand Down
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ GEM
minitest-hooks (1.5.1)
minitest (> 5.3)
nio4r (2.7.0)
nokogiri (1.15.5)
nokogiri (1.16.0)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.5-arm64-darwin)
nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.5-x86_64-linux)
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
oj (3.16.3)
bigdecimal (>= 3.0)
Expand Down Expand Up @@ -137,4 +137,4 @@ DEPENDENCIES
solargraph

BUNDLED WITH
2.4.20
2.5.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ I've been tossing around the term "micro-monolith" for some time. Not sure if it

## Setup and Dependencies

- Ruby 3.x (but 3.2.x is recommended) with the following gems:
- Ruby 3.x (3.3.x is recommended) with the following gems:
- [Roda](https://roda.jeremyevans.net/)
- [Sequel](https://sequel.jeremyevans.net/)
- [Rake](https://github.com/ruby/rake)
Expand Down
4 changes: 4 additions & 0 deletions UPGRADING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrading ka-ching-backend

## >= 0.5.0

Switches to Ruby v3.3 with syntax changes. Rubocop is used to lint the code. This is a breaking change, as v3.3 may not backwards compatible.

## > 0.4.3

Switches to Ruby v3.2 with syntax changes. Rubocop is used to lint the code. This is a breaking change, as v3.2 may not backwards compatible.
Expand Down
2 changes: 1 addition & 1 deletion next-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.4.4
v0.5.1

0 comments on commit fb1d235

Please sign in to comment.