database_flusher 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
  SHA1:
3
- metadata.gz: cd3ca4c9c2b757975e1eee5bc86ff3e4abb3c71e
4
- data.tar.gz: 33476f378b785b6430153ae42ffd357151ea2d96
3
+ metadata.gz: b93093d2e4702c62c77468100a39fceaf158241b
4
+ data.tar.gz: f5730052c7cd40c607aef47a431e3146daa331ab
5
5
  SHA512:
6
- metadata.gz: 83cdd2965b69e1da78a670f72bdd57b6df616fecc1d52dd79389324e005441f43c677180d3ab5b24d1536d0c869d12e25816f368eab92a77793c54a178e96177
7
- data.tar.gz: 2bfb080ce5e88077939071d8dddb0b099fab1787238f5b9a4848de35c258e23dd5d73ba4fa4c3ebd1c1b7b458a823e4f04fae6df0ea31adf08a5fcccf82cd9dd
6
+ metadata.gz: 2a8653bab04c38ca4785ffad6d812eba8d40beaa227dd0a649a45dfd4babd73bd389ccc6bb190331d674709562e547bf43605076776cd05d713f0a7f18cadf5f
7
+ data.tar.gz: 983debad0e6b4c93067e46336539115a1b8cfeb3c7fdce70850337736bd3a62034bb4bd8626fb1fd8c88b6802896b4805e4a1ad8fcc168e01fbb449e6d946aec
@@ -13,12 +13,10 @@ module DatabaseFlusher
13
13
  private
14
14
 
15
15
  def execute_multi(sql)
16
- connection.disable_referential_integrity do
17
- _result = raw_connection.query sql
18
- while raw_connection.next_result
19
- # just to make sure that all queries are finished
20
- _result = raw_connection.store_result
21
- end
16
+ _result = raw_connection.query sql
17
+ while raw_connection.next_result
18
+ # just to make sure that all queries are finished
19
+ _result = raw_connection.store_result
22
20
  end
23
21
  end
24
22
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module DatabaseFlusher
3
- VERSION = '0.2.1'.freeze
3
+ VERSION = '0.2.2'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_flusher
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
  - Edgars Beigarts