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: 729a263cee8ca42306021c4470e0d8f6ee7cc01d
4
- data.tar.gz: 7e5de51d0abd39a6d0d14f7ddb8ccefd29636b61
3
+ metadata.gz: a26b06e95a9a6c401104bf30477271bd8b1072df
4
+ data.tar.gz: 204fe388092827c133962bcf0f3b03ff73f215af
5
5
  SHA512:
6
- metadata.gz: bdbba6586da03a114473e247d2961ef7e55a1a268cb64d8aff4764383c3f017b277cd5af3898ede193a9ad35ee8de43ba35d05b583c343ebbb19dfcf41cd788a
7
- data.tar.gz: f65fa54e2b75e9bc10716d44ba4ebbc220de3d108c09dea642e61931a42930ee11c12a09ae3c7722f568cfb5b42d91fad4ba5372fdaeec2af65858edbc3dcefe
6
+ metadata.gz: a64f4959b30872bdbd9a9a022343b662d4c853c45c7c6d4cf64ea2d1a3a6b0a6ca26f1d8a96b6dee8142081307dd666489a8199463ee22f0da6dd99e27505b35
7
+ data.tar.gz: c8fae74b488bf79ec8a87724f72c54fd03717e59ead28cb527e3c6422cb5779a887b75ff087be00e7594305373ea163a632048ef7743e1db0d2b0b5589ebf7fc
data/README.md CHANGED
@@ -9,7 +9,7 @@ how you require the gem) which will help you when setting up a pipeline with
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'slim-grunt-helpers', '~> 0.0.3'
12
+ gem 'slim-grunt-helpers', '~> 0.0.4'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -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
@@ -6,8 +6,6 @@ module SlimGruntHelpers
6
6
 
7
7
  class UseminJs < Usemin
8
8
 
9
- BASE_OPTIONS = {}.freeze
10
-
11
9
  protected
12
10
 
13
11
  def transform_link(link)
@@ -1,3 +1,3 @@
1
1
  module SlimGruntHelpers
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  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.3
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-23 00:00:00.000000000 Z
11
+ date: 2014-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler