csv2psql 0.0.17 → 0.0.18

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: d824881a6506c8361b6a86a03e3f72d15ff387e5
4
- data.tar.gz: c2e7c53a7539087591393505d02891e1387fae93
3
+ metadata.gz: 4824cb04881e87ade843843235d2de41487bd60a
4
+ data.tar.gz: 2a74e2c7ee9bfefa6a016c089cef0927d02a1fca
5
5
  SHA512:
6
- metadata.gz: 984b952b56b88a8e1a32a0f8bced16b05950f2cc38ea6214031b237b368b7302a51ab0d8b4ff7d315bf66d686794269d91b24e819bcc9855d7991915cb6d3ee9
7
- data.tar.gz: 2951daad71c751420c59efec70a031ba3c5587f667ee8111491f87cc51f54044315e064a128a7f998b2de6bc63e526d4ee1428c0a8e9de53cb8b7f21bf738916
6
+ metadata.gz: 61286ce1ca7e1b6add7ae0d6fcce32d0bbd82ac5ca58a1cefa41257a2c4e241ccb922ee5ef832a44e624fa309608c13726d84e8e456955560860806ac46ee143
7
+ data.tar.gz: c07f96e3265f6faf07d84dd305dc74e322cd27ce8bcae095aebadcbbd31482504b888cb6f3d16e74012714eeeeb878faa664dda3e15d773fdd68bf77b2b8b2d3
@@ -14,7 +14,7 @@ module Csv2Psql
14
14
 
15
15
  class << self
16
16
  def analyze(val)
17
- val.is_a?(Integer) || (val && RE.match(val))
17
+ val && RE.match(val)
18
18
  end
19
19
 
20
20
  def convert(val)
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Csv2Psql module
4
4
  module Csv2Psql
5
- VERSION = '0.0.17'
5
+ VERSION = '0.0.18'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv2psql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Korcak