hamloft 0.2.0 → 0.2.1

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: 59091127306c9531bd8bc2b81dd6f4ae161f3862
4
- data.tar.gz: 20d93d794bc7052430254d0ecc70aa996ae67847
3
+ metadata.gz: 5828cf52d103a0efddb830b76a84e14701c59ba9
4
+ data.tar.gz: 39948ac1b1e686caffbcbc33ff58c1702ef7f132
5
5
  SHA512:
6
- metadata.gz: b63f332542ad3d3109965946a7d208f8f883fa0c8b699eacf2bad58fddd835998bd223d24ea33e5544fb8ae15324dd1ef08a0ed8a4f28b0101c65cce2dfcb5db
7
- data.tar.gz: c7e89acd0ec1e6584d7de3da5204f19185a666db5d9620609c2afccd4abeb2f793970d8bcf671138ea71a87f4e584f7f8e15d245edd7295110abe2e51d3e77db
6
+ metadata.gz: 65920f83ae63a71f2979ef079ee622a037c6d58b1b9256fb391c3187ee84c0af759845aae8295e86068e6e3c305e95e6ee4dc1109cae0aa081a5af467e89892b
7
+ data.tar.gz: a1c34e93360b90b88bf4ec21ca58ac777e357eb48f987bd83238e6a95a1215755ed19cfb5688c82fb9995d84a9ebf7b3e3aac6fa9e78eab7ba5b34ea76f38ecb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hamloft (0.2.0)
4
+ hamloft (0.2.1)
5
5
  haml (~> 4.0)
6
6
  nokogiri (~> 1.6)
7
7
 
@@ -15,7 +15,7 @@ module Hamloft
15
15
  "#{Hamloft::Options.defaults[:asset_uri]}/themes/#{@_haml_locals[:theme]}/#{url}"
16
16
  end
17
17
 
18
- def var(key, default="")
18
+ def var(key, default=nil)
19
19
  variable(:variables)[key.to_sym] || default
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module Hamloft
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamloft
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Strebitzer