sirportly 1.3.0 → 1.3.1

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.
@@ -31,7 +31,7 @@ require 'sirportly/data_objects/ticket_update'
31
31
  require 'sirportly/data_objects/user'
32
32
 
33
33
  module Sirportly
34
- VERSION = '1.3.0'
34
+ VERSION = '1.3.1'
35
35
 
36
36
  class << self
37
37
 
@@ -49,6 +49,8 @@ module Sirportly
49
49
  @output = true
50
50
  elsif http_result.body == 'false'
51
51
  @output = false
52
+ elsif !http_result.body.is_a?(Hash)
53
+ @output = http_result.body
52
54
  else
53
55
  @output = JSON.parse(http_result.body)
54
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sirportly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: