lib/locabulary/items/base.rb in locabulary-0.6.1 vs lib/locabulary/items/base.rb in locabulary-0.6.2

- old
+ new

@@ -5,11 +5,11 @@ # @see https://en.wikipedia.org/wiki/Resource_Description_Framework class Base extend Dry::Configurable setting :attribute_names, [ - :predicate_name, :term_label, :term_uri, :deposit_label, :description, :grouping, :affiliation, :default_presentation_sequence, + :predicate_name, :term_label, :term_uri, :deposit_label, :description, :default_presentation_sequence, :activated_on, :deactivated_on ].freeze def attribute_names self.class.config.attribute_names @@ -40,16 +40,12 @@ # [Integer, nil] What is the order in which # @see Locabulary::Item#presentation_sequence for details on how this is calculated attr_reader :default_presentation_sequence # @deprecated + # The label to be used when depositing; This is deprecated in favor of mapping functions. + # Those mapping functions are in part described in Locabuarly (faceted_item_hierarchy_delimiter). attr_reader :deposit_label - - # @deprecated - attr_reader :grouping - - # @deprecated - attr_reader :affiliation def initialize(attributes = {}) attribute_names.each do |key| value = attributes[key] || attributes[key.to_s] send("#{key}=", value)