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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38358ae4407fb6eaec45f3618356ecc0a4ce6036
|
4
|
+
data.tar.gz: 779c341a7401922afed15e0cc34506b6e52781fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
13
|
+
date: 2014-09-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: her
|