fangorn 0.0.13 → 0.0.14

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 +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9404fcd64d916340ab207aec4b40c469dd188fb
4
- data.tar.gz: 0ecb4a2009470a400ddec5d2849dd8f09989a821
3
+ metadata.gz: 784a3a269ab82cdbf8fddde248c5adcaceed51cf
4
+ data.tar.gz: 6ba05c01fce9d99389823e2a8e7b8bddfdec3b63
5
5
  SHA512:
6
- metadata.gz: 7f64226364744791c7b18ec04963666ae0c965ea8d48d7678bc91a979adb1a44f4f3db9c60366ef7ca896b909c3525c4fcf4ab1ee5e528b709558b8aee6004cb
7
- data.tar.gz: bdb569701e8aafac48d56434ab4a708dc26eb3a3976501b7a424d292682391ed8cb6d41cd693a0e4aa326142bc33936c65ab7a02698c16680dae4e4413c467c2
6
+ metadata.gz: 8a9e94d16e82d208a7dc0e03d5f80253e1f57db75fa994cc439dce5b1026f7afbc536d299c2b14fff789b0074fbc1a66c3b04165838a342161fffd003df4d2e2
7
+ data.tar.gz: 998d07a47f5c80fbead3bb809d02235cd1a588f88cf70af070f19bb9652b2cb7eb13b2d53a2aa1525cef5af2c89962c4e1063b94ed36011d7caab57aa8252255
data/lib/fangorn/haml.rb CHANGED
@@ -38,7 +38,7 @@ module Fangorn
38
38
 
39
39
  def css_include_tree(dir)
40
40
  Dir[File.join(Output::dest, dir, '**', '*.css')].map do |file|
41
- css_include file.sub File.join(Output::dest, ''), ''
41
+ css_include file.sub File.join(Output::dest, ''), (dir[0] == '/' ? '/' : '')
42
42
  end.join
43
43
  end
44
44
 
@@ -48,7 +48,7 @@ module Fangorn
48
48
  end
49
49
  def js_include_tree(dir)
50
50
  Dir[File.join(Output::dest, dir, '**', '*.js')].sort_by(&:length).map do |file|
51
- js_include file.sub File.join(Output::dest, ''), ''
51
+ js_include file.sub File.join(Output::dest, ''), (dir[0] == '/' ? '/' : '')
52
52
  end.join
53
53
  end
54
54
 
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.13
4
+ version: 0.0.14
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-02-12 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: listen