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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tiny-queries.rb +2 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab4b379b5bd230b6ac819f4e35690cef6ae2c82a
4
- data.tar.gz: ca56e073226d9ced0034a886079ed20649875aba
3
+ metadata.gz: 0bfea6638e0f3531ea94a77ab21ee4b8b3965798
4
+ data.tar.gz: 17fa0fbea0c0830f694aebaf63d5e07055d250fa
5
5
  SHA512:
6
- metadata.gz: 0881c89366dc600f0527d10e0e635d48b2b4a0b7144d94109d5d3fdaee7b6e78b17bfb4c36e43bdf15627440ce4ef2eaa8d0af5cd92574a5699da0ad5b8690e6
7
- data.tar.gz: 368fc65223d404071dfc4109e52aad32267ea005c16d46b94a909414ccafaf2922cb7e6426f740d6e974f5c3f1746d36afbcf90749aee12b71b35095678192a2
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.merge( @globals ) ).gsub(/\"/,"\\\"") + "\"";
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.2
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-07-24 00:00:00.000000000 Z
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 client lib for Ruby
43
+ summary: TinyQueries connector for Ruby
44
44
  test_files: []