active-fedora 8.0.0.rc1 → 8.0.0.rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7909cf9014f4e3665227e1f03944fa2054069851
4
- data.tar.gz: 526a2cc9e465cfa6609ee0d081112c499c0eb7e2
3
+ metadata.gz: 710c459d62cf64e2975040193d8624a00be7e14a
4
+ data.tar.gz: 97b7060f025c35853ea63295f017c1332947422d
5
5
  SHA512:
6
- metadata.gz: f469d40ec49ab052e6e450bcfd5dc241833ba0841dbcc5b2810438741ca9439d4d998f98f0467e4a90de951b228b6cc91e8d5ce50a70babc1739bdbbe9da6553
7
- data.tar.gz: fd2c7523a5417eca49f6d496269796fad41da72f2b51f1a178bad3782324f9bdb1d68f07216257d7429f39d0468c36e07e135ed4e5e8ee172f8dda23260b6c6c
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
@@ -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
- extend Deprecation
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}"
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "8.0.0.rc1"
2
+ VERSION = "8.0.0.rc2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-fedora
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0.rc1
4
+ version: 8.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Zumwalt