planner_template 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: 7c2670a0da91a350d241f24be1522037b0f749fd
4
- data.tar.gz: 5bdb85f06f990527b728a3bfd29237c9a8302c3c
3
+ metadata.gz: 11547040b01531927e88d7976d968cb208c9d203
4
+ data.tar.gz: bd9e6f1784eeaf8991389b9b8965dff4a9af4928
5
5
  SHA512:
6
- metadata.gz: 71c62baae39b148d57b87a7f7e55daf86523d3a4a8a3a3d1d0b5163c0916ac0084311a0539b631b39fb332bdff102d0bd72a7e682310a441dba5b2b4d533fd9e
7
- data.tar.gz: 737610a604e7d2b2a409553e3c5e1b16145f88fb7079974e8eded81503b0594a42e54217fd648189b0002ddbd8d358b278dbfa313de974ba501ccae19dab508f
6
+ metadata.gz: 4b09c71b6cb38dd03110bee86963f6c114cd93a817747066443ceb1a0edddbb301c24ba5d5da33e0d227745e2789db066c623df62095dafb131340bf371b5480
7
+ data.tar.gz: 4c26f6ec86e3d6b7f506b42eef09163b1b901b619d69a875b7dd4057d11c18e1c9cf16eeafaf588f20ca04ca2f661d6498fedc5252ccd031648624dc67d04a36
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -5,20 +5,7 @@
5
5
  require 'nokorexi'
6
6
 
7
7
  module LIBRARY
8
-
9
- def fetch_filepath(filename)
10
-
11
- lib = File.dirname(__FILE__)
12
- File.join(lib, '..', 'template', filename)
13
- end
14
8
 
15
- def fetch_file(filename)
16
-
17
- filepath = fetch_filepath filename
18
- read filepath
19
- end
20
-
21
-
22
9
  def generate_webpage(xml, xsl)
23
10
 
24
11
  # transform the xml to html
@@ -27,7 +14,7 @@ module LIBRARY
27
14
  xslt.transform(doc).to_s
28
15
  end
29
16
 
30
- def read(s)
17
+ def fetch_file(s)
31
18
  RXFHelper.read(s).first
32
19
  end
33
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planner_template
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 Robertson
metadata.gz.sig CHANGED
Binary file