redshift-connector 7.0.1 → 7.0.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: 2a4d66a20517246040bb90868247fd86afcf9b2a
4
- data.tar.gz: f65cf5432e970b663762c2ef25d8953c01c3a449
3
+ metadata.gz: 4869945b94bf612693b98677cc3e4e9387f42533
4
+ data.tar.gz: f920bd5ee6f860615cbfa4926b5a82f59642235c
5
5
  SHA512:
6
- metadata.gz: 8d0c198cdf127d1ca1fd13a9552852100f990e5fc6a44f02b0f53e1f31905b03dee9b3d0b377f00cfb497514366f3df2079193015c51b92dc260f391c4c4eee4
7
- data.tar.gz: 1da370161d79fde4d8c8b24feb04fcf5bee6fb141e9ba11c08034e0cb3d28afb56c1ab1e9447b7746dca2b42bbdb96637a6dceee6f5d6f5390b09076a613cf24
6
+ metadata.gz: ca4ba82a836040efab25cd5c3484aab7fbc9881833bcb6dc1c8afb391d2b00348b577ac1a722e3d964e9f57a62a602bce38bf6e97917da9b095fa06fe622e477
7
+ data.tar.gz: 505f1dd2b14ee460e46c274232d673bad58bd55b88a4558225a54c292177765b72f07514dfc0e59f5f7de4e8b78f373a0ea4c13dfcbc7404e03586e1c4431fa8
@@ -28,11 +28,11 @@ module RedshiftConnector
28
28
 
29
29
  def Exporter.foreach(**params, &block)
30
30
  exporter = for_query(**params)
31
+ bundle = exporter.execute
31
32
  begin
32
- exporter.execute
33
- exporter.bundle.each_row(&block)
33
+ bundle.each_row(&block)
34
34
  ensure
35
- exporter.bundle.clear
35
+ bundle.clear if bundle.respond_to?(:clear)
36
36
  end
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module RedshiftConnector
2
- VERSION = '7.0.1'
2
+ VERSION = '7.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redshift-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minero Aoki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-20 00:00:00.000000000 Z
11
+ date: 2017-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redshift-connector-data_file