-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
- name: Set up Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.6.x" | ||
ruby-version: "2.7.x" | ||
- name: Set up git user | ||
run: | | ||
git config --local user.email "[email protected]" | ||
|
@@ -60,4 +60,3 @@ jobs: | |
GITHUB_LOGIN: dry-bot | ||
GITHUB_TOKEN: ${{secrets.GH_PAT}} | ||
run: ossy github workflow dry-rb/dry-rb.org ci | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec| | |
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/<%= name %>" | ||
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/<%= name %>/issues" | ||
|
||
spec.required_ruby_version = <%= gemspec.fetch('required_ruby_version', '>= 2.6.0').inspect %> | ||
spec.required_ruby_version = <%= gemspec.fetch('required_ruby_version', '>= 2.7.0').inspect %> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
flash-gordon
Author
Member
|
||
|
||
# to update dependencies edit project.yml | ||
<% gemspec.fetch('runtime_dependencies', []).sort_by { |name, *| name }.each do |dep| -%> | ||
|
I totally understand the various motivations to stop supporting 2.6 ASAP. Pattern matching, numbered block parameters, and forward compatibility with "real" keyword parameters that behave almost the same as 3.x, etc. But, as a a user, I wish you hadn't pulled across the board support for 2.6 prior to its EOL. Immediately after the 2.6 EOL is 100% fine.
This three month period between the latest release and the oldest maintained release going EOL is a great season for upgrading large apps and their dependencies (whether the apps are staying current and moving from 3.0 to 3.1, or lagging behind at 2.6 to 2.7). It adds a small bit of annoying friction to the upgrade process when gems can't be installed with maintained ruby versions. I go to check the changelog, and... the only change is the gemspec's
required_ruby_version
. It's still otherwise compatible! 😦Anyway, this is really only a minor complaint. I'll have all of my apps upgraded to 2.7 soon, and once I'm there I'll quickly forget 2.6 syntax ever existed. 😉 Your time is precious, and I don't want undue burden for any maintainers. Thanks a lot!