hashbrowns 0.2.1 → 0.2.2

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.1
1
+ 0.2.2
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.1"
8
+ s.version = "0.2.2"
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}]
@@ -55,7 +55,7 @@ module HashBrowns
55
55
  def add_important_name(name, value, status=false)
56
56
  name = name.to_s
57
57
  if value.kind_of?(Proc)
58
- @important[name] = value
58
+ @important[name] = value
59
59
  return
60
60
  end
61
61
  value, status = value.to_s, status.to_s
@@ -97,6 +97,12 @@ module HashBrowns
97
97
  @link_hash[key.to_s] = path.to_s
98
98
  end
99
99
 
100
+ def add_links_by_keys(keys, path)
101
+ keys.each do |key|
102
+ @link_hash[key.to_s] = path.to_s
103
+ end
104
+ end
105
+
100
106
  def add_link_by_parent(parent, key, path)
101
107
  if @link_parents.has_key?(parent.to_s)
102
108
  @link_parents[parent.to_s][key.to_s] = path.to_s
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hashbrowns
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - crimsonknave