simple_crowd 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/simple_crowd/client.rb +3 -3
- data/lib/simple_crowd/version.rb +1 -1
- data/simple_crowd.gemspec +1 -1
- metadata +5 -5
data/lib/simple_crowd/client.rb
CHANGED
@@ -263,15 +263,15 @@ module SimpleCrowd
|
|
263
263
|
|
264
264
|
def convert_soap_errors
|
265
265
|
begin
|
266
|
-
old_raise_errors =
|
267
|
-
|
266
|
+
old_raise_errors = client.config.raise_errors
|
267
|
+
client.config.raise_errors = true
|
268
268
|
yield
|
269
269
|
rescue Savon::SOAP::Fault => fault
|
270
270
|
raise CrowdError.new(fault.to_s, fault)
|
271
271
|
rescue Savon::HTTP::Error => e
|
272
272
|
raise CrowdError.new(e.to_s)
|
273
273
|
ensure
|
274
|
-
|
274
|
+
client.config.raise_errors = old_raise_errors
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
data/lib/simple_crowd/version.rb
CHANGED
data/simple_crowd.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency(%q<savon>, ["
|
21
|
+
s.add_runtime_dependency(%q<savon>, [">= 1.0.0"])
|
22
22
|
s.add_runtime_dependency(%q<hashie>, [">= 1.0.0"])
|
23
23
|
|
24
24
|
s.add_development_dependency(%q<bundler>, [">= 1.0.21"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_crowd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,17 +16,17 @@ dependencies:
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 1.0.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: hashie
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|