declare_schema 1.2.3.pre.ga.0 → 1.2.3.pre.ga.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64db3ac9b4bea4625bbd2bdc40f9aea3296157c535d3bc773aab680fa33d3e9d
4
- data.tar.gz: a5681f63baa97b4cc4409bf9784a0b2c45d58ac8fe251214771ebb269eb649ee
3
+ metadata.gz: c9557ec596238900fa3a3149ab9c38dfc420af5e0410f8f2fbaa3fb41a009104
4
+ data.tar.gz: 292bc6f481dff79424a50e6a405ab8ff7f64f205a46f1aef83748139ba3ed8a1
5
5
  SHA512:
6
- metadata.gz: 8e4dd03780302f015725770a734a58d369f9655c7717e64497dbb24ce4602cd379bc7b8db15d89780adb55ec342e485110e8e34fdf0ef522e4925a927433891b
7
- data.tar.gz: 61f05f815b21f47fa358950c25b38411dcde90b59b73fbca1a373291e0552dcc1d3c516e1c894c84c5bae5cbe66b2ca80a976ce537c1c42e8b4a2d8d06b3cf56
6
+ metadata.gz: d9ab8ca57e5782d3658dea77d8623a41d3b5d4fa89782822deca899b0ee39c98b68cf2e07317ad6bcd7f75b027a3491f64dadbb259f6f7c3b64511de7bb65938
7
+ data.tar.gz: 1f3b7a0ce7ad48027f9a59c47f2125dcd25f5f1d6ae2ea92ca3ccee4e48a1bf1f06ebfb628ab0c05d67bdea3630fb4a65c0dca5fcf4999dfa49ceddacb2d8aaf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- declare_schema (1.2.3.pre.ga.0)
4
+ declare_schema (1.2.3.pre.ga.1)
5
5
  rails (>= 5.0)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeclareSchema
4
- VERSION = "1.2.3.pre.ga.0"
4
+ VERSION = "1.2.3.pre.ga.1"
5
5
  end
@@ -497,10 +497,10 @@ module Generators
497
497
 
498
498
  fks_to_drop.each { |fk_to_drop|
499
499
  fks_to_add.each { |fk_to_add|
500
- if fk_to_add.child_table_name == fks_to_drop.child_table_name &&
501
- fk_to_add.parent_table_name == fks_to_drop.parent_table_name &&
502
- fk_to_add.constraint_name == fks_to_drop.constraint_name &&
503
- fk_to_add.foreign_key == to_rename[fks_to_drop.foreign_key]
500
+ if fk_to_add.child_table_name == fk_to_drop.child_table_name &&
501
+ fk_to_add.parent_table_name == fk_to_drop.parent_table_name &&
502
+ fk_to_add.constraint_name == fk_to_drop.constraint_name &&
503
+ fk_to_add.foreign_key == to_rename[fk_to_drop.foreign_key]
504
504
 
505
505
  renamed_fks_to_drop.append(fk_to_drop)
506
506
  renamed_fks_to_add.append(fk_to_add)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: declare_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3.pre.ga.0
4
+ version: 1.2.3.pre.ga.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development adapted from hobo_fields by Tom Locke