diff --git a/lib/valkyrie.rb b/lib/valkyrie.rb index 69e1e68c..d35772e3 100644 --- a/lib/valkyrie.rb +++ b/lib/valkyrie.rb @@ -5,7 +5,6 @@ require 'active_support/core_ext' require 'dry-types' require 'dry-struct' -require 'draper' require 'reform' require 'rdf' require 'valkyrie/rdf_patches' diff --git a/lib/valkyrie/resource.rb b/lib/valkyrie/resource.rb index 5afe1d77..bd1646bb 100644 --- a/lib/valkyrie/resource.rb +++ b/lib/valkyrie/resource.rb @@ -15,7 +15,6 @@ module Valkyrie # @see lib/valkyrie/specs/shared_specs/resource.rb # rubocop:disable Metrics/ClassLength class Resource < Dry::Struct - include Draper::Decoratable # Allows a Valkyrie::Resource to be instantiated without providing every # available key, and makes sure the defaults are set up if no value is # given. diff --git a/valkyrie.gemspec b/valkyrie.gemspec index 0d295edf..cd576fa4 100644 --- a/valkyrie.gemspec +++ b/valkyrie.gemspec @@ -21,7 +21,6 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_dependency 'dry-struct' - spec.add_dependency 'draper' spec.add_dependency 'activemodel' spec.add_dependency 'dry-types', '~> 1.0' spec.add_dependency 'rdf', '~> 3.0', '>= 3.0.10'