declare_schema 1.2.3.pre.ga.0 → 1.2.3.pre.ga.2

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: 1b2501407fb1875c42fda5d9c77ab78ca1f966c780e0888716e6e71769ea53b1
4
+ data.tar.gz: 535e054f1ad938d271334fdc6054108778dde1f72e59335d778f11ab73d08c14
5
5
  SHA512:
6
- metadata.gz: 8e4dd03780302f015725770a734a58d369f9655c7717e64497dbb24ce4602cd379bc7b8db15d89780adb55ec342e485110e8e34fdf0ef522e4925a927433891b
7
- data.tar.gz: 61f05f815b21f47fa358950c25b38411dcde90b59b73fbca1a373291e0552dcc1d3c516e1c894c84c5bae5cbe66b2ca80a976ce537c1c42e8b4a2d8d06b3cf56
6
+ metadata.gz: 6f5c2dea9bd05f536f05f058ce193a4003384f754649d5b922bbce6532bfe25f60e8c987e2b1136b603899cc0cb9217f0dcc8b59e6bbf974f9dc57aa600abf36
7
+ data.tar.gz: 17fe43628304597208f5063fc907ae3bd85586732a26985c0d709004d4411af1ff89dfab79b41334073c7860231b0c560ae5d6eff605a72335748335696da5d8
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.2)
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.2"
5
5
  end
@@ -497,10 +497,9 @@ 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.foreign_key == to_rename[fk_to_drop.foreign_key]
504
503
 
505
504
  renamed_fks_to_drop.append(fk_to_drop)
506
505
  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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Invoca Development adapted from hobo_fields by Tom Locke