geo_combine 0.0.3 → 0.0.4

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: 5783dffed9a83f91f83260196363a9a0d8913f88
4
- data.tar.gz: e12b7305ad32f141e5a98543f6c908a95ee7d483
3
+ metadata.gz: 937e1b4e862c3146843ba59dc2cccf68a27f826b
4
+ data.tar.gz: b1ac9ef45a42d1226c36f193a4f3922f2b48d0d3
5
5
  SHA512:
6
- metadata.gz: 0bf4f267d66ce5a491854a25dc3909b8ac9d00398e0e99fcadfb03eecf5c79370fcc76a55791565729a75d499beadc03c3ce530a8fbe09af551c3b7665658035
7
- data.tar.gz: 44bcd08fda5b8206cf8ab073dfcf46b6faf4394dfb1c74b8a90c4c6699a12c9601311146dbc6ca15a2a3c74ada652094556803795d112a702fb0a13bf0d4a86b
6
+ metadata.gz: f92c6fa217b39682660519037aead4cb8bb9befad3136ad6e5b90db0bc5d43c4b3c48530dcf2492ddf395a178811a8a8f979393433749381cc69b97626f69db1
7
+ data.tar.gz: dd90f9824b4dfcb85d9286dc905c739164f8545ddbf434f87f6c022ff1444266053e37ca06e7d96b52b8437852fda63fb5a10494a41bb1f2e3509980e8691cf0
@@ -8,14 +8,14 @@ module GeoCombine
8
8
  # Returns a Nokogiri::XSLT object containing the FGDC to GeoBlacklight XSL
9
9
  # @return [Nokogiri::XSLT]
10
10
  def xsl_geoblacklight
11
- Nokogiri::XSLT(File.read('./lib/xslt/fgdc2geoBL.xsl'))
11
+ Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/fgdc2geoBL.xsl')))
12
12
  end
13
13
 
14
14
  ##
15
15
  # Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
16
16
  # @return [Nokogiri:XSLT]
17
17
  def xsl_html
18
- Nokogiri::XSLT(File.read('./lib/xslt/fgdc2html.xsl'))
18
+ Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/fgdc2html.xsl')))
19
19
  end
20
20
  end
21
21
  end
@@ -6,14 +6,14 @@ module GeoCombine
6
6
  # XSL
7
7
  # @return [Nokogiri::XSLT]
8
8
  def xsl_geoblacklight
9
- Nokogiri::XSLT(File.read('./lib/xslt/iso2geoBL.xsl'))
9
+ Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/iso2geoBL.xsl')))
10
10
  end
11
11
 
12
12
  ##
13
13
  # Returns a Nokogiri::XSLT object containing the ISO19139 to HTML XSL
14
14
  # @return [Nokogiri:XSLT]
15
15
  def xsl_html
16
- Nokogiri::XSLT(File.read('./lib/xslt/iso2html.xsl'))
16
+ Nokogiri::XSLT(File.read(File.join(File.dirname(__FILE__), '../xslt/iso2html.xsl')))
17
17
  end
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module GeoCombine
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_combine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed