Skip to content

Commit

Permalink
chore: bump Ruby versions to match defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jan 10, 2025
1 parent 8e41559 commit 4221f34
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- 'ubuntu-20.04'
- 'alpine-3.17'
package_ruby_ver:
- '3.2.5'
- '3.3.4'
- '3.2.6'
- '3.3.6'
container:
image: ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest
steps:
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
- 'ubuntu-20.04'
- 'alpine-3.17'
package_ruby_ver:
- '3.2.5'
- '3.2.6'
container:
image: ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rhel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-ubuntu-20.04:latest \
tebako press --root=/mnt/w/sinatra --entry-point=app.rb \
--output=/mnt/w/sinatra.tebako --Ruby=3.2.5 --patchelf
--output=/mnt/w/sinatra.tebako --Ruby=3.2.6 --patchelf
- name: Upload tebako test packages
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
run: |
docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-ubuntu-20.04:latest \
tebako press --root=/mnt/w/ror --entry-point=bin/rails \
--output=/mnt/w/rails.tebako --Ruby=3.2.5 --patchelf
--output=/mnt/w/rails.tebako --Ruby=3.2.6 --patchelf
- name: Upload tebako test packages
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Packaging from inside the container:

[source,sh]
----
tebako press -e app.rb -o sinatra.teb -r sinatra -R 3.2.5
tebako press -e app.rb -o sinatra.teb -r sinatra -R 3.2.6
----

Packaging from outside the container for Ubuntu:
Expand All @@ -67,7 +67,7 @@ Packaging from outside the container for Ubuntu:
----
docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-ubuntu-20.04:latest \
tebako press --root=/mnt/w/sinatra --entry-point=app.rb \
--output=/mnt/w/sinatra.tebako --Ruby=3.2.5 --patchelf
--output=/mnt/w/sinatra.tebako --Ruby=3.2.6 --patchelf
----

This command:
Expand All @@ -93,7 +93,7 @@ Packaging from outside the container for Alpine:
----
docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-alpine-3.17:latest \
tebako press --root=/mnt/w/sinatra --entry-point=app.rb \
--output=/mnt/w/sinatra.tebako --Ruby=3.2.5
--output=/mnt/w/sinatra.tebako --Ruby=3.2.6
----

=== Packaging for glibc-based Linux distributions using the Ubuntu container
Expand Down Expand Up @@ -182,7 +182,7 @@ For example, packaging from outside the container for Ubuntu:
----
docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-ubuntu-20.04:latest \
tebako press --root=/mnt/w/ror --entry-point=bin/rails \
--output=/mnt/w/rails.tebako --Ruby=3.2.5 --patchelf
--output=/mnt/w/rails.tebako --Ruby=3.2.6 --patchelf
----

Please refer to Sinatra sample comments above for more Tebako CI containers examples.
Expand Down
2 changes: 1 addition & 1 deletion ror/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.5
3.2.6
2 changes: 1 addition & 1 deletion ror/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

ruby "3.2.5"
ruby "3.2.6"

# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 7.1.3", ">= 7.1.3.4"
Expand Down
2 changes: 1 addition & 1 deletion tutorial/1_hello_world/sample/hello_world.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Copyright (c) 2023-2025 [Ribose Inc](https://www.ribose.com).
# Copyright (c) 2025 [Ribose Inc](https://www.ribose.com).
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit 4221f34

Please sign in to comment.