fangorn 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fangorn/haml.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 784a3a269ab82cdbf8fddde248c5adcaceed51cf
|
4
|
+
data.tar.gz: 6ba05c01fce9d99389823e2a8e7b8bddfdec3b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|