hashbrowns 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/example/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- hashbrowns (0.1.5)
4
+ hashbrowns (0.2.0)
5
5
  haml-rails
6
6
 
7
7
  GEM
data/hashbrowns.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hashbrowns}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{crimsonknave}]
@@ -1,7 +1,7 @@
1
1
  module HashBrowns
2
2
  module LinksHelpers
3
3
  def linkify(key, value, parent = false, id = false, text = false)
4
- return "" if value.nil? or key.nil?
4
+ return "" if value.nil? or key.nil? or !value or !key
5
5
  key, value, parent, id, text = key.to_s, value.to_s, parent.to_s, id.to_s, text.to_s
6
6
  text = value if text
7
7
  #puts "k #{key}, v #{value}, p #{parent} i #{id} t #{text}"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hashbrowns
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - crimsonknave