toastyapps-migratory 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/testtask'
3
3
 
4
4
  gem_spec = Gem::Specification.new do |gem_spec|
5
5
  gem_spec.name = 'migratory'
6
- gem_spec.version = '0.0.9'
6
+ gem_spec.version = '0.0.10'
7
7
  gem_spec.summary = 'Rails migration extender for default values and adding indexes'
8
8
  gem_spec.description = 'Rails migration extender for default values and adding indexes'
9
9
  gem_spec.email = 'matt@toastyapps.com'
@@ -3,7 +3,7 @@ class <%= class_name.underscore.camelize %> < ActiveRecord::Migration
3
3
  <%= migration_action %>_column :<%= table_name %>, :<%= attribute.name %><% if migration_action == 'add' %>, :<%= attribute.type %><%= attribute.options %><% end -%>
4
4
  <% for attribute in attributes -%>
5
5
  <% if attribute.is_indexed %>
6
- add_index :<%= table_name>, :<%= attribute.name %><% end -%><% end -%>
6
+ add_index :<%= table_name %>, :<%= attribute.name %><% end -%><% end -%>
7
7
  <%- end %>
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toastyapps-migratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Mongeau