hydra-core 7.1.0.rc2 → 7.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0bb910f8bac80a3f56529027de3c34800c305f
|
4
|
+
data.tar.gz: 904c77e5a596d35b9d54264961c9efa37551ba8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59e108e7eba0a4520acc4a396f33774b48b62e7dabd151ca364b0d29f8ce242001e2c92d65593a4101a05f05e9302b48dff3470ab57e1121dee5526ec6504ae9
|
7
|
+
data.tar.gz: 7c741d190154375d9a94bd2df9b5870903ad6fa41c873370ad07af872bfa5f3f7e4b95bba5252b0c0f05bfcf0c16428bf71cf7fb50c2cb8bdc52d5a9a727dc8f
|
data/lib/hydra-head/version.rb
CHANGED
@@ -34,7 +34,7 @@ describe CatalogController do
|
|
34
34
|
end
|
35
35
|
|
36
36
|
it "should not choke on objects with periods in ids (ie Fedora system objects)" do
|
37
|
-
|
37
|
+
skip "Need to override blacklight routes"
|
38
38
|
|
39
39
|
## We could do something like this to remove the catalog/show route and replace it with a route that allows dots (e.g. resources :catalog, :id=> /.+/)
|
40
40
|
# def add_route
|
@@ -190,7 +190,7 @@ describe DownloadsController do
|
|
190
190
|
before { sign_in @user }
|
191
191
|
context "current_ability.can? returns true / can_download? returns false" do
|
192
192
|
it "should authorize according to can_download?" do
|
193
|
-
controller.current_ability.can?(:download, @obj.datastreams['buzz']).should
|
193
|
+
controller.current_ability.can?(:download, @obj.datastreams['buzz']).should be true
|
194
194
|
controller.stub(:can_download?).and_return(false)
|
195
195
|
Deprecation.silence(Hydra::Controller::DownloadBehavior) do
|
196
196
|
get :show, id: @obj, datastream_id: 'buzz'
|
@@ -204,7 +204,7 @@ describe DownloadsController do
|
|
204
204
|
@obj.save
|
205
205
|
end
|
206
206
|
it "should authorize according to can_download?" do
|
207
|
-
controller.current_ability.can?(:download, @obj.datastreams['buzz']).should
|
207
|
+
controller.current_ability.can?(:download, @obj.datastreams['buzz']).should be false
|
208
208
|
controller.stub(:can_download?).and_return(true)
|
209
209
|
Deprecation.silence(Hydra::Controller::DownloadBehavior) do
|
210
210
|
get :show, id: @obj, datastream_id: 'buzz'
|
data/spec/spec_helper.rb
CHANGED
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: 7.1.0
|
4
|
+
version: 7.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt, Bess Sadler, Julie Meloni, Naomi Dushay, Jessie Keck, John Scofield,
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 7.1.0
|
54
|
+
version: 7.1.0
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 7.1.0
|
61
|
+
version: 7.1.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: jettywrapper
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,9 +212,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
212
|
version: 1.9.3
|
213
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
214
|
requirements:
|
215
|
-
- - "
|
215
|
+
- - ">="
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
version:
|
217
|
+
version: '0'
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project:
|
220
220
|
rubygems_version: 2.2.2
|