Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Datastreams #1130

Merged
merged 1 commit into from
Aug 18, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions active-fedora.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ Gem::Specification.new do |s|

s.add_dependency 'rsolr', '~> 1.0', '>= 1.0.10'
s.add_dependency 'solrizer', '~> 3.4'
s.add_dependency 'om', '~> 3.1'
s.add_dependency 'nom-xml', '>= 0.5.1'
s.add_dependency "activesupport", '>= 4.2.4', '< 6'
s.add_dependency "activemodel", '>= 4.2', '< 6'
s.add_dependency "active-triples", '~> 0.10.0'
s.add_dependency "rdf-rdfxml"
s.add_dependency "deprecation"
s.add_dependency "ldp", '~> 0.6.0'

Expand Down
10 changes: 0 additions & 10 deletions lib/active_fedora.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ module ActiveFedora #:nodoc:
autoload :DirectContainer
autoload :IndirectContainer
end
autoload :Datastreams
autoload :DelegatedAttribute
autoload_under 'attributes' do
autoload :ActiveTripleAttribute
Expand Down Expand Up @@ -89,23 +88,14 @@ module ActiveFedora #:nodoc:
autoload :LoadableFromJson
autoload :ModelClassifier
autoload :NestedAttributes
autoload :NomDatastream
autoload :NullRelation
autoload :OmDatastream
autoload :Orders
autoload :Pathing
autoload :Persistence
autoload :Property
autoload :QualifiedDublinCoreDatastream
autoload :Querying
autoload :QueryResultBuilder
autoload :RDF
autoload_under 'rdf' do
autoload :RDFDatastream
autoload :RDFXMLDatastream
autoload :NtriplesRDFDatastream
autoload :FedoraRdfResource
end
autoload :Reflection
autoload :Relation

Expand Down
2 changes: 1 addition & 1 deletion lib/active_fedora/attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def warn_duplicate_predicates(new_name, new_properties)

# @param [Symbol] field the field to find or create
# @param [Class] klass the class to use to delegate the attribute (e.g.
# ActiveTripleAttribute, OmAttribute, or RdfDatastreamAttribute)
# ActiveTripleAttribute)
# @param [Hash] args
# @option args [String] :delegate_target the path to the delegate
# @option args [Class] :klass the class to create
Expand Down
10 changes: 3 additions & 7 deletions lib/active_fedora/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ module ActiveFedora
#
# =The Basics
# class Oralhistory < ActiveFedora::Base
# has_metadata "properties", type: ActiveFedora::SimpleDatastream do |m|
# m.field "narrator", :string
# m.field "narrator", :text
# end
# property :creator, predicate: RDF::Vocab::DC.creator
# end
#
# The above example creates a Fedora object with a metadata datastream named "properties", which is composed of a
# narrator and bio field.
# The above example creates a Fedora object with a property named "creator"
#
# Attached files defined with +contains+ are accessed via the +attached_files+ member hash.
# Attached files defined with +has_subresource+ and iis accessed via the +attached_files+ member hash.
#
class Base
extend ActiveModel::Naming
Expand Down
6 changes: 0 additions & 6 deletions lib/active_fedora/datastreams.rb

This file was deleted.

119 changes: 0 additions & 119 deletions lib/active_fedora/datastreams/nokogiri_datastreams.rb

This file was deleted.

73 changes: 0 additions & 73 deletions lib/active_fedora/nom_datastream.rb

This file was deleted.

118 changes: 0 additions & 118 deletions lib/active_fedora/om_datastream.rb

This file was deleted.

Loading