pp_sql 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: ef86d80e34ffbcc0571c4ebc6665fcccf7a4334a
4
- data.tar.gz: 579204bf9e2d3a6ab2cd8e0920ee47708122853b
3
+ metadata.gz: f45d98b67d25308577ade2ab04fb6c196a63b2fd
4
+ data.tar.gz: 0c5a809c97ec1b703da3686b1ddd7b57d2f46ca4
5
5
  SHA512:
6
- metadata.gz: 8182ceb7776fbef62222b9385bd2cdebc83c5989a1100e3b74c047ef4f3dc7e44b3a590ab13554c6656129728e675159ef736c7e108760a30fbb50a02b718581
7
- data.tar.gz: e77d0e2bfbad68ac272d8a04741550e193fcecbd9bd5d687161262884f3aae5d2eb45f68c4f7107c146030aeaca9f38dbadcedafb82278d18a8bb114412e7754
6
+ metadata.gz: 96ca269db9654ab27fc721057370682c03fea6217e9dc0a7df2d4a8acf73a2e31b92776d8138a10651fd2b4973420188c255c20c2a71561bdd1c0b4955980386
7
+ data.tar.gz: 02488eee0bd00c758c57594036b3339e6282447f3d73f422543d45c5b41af3b9170780bcf376d1d8818e8a2445921aee00ac1ec21caafb76a7d772b726da0e0d
data/README.md CHANGED
@@ -11,7 +11,7 @@ Or in console
11
11
 
12
12
  ## Require
13
13
 
14
- Ruby 2.0+
14
+ Ruby 2.2+
15
15
 
16
16
  ## Usage
17
17
 
data/lib/pp_sql.rb CHANGED
@@ -71,7 +71,7 @@ module PpSql
71
71
 
72
72
  unless (payload[:binds] || []).empty?
73
73
  binds = " " + payload[:binds].map do |*args|
74
- method(:render_bind).arity.one? ? render_bind(args.first) : render_bind(*args)
74
+ method(:render_bind).arity == 1 ? render_bind(args.first) : render_bind(*args)
75
75
  end.inspect
76
76
  end
77
77
 
@@ -1,3 +1,3 @@
1
1
  module PpSql
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pp_sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kvokka