yaddl 0.1.3 → 0.1.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.
Files changed (3) hide show
  1. data/lib/yaddl.rb +1 -1
  2. data/lib/yaddl/version.rb +1 -1
  3. metadata +1 -1
data/lib/yaddl.rb CHANGED
@@ -275,7 +275,7 @@ end
275
275
  end if options.include?("--migrations-only")
276
276
 
277
277
 
278
- schema_diff() unless options.include?("--migrations-only")
278
+ schema_diff() if options.include?("--migrations-only")
279
279
  #$ rails generate migration AddPartNumberToProducts part_number:string:index
280
280
  #sc = "rails g model #{name} " + model['attributes'].map{ |k,v| k + ':' + v['type'].sub(/yaml|hash|object|cache/i,"text") }.join(' ') + " " + model['belongs_to'].map{ |k,v| k + ':references' + (v['polymorphic'] ? "{polymorphic}" : "") }.join(' ')
281
281
 
data/lib/yaddl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Yaddl
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: