geo_concerns 0.1.0 → 0.1.1

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: d62f2f9412e6303a2245195a93b9d18b15c19461
4
- data.tar.gz: 0e2cb97544d7aa1ace8c595f89637833bb00d860
3
+ metadata.gz: 0e210521bb24c13a1e1c0a3e6e07ea94989ca56c
4
+ data.tar.gz: 15ef580280239099d948ca3e262b4897389f0b25
5
5
  SHA512:
6
- metadata.gz: a0fa7ca52d44573c6bce5021977bc0502c87ebd125cf4f20b1725203ee761494b528ed7a7d196a284d8df1388b7b76af20685a0e6e59b399663bb13132632a27
7
- data.tar.gz: 94b8701dcd59dcfc1160ddb11e9cbae5a03da1e925305b61eb9c90473904000984012c5d6edb74cebd30cfe1c0f0b2390f84ecbca02c4c0dbad17f44d201cf92
6
+ metadata.gz: 5c1ca1d6a20a1a17679352e85dcf71fd6e01eff701ff635be313adaf23b6ce0e7d224b64877cb281b91a6ed13ca2f20c925606ddef5762235a98e15ee0c577a6
7
+ data.tar.gz: 7d1f99d9388f2c37051d6f1730cb187e88f50ae65a5d33bdf69570a01c7b59b33a15228b0500fd73ff7892ec9f35ecdc123704ef673448707a7f32360ac8f43c
@@ -13,7 +13,7 @@ class DeliveryJob < ActiveJob::Base
13
13
  def perform(message)
14
14
  file_set = ActiveFedora::Base.find(message['id'])
15
15
  uri = URI.parse(content_url(file_set))
16
- raise NotImplementedError, 'Only supports vector and raster file formats' if uri.path == ''
16
+ return if uri.path == ''
17
17
  raise NotImplementedError, 'Only supports file URLs' unless uri.scheme == 'file'
18
18
  GeoConcerns::DeliveryService.new(file_set, uri.path).publish
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module GeoConcerns
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
@@ -34,7 +34,7 @@ describe GeoConcerns::DeliveryJob do
34
34
  let(:file_format) { 'image/jpeg' }
35
35
  it 'delegates to DeliveryService' do
36
36
  expect(GeoConcerns::DeliveryService).not_to receive(:new)
37
- expect { subject.perform(message) }.to raise_error(NotImplementedError, /Only supports vector/)
37
+ subject.perform(message)
38
38
  end
39
39
  end
40
40
 
data/template.rb CHANGED
@@ -1,5 +1,5 @@
1
- gem 'curation_concerns', '1.6.0'
2
- gem 'geo_concerns', '0.1.0'
1
+ gem 'curation_concerns', '1.6.3'
2
+ gem 'geo_concerns', '0.1.1'
3
3
 
4
4
  run 'bundle install'
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_concerns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Griffin
@@ -667,7 +667,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
667
667
  version: '0'
668
668
  requirements: []
669
669
  rubyforge_project:
670
- rubygems_version: 2.6.7
670
+ rubygems_version: 2.4.5
671
671
  signing_key:
672
672
  specification_version: 4
673
673
  summary: Rails engine for Hydra Geo models. Built around Curation Concerns engine.