Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify dependency constraints in gemspec #681

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dentarg
Copy link
Contributor

@dentarg dentarg commented Apr 11, 2024

Looking at the latest release, 1.16.0 it depends on the it depends on everything in the else branches in the gemspec. https://rubygems.org/gems/ruby-saml/versions/1.16.0

Runtime

nokogiri >= 1.13.10
rexml >= 0

Development

minitest ~> 5.5, < 5.19.0
mocha ~> 0.14
pry-byebug >= 0
rake >= 12.3.3
shoulda ~> 2.11
simplecov < 0.22.0
simplecov-lcov > 0.7.0
systemu ~> 2
timecop ~> 0.9

There has also never been a JRuby specific version published: https://rubygems.org/gems/ruby-saml/versions
so remove all special handling for JRuby.

If CI shows any need for it, we can add back constraints in the Gemfile.

Looking at the latest release, 1.16.0 it depends on the
it depends on everything in the `else` branches in the gemspec.
https://rubygems.org/gems/ruby-saml/versions/1.16.0

Runtime

    nokogiri >= 1.13.10
    rexml >= 0

Development

    minitest ~> 5.5, < 5.19.0
    mocha ~> 0.14
    pry-byebug >= 0
    rake >= 12.3.3
    shoulda ~> 2.11
    simplecov < 0.22.0
    simplecov-lcov > 0.7.0
    systemu ~> 2
    timecop ~> 0.9

There has also never been a JRuby specific version published:
https://rubygems.org/gems/ruby-saml/versions
so remove all special handling for JRuby.

If CI shows any need for it, we can add back constraints in the Gemfile.
ruby-saml depends on at least nokogiri 1.13.10 since v1.15.0:
SAML-Toolkits@9b6e3e9

Nokogiri 1.13.10 require at least Ruby 2.6.0, which means no Ruby <2.6
can install ruby-saml >= 1.15.0

Bump the required version in the gemspec and drop all CI builds for Ruby
<2.6 (JRuby targets 2.6.x from 9.3).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant