slim-grunt-helpers 0.0.3 → 0.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26b06e95a9a6c401104bf30477271bd8b1072df
|
4
|
+
data.tar.gz: 204fe388092827c133962bcf0f3b03ff73f215af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64f4959b30872bdbd9a9a022343b662d4c853c45c7c6d4cf64ea2d1a3a6b0a6ca26f1d8a96b6dee8142081307dd666489a8199463ee22f0da6dd99e27505b35
|
7
|
+
data.tar.gz: c8fae74b488bf79ec8a87724f72c54fd03717e59ead28cb527e3c6422cb5779a887b75ff087be00e7594305373ea163a632048ef7743e1db0d2b0b5589ebf7fc
|
data/README.md
CHANGED
@@ -8,6 +8,10 @@ module SlimGruntHelpers
|
|
8
8
|
|
9
9
|
BASE_OPTIONS = { rel: 'stylesheet' }.freeze
|
10
10
|
|
11
|
+
def base_options
|
12
|
+
BASE_OPTIONS
|
13
|
+
end
|
14
|
+
|
11
15
|
protected
|
12
16
|
|
13
17
|
def transform_link(link)
|
@@ -15,7 +19,7 @@ module SlimGruntHelpers
|
|
15
19
|
link[:options].each do |key, value|
|
16
20
|
if value == true
|
17
21
|
text << %Q{ #{ key }}
|
18
|
-
elsif value
|
22
|
+
elsif !value.nil? && value != false
|
19
23
|
text << %Q{ #{ key }="#{ value }"}
|
20
24
|
end
|
21
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim-grunt-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fire-Dragon-DoL
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|