multi_insert 0.1.1 → 0.1.2

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: c75ea9caa10a1bc32e4351f25612fc7008916d29
4
- data.tar.gz: 84f9e785d7dace05d0cc89f5104eadba95815153
3
+ metadata.gz: 52e74caff0379cb38b08152605e7790afaa3404b
4
+ data.tar.gz: 975229de97721db74df8ed9a93a22d5c3ec894f1
5
5
  SHA512:
6
- metadata.gz: 9379b6694ca7040cf7b8df04d2f182c228d5589edccd15774c8e907ac45fef607cd042ff6e184a2ec6e425c82356ea4e4a8c6ff2a7c7475ed6ec1cd7c98f5215
7
- data.tar.gz: 9bb296fee356a6134ee71c2d0502654685e9f07c423f4426a8509c58265d42b6d0fc2f01096b4605ba15b230734b61e8d0833756abe224fb1a448cb7a5d7ed2a
6
+ metadata.gz: 217ab537834bc0d92c5fea4f8501ad0899032d8fda8ae4fcc852b9a7abe8842ee28317e4270a58ace5f2a4b3d42e7242ec8571f77206e60990984915263b501d
7
+ data.tar.gz: 77a0c4fdff6b65176f0db111251df3dfa575dd7088a812ee384c36999a249b87833e80be48b0c88b6c33af9aa3b05a1693059760626d82d2e172ba2feffc18db
@@ -11,11 +11,13 @@ module MultiInsert
11
11
  def returning(columns)
12
12
  @sql_returning = ::MultiInsert::QueryBuilder.returning(columns)
13
13
  @returning_flat = false
14
+ self
14
15
  end
15
16
 
16
17
  def returning_id
17
18
  @sql_returning = ::MultiInsert::QueryBuilder.returning([:id])
18
19
  @returning_flat = true
20
+ self
19
21
  end
20
22
 
21
23
  def to_sql
@@ -1,3 +1,3 @@
1
1
  module MultiInsert
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_insert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nax