lono 6.1.3 → 6.1.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
  SHA256:
3
- metadata.gz: 0ef1d674e91dc1454c1da60e22877ce51d26d7c4a3c9a1a2cd8246150116b40c
4
- data.tar.gz: 457fddede95499b97a424e67f9ee779b88555b12a6ea190b54c4e79b5d8c6880
3
+ metadata.gz: a5e716a5067fea74e53aa4431a798004481ac433a50622c8d057f8e61cca3056
4
+ data.tar.gz: a40280ee2f07061ff6b491003cc56b43f0c7d409a7baafffdd242055d0abe2eb
5
5
  SHA512:
6
- metadata.gz: 06b21af8dcf2d0ff984a0c83a82c769029965fd03df98dfcbb2950c4bf82a8564c477cc0982e1a10e22868e305f9ebf1e9686efc42058a5d3d52c8ae1da3752d
7
- data.tar.gz: e06da40b85427018b179bdd38ff958e027b9953821a915784e67df5b28f5282a92ecca795c94a6f25ae7102f0bf37b23bf58d6e677c651f154d87bce82e62106
6
+ metadata.gz: '0294336987fb917fa74c100db0ae88a8822b9f2e487130f1e7a6e16953b5c0b1e0d373a708ec4f25ed7174c6a0435792a960d945bc41dfa59c2bfc4077286616'
7
+ data.tar.gz: 769b99a41dffa596d00f29510e6412b4f1741f8068549179f2fba48e1de5782090e48cb0def97597f8c048b4c66517743079a8b152438c6355cfb14655a4d1a6
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [6.1.4]
7
+ - #22 tags helper: return nil if @tags not set and using variable mode
8
+
6
9
  ## [6.1.3]
7
10
  - #21 smarter tags helper. use @tags variable if tags called without arguments
8
11
 
@@ -5,7 +5,7 @@ module Lono::Template::Dsl::Builder::Helpers
5
5
  def tags(list={})
6
6
  casing = list.delete(:casing) || :camelize
7
7
  if list.empty?
8
- tag_list(@tags) # when list is empty, we'll use variables
8
+ tag_list(@tags) if @tags # when list is empty, use @tags variable. If not set then return nil
9
9
  else
10
10
  tag_list(list, casing: casing)
11
11
  end
data/lib/lono/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "6.1.3"
2
+ VERSION = "6.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.3
4
+ version: 6.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen