hydra-core 7.1.0.rc2 → 7.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b03cb654cde2ed1d9835a1c77eb257713cd4b99f
4
- data.tar.gz: 891d7342e3a929c25067d775ac50b4008560a81b
3
+ metadata.gz: 1e0bb910f8bac80a3f56529027de3c34800c305f
4
+ data.tar.gz: 904c77e5a596d35b9d54264961c9efa37551ba8d
5
5
  SHA512:
6
- metadata.gz: a88130440ec9d9fd9dbd70801eb8c8d0bbfb3befd744d02e4bef7ba8291b0538a25545b2497bf84d46c0ce202ea271da47206c80ebc2a9f82bd958c6e8819297
7
- data.tar.gz: e99e9bdd5401d7175b1cf5433bda2b3dc84d133dd99bf04f076e1347d3cca71c062f33225305aa14d2df6ca64c542a6c839ac4f3c4998035d55295a6b99ad9db
6
+ metadata.gz: 59e108e7eba0a4520acc4a396f33774b48b62e7dabd151ca364b0d29f8ce242001e2c92d65593a4101a05f05e9302b48dff3470ab57e1121dee5526ec6504ae9
7
+ data.tar.gz: 7c741d190154375d9a94bd2df9b5870903ad6fa41c873370ad07af872bfa5f3f7e4b95bba5252b0c0f05bfcf0c16428bf71cf7fb50c2cb8bdc52d5a9a727dc8f
@@ -1,4 +1,4 @@
1
1
  module HydraHead
2
- VERSION = "7.1.0.rc2"
2
+ VERSION = "7.1.0"
3
3
  end
4
4
 
@@ -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
- pending "Need to override blacklight routes"
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 be_true
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 be_false
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
@@ -21,6 +21,7 @@ RSpec.configure do |config|
21
21
  config.include Devise::TestHelpers, :type => :controller
22
22
  config.use_transactional_fixtures = true
23
23
  config.before(:suite) { User.destroy_all }
24
+ config.infer_spec_type_from_file_location!
24
25
  end
25
26
 
26
27
 
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.rc2
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-13 00:00:00.000000000 Z
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.rc2
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.rc2
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: 1.3.1
217
+ version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
220
  rubygems_version: 2.2.2