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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a93c0152ec42be40c9f1f46f010e29e4a4ece5f
|
4
|
+
data.tar.gz: c03f492a592ef25254d1cef1dfbac08b87b4c0dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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)
|
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
|
-
|
34
|
+
AddHasDynamicColumns.up
|
35
35
|
|
36
36
|
create_table :accounts, force: true do |t|
|
37
37
|
t.string :name
|