query_helper 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: a05ee45cead980d9af0727e330cdb4ca1f17377206bf644a527cde3c07813d8c
4
- data.tar.gz: 933de9b27523b996b459a6db419e4fb03020ce5a66d0175ef7d1b6214d1a736c
3
+ metadata.gz: 0cd426d029eb9da4019e480513ef71aadce1e5b16a91deee0249fa68835a9bb8
4
+ data.tar.gz: c29a81325cff0e279a5b692f36b676447b0a9b37a41a4d2b8e4bda4c2ad26ff9
5
5
  SHA512:
6
- metadata.gz: 065551a6c55575d59bb44724fddb0642690f9bac7868fb978cf7899ee3484f75abf965c5fbe9126ecf925c1ce800e149c9e828392b49a2c307cd61f41228103c
7
- data.tar.gz: 252be407717cf277b4c6f8f9f6f4fd6ef342d57054087444db07c64ef50740c4c828b6e4c22c7cb026218fd47924c58fb9206b218444d68083ac3be68e5e5687
6
+ metadata.gz: 6cd9491c4e1ace4374fd0c2dade604ef1ff0358eeffdc702acd3c9a7a17c5aa5d7d85a87106414ec20eb40fbed026c6ac918695d504fbd5c012a532ae13b5e4a
7
+ data.tar.gz: a4710f9e84c6133cd29db042a4f0d2f7ac5816ffdf2a4be767094f9f87f94b72298e0452e12be9aebfc0bcdf0fbc67d5548114ad35025d59ae38e828d4f5c5fe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- query_helper (0.2.2)
4
+ query_helper (0.2.3)
5
5
  activerecord (~> 5.0)
6
6
  activesupport (~> 5.0)
7
7
 
@@ -1,3 +1,3 @@
1
1
  class QueryHelper
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
data/lib/query_helper.rb CHANGED
@@ -118,7 +118,7 @@ class QueryHelper
118
118
  end
119
119
 
120
120
  def to_json(args)
121
- results.to_json
121
+ JSON.generate(results)
122
122
  end
123
123
 
124
124
  def to_sql
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query_helper
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
  - Evan McDaniel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler