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 +4 -4
- data/lib/multi_insert/query_builder.rb +1 -1
- data/lib/multi_insert/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a666e28505f82ffc01e2a87001af574ae537018d
|
4
|
+
data.tar.gz: 11057d49e4b30e3b062c9c1454c04beea5a88192
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/multi_insert/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|