From 926b731efd496d57a4e7b561f7885b8d20c709a2 Mon Sep 17 00:00:00 2001 From: Trey Pendragon Date: Fri, 15 Oct 2021 16:55:29 -0700 Subject: [PATCH] Remove Draper. Apps can set this up themselves. Closes #840 --- lib/valkyrie/resource.rb | 1 - valkyrie.gemspec | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/valkyrie/resource.rb b/lib/valkyrie/resource.rb index 5afe1d777..bd1646bb7 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 0d295edfb..cd576fa44 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'