redshift-connector-data_file 1.1.0 → 1.2.0

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: 5fab0d487a44643d1add17ce0323edab71ac75b8
4
- data.tar.gz: b415428c7d55384f2c7ac9b83ea537947247dfbd
3
+ metadata.gz: 9828598e441b98d6324395601b2da8f1bdaa53c3
4
+ data.tar.gz: 8ccfb87c8d318f2eabdb75b9811f2e8bd46fb1be
5
5
  SHA512:
6
- metadata.gz: 8882dc7483274809e15bb4d6d1a7110aa5700946e300fb74399b3c895d7f0d1dd9a0aba7c61c6b5e0a5cf280251196efaa9022a89582111623898775a6910942
7
- data.tar.gz: 0d5b894719f9ff572fcd9f4a6077adf7ed80ee6da8525a3dc77526a9403c243b32fb9b2337d450482f79b53fb81b5a37e44ae9a030829b4767ce10f5b72348bb
6
+ metadata.gz: 1b7141b92a430bb101551bc8d8c91b00f04df2bb5d4b35375c5ed2406265eed541241a0b528fa31ef10752df1bdb38fb74c92d3b450a71b4e34185d1c8edbfde
7
+ data.tar.gz: 8d94161588f6fc3d6162fd995dae1700187070f5a4ab516fe6837dc87aa05045dcc1e6b978620714e1062d1a3cb52b7eab10e9596fc10e4c01910b2d637c6d30
@@ -6,6 +6,7 @@ require 'redshift-connector/data_file/url_data_file'
6
6
  module RedshiftConnector
7
7
  class UrlDataFileBundle < AbstractDataFileBundle
8
8
  def initialize(data_file_urls, format: :redshift_csv, filter: nil, logger: DataFile.logger)
9
+ raise ArgumentError, 'data_file_urls is empty' if data_file_urls.empty?
9
10
  @data_file_urls = data_file_urls
10
11
  @filter = filter || lambda {|*row| row }
11
12
  @logger = logger
@@ -1,5 +1,5 @@
1
1
  module RedshiftConnector
2
2
  module DataFile
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redshift-connector-data_file
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hidekazu Kobayashi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-06-01 00:00:00.000000000 Z
12
+ date: 2017-06-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler