Skip to content

Support Nokogiri 1.6.x#9

Open
sfsekaran wants to merge 2 commits into
chrisdinn:masterfrom
sfsekaran:update-nokogiri-to-1-6-x
Open

Support Nokogiri 1.6.x#9
sfsekaran wants to merge 2 commits into
chrisdinn:masterfrom
sfsekaran:update-nokogiri-to-1-6-x

Conversation

@sfsekaran

Copy link
Copy Markdown

Simple Gemfile update for Nokogiri gem. All tests pass.

Comment thread Gemfile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I intentionally used ~> 1.5.5. Nokogiri 1.6.x should also be included.

Do you have another suggestion to make the dependency less open-ended?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yes, in my comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I understand the twiddle-waka better now, and I see what you did there. I'll rebase, change the code, and update the pull request at some point.

@fregas

fregas commented Jul 8, 2015

Copy link
Copy Markdown

+1 Would like to see this as well.

@thisguycodes

Copy link
Copy Markdown

bump. It appears to have failed CI, but the error doesn't seem indicative of this:

Don't know how to build task 'default'

Update on this? Nokogiri 1.6 would be awesome so we don't have to handle as many system dependencies (1.6 adds external library vendoring).

@bf4 bf4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some simple changes

Comment thread Gemfile.lock
@@ -0,0 +1,22 @@
GEM
remote: http://rubygems.org/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✂️ gems shouldn't have the Gemfile.lock commited

Comment thread Gemfile
@@ -1,6 +1,6 @@
source :gemcutter

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should be source 'https://rubygems.org'. sourcing gemcutter is super old cc @qrush :)

Comment thread Gemfile.lock
@@ -0,0 +1,22 @@
GEM
remote: http://rubygems.org/

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actually, this line should be removed and replaced with gemspec, since nokogiri is required via the gemspec.

Comment thread vast.gemspec
s.files = Dir['lib/*.rb'] + Dir['lib/*.xsd'] + Dir['lib/vast/*.rb'] + Dir['test/*.rb'] + Dir['test/examples/*.xml'] + %w(LICENSE README.rdoc)

s.add_dependency 'nokogiri', '~> 1.5.5'
s.add_dependency 'nokogiri', '>= 1.5.5'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If I understand your intention, this should be ['~> 1.5', '>= 1.5.5'] which means anything in in the 1.x series greater than 1.5.5, which will include 1.5.6, 1.6.0, etc but not 2.y

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.

4 participants