umlaut 4.1.5 → 4.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/service_adaptors/jcr.rb +4 -1
- data/lib/umlaut/version.rb +1 -1
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cacbfa5ac1eb8c67059ec2a7b2813c419f800035
|
4
|
+
data.tar.gz: b259ae602fb0d9a4b5b9d85c684c4a405c376882
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 730871d5b76c89dc3095d425fbf58f7512102240bf41b92d5f1ca13107297a4f24cd966380d9036ec1c903d728228d5b543c102f5b5a08907a82c8281ef78739
|
7
|
+
data.tar.gz: a15c31e14d9ec356c22d3a1f31d3a84571e2054061aa88da771e07ec3295f601b9ee89b647e11cf38a8bffc4b9ed887e4ed12d09de2e281fb37d50006dd5cac1
|
data/app/service_adaptors/jcr.rb
CHANGED
@@ -133,7 +133,7 @@ class Jcr < Service
|
|
133
133
|
|
134
134
|
# Check for errors.
|
135
135
|
if (error = (nokogiri.at('val[@name = "error"]') || nokogiri.at('error') || nokogiri.at('null[@name = "error"]')))
|
136
|
-
raise
|
136
|
+
raise JcrResponseException.new("Third party service error: #{error.inner_text}")
|
137
137
|
end
|
138
138
|
|
139
139
|
|
@@ -151,5 +151,8 @@ class Jcr < Service
|
|
151
151
|
|
152
152
|
|
153
153
|
end
|
154
|
+
|
155
|
+
class JcrResponseException < StandardError
|
156
|
+
end
|
154
157
|
|
155
158
|
end
|
data/lib/umlaut/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umlaut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind, et al
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -168,6 +168,26 @@ dependencies:
|
|
168
168
|
- - ">="
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: 1.0.1
|
171
|
+
- !ruby/object:Gem::Dependency
|
172
|
+
name: hashie
|
173
|
+
requirement: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - "~>"
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '3.3'
|
178
|
+
- - "<"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 3.4.3
|
181
|
+
type: :runtime
|
182
|
+
prerelease: false
|
183
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '3.3'
|
188
|
+
- - "<"
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 3.4.3
|
171
191
|
- !ruby/object:Gem::Dependency
|
172
192
|
name: scrub_rb
|
173
193
|
requirement: !ruby/object:Gem::Requirement
|