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: 92805019ca42957639cf722fc360def5a83f274e
4
- data.tar.gz: 1bffa0dc03c10b92386eb89a7cf6464162ec57d3
3
+ metadata.gz: 94b0b9722c0b849a9deac9e218171a1ef340ac4a
4
+ data.tar.gz: 2e0e93acd7a8a7fba617c108d6934d6f14c6d724
5
5
  SHA512:
6
- metadata.gz: 732c82df4931a2d2478f7814c1b3d7007f7b3a3f212ff88fe1fe48e6d7c4f574bd1bf6385ce39db7d53107ebbafa43a0a25d5a5d6b74463754f523b41225d00d
7
- data.tar.gz: bab5e1b2dfaf9991a80e3a5ae8dc98c1801d1a71f9c2fb7306735c40a935ba57da6bc01fc795bb886ab33bea019e3443161ff60c216c35ff8324d3cf62dd4293
6
+ metadata.gz: 18bb3f392701b5f76a6c16085c2b19ecb8a34586170a6d4b199af700dd20719d9af938551d4d964a30a200ee1bf6df07af4c8ea44b4b48e38da8b4f9790192b5
7
+ data.tar.gz: 3fbe103e3ed0bf2ae2c6afd837c58b9a1f614076d06e4891e75860cf0615b2e3f0fc9d53856223da56371ab80567bf203928497bc78f9e02fe1b2bd847c6dd62
Binary file
@@ -5,7 +5,7 @@ require 'hierarchical_db/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "hierarchical_db"
8
- spec.version = "0.0.3"
8
+ spec.version = "0.0.4"
9
9
  spec.authors = ["Gustavo"]
10
10
  spec.email = ["ginzunza@rebuss.cl"]
11
11
 
@@ -11,4 +11,4 @@ class HierarchicalDb<%= plural_name.camelize %> < ActiveRecord::Migration
11
11
  # model already existed. Please edit below which fields you would like to remove in this migration.
12
12
  raise ActiveRecord::IrreversibleMigration
13
13
  end
14
- end
14
+ end
@@ -9,20 +9,20 @@ module HierarchicalDb
9
9
 
10
10
  namespace "hierarchical_db"
11
11
 
12
- desc "Creates GemName Migrations"
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/add_gem_name_to_#{plural_name.downcase}"
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.3
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