uberbringer 0.0.2 → 0.0.3

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: ef0735d82323058c990a13f7ecd0503c876ce3dd
4
- data.tar.gz: c2cf0027214d739b128bbb9b10e3706af397a827
3
+ metadata.gz: 51d595ff6d5efc0b32f4e95ea029d92575dcf251
4
+ data.tar.gz: 93fcd76f198bbdad24068cfbcf33d9458047a034
5
5
  SHA512:
6
- metadata.gz: a281085ec07d91a6168a5e3a0b525877663e8212965038fc33794260e722df0eaabf1a9fa4022cf2b483cbbfaee23b53db64e5f11a98052098e7a3bf37f5b3a4
7
- data.tar.gz: 8fc24162d1f9d6b2e929ce805cf0261f7b4889e73231c291520cdad2e23050bd2896e03ea0bfa553417e40c42a343b7a315a8aa4355e5b89cc128ff2f9071dd1
6
+ metadata.gz: c1c01a157aad385f9014a1679ebfcbbe1c32b8a7b9fd422ea63bc5f59c81f22c7d6ac59f932fbaac41fcfa49fff406368b7c78a27a270b45ca6908f0a18ffd4f
7
+ data.tar.gz: 9cae91c3e656e5801517cced9e72e17445b5b58e00b82b69e3bec65a193a53d7c71652069546b156e8ffa90cde967eb70063e10a683d142a4d1d831b700ae747
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- uberbringer (0.0.1)
4
+ uberbringer (0.0.2)
5
5
  fig_newton
6
6
  soap-object
7
7
 
@@ -13,8 +13,8 @@ GEM
13
13
  nokogiri
14
14
  builder (3.2.2)
15
15
  diff-lcs (1.2.5)
16
- fig_newton (0.11)
17
- yml_reader (>= 0.3)
16
+ fig_newton (0.12)
17
+ yml_reader (>= 0.5)
18
18
  gyoku (1.3.1)
19
19
  builder (>= 2.1.2)
20
20
  httpi (2.4.1)
data/lib/uberbringer.rb CHANGED
@@ -21,7 +21,9 @@ module Uberbringer
21
21
  end
22
22
 
23
23
  def result
24
- @service.body[:help_desk_query_list_service_response][:get_list_values]
24
+ result = @service.body[:help_desk_query_list_service_response][:get_list_values]
25
+ return result if result.kind_of?(Array)
26
+ return [result] if result.kind_of?(Hash)
25
27
  end
26
28
 
27
29
  private
@@ -1,3 +1,3 @@
1
1
  module Uberbringer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uberbringer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - mosaic