active-fedora 8.0.0.rc1 → 8.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_fedora/persistence.rb +0 -13
- data/lib/active_fedora/querying.rb +0 -6
- data/lib/active_fedora/rdf.rb +0 -12
- data/lib/active_fedora/solr_digital_object.rb +2 -4
- data/lib/active_fedora/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 710c459d62cf64e2975040193d8624a00be7e14a
|
4
|
+
data.tar.gz: 97b7060f025c35853ea63295f017c1332947422d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b31a571799cf3edb9b4549aa80e6159830e0393c54c9e6198415e45cd71e13854988a84b55055dc1123a085000116ee2ffbb3ebcca14d282331584c97b1e05f2
|
7
|
+
data.tar.gz: 8e91e8ab4f91264e7c76d092984671925dd6143e69b6fb7a5507555a3d2a01667954622cb9191f2c483463da34e157f75744e156da3c96349051845a90d86eb4
|
@@ -2,19 +2,6 @@ module ActiveFedora
|
|
2
2
|
# = Active Fedora Persistence
|
3
3
|
module Persistence
|
4
4
|
extend ActiveSupport::Concern
|
5
|
-
extend Deprecation
|
6
|
-
self.deprecation_horizon = 'active-fedora version 8.0.0'
|
7
|
-
|
8
|
-
def new?
|
9
|
-
new_record?
|
10
|
-
end
|
11
|
-
deprecation_deprecate :new?
|
12
|
-
|
13
|
-
# Has this object been saved?
|
14
|
-
def new_object?
|
15
|
-
new_record?
|
16
|
-
end
|
17
|
-
deprecation_deprecate :new_object?
|
18
5
|
|
19
6
|
## Required by associations
|
20
7
|
def new_record?
|
@@ -1,7 +1,5 @@
|
|
1
1
|
module ActiveFedora
|
2
2
|
module Querying
|
3
|
-
extend Deprecation
|
4
|
-
self.deprecation_horizon = 'active-fedora version 8.0.0'
|
5
3
|
|
6
4
|
delegate :find, :first, :exists?, :where, :limit, :offset, :order, :delete_all,
|
7
5
|
:destroy_all, :count, :last, :find_with_conditions, :find_in_batches, :find_each, :to=>:all
|
@@ -15,9 +13,5 @@ module ActiveFedora
|
|
15
13
|
[ActiveFedora::SolrService.solr_name(:system_create, :stored_sortable, type: :date)+' asc']
|
16
14
|
end
|
17
15
|
|
18
|
-
def quote_for_solr(value)
|
19
|
-
RSolr.escape(value)
|
20
|
-
end
|
21
|
-
deprecation_deprecate :quote_for_solr
|
22
16
|
end
|
23
17
|
end
|
data/lib/active_fedora/rdf.rb
CHANGED
@@ -7,17 +7,5 @@ module ActiveFedora
|
|
7
7
|
autoload :ObjectResource
|
8
8
|
autoload :Persistence
|
9
9
|
autoload :ProjectHydra
|
10
|
-
|
11
|
-
# Aliases for deprecated ActiveFedora::RDF Classes/Modules
|
12
|
-
# TODO: Remove in 8.0.0
|
13
|
-
Resource = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Resource', 'ActiveTriples::Resource')
|
14
|
-
Term = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Term', 'ActiveTriples::Term')
|
15
|
-
List = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::List', 'ActiveTriples::List')
|
16
|
-
Configurable = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Configurable', 'ActiveTriples::Configurable')
|
17
|
-
Properties = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Properties', 'ActiveTriples::Properties')
|
18
|
-
Repositories = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::Repositories', 'ActiveTriples::Repositories')
|
19
|
-
NodeConfig = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::NodeConfig', 'ActiveTriples::NodeConfig')
|
20
|
-
NestedAttributes = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf::NestedAttributes', 'ActiveTriples::NestedAttributes')
|
21
10
|
end
|
22
|
-
Rdf = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActiveFedora::Rdf', 'ActiveFedora::RDF')
|
23
11
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
module ActiveFedora
|
2
2
|
class SolrDigitalObject
|
3
3
|
include DigitalObject::DatastreamBootstrap
|
4
|
-
|
5
|
-
self.deprecation_horizon = 'active-fedora version 8.0.0'
|
4
|
+
|
6
5
|
attr_reader :pid, :label, :state, :ownerId, :profile, :datastreams, :solr_doc
|
7
6
|
attr_accessor :original_class
|
7
|
+
|
8
8
|
def initialize(solr_doc, profile_hash, klass=ActiveFedora::Base)
|
9
9
|
@solr_doc = solr_doc
|
10
10
|
@pid = solr_doc[SOLR_DOCUMENT_ID]
|
@@ -59,8 +59,6 @@ module ActiveFedora
|
|
59
59
|
def new_record?
|
60
60
|
false
|
61
61
|
end
|
62
|
-
alias new? new_record?
|
63
|
-
deprecation_deprecate :new?
|
64
62
|
|
65
63
|
def uri
|
66
64
|
"solr:#{pid}"
|