lib/ddr/vocab/roles.rb in ddr-models-2.0.1 vs lib/ddr/vocab/roles.rb in ddr-models-2.1.0.rc1

- old
+ new

@@ -1,11 +1,9 @@ module Ddr module Vocab class Roles < RDF::StrictVocabulary("http://repository.lib.duke.edu/vocab/roles/") - LEGACY_ROLES = [:administrator, :editor, :contributor, :downloader] - term :Role, label: "Role", comment: "An assertion of a role granted to an agent." property :hasRole, @@ -21,17 +19,9 @@ comment: "The agent to whom the role is granted." property :scope, label: "Scope", comment: "The scope within which the role applies." - - # - # Deprecated terms - # - - LEGACY_ROLES.each do |legacy_role| - term legacy_role, label: legacy_role.to_s.capitalize - end end end end