birch 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/birch/pure.rb +1 -1
  2. data/lib/birch/version.rb +1 -1
  3. metadata +2 -2
data/lib/birch/pure.rb CHANGED
@@ -20,7 +20,7 @@ module Birch
20
20
  end
21
21
 
22
22
  def add(node_or_nodes)
23
- nodes = [node_or_nodes].flatten
23
+ nodes = [*node_or_nodes]
24
24
  nodes.each do |node|
25
25
  @children << node
26
26
  @children_hash[node.id] = node
data/lib/birch/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Birch
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: birch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-12-12 00:00:00.000000000 Z
13
+ date: 2012-12-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec