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

Relax nokogiri gem requirements #194

Merged
merged 1 commit into from
Feb 10, 2015
Merged

Conversation

Lordnibbler
Copy link
Contributor

Status

READY

Description

Adjust nokogiri gem requirement:

  • Ruby 1.8.7 to use 1.5
  • all newer versions of Ruby to use 1.6.x.

Todos

  • dont use weird array syntax for dependency definitions
  • adjust gemspec

@elskwid
Copy link

elskwid commented Feb 10, 2015

@Lordnibbler, good change for the version. That helps me in my case where the app is sitting at 1.6.5. Thanks!

@Lordnibbler
Copy link
Contributor Author

@elskwid yes, sorry about this -- it was an overlooked change when we switched to Minitest.

# 1.8.7
s.add_runtime_dependency('nokogiri', '~> 1.5.10')
else
s.add_runtime_dependency('nokogiri', '~> 1.6')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be ~> 1.6.0? Without using the patch-level identifier, this runs the risk of v1.7+ breaking something in the future. Otherwise you could remove the conditional and just use ~> 1.5 and that should satisfy everything Ruby 1.8+.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phlipper I will make the change to ~> 1.6.0, but unfortunately setting it to ~> 1.5 will still cause Ruby 1.8 to try to install Nokogiri 1.6.x, despite it not being compatible :(

@williampratt
Copy link

👍

- dont use weird array syntax for dependency definitions
@Lordnibbler Lordnibbler changed the title Relax nokogiri gem requirement to >= 1.5.0 Relax nokogiri gem requirements Feb 10, 2015
Lordnibbler added a commit that referenced this pull request Feb 10, 2015
@Lordnibbler Lordnibbler merged commit 5351846 into master Feb 10, 2015
@Lordnibbler Lordnibbler deleted the relax-nokogiri-requirement branch February 10, 2015 22:09
Lordnibbler referenced this pull request in 01Click/ruby-saml Feb 12, 2015
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

4 participants