pp_sql 0.2.3 → 0.2.4

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: f45d98b67d25308577ade2ab04fb6c196a63b2fd
4
- data.tar.gz: 0c5a809c97ec1b703da3686b1ddd7b57d2f46ca4
3
+ metadata.gz: 9b26193efbed7302a5a5eb3a934701d579ff8ce7
4
+ data.tar.gz: 780fbcf37bc8ead7f10119e11c0b3be6780dfccb
5
5
  SHA512:
6
- metadata.gz: 96ca269db9654ab27fc721057370682c03fea6217e9dc0a7df2d4a8acf73a2e31b92776d8138a10651fd2b4973420188c255c20c2a71561bdd1c0b4955980386
7
- data.tar.gz: 02488eee0bd00c758c57594036b3339e6282447f3d73f422543d45c5b41af3b9170780bcf376d1d8818e8a2445921aee00ac1ec21caafb76a7d772b726da0e0d
6
+ metadata.gz: a362fa3a978b439ac6002d2dff6ac882fb7a7f38b9a6c3fdb397d6916412102f317ec8adaa8bb9d248873664e395c7f20bef2bb2591810df4563f55f4e6b3b81
7
+ data.tar.gz: 699c6f63f3fa15e50529749cb502b7cacc52819545c1e387775019b874d0891ed2de46c649911016bfce59420b8fb5d6fef9761c5e93a4d68458723ed1d92656
data/README.md CHANGED
@@ -19,7 +19,7 @@ Ruby 2.2+
19
19
  Post.first.to_sql
20
20
  ```
21
21
 
22
- If you need yo use it in some custom strings, you may include this funcionality with
22
+ If you need to use it in some custom strings, you may include this functionality with
23
23
 
24
24
  ```
25
25
  String.send :include, PpSql::ToSqlBeautify
data/lib/pp_sql.rb CHANGED
@@ -15,7 +15,7 @@ module PpSql
15
15
  module ToSqlBeautify
16
16
  include Formatter
17
17
  def to_sql
18
- _sql_formatter.format(super)
18
+ _sql_formatter.format(super.dup)
19
19
  end
20
20
 
21
21
  def pp_sql
@@ -1,3 +1,3 @@
1
1
  module PpSql
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pp_sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kvokka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-08 00:00:00.000000000 Z
11
+ date: 2017-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails