hydra-core 6.0.0.rc1 → 6.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
@@ -90,16 +90,16 @@
|
|
90
90
|
<str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
|
91
91
|
<str name="fl">
|
92
92
|
id,
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
93
|
+
access_ssim,
|
94
|
+
discover_access_group_ssim,discover_access_person_ssim,
|
95
|
+
read_access_group_ssim,read_access_person_ssim,
|
96
|
+
edit_access_group_ssim,edit_access_person_ssim,
|
97
97
|
depositor_ti,
|
98
98
|
embargo_release_date_dtsi
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
99
|
+
inheritable_access_ssim,
|
100
|
+
inheritable_discover_access_group_ssim,inheritable_discover_access_person_ssim,
|
101
|
+
inheritable_read_access_group_ssim,inheritable_read_access_person_ssim,
|
102
|
+
inheritable_edit_access_group_ssim,inheritable_edit_access_person_ssim,
|
103
103
|
inheritable_embargo_release_date_dtsi
|
104
104
|
</str>
|
105
105
|
</lst>
|
data/lib/hydra-head/version.rb
CHANGED
@@ -54,7 +54,7 @@ describe CatalogController do
|
|
54
54
|
|
55
55
|
describe "access controls" do
|
56
56
|
before(:all) do
|
57
|
-
fq = "
|
57
|
+
fq = "read_access_group_ssim:public OR edit_access_group_ssim:public OR discover_access_group_ssim:public"
|
58
58
|
solr_opts = {:fq=>fq}
|
59
59
|
response = Blacklight.solr.get('select', :params=> solr_opts)
|
60
60
|
@public_only_results = Blacklight::SolrResponse.new(response, solr_opts)
|
data/tasks/rspec.rake
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
ENV["RAILS_ROOT"] ||= 'spec/internal'
|
2
2
|
|
3
|
+
GEM_ROOT= File.expand_path(File.join(File.dirname(__FILE__),".."))
|
4
|
+
|
3
5
|
desc "Run specs"
|
4
6
|
task :spec => [:generate, :fixtures] do |t|
|
7
|
+
focused_spec = ENV['SPEC'] ? " SPEC=#{File.join(GEM_ROOT, ENV['SPEC'])}" : ''
|
5
8
|
within_test_app do
|
6
|
-
system "rake myspec"
|
9
|
+
system "rake myspec#{focused_spec}"
|
7
10
|
abort "Error running hydra-core" unless $?.success?
|
8
11
|
end
|
9
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.0.
|
4
|
+
version: 6.0.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-02-
|
13
|
+
date: 2013-02-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -99,7 +99,7 @@ dependencies:
|
|
99
99
|
requirements:
|
100
100
|
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 6.0.0.
|
102
|
+
version: 6.0.0.rc2
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -107,7 +107,7 @@ dependencies:
|
|
107
107
|
requirements:
|
108
108
|
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 6.0.0.
|
110
|
+
version: 6.0.0.rc2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: sqlite3
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|