bigshift 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5221e0948bc35adae3c09681be2de8529cf51630
4
- data.tar.gz: ab8501193f724bed2288a3784719ef4cbbf16c26
3
+ metadata.gz: b44f1ad6233e29754f8ae3b66f5857141660529e
4
+ data.tar.gz: a42978dfd9b983592e1051a727373b6bde9b73ff
5
5
  SHA512:
6
- metadata.gz: 914cdf7f5e432faba32a6d66661c9dd1b0b55edac2933438a46bfbdc6cc4476441d8fbe5e2858017ae012ef2bd0c559c07c75bd2b5fb1bc33754aebbf3dee4c8
7
- data.tar.gz: f05dc703a91fb1dbc338e65a04473c8d29ed7df19b9bc2abb6e702aebc022df5f47e7c524b7abf0a52a288961b0f09cc26828646655ebc6312905ad73aff3dba
6
+ metadata.gz: 82fc075bcc22f380ff8492acb83b6a73e5ef6a741be04b8078811d2587efe2bbecd900d5eab5f25a51307afbe3b3475f7768ff5605fc3a781cc70c518c68488d
7
+ data.tar.gz: 30b626b8b7fce0445a7c8ef613a446d769b04580803a4438558c876775ac99abd81c1f6f3cdff7b58343a1889222f289bff4976d56ca2bb0900813a9fbeba376
@@ -18,7 +18,7 @@ module BigShift
18
18
  unload_sql << %Q< CREDENTIALS '#{credentials_string}'>
19
19
  unload_sql << %q< MANIFEST>
20
20
  unload_sql << %q< DELIMITER '\t'>
21
- unload_sql << %q< GZIP> if options.fetch(:compression, true)
21
+ unload_sql << %q< GZIP> if options[:compression] || options[:compression].nil?
22
22
  unload_sql << %q< ALLOWOVERWRITE> if options[:allow_overwrite]
23
23
  @logger.info(sprintf('Unloading Redshift table %s to %s', table_name, s3_uri))
24
24
  @redshift_connection.exec(unload_sql)
@@ -1,3 +1,3 @@
1
1
  module BigShift
2
- VERSION = '0.3.0'.freeze
2
+ VERSION = '0.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigshift
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Theo Hultberg