activerecord-pg-extensions 0.5.2 → 0.5.3

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: 76b26256a900d896712a2a43efa814c763713055ebdd211b297e03d7c692804b
4
- data.tar.gz: 041a0b3f8c943c47133b45d837128ccd5ba59f7329ce53ca92effbfee85d9f63
3
+ metadata.gz: 7800c41187385465a7c41be2a659111932d738ad2dce00c1fc8be2533bce1c0f
4
+ data.tar.gz: 1c1c93712753319fc786e5306322c69b112cf89e5c8e9397468dcd1af96d1ba3
5
5
  SHA512:
6
- metadata.gz: 2fafc2346380c64d7a324efee4169912fa87cf088142007d5fb4d13ea2a7f783d6374473a3a51710685204e00e4dde7e4ec895e6bd1daab869087dd8fa89c2a6
7
- data.tar.gz: c984f81a6faccbf6d8634051703647816811b6c8fb4aa827c2a70f05964e6583f8a2abbf69d5f083af4e9eee5cd2c22a4e898a43613c36e99263f39b809e7154
6
+ metadata.gz: 3a899cf16a588bec9832620c7d62c01b2e122ae793ca86bb7388199dd4992b37fa1e778617e89828b9bf4b6b3b8ba2b525340185153352a5e209cf9a92e099cb
7
+ data.tar.gz: be5da7df14af982e7783da3b0559deaefab578d96958f58cfd4e69d6502b93a3126223faf6514d2e43b6c48c4828d227b96173b34c540478de6574e9098152fd
@@ -10,7 +10,7 @@ module ActiveRecord
10
10
  # see https://www.postgresql.org/docs/current/sql-set-constraints.html
11
11
  def set_constraints(deferred, *constraints)
12
12
  raise ArgumentError, "deferred must be :deferred or :immediate" unless %i[deferred
13
- immediate].include?(deferred)
13
+ immediate].include?(deferred.to_sym)
14
14
 
15
15
  constraints = constraints.map { |c| quote_table_name(c) }.join(", ")
16
16
  constraints = "ALL" if constraints.empty?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module PGExtensions
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.3"
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.2
4
+ version: 0.5.3
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-07 00:00:00.000000000 Z
11
+ date: 2023-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord