multi_insert 1.0.0 → 1.0.1

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: '09249bbd92253e001ba2eda9b5229ba076f5fa47'
4
- data.tar.gz: fa5a964166797cce48283e4dfd2dd1baf2426fd3
3
+ metadata.gz: a666e28505f82ffc01e2a87001af574ae537018d
4
+ data.tar.gz: 11057d49e4b30e3b062c9c1454c04beea5a88192
5
5
  SHA512:
6
- metadata.gz: 507b36948e987722d93c623bfa5a743fddd970d03926439f81b5c577f75da3dc5c5aeb2a1d23162e362fe2c8df1f27670a003efd8b6d2e88914f2c85b076e3c2
7
- data.tar.gz: 2bd855e0af71b62829b7be80d7d3e452fcce4c7de3079299b6b56d8b1ff4d67f48649cb9d5180d136f87b6f282bee8805d3b18784fdece2309150effd9fd4bf2
6
+ metadata.gz: d41a9df50a203f9391d6c2328948760f6710bca115930a34ea7e72797557803864cf1aec4b616b9f2f5d095906c734db436325c6005b2fae980dff4b753129c8
7
+ data.tar.gz: f35ab401b6eb3c61d8e0afd4c37429d0f1eb292c175c9cf9552882f915eba7c3e5f7226f45685afd84d39f917e72b5ae4f2fbabd60353926fc08d55ebb68b5c4
@@ -23,7 +23,7 @@ module MultiInsert
23
23
  if opts[:time]
24
24
  values = values.map{|v| v + [now, now]}
25
25
  end
26
- values = values.map{|v| join_params(v.map{|vv| ar.quote(vv.to_s)})}.join(',')
26
+ values = values.map{|v| join_params(v.map{|vv| ar.quote(vv)})}.join(',')
27
27
 
28
28
  "INSERT INTO #{table} #{columns} VALUES #{values}"
29
29
  end
@@ -1,4 +1,4 @@
1
1
  module MultiInsert
2
2
  # The version number for MultiInsert.
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_insert
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nax
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-07 00:00:00.000000000 Z
11
+ date: 2017-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler