tiny-queries 0.0.2 → 0.0.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 +4 -4
- data/lib/tiny-queries.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0bfea6638e0f3531ea94a77ab21ee4b8b3965798
|
|
4
|
+
data.tar.gz: 17fa0fbea0c0830f694aebaf63d5e07055d250fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f0ae2122529cd6d73e8b2eead9167a1efbbeedc014d45749be5d7dd77af0174466e7011b0eb21c05d300a77819e32c9aef82df2eba253da0b6c84780cee6db8
|
|
7
|
+
data.tar.gz: 026a1d4a6f55981a8b4d88e267b32d6cb0e036c1590532df8072fca0381ecfbcc5f54521dfc5cd3d9b7201fd9e2e5c0eb0294293b1ada0e00f374240c2cbb640
|
data/lib/tiny-queries.rb
CHANGED
|
@@ -41,7 +41,8 @@ class TinyQueries
|
|
|
41
41
|
command =
|
|
42
42
|
@connector +
|
|
43
43
|
" \"" + term + "\"" +
|
|
44
|
-
" \"" + JSON.generate( params
|
|
44
|
+
" \"" + JSON.generate( params ).gsub(/\"/,"\\\"") + "\"" +
|
|
45
|
+
" \"" + JSON.generate( @globals ).gsub(/\"/,"\\\"") + "\""
|
|
45
46
|
|
|
46
47
|
# Execute the command and capture the output
|
|
47
48
|
json = `#{command}`
|
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tiny-queries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wouter Diesveld
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description:
|
|
13
|
+
description: This gem can be used to connect with the PHP TinyQueries client libs
|
|
14
14
|
email: wouter@tinyqueries.com
|
|
15
15
|
executables: []
|
|
16
16
|
extensions: []
|
|
@@ -40,5 +40,5 @@ rubyforge_project:
|
|
|
40
40
|
rubygems_version: 2.2.3
|
|
41
41
|
signing_key:
|
|
42
42
|
specification_version: 4
|
|
43
|
-
summary: TinyQueries
|
|
43
|
+
summary: TinyQueries connector for Ruby
|
|
44
44
|
test_files: []
|