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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 950068ce2d7df5e9aaf095949d5f23a521be0e1d
4
- data.tar.gz: ec7af4a84db13fda4efd510d59fa63682c625eec
3
+ metadata.gz: cacbfa5ac1eb8c67059ec2a7b2813c419f800035
4
+ data.tar.gz: b259ae602fb0d9a4b5b9d85c684c4a405c376882
5
5
  SHA512:
6
- metadata.gz: acd42cef316ba0337d09b6f493f1494e927821e803190f05238853fec960a7e5800ef8a073866d8c72de6b4ced5cf69e48624c118dba2d538a9e8ba299761a8d
7
- data.tar.gz: 7ad9423c138f593d9a57804471a34266e89b6e0ddcaab4c7c04e731f0df766415f6dc854b80a9c58fd42fb41a7536024b8d2fe1244fb2cf6bbeb6111a75494e6
6
+ metadata.gz: 730871d5b76c89dc3095d425fbf58f7512102240bf41b92d5f1ca13107297a4f24cd966380d9036ec1c903d728228d5b543c102f5b5a08907a82c8281ef78739
7
+ data.tar.gz: a15c31e14d9ec356c22d3a1f31d3a84571e2054061aa88da771e07ec3295f601b9ee89b647e11cf38a8bffc4b9ed887e4ed12d09de2e281fb37d50006dd5cac1
@@ -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 Exception.new("Third party service error: #{error.inner_text}")
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
@@ -1,5 +1,5 @@
1
1
  module Umlaut
2
- VERSION = "4.1.5"
2
+ VERSION = "4.1.6"
3
3
 
4
4
  # This is used in Umlaut's .gemspec for generating the gem,
5
5
  # and is also used in the umlaut app generator to make sure
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.5
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-09-08 00:00:00.000000000 Z
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