query-interface-client 1.3.3 → 1.3.4
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/Gemfile.lock +29 -14
- data/lib/query-interface-client/model.rb +2 -2
- data/lib/query-interface-client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6187574a26c2d0e2c1f4f26c39bc2c4372ed3efc
|
|
4
|
+
data.tar.gz: 94cbfeff1b20f7dbab9960dfc434379560081300
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48ed74bb2ec67feac89371b0e4ffd7e0ec372e1ce0fe196bf6ed9142b2d0cc64c50971e9c649797e85c29f909ac01bc9bbf0c20f530420dc9ac12a19956d85d0
|
|
7
|
+
data.tar.gz: 50c7ef773dc6f4a08ed3833c6a51e5aa2b06eff814cd7ac33d26369218fca12e2ec221d1cb67b97ddffcf50d64da7f0171efcd07280101a0aecad12d410078d6
|
data/Gemfile.lock
CHANGED
|
@@ -1,40 +1,55 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
actionview (4.
|
|
5
|
-
activesupport (= 4.
|
|
4
|
+
actionview (4.2.0)
|
|
5
|
+
activesupport (= 4.2.0)
|
|
6
6
|
builder (~> 3.1)
|
|
7
7
|
erubis (~> 2.7.0)
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
9
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
|
10
|
+
activemodel (4.2.0)
|
|
11
|
+
activesupport (= 4.2.0)
|
|
10
12
|
builder (~> 3.1)
|
|
11
|
-
activesupport (4.
|
|
12
|
-
i18n (~> 0.
|
|
13
|
+
activesupport (4.2.0)
|
|
14
|
+
i18n (~> 0.7)
|
|
13
15
|
json (~> 1.7, >= 1.7.7)
|
|
14
16
|
minitest (~> 5.1)
|
|
15
|
-
thread_safe (~> 0.
|
|
17
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
|
16
18
|
tzinfo (~> 1.1)
|
|
17
19
|
autotest-standalone (4.5.11)
|
|
18
20
|
builder (3.2.2)
|
|
19
21
|
diff-lcs (1.2.5)
|
|
20
22
|
docile (1.1.5)
|
|
21
23
|
erubis (2.7.0)
|
|
22
|
-
faraday (0.9.
|
|
24
|
+
faraday (0.9.1)
|
|
23
25
|
multipart-post (>= 1.2, < 3)
|
|
24
|
-
i18n (0.
|
|
25
|
-
json (1.8.
|
|
26
|
-
|
|
26
|
+
i18n (0.7.0)
|
|
27
|
+
json (1.8.2)
|
|
28
|
+
loofah (2.0.1)
|
|
29
|
+
nokogiri (>= 1.5.9)
|
|
30
|
+
mini_portile (0.6.2)
|
|
31
|
+
minitest (5.5.0)
|
|
27
32
|
multi_json (1.10.1)
|
|
28
33
|
multipart-post (2.0.0)
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
nokogiri (1.6.5)
|
|
35
|
+
mini_portile (~> 0.6.0)
|
|
36
|
+
rails-deprecated_sanitizer (1.0.3)
|
|
37
|
+
activesupport (>= 4.2.0.alpha)
|
|
38
|
+
rails-dom-testing (1.0.5)
|
|
39
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
|
40
|
+
nokogiri (~> 1.6.0)
|
|
41
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
|
42
|
+
rails-html-sanitizer (1.0.1)
|
|
43
|
+
loofah (~> 2.0)
|
|
44
|
+
rake (10.4.2)
|
|
45
|
+
rs_paginator (0.1.2)
|
|
31
46
|
actionview
|
|
32
47
|
i18n
|
|
33
48
|
rspec (3.1.0)
|
|
34
49
|
rspec-core (~> 3.1.0)
|
|
35
50
|
rspec-expectations (~> 3.1.0)
|
|
36
51
|
rspec-mocks (~> 3.1.0)
|
|
37
|
-
rspec-core (3.1.
|
|
52
|
+
rspec-core (3.1.7)
|
|
38
53
|
rspec-support (~> 3.1.0)
|
|
39
54
|
rspec-expectations (3.1.2)
|
|
40
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
@@ -217,7 +217,7 @@ module QueryInterface
|
|
|
217
217
|
end
|
|
218
218
|
|
|
219
219
|
def destroy
|
|
220
|
-
result = self.delete_raw()
|
|
220
|
+
result = self.delete_raw()
|
|
221
221
|
assign_errors(result)
|
|
222
222
|
self._destroyed = !self.errors.any?
|
|
223
223
|
end
|
|
@@ -225,7 +225,7 @@ module QueryInterface
|
|
|
225
225
|
private
|
|
226
226
|
|
|
227
227
|
def assign_errors(result)
|
|
228
|
-
(result[:errors] || {}).each do |name, values|
|
|
228
|
+
(result[:parsed_data][:errors] || {}).each do |name, values|
|
|
229
229
|
values.each { |value| self.errors.add(name, value) }
|
|
230
230
|
end
|
|
231
231
|
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.3.
|
|
4
|
+
version: 1.3.4
|
|
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:
|
|
13
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rs_paginator
|
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
142
142
|
version: '0'
|
|
143
143
|
requirements: []
|
|
144
144
|
rubyforge_project:
|
|
145
|
-
rubygems_version: 2.
|
|
145
|
+
rubygems_version: 2.4.5
|
|
146
146
|
signing_key:
|
|
147
147
|
specification_version: 4
|
|
148
148
|
summary: Client for the radar query interface
|