has_dynamic_columns 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e48635b860c7cac4c800461dab2a70ee3abc71a
4
- data.tar.gz: a8bcdec82cd09f2c0d6e78b3b79c5c75c2954c14
3
+ metadata.gz: 5a93c0152ec42be40c9f1f46f010e29e4a4ece5f
4
+ data.tar.gz: c03f492a592ef25254d1cef1dfbac08b87b4c0dc
5
5
  SHA512:
6
- metadata.gz: a97dd9c49f2551362311091c7e66137e7baf7fd21d6f2c0fd24fa894c39ce34f32f0cffa98bc616ddb9305bd227b1b61661ac29d46e0da50544cbb3c6199490d
7
- data.tar.gz: fda55ebb312d5a7ce6b65494c6fe70999245a48e639a26e046b14b899869eb749434f4932e07f1a1898fa1dc4829ae6c88bcbb56b3a7c81c4cf53df2b604e011
6
+ metadata.gz: c0dd56561002e2ec02236b795937b500a41c9c83dc3aeb7304a934b393f3bd415be6a25e124cb9ce292653fa783791659774df04efa41d2a9ade8071d402b531
7
+ data.tar.gz: 178600b6fcb7d81f3d663113f53b6fb60484c3e63ce9ac566f9b2683230de0cba24c73323643c020eabf722a8b603fe06ebda611e1ed17caf1425acade317a8c
@@ -12,7 +12,7 @@ module HasDynamicColumns
12
12
  source_paths << File.join(File.dirname(__FILE__), "templates")
13
13
 
14
14
  def create_migration_file
15
- migration_template "migration.rb", "db/migrate/has_dynamic_columns.rb"
15
+ migration_template "migration.rb", "db/migrate/add_has_dynamic_columns.rb"
16
16
  end
17
17
 
18
18
  def self.next_migration_number(dirname)
@@ -1,4 +1,4 @@
1
- class CreateHasDynamicColumns < ActiveRecord::Migration
1
+ class AddHasDynamicColumns < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table :dynamic_columns do |t|
4
4
  t.integer :field_scope_id
@@ -1,3 +1,3 @@
1
1
  module HasDynamicColumns
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -31,7 +31,7 @@ ActiveRecord::Migration.verbose = false
31
31
 
32
32
  require "generators/has_dynamic_columns/templates/migration"
33
33
  ActiveRecord::Schema.define do
34
- CreateHasDynamicColumns.up
34
+ AddHasDynamicColumns.up
35
35
 
36
36
  create_table :accounts, force: true do |t|
37
37
  t.string :name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_dynamic_columns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Butch Marshall