ActsAsFastNestedSet 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/acts_as_fast_nested_set.rb +2 -2
  2. metadata +3 -3
@@ -54,7 +54,7 @@ require 'active_record'
54
54
  module Adocca
55
55
  module Acts
56
56
  module ActsAsFastNestedSet
57
- VERSION = "0.1.4"
57
+ VERSION = "0.1.5"
58
58
 
59
59
  def self.append_features(base)
60
60
  super
@@ -115,7 +115,7 @@ module Adocca
115
115
  #
116
116
  def get_uniqueness_key
117
117
  options = self.class.get_options
118
- uniqueness_key = "acts_as_fast_nested_set:nodeid_lock:"
118
+ uniqueness_key = "acts_as_fast_nested_set#{self.class.table_name}:nodeid_lock:"
119
119
  if options[:uniqueness_scope]
120
120
  options[:uniqueness_scope].each do |col|
121
121
  uniqueness_key << "#{self.send(col)}:"
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: ActsAsFastNestedSet
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.4
7
- date: 2007-06-21 00:00:00 +02:00
6
+ version: 0.1.5
7
+ date: 2007-07-03 00:00:00 +02:00
8
8
  summary: Fast nested set, really fast!
9
9
  require_paths:
10
10
  - lib