simplews 1.8.2 → 1.8.3
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.
- data/lib/simplews/jobs.rb +1 -1
- metadata +3 -3
data/lib/simplews/jobs.rb
CHANGED
|
@@ -471,7 +471,7 @@ class SimpleWS::Jobs < SimpleWS
|
|
|
471
471
|
param_desc :result => "Result identifier", :return => "Content of the result file, in Base64 encoding for compatibility"
|
|
472
472
|
serve :result, %w(result), :return => :binary do |result|
|
|
473
473
|
path = @results[result]
|
|
474
|
-
raise ResultNotFound
|
|
474
|
+
raise ResultNotFound if path.nil? || ! File.exist?(path)
|
|
475
475
|
Base64.encode64 File.open(path).read
|
|
476
476
|
end
|
|
477
477
|
|
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.
|
|
4
|
+
version: 1.8.3
|
|
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-
|
|
12
|
+
date: 2010-01-26 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -45,8 +45,8 @@ dependencies:
|
|
|
45
45
|
description: Generates WSDL automatically. It manages jobs as asynchronous processes
|
|
46
46
|
email: miguel.vazquez@fdi.ucm.es
|
|
47
47
|
executables:
|
|
48
|
-
- start_jobs_ws
|
|
49
48
|
- start_ws
|
|
49
|
+
- start_jobs_ws
|
|
50
50
|
extensions: []
|
|
51
51
|
|
|
52
52
|
extra_rdoc_files:
|