simplews 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/simplews/jobs.rb +2 -2
  2. data/lib/simplews.rb +1 -1
  3. metadata +2 -2
data/lib/simplews/jobs.rb CHANGED
@@ -17,9 +17,9 @@ class SimpleWS::Jobs < SimpleWS
17
17
  SLEEP_TIMES = {
18
18
  :job_info => 1,
19
19
  :monitor => 2,
20
- }
20
+ } unless defined? SLEEP_TIMES
21
21
 
22
- INHERITED_TASKS = {}
22
+ INHERITED_TASKS = {} unless defined? INHERITED_TASKS
23
23
 
24
24
 
25
25
  #{{{ Scheduler
data/lib/simplews.rb CHANGED
@@ -315,7 +315,7 @@ class SimpleWS < SOAP::RPC::StandaloneServer
315
315
  type = :string if type.nil?
316
316
  if type
317
317
  type = type.to_sym
318
- xml.part :name => 'return', :type => TYPES2WSDL[type] do
318
+ xml.part :name => 'result', :type => TYPES2WSDL[type] do
319
319
  param_descriptions = description[:param_descriptions]
320
320
 
321
321
  if param_descriptions && param_descriptions['return']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplews
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-02 00:00:00 +01:00
12
+ date: 2010-01-03 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency