highwinds-api 0.0.4 → 0.0.5

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.
@@ -22,7 +22,10 @@ module HighwindsAPI
22
22
  res = nil
23
23
  path = [*path]
24
24
  path.each do |url|
25
- res = self.delete("/#{host_hash}/cds/#{url.chomp('*')}", options)
25
+ temp_res = self.delete("/#{host_hash}/cds/#{url.chomp('*')}", options)
26
+ if res.nil? || res.response.code == "200"
27
+ res = temp_res
28
+ end
26
29
  end
27
30
  res
28
31
  end
@@ -1,5 +1,5 @@
1
1
  module Highwinds
2
2
  module Api
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: highwinds-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-13 00:00:00.000000000 Z
12
+ date: 2013-02-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty