awesome_nested_set 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -496,7 +496,7 @@ module CollectiveIdea #:nodoc:
496
496
  else target[parent_column_name]
497
497
  end
498
498
 
499
- self.class.base_class.update_all([
499
+ self.nested_set_scope.update_all([
500
500
  "#{quoted_left_column_name} = CASE " +
501
501
  "WHEN #{quoted_left_column_name} BETWEEN :a AND :b " +
502
502
  "THEN #{quoted_left_column_name} + :d - :b " +
@@ -1,3 +1,3 @@
1
1
  module AwesomeNestedSet
2
- VERSION = '2.0.0' unless defined?(::AwesomeNestedSet::VERSION)
2
+ VERSION = '2.0.1' unless defined?(::AwesomeNestedSet::VERSION)
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: awesome_nested_set
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.0
5
+ version: 2.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brandon Keepers
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-05-10 00:00:00 +01:00
14
+ date: 2011-06-16 00:00:00 -04:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency