custom-attributes 0.2.3 → 0.2.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -1,6 +1,6 @@
1
1
  require 'rails/generators/migration'
2
2
 
3
- module ActsAsTaggableOn
3
+ module CustomAttributes
4
4
  class MigrationGenerator < Rails::Generators::Base
5
5
  include Rails::Generators::Migration
6
6
 
@@ -24,7 +24,7 @@ module ActsAsTaggableOn
24
24
 
25
25
  def create_migration_file
26
26
  if self.class.orm_has_migration?
27
- migration_template 'migration.rb', 'db/migrate/acts_as_taggable_on_migration'
27
+ migration_template 'migration.rb', 'db/migrate/custom_attributes_migration'
28
28
  end
29
29
  end
30
30
  end
@@ -1,4 +1,4 @@
1
- class ActsAsTaggableOnMigration < ActiveRecord::Migration
1
+ class CustomAttributesMigration < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table :custom_attributes do |t|
4
4
  # label
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custom-attributes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matthijs Groen