ddr-models 2.0.0.rc5 → 2.0.0.rc6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4644f6ebc909bc7bf6f48ba1b261a534ebecba08
|
4
|
+
data.tar.gz: 746803fb4ad83232dc601f5113480a80f8c3825b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a49ef748e8b47253e6913a788a074f93ce9ae3ededea0b9dd9bc6967e7dd16fac9e2a17831e08b127390869f720de480690a90e751266387be739ecd02e10993
|
7
|
+
data.tar.gz: f7e49f65b3d7f51b78fa5a4e25ff3399504135d988437823c34732c022aa9dbab3c8ee391a7a28fe676eda518b93406aac32c9a94ef24348aa82cdac248eb2b2
|
data/lib/ddr/index_fields.rb
CHANGED
@@ -49,9 +49,9 @@ module Ddr
|
|
49
49
|
OBJECT_MODIFIED_DATE = solr_name :system_modified, :stored_sortable, type: :date
|
50
50
|
PERMANENT_ID = solr_name :permanent_id, :stored_sortable, type: :string
|
51
51
|
PERMANENT_URL = solr_name :permanent_url, :stored_sortable, type: :string
|
52
|
-
POLICY_ROLE = solr_name :policy_role, :
|
52
|
+
POLICY_ROLE = solr_name :policy_role, :symbol
|
53
53
|
RESEARCH_HELP_CONTACT = solr_name :research_help_contact, :stored_sortable
|
54
|
-
RESOURCE_ROLE = solr_name :resource_role, :
|
54
|
+
RESOURCE_ROLE = solr_name :resource_role, :symbol
|
55
55
|
STRUCT_MAPS = solr_name :struct_maps, :stored_sortable
|
56
56
|
TITLE = solr_name :title, :stored_sortable
|
57
57
|
WORKFLOW_STATE = solr_name :workflow_state, :stored_sortable
|
data/lib/ddr/models/version.rb
CHANGED
@@ -14,9 +14,9 @@ RSpec.describe ApplicationController, type: :controller do
|
|
14
14
|
describe "#resource_role_filters" do
|
15
15
|
it "should include clauses for each agent for the current ability" do
|
16
16
|
expect(subject.resource_role_filters.split(" OR "))
|
17
|
-
.to contain_exactly("_query_:\"{!raw f
|
18
|
-
"_query_:\"{!raw f
|
19
|
-
"_query_:\"{!raw f
|
17
|
+
.to contain_exactly("_query_:\"{!raw f=#{Ddr::IndexFields::RESOURCE_ROLE}}foo\"",
|
18
|
+
"_query_:\"{!raw f=#{Ddr::IndexFields::RESOURCE_ROLE}}bar\"",
|
19
|
+
"_query_:\"{!raw f=#{Ddr::IndexFields::RESOURCE_ROLE}}#{user.agent}\"")
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ddr-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Coble
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|