-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Update dependency versions inside gemspec #413
base: master
Are you sure you want to change the base?
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 |
---|---|---|
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec| | |
spec.add_development_dependency 'minitest', '~> 5.8.4' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'codeclimate-test-reporter' , '~> 1.0.0' | ||
spec.add_dependency 'fog-core', '~> 1.43' | ||
spec.add_dependency 'fog-json', '~> 1.0.2' | ||
spec.add_dependency 'fog-core' | ||
spec.add_dependency 'fog-json' | ||
spec.add_dependency 'azure_mgmt_compute', '~> 0.9.0' | ||
spec.add_dependency 'azure_mgmt_resources', '~> 0.9.0' | ||
spec.add_dependency 'azure_mgmt_storage', '~> 0.9.0' | ||
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec| | |
spec.add_dependency 'azure_mgmt_traffic_manager', '~> 0.9.0' | ||
spec.add_dependency 'azure_mgmt_sql', '~> 0.9.0' | ||
spec.add_dependency 'azure_mgmt_key_vault', '~> 0.9.0' | ||
spec.add_dependency 'azure-storage', '= 0.11.5.preview' | ||
spec.add_dependency 'azure-storage', '~> 0.11.preview' | ||
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. Can we use the latest version 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. @bguban, 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.
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. Can you explain how it will take 0.15.0.preview as well? When I install the gem with these dependencies, it just shows as 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. According to thoughtbot (specifically the second part - ~> 1.1 example) this will result with
Which should be good, since Azure only releases We already tested it, and 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.
I agree, upgrading to later gem versions would resolve much of these issues. 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. @bguban This can be a possible solution. 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. @maham-nazir-confiz, Actually it depends on the user to limit gem 'fog-azure-rm' # require our library
gem 'nokogiri', '<=1.9.1' # if the user wants ruby 2.0 compatibility
Other option would be adding an 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. @ShimShtein That's right, users can set the upper limit of nokogiri, if required, in their own gemspec. 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. @maham-nazir-confiz Could you please let us know if the approach suggested against nokogiri failure works for you? |
||
spec.add_dependency 'vhd', '0.0.4' | ||
spec.add_dependency 'mime-types', '~> 1.25' | ||
spec.add_dependency 'mime-types', '> 1.25', '< 4.0' | ||
end |
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.
@maham-nazir-confiz I have removed the version dependency here. Could you please take a look?
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.
I'll get back to you after reviewing the changes.
Regards
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.
@maham-nazir-confiz Any updates on this?