query-interface-client 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: 8295da5c3fa964de7034ef9e29b2a733657d4b7e
4
- data.tar.gz: da285ce5a23f37972314521bf548cec7ef4108dd
3
+ metadata.gz: 38358ae4407fb6eaec45f3618356ecc0a4ce6036
4
+ data.tar.gz: 779c341a7401922afed15e0cc34506b6e52781fa
5
5
  SHA512:
6
- metadata.gz: 42414f7bc7c1d9a3ad048c58028db7428a36f398e907b11f5c16c4c243e26a0b5ba7c06ee69f54ef56ca385b3679dc343b77ee1a9cb2d5350bb6dcd1fe32ba4d
7
- data.tar.gz: fde5106e75329dffa71f7726464f27ec9bc37305f2ba75f57799c3a566d3605101b74bd5f0ccfe88f8997cdae8814fa047ffc5d25b399233cde8742f54a54295
6
+ metadata.gz: ea1de7c1e67b563d48baaac1c66fa82d1d800186d766a83423e1ac85a7e957283bcf08a6b94db6cb417e5205cad0238ae77da8aae38065c4ce5f7de2df5d1a10
7
+ data.tar.gz: 2fa98440d3d0d96486b36b54c517f5cc35755bbf3b00efabd1f8ec6bd72072a11f4859268d8d3b45f3e9176b36a6c4ccc7dc461603af0ae72c883d96f9313486
@@ -117,6 +117,12 @@ module QueryInterface
117
117
  end
118
118
  end
119
119
 
120
+ def update(data)
121
+ query = self.copy
122
+ query.add_transformation(:update, data)
123
+ query.do_raw_query()[:parsed_data][:data][:updated_count]
124
+ end
125
+
120
126
  def do_query
121
127
  parsed_data = self.do_raw_query[:parsed_data]
122
128
  if parsed_data[:data].is_a?(Array)
@@ -1,7 +1,7 @@
1
1
  module QueryInterface
2
2
  module Client
3
3
 
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query-interface-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Kopecky <andreas.kopecky@radarservices.com>
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-11 00:00:00.000000000 Z
13
+ date: 2014-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: her