app/connections/hyrax/clean_connection.rb in hyrax-3.0.0.pre.rc1 vs app/connections/hyrax/clean_connection.rb in hyrax-3.0.0.pre.rc2
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
module Hyrax
# This stands in for ActiveFedora::CleanConnection. It behaves the same way,
# but it doesn't clear the has_model assertion
class CleanConnection < SimpleDelegator
def get(*args)
@@ -11,15 +12,15 @@
result
end
private
- def omit_uris
- [
- ::RDF::Vocab::Fcrepo4.ServerManaged,
- ::RDF::Vocab::LDP.PreferContainment,
- ::RDF::Vocab::LDP.PreferEmptyContainer,
- ::RDF::Vocab::LDP.PreferMembership
- ]
- end
+ def omit_uris
+ [
+ ::RDF::Vocab::Fcrepo4.ServerManaged,
+ ::RDF::Vocab::LDP.PreferContainment,
+ ::RDF::Vocab::LDP.PreferEmptyContainer,
+ ::RDF::Vocab::LDP.PreferMembership
+ ]
+ end
end
end