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

Ensure compatibility with Nokogiri #31

Merged
merged 1 commit into from Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/signer.rb
Expand Up @@ -65,6 +65,7 @@ def initialize(document, noblanks: true, wss: true, canonicalize_algorithm: :c14
self.document = Nokogiri::XML(document.to_s) do |config|
config.noblanks if noblanks
end
self.document.namespace_inheritance = true if self.document.respond_to?(:namespace_inheritance)
self.digest_algorithm = :sha1
self.wss = wss
self.canonicalize_algorithm = canonicalize_algorithm
Expand Down
2 changes: 1 addition & 1 deletion signer.gemspec
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'

gem.add_runtime_dependency 'nokogiri', '>= 1.5.1'
gem.add_runtime_dependency 'nokogiri', '>= 1.5.1', '!=1.12.3', '!=1.12.2', '!=1.12.1', '!=1.12.0'
end