table_saw 2.8.0 → 2.8.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
  SHA256:
3
- metadata.gz: 3c7879158171aacb00de1642a7b68d9df7ec27a9a972e5950ad45743e89730db
4
- data.tar.gz: e78cb24aff6cc86ab5aa18c3fc66829793b5cce31b020fe00ae0e0293ce47ea3
3
+ metadata.gz: 47ac846bd63f95c2ab738a6de5bb6011f85a201bdbf5e2011435771504caf68f
4
+ data.tar.gz: d2626da1b76f1b2ade2dee2d008d99765dccdac332f33b95336a231bea794782
5
5
  SHA512:
6
- metadata.gz: 24e4531703366fe1a6c3f524c706fb2d6e677a2ec509f4e66cef61076fe8b588c6d031ea66914707a0f9d2fc93f33fd5dcb23849c0aceb6d0c889623cdd357a3
7
- data.tar.gz: bbb17e412000aa021a97132bf7dc681381e24e83bd23cf0b817058ff6caaa72953f7294a0bdac1b3c161e7ef0decc9264f4444b946d71cfe8f8ff3aa851818fd
6
+ metadata.gz: c7f3242fd4617ca2e0d4a7f498fcfa59efcf62368e2c0691d82e9d6f9b75e9907ca7312d2a171f3559227e2738c1d2c45074fd272d52227780848201cb862655
7
+ data.tar.gz: ccebba52760f172c53186766586267e52050650e117d0509a91416fee74b2096d90a85b60bb240673c1738437575174e337d43d34d19b6ee54c358fac8a768de
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- table_saw (2.8.0)
4
+ table_saw (2.8.1)
5
5
  activerecord (>= 5.2)
6
6
  pg
7
7
  thor
@@ -49,7 +49,7 @@ module TableSaw
49
49
 
50
50
  formatter = FORMATS.fetch(format.fetch('type', 'copy'), TableSaw::Formats::Copy).new(name, options: format)
51
51
 
52
- Array.wrap(formatter.header).each { |line| write_to_file(line) }
52
+ Array(formatter.header).each { |line| write_to_file(line) }
53
53
 
54
54
  TableSaw::Connection.with do |conn|
55
55
  conn.copy_data "COPY (#{table.copy_statement}) TO STDOUT", formatter.coder do
@@ -59,7 +59,7 @@ module TableSaw
59
59
  end
60
60
  end
61
61
 
62
- Array.wrap(formatter.footer).each { |line| write_to_file(line) }
62
+ Array(formatter.footer).each { |line| write_to_file(line) }
63
63
  end
64
64
 
65
65
  write_to_file 'COMMIT;'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableSaw
4
- VERSION = '2.8.0'
4
+ VERSION = '2.8.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_saw
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamed Asghari
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-15 00:00:00.000000000 Z
11
+ date: 2020-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord