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

Support newer nokogiri as well #72

Merged
merged 3 commits into from
Dec 30, 2019
Merged

Support newer nokogiri as well #72

merged 3 commits into from
Dec 30, 2019

Conversation

abartov
Copy link
Contributor

@abartov abartov commented Sep 4, 2019

Per issue #71 - address security vulnerability only resolved in nokogiri 1.10.4

To address security vulnerability only resolved in nokogiri 1.10.4
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
s.homepage = 'https://github.com/chrahunt/docx'
s.files = Dir["README.md", "LICENSE.md", "lib/**/*.rb"]

s.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
Copy link
Member

Choose a reason for hiding this comment

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

As said in the comment #71 (comment) , this add_dependency covers 1.10.4 or later.
If you would like to ensure fixed version of nokogiri must be installed, '~> 1.10', '>= 1.10.4' looks better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. Fixed!

@satoryu satoryu merged commit 3e67745 into ruby-docx:master Dec 30, 2019
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.

2 participants