Skip to content

Commit

Permalink
Soft deprecated Ruby 2.1 and 2.2
Browse files Browse the repository at this point in the history
`fog-core` is only actively testing Ruby 3.0+ as part of the CI process
resulting in upstream dependencies like Excon including gems extracted
from the stdlib without constrained versions using Ruby language
features unsupported by Ruby <2.3 versions.

This means we are soft removing 2.1 and 2.2 support so whilst we are not
actively declaring a higher version is required, thing will fail unless
you declare your application to use older versions.
  • Loading branch information
tokengeek committed Dec 10, 2024
1 parent 5df5a0d commit 4862e24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.1", "2.2", "2.3"]
ruby-version: ["2.3"]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ and its modules:
As required by the main `fog-core` library, support for Ruby 1.9 was dropped in
`v1.0.0` of this gem.

Upstream changes on dependencies have resulted in support failing for Ruby <2.3
from `v1.12.0` due to some libraries failing to declare usage of newer language
features in their own gemspec files.

As of 2024 `fog-core` is only testing for Ruby 3.0+ support.

## Contributing

1. Fork it ( https://github.com/fog/fog-brightbox/fork )
Expand Down

0 comments on commit 4862e24

Please sign in to comment.