Skip to content

Commit

Permalink
Merge pull request #814 from samvera/softer_faraday_lock
Browse files Browse the repository at this point in the history
Use a softer Faraday lock
  • Loading branch information
tpendragon authored Jan 9, 2020
2 parents 3e3b544 + b5ff5ca commit 1a6d62a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/valkyrie/id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ def default_equality(other)
output = (other.class == self.class && other.state == state)
return output if output == true
if output == false && string_equality(other) && Valkyrie.config.id_string_equality.nil?
# :nocov:
warn "[DEPRECATION] Valkyrie::IDs will always be equal to their string counterparts in 3.0.0. " \
"To silence this message, please either compare IDs or set Valkyrie.config.id_string_equality = true."
# :nocov:
end
false
end
Expand Down
2 changes: 1 addition & 1 deletion valkyrie.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'json'
spec.add_dependency 'rdf-vocab'
spec.add_dependency 'disposable', '~> 0.4.5'
spec.add_dependency 'faraday', '~> 0.17'
spec.add_dependency 'faraday', '< 1.0'

spec.add_development_dependency "bundler", "> 1.16.0", "< 3"
spec.add_development_dependency "rake", "~> 10.0"
Expand Down

0 comments on commit 1a6d62a

Please sign in to comment.