fangorn 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fangorn/haml.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49833a5c28bee85bfa2525a7619f2d68a9fa7193
4
- data.tar.gz: 480bd535207c132d9a47935fbd8511d86159d9c1
3
+ metadata.gz: 43afb82b253ffb44a314b54c54f548b847972d8f
4
+ data.tar.gz: 07f91c4c74453acc7260746029623fb55e6e8d1c
5
5
  SHA512:
6
- metadata.gz: 62d58cffcdc4a8b270c93cf8c5b5b750b6bed7139e4867c920c1fd28ff86fc0b1342d11d46ee6b0707a68663267d91676080ee15590652db10b165f217fd2722
7
- data.tar.gz: 2a4065bce24a2dcc4da698896981a5c9972517fea188beb145d24dee11effae4b793b8913fdc50e9270f5678dc50a5c2971397a2cab87e31ecc91af7713063d8
6
+ metadata.gz: ca9768f7c00728d58bf669ca0388a4ca45c4fdbe081c965945bb0646aaaa0fbba278db22106a109dfbfbd810c9972edf8bc917187bd0c85243a51d943a794f09
7
+ data.tar.gz: 4884201e0ad6ba48901fadd47f6406cd1c1b389cc7cf93e36769bc53973d16e07c76cedd46f182e5d3337e1c97995497a307ef7de1316c148eb43a6c0989aa2a
data/lib/fangorn/haml.rb CHANGED
@@ -54,7 +54,7 @@ module Fangorn
54
54
 
55
55
  def copy_file(file)
56
56
  SCRIPT_SOURCES.each do |refdir, sourcedir|
57
- src = file.sub /^#{refdir}\//, "#{sourcedir}/"
57
+ src = file.sub /^\/?#{refdir}\//, "#{sourcedir}/"
58
58
  if File.exists? src
59
59
  out = File.join(Output::dest, file)
60
60
  FileUtils.mkdir_p File.dirname(out)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fangorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Calhoun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-04 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: listen