search_biomodel 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.3
1
+ 2.1.4
@@ -70,13 +70,17 @@ module SysMODB
70
70
  soap.body = {:id => model_id, :attributes! => {:id => {"xsi:type" => "xsd:string"}}}
71
71
  end
72
72
 
73
- if !response.nil?
73
+ if !response.nil
74
+ begin
74
75
  search_results = response.to_hash[:get_simple_model_by_id_response][:get_simple_model_by_id_return]
76
+ rescue
77
+ return []
78
+ end
75
79
  end
76
80
  if search_results.nil?
77
- []
81
+ return []
78
82
  else
79
- search_results
83
+ return search_results
80
84
  end
81
85
  end
82
86
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{search_biomodel}
8
- s.version = "2.1.3"
8
+ s.version = "2.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Niall Beard"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search_biomodel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 3
10
- version: 2.1.3
9
+ - 4
10
+ version: 2.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Niall Beard