closure_tree 3.6.4 → 3.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -2
- data/lib/closure_tree/acts_as_tree.rb +2 -2
- data/lib/closure_tree/version.rb +1 -1
- metadata +4 -4
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
|
367
|
-
.com/mceachen/closure_tree/issues/26). Thanks,
|
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.
|
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.
|
489
|
+
connection.quote_table_name ct_table_name
|
490
490
|
end
|
491
491
|
|
492
492
|
def remove_prefix_and_suffix(table_name)
|
data/lib/closure_tree/version.rb
CHANGED
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
|
+
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-
|
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:
|
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:
|
204
|
+
hash: 2279521455981476723
|
205
205
|
requirements: []
|
206
206
|
rubyforge_project:
|
207
207
|
rubygems_version: 1.8.23
|