geo_combine 0.0.4 → 0.0.5

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: 937e1b4e862c3146843ba59dc2cccf68a27f826b
4
- data.tar.gz: b1ac9ef45a42d1226c36f193a4f3922f2b48d0d3
3
+ metadata.gz: 23a7b7ef3140404f61f2c0143e25556163178bb1
4
+ data.tar.gz: f776389c9604fd18cbdf958c2f68b2efd4181fd2
5
5
  SHA512:
6
- metadata.gz: f92c6fa217b39682660519037aead4cb8bb9befad3136ad6e5b90db0bc5d43c4b3c48530dcf2492ddf395a178811a8a8f979393433749381cc69b97626f69db1
7
- data.tar.gz: dd90f9824b4dfcb85d9286dc905c739164f8545ddbf434f87f6c022ff1444266053e37ca06e7d96b52b8437852fda63fb5a10494a41bb1f2e3509980e8691cf0
6
+ metadata.gz: 1b9ecf8ae11b1e211665e5d90921b32a5f53c7d7e07bfbb5b7d7ab46c6cf27e3e759230b94ff6c8197ba4c38b8a1eb11e299dc3e5b879c15907db01f9982e728
7
+ data.tar.gz: 12e7c094382bc5ea0fe803c2fe7b1aef653102d3082ceb4b9f1068e3d4a1124a571b3b3189030ac5378bcdc3f84cbdf86e3159085460adf565931a2b4b68d419
@@ -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(File.join(File.dirname(__FILE__), '../xslt/fgdc2geoBL.xsl')))
11
+ Nokogiri::XSLT(File.open(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(File.join(File.dirname(__FILE__), '../xslt/fgdc2html.xsl')))
18
+ Nokogiri::XSLT(File.open(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(File.join(File.dirname(__FILE__), '../xslt/iso2geoBL.xsl')))
9
+ Nokogiri::XSLT(File.open(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(File.join(File.dirname(__FILE__), '../xslt/iso2html.xsl')))
16
+ Nokogiri::XSLT(File.open(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.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -37,15 +37,15 @@ http://www.w3.org/TR/xslt
37
37
 
38
38
  <!-- Import another XSLT file for replacing newlines with HTML <br/>'s: -->
39
39
 
40
- <xsl:import href="./lib/xslt/utils/replace-newlines.xsl"/>
40
+ <xsl:import href="utils/replace-newlines.xsl"/>
41
41
 
42
42
  <!-- Import another XSLT file for doing other string substitutions: -->
43
43
 
44
- <xsl:import href="./lib/xslt/utils/replace-string.xsl"/>
44
+ <xsl:import href="utils/replace-string.xsl"/>
45
45
 
46
46
  <!-- Import another XSLT file for limiting the number of decimal places: -->
47
47
 
48
- <xsl:import href="./lib/xslt/utils/strip-digits.xsl"/>
48
+ <xsl:import href="utils/strip-digits.xsl"/>
49
49
 
50
50
  <!--
51
51
 
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Reed