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 +4 -4
- data/app/jobs/delivery_job.rb +1 -1
- data/lib/geo_concerns/version.rb +1 -1
- data/spec/jobs/delivery_job_spec.rb +1 -1
- data/template.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e210521bb24c13a1e1c0a3e6e07ea94989ca56c
|
4
|
+
data.tar.gz: 15ef580280239099d948ca3e262b4897389f0b25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1ca1d6a20a1a17679352e85dcf71fd6e01eff701ff635be313adaf23b6ce0e7d224b64877cb281b91a6ed13ca2f20c925606ddef5762235a98e15ee0c577a6
|
7
|
+
data.tar.gz: 7d1f99d9388f2c37051d6f1730cb187e88f50ae65a5d33bdf69570a01c7b59b33a15228b0500fd73ff7892ec9f35ecdc123704ef673448707a7f32360ac8f43c
|
data/app/jobs/delivery_job.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/geo_concerns/version.rb
CHANGED
@@ -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
|
-
|
37
|
+
subject.perform(message)
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
data/template.rb
CHANGED
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.
|
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.
|
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.
|