Skip to content

Commit

Permalink
Remove other instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Oct 16, 2021
1 parent f7a8882 commit bb9a04c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 47 deletions.
19 changes: 1 addition & 18 deletions lib/valkyrie/persistence/fedora/persister/orm_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def result

# Class for handling cases where deny listed values should not be mapped
class DenylistedValue < ::Valkyrie::ValueMapper
FedoraValue.register(self)
# Determines whether or not the value has a denied namespace for the RDF statement object
# (i. e. avoid attempting to map any RDF statements making assertions about LDP containers or resource internal to Fedora)
# @param [Property] value
Expand Down Expand Up @@ -539,16 +540,6 @@ def key
key
end

# @deprecated
# Determines whether or not a key is on the deny list for mapping
# (For example <http://fedora.info/definitions> assertions are not mapped to Valkyrie attributes)
# @param [Symbol] key
# @return [Boolean]
def blacklist?(key)
warn "[DEPRECATION] Samvera is deprecating '#{self.class}#blacklist?' in 3.0.0. Use #{self.class}#deny? instead."
deny?(key)
end

# Determines whether or not a key is on the deny list for mapping
# (For example <http://fedora.info/definitions> assertions are not mapped to Valkyrie attributes)
# @param [Symbol] key
Expand All @@ -567,14 +558,6 @@ def cast_array(values)
Array(values)
end

# @deprecated
# Retrieve a list of denied URIs for predicates
# @return [Array<String>]
def blacklist
warn "[DEPRECATION] Samvera is deprecating '#{self.class}#blacklist' in 3.0.0. Use #{self.class}#denylist instead."
denylist
end

# Retrieve a list of denied URIs for predicates
# @return [Array<String>]
def denylist
Expand Down
29 changes: 0 additions & 29 deletions spec/valkyrie/persistence/fedora/orm_converter_spec.rb

This file was deleted.

0 comments on commit bb9a04c

Please sign in to comment.