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: 570548c7acb82e5d38016e6b5fb29b1759585e6c
4
- data.tar.gz: 677ba74bcefac04aa809292777e13498208dc61d
3
+ metadata.gz: 4644f6ebc909bc7bf6f48ba1b261a534ebecba08
4
+ data.tar.gz: 746803fb4ad83232dc601f5113480a80f8c3825b
5
5
  SHA512:
6
- metadata.gz: a08a9d5d1cff74e76ffc6468fea2db1c587e30034aa468bc1d2eb6735d4b3d7fab0eb0592d10de29b542479a4675ba973f3c51c0eef33ddacc37f375d3cd5923
7
- data.tar.gz: a8b55aea46368a70d9bbf7a54c4bff5004713d0a01fa4d1066cc0648e3428d746f6aee832b81c82875ac0ad245b1bc4064c01336a71a96a58cec3ef2ca2de835
6
+ metadata.gz: a49ef748e8b47253e6913a788a074f93ce9ae3ededea0b9dd9bc6967e7dd16fac9e2a17831e08b127390869f720de480690a90e751266387be739ecd02e10993
7
+ data.tar.gz: f7e49f65b3d7f51b78fa5a4e25ff3399504135d988437823c34732c022aa9dbab3c8ee391a7a28fe676eda518b93406aac32c9a94ef24348aa82cdac248eb2b2
@@ -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, :facetable, type: :string
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, :facetable, type: :string
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
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Models
3
- VERSION = "2.0.0.rc5"
3
+ VERSION = "2.0.0.rc6"
4
4
  end
5
5
  end
@@ -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=resource_role_sim}foo\"",
18
- "_query_:\"{!raw f=resource_role_sim}bar\"",
19
- "_query_:\"{!raw f=resource_role_sim}#{user.agent}\"")
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.rc5
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-03 00:00:00.000000000 Z
12
+ date: 2015-08-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails