modalfields 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/modalfields/modalfields.rb +1 -0
- data/modalfields.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.
|
1
|
+
1.5.2
|
@@ -208,6 +208,7 @@ module ModalFields
|
|
208
208
|
def update(modify=true)
|
209
209
|
dbmodels(dbmodel_options).each do |model, file|
|
210
210
|
next if file.nil?
|
211
|
+
model.reset_column_information
|
211
212
|
new_fields, modified_fields, deleted_fields, deleted_model = diff(model)
|
212
213
|
unless new_fields.empty? && modified_fields.empty? && deleted_fields.empty?
|
213
214
|
pre, start_fields, fields, end_fields, post = split_model_file(file)
|
data/modalfields.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modalfields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
233
|
version: '0'
|
234
234
|
segments:
|
235
235
|
- 0
|
236
|
-
hash:
|
236
|
+
hash: 3290835311249658562
|
237
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
238
|
none: false
|
239
239
|
requirements:
|