mdd 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -205,7 +205,7 @@ module Mdwa
205
205
  @changes << {:entity => entity, :type => 'remove_column', :column => column.name, :attr_type => column.type}
206
206
  # attribute exists in model and entity, but changed type
207
207
  elsif entity_attribute.type.to_sym != column.type.to_sym
208
- next if entity_attribute.type.to_sym == :file or entity_attribute.type.to_sym == :password
208
+ next if entity_attribute.type.to_sym == :file or entity_attribute.type.to_sym == :password or (column.type.to_sym == :integer and entity_attribute.type.to_sym == :float)
209
209
  @changes << {:entity => entity, :type => 'change_column', :column => column.name, :attr_type => entity_attribute.type, :from => column.type}
210
210
  end
211
211
  end
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module MDWA
3
- VERSION = "3.0.8"
3
+ VERSION = "3.0.9"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdd
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -407,7 +407,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
407
407
  version: '0'
408
408
  segments:
409
409
  - 0
410
- hash: 3429129246663173531
410
+ hash: 214772004485160045
411
411
  required_rubygems_version: !ruby/object:Gem::Requirement
412
412
  none: false
413
413
  requirements:
@@ -416,7 +416,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
416
416
  version: '0'
417
417
  segments:
418
418
  - 0
419
- hash: 3429129246663173531
419
+ hash: 214772004485160045
420
420
  requirements: []
421
421
  rubyforge_project: mdd
422
422
  rubygems_version: 1.8.24