activerecord-pg-extensions 0.5.0 → 0.5.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: 05fb32b33134833c55a06810bf8015c335d2e7fe85b59cbd6910b90141a88fec
4
- data.tar.gz: 5663306168a18e60f0e5acd439f35ce439f1108c9074430868d7a346db937e78
3
+ metadata.gz: 2f00b73b6ca45b6816eb823afa1cb16213baf9a9671d02c5633c4cf07fa92026
4
+ data.tar.gz: 84f12098d7d3d638671cdbcf32e9e1f4e56ece8b64cc799f167b2eff336cc7dd
5
5
  SHA512:
6
- metadata.gz: 8f3541b26c2071c1176bd27a1978abd3b5972091e0cc36e55524a042589655817c2b55a087d85a4f0a216ee889a629076ccf7fabb242961a913e122c36256926
7
- data.tar.gz: fc4b5af43db911db62b51d72c1e86e76c2bb2506c81d8a61f8f81b6e47aa735451236f1ddc69c2865932c6ca182224f7629a1900d715ed581e163ef4a3af28c9
6
+ metadata.gz: 414294a360874650bedada98a2ccb4fb73fe8f2eb85d2c020387280dd84739af6807c703c016f4c7027c030ffb2f57cc4a1e493104a08ec79b599993b36f56c1
7
+ data.tar.gz: 8333b90a0265330c6f9f99d8826839003086816726f041e685916254de9cecd89db4ee2b9815975080b40cdd9be784ddd24d1f96322a8bba12c6971c2f91f3a6
@@ -96,8 +96,8 @@ module ActiveRecord
96
96
  end
97
97
 
98
98
  if ActiveRecord.version < Gem::Version.new("7.1")
99
- def remove_check_constraint(table_name, expression = nil, **options)
100
- return if options[:if_exists] && !check_constraint_for(table_name, expression, **options)
99
+ def remove_check_constraint(table_name, expression = nil, if_exists: false, **options)
100
+ return if if_exists && !check_constraint_for(table_name, expression, **options)
101
101
 
102
102
  super
103
103
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module PGExtensions
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-pg-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-06 00:00:00.000000000 Z
11
+ date: 2023-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord