lib/active_fedora/rdf.rb in active-fedora-7.0.4 vs lib/active_fedora/rdf.rb in active-fedora-7.1.0
- old
+ new
@@ -1,17 +1,19 @@
module ActiveFedora
module Rdf
extend ActiveSupport::Autoload
- autoload :NestedAttributes
- autoload :NodeConfig
autoload :Indexing
- autoload :Configurable
- autoload :Properties
autoload :Identifiable
- autoload :Repositories
- autoload :Resource
- autoload :VocabularyLoader
autoload :ObjectResource
- autoload :Term
- autoload :List
+
+ # Aliases for deprecated ActiveFedora::Rdf Classes/Modules
+ # TODO: Remove in 8.0.0
+ Resource = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Resource', 'ActiveTriples::Resource')
+ Term = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Term', 'ActiveTriples::Term')
+ List = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::List', 'ActiveTriples::List')
+ Configurable = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Configurable', 'ActiveTriples::Configurable')
+ Properties = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Properties', 'ActiveTriples::Properties')
+ Repositories = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Repositories', 'ActiveTriples::Repositories')
+ NodeConfig = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::NodeConfig', 'ActiveTriples::NodeConfig')
+ NestedAttributes = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::NestedAttributes', 'ActiveTriples::NestedAttributes')
end
end