homeflow_api 0.17.12 → 0.17.13

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.17.12
1
+ 0.17.13
data/homeflow_api.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "homeflow_api"
8
- s.version = "0.17.12"
8
+ s.version = "0.17.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Cooper"]
@@ -68,7 +68,11 @@ module Homeflow
68
68
  class << self
69
69
  def run_for(request_specification)
70
70
  r = Request.new(request_specification)
71
- Response.new_from_json(r.perform)
71
+ if r.is_a? Hash
72
+ Response.new(r)
73
+ else
74
+ Response.new_from_json(r.perform)
75
+ end
72
76
  end
73
77
  end
74
78
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeflow_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.12
4
+ version: 0.17.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -178,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  segments:
180
180
  - 0
181
- hash: -4333491120571254235
181
+ hash: 421510939188567802
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  none: false
184
184
  requirements: