geo_works 0.1.2 → 0.1.3
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: 53a8932ef1ba631342a8328ec7eaf7cca993de94
|
4
|
+
data.tar.gz: 580c364352f569f95dcc63beacd48e5399460161
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dc0210e5f06b05a69192c1115b694a934175653cecc9f593b0944a3e818f1fc578be329269be74541eb406c603e722f9880e3967f208b40f699e42666d19d25
|
7
|
+
data.tar.gz: ab82e6645185eaa54cf56258aa1877fd31314434d8c8c29af05b480dea7b249e5ed41f5738d3e605fc24632c7f35401531826723a40ee23776c07087994015c8
|
@@ -42,15 +42,19 @@ module GeoWorks
|
|
42
42
|
# Returns the first geo file set presenter attached to work.
|
43
43
|
# @return [FileSetPresenter] geo file set presenter
|
44
44
|
def file_set
|
45
|
-
|
46
|
-
|
45
|
+
@file_set ||= begin
|
46
|
+
presenters = geo_concern.geo_file_set_presenters
|
47
|
+
presenters ? presenters.first : nil
|
48
|
+
end
|
47
49
|
end
|
48
50
|
|
49
51
|
# Returns the first metadata file set presenter attached to work.
|
50
52
|
# @return [FileSetPresenter] metadata file set presenter
|
51
53
|
def metadata_file_set
|
52
|
-
|
53
|
-
|
54
|
+
@metadata_file_set ||= begin
|
55
|
+
presenters = geo_concern.external_metadata_file_set_presenters
|
56
|
+
presenters ? presenters.first : nil
|
57
|
+
end
|
54
58
|
end
|
55
59
|
|
56
60
|
# Instantiates a DocumentHelper object.
|
data/lib/geo_works/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geo_works
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Griffin
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2017-06-
|
15
|
+
date: 2017-06-22 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: hyrax
|
@@ -689,7 +689,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
689
689
|
version: '0'
|
690
690
|
requirements: []
|
691
691
|
rubyforge_project:
|
692
|
-
rubygems_version: 2.
|
692
|
+
rubygems_version: 2.4.5
|
693
693
|
signing_key:
|
694
694
|
specification_version: 4
|
695
695
|
summary: Rails engine for Hydra Geo models. Built around the Hyrax engine.
|