hydra-access-controls 6.3.0 → 6.3.1
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 +4 -4
- data/spec/unit/hydra_rights_metadata_spec.rb +0 -8
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe235329e794114a5bb19beb158c7a266fb06451
|
|
4
|
+
data.tar.gz: 02ebdfbccde4c9042dd3d1430d611384fefb4f1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c964fec2a3007154b6abd648e4e633bf01632f864a156cf034cef1a16905a9559fbddf6323d84445151376a4424419609af0544abca06659dc158f0d1f993998
|
|
7
|
+
data.tar.gz: d7b7f726197750af6bc536ac540c6646302818cbf0225e7cfd937be0267014623caf740292181d2e4a4666ad9faf9ba5e44daebb586cd95501cb0eba31f4a438
|
|
@@ -139,14 +139,6 @@ describe Hydra::Datastream::RightsMetadata do
|
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
describe "update_indexed_attributes" do
|
|
143
|
-
it "should update the declared properties" do
|
|
144
|
-
@sample.find_by_terms(*[:edit_access, :person]).length.should == 0
|
|
145
|
-
@sample.update_values([:edit_access, :person]=>"user id").should == {"edit_access_person"=>{"0"=>"user id"}}
|
|
146
|
-
@sample.find_by_terms(*[:edit_access, :person]).length.should == 1
|
|
147
|
-
@sample.find_by_terms(*[:edit_access, :person]).first.text.should == "user id"
|
|
148
|
-
end
|
|
149
|
-
end
|
|
150
142
|
describe "to_solr" do
|
|
151
143
|
it "should populate solr doc with the correct fields" do
|
|
152
144
|
params = {[:edit_access, :person]=>"Lil Kim", [:edit_access, :group]=>["group1","group2"], [:discover_access, :group]=>["public"],[:discover_access, :person]=>["Joe Schmoe"]}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hydra-access-controls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.3.
|
|
4
|
+
version: 6.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Beer
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2013-07-
|
|
13
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|