rescue_unique_constraint-cadetstar 1.6.1 → 1.6.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: '090487010e80ee9a50b4cebf1f4a946b89caee8c3ff145cdaa1d3de14bc26d0f'
4
- data.tar.gz: 41dd9e44ee1e4583934122aed2099810fd4f069bc2a530ad4e17201eb3ead5f4
3
+ metadata.gz: 39cbeb8736e8dba203820bdf7b36693d5ca090197a2aa930f4b4f4243fd36d71
4
+ data.tar.gz: c3ff4b10d884deedad7a244a48715dc37f39fdd4442f5a9b390f0bfa341e4011
5
5
  SHA512:
6
- metadata.gz: c2863090de09745592934925d0b0e599f89c3b3b8cfb2ac3b708bfacc7f787d6a1fac5e9b485374db2e0cd0f42cd7c37e931c423960c2613f151f7abc17a8b49
7
- data.tar.gz: 28cf4f0a798957de83ee833cfb56387c22968af6de8d880fe5c50bcda57bb05685c0e3ef1e823ed85fe55aa98babfe804da792569f9a4beb6e2133f60b3a8e1a
6
+ metadata.gz: 151599c75bf4cee1a71c4bf167c4b271b0beebfd52d2a26b6a80c700ceaaa74df87b82b7e23d005ba241e3d66df1477751216b516556385c6c093f5eaf9e4a51
7
+ data.tar.gz: 1c33be63da79cc351da4d388ad4979b7fd6077322154dbd0f1944435cf181137472fbaf92f09408b6664c1f23f5378d7fd4c1da9e8f8815d82ad5167ab12563d
@@ -6,8 +6,8 @@ module RescueUniqueConstraint
6
6
  @indexes_to_rescue_on = []
7
7
  end
8
8
 
9
- def add_index(index, field)
10
- indexes_to_rescue_on << Index.new(index, field)
9
+ def add_index(index, field, scope)
10
+ indexes_to_rescue_on << Index.new(index, field, scope)
11
11
  end
12
12
 
13
13
  def matching_indexes(e)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RescueUniqueConstraint
4
- VERSION = "1.6.1"
4
+ VERSION = "1.6.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rescue_unique_constraint-cadetstar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tam Dang