closure_tree 5.1.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/closure_tree/version.rb +1 -1
- data/lib/generators/closure_tree/migration_generator.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed9e9ee1d96298188863154501be9befbc2529d1
|
4
|
+
data.tar.gz: 9eab4fbf0b8b40dbaead055c5d18d4367d801489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e90ba79f6900faa44bead080114a2c83b51fbc5c97ef5aea18dd8a563352e89ed2d49a9e8645a5957d6a5bd95cf219ebd5fd886400ecfc1ecde2a51b1e80d1
|
7
|
+
data.tar.gz: 66406674bbe8f32d8ce0c545dcc412d8bd2e50a2f61e4e8428cf0bbedbdb367e0faf0bb783a6e51e6634cd438344c0bae29e8bb9f39fb54c8443cb6e0845993e
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### 5.1.1
|
4
|
+
|
5
|
+
* Fixed bug in `rails g closure_tree:migration` (introduced by me, not by seuros!)
|
6
|
+
that was reported and fixed by [Rich Kuo](https://github.com/richkuo). Thanks!
|
7
|
+
|
3
8
|
### 5.1.0
|
4
9
|
|
5
10
|
* [Abdelkader Boudih](https://github.com/seuros) added a database generator
|
6
11
|
for the hierarchies table. Thanks!
|
7
12
|
* [Jason Weathered](https://github.com/jasoncodes) fixed [issue #117](https://github.com/mceachen/closure_tree/pull/117)
|
8
|
-
with the preordered traversal code that assumed the primary key column was called `id`. Thanks!
|
13
|
+
with the preordered traversal code that assumed the primary key column was called `id`. Thanks!
|
9
14
|
|
10
15
|
### 5.0.0
|
11
16
|
|
data/lib/closure_tree/version.rb
CHANGED
@@ -15,11 +15,11 @@ module ClosureTree
|
|
15
15
|
end
|
16
16
|
|
17
17
|
def create_migration_file
|
18
|
-
migration_template 'create_hierarchies_table.rb.erb', "db/migrate/create_#{
|
18
|
+
migration_template 'create_hierarchies_table.rb.erb', "db/migrate/create_#{ct.hierarchy_table_name}.rb"
|
19
19
|
end
|
20
20
|
|
21
21
|
def migration_class_name
|
22
|
-
"Create#{ct.
|
22
|
+
"Create#{ct.hierarchy_table_name.camelize}"
|
23
23
|
end
|
24
24
|
|
25
25
|
def ct
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closure_tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew McEachen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|