hydra-pcdm 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f1369bfcb692088efb9def0d8c89c0a1a44b753
4
- data.tar.gz: 67ab9ffbc703f41d52cacd272adf6800e624e2f6
3
+ metadata.gz: b82a0869f7a61612486679cbd84fc6577d4027be
4
+ data.tar.gz: c502dc51ff233384bf2006c325d1bc244ba96ae9
5
5
  SHA512:
6
- metadata.gz: 61992b4c2732a5f06985514380caf52787e8ebdeeeebb9bc9d1bfabc3771649b34fc0d945ea97f13f129e3a4564f6a970589cce9c161fa19f4966fe90f8a0646
7
- data.tar.gz: fab13605bffea616cbe355a4f4619769dfd8a7d8abeff9c26b380bea74b3f6ed968d6cf328fcfd67177dc1ab7b2955b6b1ca396d81c3248b0463053866b4b093
6
+ metadata.gz: 88d949d2b91378733c0f882e1e50963ec7be78a1f8f23c65a8bc00c0f3d7e25623edaaf929885cb870396afe3af2ff24a55f572ec012f735b54ff6bb3d2c7f7b
7
+ data.tar.gz: a86aad8b68fef12c05c17baf2a74874aae687bfa8457b7e69e35ca1555cb52c8dabe1457d1b1e2ff78fdc89cd13a1a808727633e2344bfdbfc1f6856baafa026
@@ -1,6 +1,7 @@
1
1
  module Hydra::PCDM
2
2
  class File < ActiveFedora::File
3
3
  include ActiveFedora::WithMetadata
4
+ include ActiveFedora::Schema
4
5
 
5
6
  metadata do
6
7
  configure type: Vocab::PCDMTerms.File
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module PCDM
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.7.0'.freeze
4
4
  end
5
5
  end
@@ -69,4 +69,10 @@ describe Hydra::PCDM::File do
69
69
  expect(subject).to include custom_type
70
70
  end
71
71
  end
72
+
73
+ describe 'using schemas' do
74
+ it 'can apply user-defined schemas to the File' do
75
+ expect(described_class).to respond_to(:apply_schema)
76
+ end
77
+ end
72
78
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hydra-pcdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - E. Lynette Rayle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-19 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  requirements: []
210
210
  rubyforge_project:
211
- rubygems_version: 2.4.5.1
211
+ rubygems_version: 2.6.4
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Portland Common Data Model (PCDM)