Skip to content

Commit

Permalink
Drop Ruby 2.6 support and update dependencies
Browse files Browse the repository at this point in the history
Removed Ruby 2.6 jobs from CI workflow to focus testing on newer
supported Ruby versions. Updated Gemfile and documentation to reflect
dropping 2.6 support and upgrading minimum Ruby version to 2.7.8. This
helps ensure the codebase remains secure and compatible with modern Ruby
environments while removing maintenance burden of older versions no
longer receiving security updates.
  • Loading branch information
delano committed May 14, 2024
1 parent 940c3f3 commit eacf9e5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ jobs:
bundler: '2.4.22'
rubygems: '3.2.3'

- ruby: '2.6'
bundler: '2.4.22'
rubygems: '3.2.3'

# Make redis available for running the tryouts
services:
redis:
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
# normal maintenance until: TBD
# EOL: 2026-03-31 (expected)
#
# We maintain Ruby 2.6+ support for the time being for
# We maintain Ruby 2.7+ support for the time being for
# anyone wanting to run the latest code but are not
# able to update the system to Ruby 3 just yet (not
# uncommon in legacy environments).
ruby '>= 2.6.8'
ruby '>= 2.7.8'

plugin 'bundler-graph'

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

### Latest releases

* **Ruby 3+: [v0.13.0-RC6](https://github.com/onetimesecret/onetimesecret/releases/tag/v0.13.0-RC6)**
* Ruby 2.6, 2.7: [v0.12.1](https://github.com/onetimesecret/onetimesecret/releases/tag/v0.12.1)
* **Ruby 3+ (recommended), 2.7.8: [v0.13.0-RC7](https://github.com/onetimesecret/onetimesecret/releases/tag/v0.13.0-RC7)**
* Ruby 2.7, 2.6: [v0.12.1](https://github.com/onetimesecret/onetimesecret/releases/tag/v0.12.1)

---

Expand All @@ -26,9 +26,9 @@ When you send people sensitive info like passwords and private links via email o

### System Requirements

* Any recent linux distor (we use debian) or *BSD
* Any recent linux disto (we use debian) or *BSD
* System dependencies:
* Ruby 3.0, 3.1, 3.2
* Ruby 3.2, 3.1, 3.0, 2.7.8
* Redis server 5+
* Minimum specs:
* 2 core CPU (or equivalent)
Expand Down

0 comments on commit eacf9e5

Please sign in to comment.