DanaDanger-hyrarchy 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/hyrarchy.rb +2 -2
  2. metadata +1 -1
data/lib/hyrarchy.rb CHANGED
@@ -110,8 +110,8 @@ module Hyrarchy
110
110
  child_path = node ?
111
111
  node.send(:next_child_encoded_path) : parent_path.first_child
112
112
  end
113
- while self.exists?(:lft_numer => p.numerator, :lft_denom => p.denominator)
114
- child_path = p.next_sibling
113
+ while self.exists?(:lft_numer => child_path.numerator, :lft_denom => child_path.denominator)
114
+ child_path = child_path.next_sibling
115
115
  end
116
116
  child_path
117
117
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: DanaDanger-hyrarchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dana Danger