closure_tree 3.6.4 → 3.6.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.
data/README.md CHANGED
@@ -361,10 +361,17 @@ Closure tree is [tested under every combination](http://travis-ci.org/#!/mceache
361
361
 
362
362
  ## Change log
363
363
 
364
+ ### 3.6.5
365
+
366
+ * Use ```quote_table_name``` instead of ```quote_column_name```
367
+ [issue 29](https://github.com/mceachen/closure_tree/issues/29). Thanks,
368
+ [Marcello Barnaba](https://github.com/vjt)!
369
+
364
370
  ### 3.6.4
365
371
 
366
- * Use ```.pluck``` when available for ```.ids_from```. Addresses [issue 26](https://github
367
- .com/mceachen/closure_tree/issues/26). Thanks, [Chris Sturgill](https://github.com/sturgill)!
372
+ * Use ```.pluck``` when available for ```.ids_from```. Addresses
373
+ [issue 26](https://github.com/mceachen/closure_tree/issues/26). Thanks,
374
+ [Chris Sturgill](https://github.com/sturgill)!
368
375
 
369
376
  ### 3.6.3
370
377
 
@@ -479,3 +486,4 @@ a.save
479
486
  * https://github.com/patshaughnessy/class_factory
480
487
  * JetBrains, which provides an [open-source license](http://www.jetbrains.com/ruby/buy/buy.jsp#openSource) to
481
488
  [RubyMine](http://www.jetbrains.com/ruby/features/) for the development of this project.
489
+
@@ -435,7 +435,7 @@ module ClosureTree
435
435
  end
436
436
 
437
437
  def quoted_hierarchy_table_name
438
- connection.quote_column_name hierarchy_table_name
438
+ connection.quote_table_name hierarchy_table_name
439
439
  end
440
440
 
441
441
  def quoted_parent_column_name
@@ -486,7 +486,7 @@ module ClosureTree
486
486
  end
487
487
 
488
488
  def quoted_table_name
489
- connection.quote_column_name ct_table_name
489
+ connection.quote_table_name ct_table_name
490
490
  end
491
491
 
492
492
  def remove_prefix_and_suffix(table_name)
@@ -1,3 +1,3 @@
1
1
  module ClosureTree
2
- VERSION = "3.6.4" unless defined?(::ClosureTree::VERSION)
2
+ VERSION = "3.6.5" unless defined?(::ClosureTree::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: closure_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.4
4
+ version: 3.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-05 00:00:00.000000000 Z
12
+ date: 2012-12-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  segments:
194
194
  - 0
195
- hash: -4571923671757630027
195
+ hash: 2279521455981476723
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  none: false
198
198
  requirements:
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  segments:
203
203
  - 0
204
- hash: -4571923671757630027
204
+ hash: 2279521455981476723
205
205
  requirements: []
206
206
  rubyforge_project:
207
207
  rubygems_version: 1.8.23