hierarchical_db 0.0.3 → 0.0.4
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b0b9722c0b849a9deac9e218171a1ef340ac4a
|
4
|
+
data.tar.gz: 2e0e93acd7a8a7fba617c108d6934d6f14c6d724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18bb3f392701b5f76a6c16085c2b19ecb8a34586170a6d4b199af700dd20719d9af938551d4d964a30a200ee1bf6df07af4c8ea44b4b48e38da8b4f9790192b5
|
7
|
+
data.tar.gz: 3fbe103e3ed0bf2ae2c6afd837c58b9a1f614076d06e4891e75860cf0615b2e3f0fc9d53856223da56371ab80567bf203928497bc78f9e02fe1b2bd847c6dd62
|
Binary file
|
data/hierarchical_db.gemspec
CHANGED
@@ -9,20 +9,20 @@ module HierarchicalDb
|
|
9
9
|
|
10
10
|
namespace "hierarchical_db"
|
11
11
|
|
12
|
-
desc "Creates
|
12
|
+
desc "Creates HierarchicalDb Migrations"
|
13
13
|
|
14
14
|
source_root File.expand_path("../templates", __FILE__)
|
15
15
|
|
16
16
|
def copy_migration
|
17
|
-
migration_template "migration_existing.rb", "db/migrate/
|
17
|
+
migration_template "migration_existing.rb", "db/migrate/hierarchical_db_to_#{plural_name.downcase}"
|
18
18
|
end
|
19
19
|
|
20
20
|
def migration_data
|
21
|
-
<<RUBY
|
21
|
+
# <<RUBY
|
22
22
|
## Add active column to table
|
23
23
|
t.integer :lft
|
24
24
|
t.integer :rgt
|
25
|
-
RUBY
|
25
|
+
# RUBY
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hierarchical_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gustavo
|
@@ -57,6 +57,7 @@ files:
|
|
57
57
|
- hierarchical_db-0.0.0.gem
|
58
58
|
- hierarchical_db-0.0.1.gem
|
59
59
|
- hierarchical_db-0.0.2.gem
|
60
|
+
- hierarchical_db-0.0.3.gem
|
60
61
|
- hierarchical_db.gemspec
|
61
62
|
- lib/generators/hierarchical_db/templates/migration_existing.rb
|
62
63
|
- lib/generators/hierarchical_db_generator.rb
|