-
Notifications
You must be signed in to change notification settings - Fork 31
Changed 'nokogiri' back to runtime dependency with version >= 1.6. #43
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,12 +26,12 @@ Gem::Specification.new do |s| | |
| s.homepage = 'https://github.com/Azure/azure-ruby-asm-core' | ||
| s.license = 'Apache License, Version 2.0' | ||
| s.files = `git ls-files`.split("\n").reject { |f| f.start_with?("test/unit") } | ||
| s.extensions = 'ext/mkrf_conf.rb' | ||
|
|
||
| s.required_ruby_version = '>= 1.9.3' | ||
|
|
||
| s.add_runtime_dependency('faraday', '~> 0.9') | ||
| s.add_runtime_dependency('faraday_middleware', '~> 0.10') | ||
| s.add_runtime_dependency('nokogiri', '~> 1.6') | ||
|
|
||
| s.add_development_dependency('dotenv', '~> 2.0') | ||
| s.add_development_dependency('minitest', '~> 5') | ||
|
|
@@ -40,11 +40,5 @@ Gem::Specification.new do |s| | |
| s.add_development_dependency('rake', '~> 10.0') | ||
| s.add_development_dependency('timecop', '~> 0.7') | ||
| s.add_development_dependency('bundler', '~> 1.11') | ||
| if RUBY_VERSION < "2.1.0" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I understand correctly this was working before in correctly installing the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No it is no longer picked up from the file. We now updated the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sounds good! |
||
| s.add_development_dependency('nokogiri', '~> 1.6.0') | ||
| elsif RUBY_VERSION < "2.2.0" | ||
| s.add_development_dependency('nokogiri', '~> 1.7.0') | ||
| else | ||
| s.add_development_dependency('nokogiri', '~> 1.8') | ||
| end | ||
|
|
||
| end | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we delete the
ext/mkrf_conf.rbfile as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are absolutely right. Now that we rely on our guidance in
Readme.mdfor user to install correct version of Nokogiri via Rubygems, and resolved Bundler version issue, we can remove that. I have updated the PR for the purpose.