active_record_mysql_xverify 0.2.1 → 0.2.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: 4da257f370bb1f04b98567445ed2fa8801e70d2202126afc372f798074799ea4
4
- data.tar.gz: 64f9dc5affe708eceb99d90a45cc30ec2d5a4c1095da48b29f9dd9be44c8a65c
3
+ metadata.gz: 2a46880b7feb5ba8ae7bff088286906fed643d0a4e675e427f3f15f3c8a23acf
4
+ data.tar.gz: 33b49e0e82fc7895a7ecdd29c8d49b3c34a28900377628e7d1f4c899c6ef7871
5
5
  SHA512:
6
- metadata.gz: 7fca46e88bc3cfaf449e2ab83b88a83688339beef03cd5d990ea26d478a6f47b5e9dd6bdfd2607d376e515a51d3c4e1237dc06a0f27f6165f195e4df57a514cb
7
- data.tar.gz: 1a8b325884dc3c2ccb1f07c0c08c6fdec98b0082955ad75c715ba8c6c1754be0676bda2cbf39c979951137621a2c5732520930d08aec26d344caefd49c6a524d
6
+ metadata.gz: d480ed34d3c86dc5f62d082e86161c63b1478e8d8dbb185c25de527b48d8644d9eb6a9e56e94fc7525ee9700c28e156788811256e1e1f05b68dbfb8bdc9a912a
7
+ data.tar.gz: 2106e3d52403afc79bad9a27b0cecc0f2c174cc4f454d674393258288f6b3d370e215309b27b0cac6c39bbf7bb19c0deedcfc55a14be147a5e15abc846feab62
@@ -32,7 +32,7 @@ module ActiveRecordMysqlXverify
32
32
 
33
33
  def _extend_verify?
34
34
  handle_if = ActiveRecordMysqlXverify.handle_if
35
- (Thread.current[ActiveRecordMysqlXverify::EXTEND_VERIFY_FLAG] || !ActiveRecordMysqlXverify.only_on_error) && handle_if.call(@config)
35
+ (!ActiveRecordMysqlXverify.only_on_error || Thread.current[ActiveRecordMysqlXverify::EXTEND_VERIFY_FLAG]) && handle_if.call(@config)
36
36
  end
37
37
  end
38
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveRecordMysqlXverify
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_mysql_xverify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-11 00:00:00.000000000 Z
11
+ date: 2020-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord