cortex-client 0.2.0 → 0.2.1

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: 6805c6198532fcdecc61d871214291b3c3f39fde
4
- data.tar.gz: 44d36a2e77e4209d9e13781a91a0e21c01999c40
3
+ metadata.gz: 070d6f90c4605cd13d62e028b976e0789a127c26
4
+ data.tar.gz: ff5af839f6373cf7a20b4b05426a04592b397ab5
5
5
  SHA512:
6
- metadata.gz: 51aa66d9bf0284a96513c6107e76f720bc5a6aba36217aefe24fe942a44226ba4297eaeeeb293a3b1113cb2428a4b1bd265be4bdcc87cd6f4416824df62ec18e
7
- data.tar.gz: 5bd75cfa5bf7c91c1777471e43db74575776193a30ebe68162d0f48e46c344e09a1a3c95744c5901a2153f759b75617afb851f98470d87dfd8637bd45df2a7d3
6
+ metadata.gz: 133ab3223abf0b2c33af3b03c1a5174098e1fc28696a54b425c5397688460bb6f17b5e1a1e406674d8c8228003ebbc1006d6ee9863d94b7fa126537ccc98f78d
7
+ data.tar.gz: 149630640159bd9a04092cb789e9302e9d6778130d9e0d35f4e3795e6428b32b33b3b17a8b7c67a1d13ad529fc56c231ee0a11601239953219c16c05c352d91b
@@ -50,7 +50,7 @@ module Cortex
50
50
 
51
51
  def parse_response(response)
52
52
  if response.status < 300 || (response.body.kind_of?(Hash) && response.body['error'])
53
- OpenStruct.new({body: response.body, headers: response.headers.select { |k| ["Content-Range", "X-Total-Items"].include? k } })
53
+ OpenStruct.new({body: response.body, headers: response.headers.select { |k| [:'Content-Range', :'X-Total-Items'].include? k } })
54
54
  else
55
55
  OpenStruct.new({:error => response.body, :status => response.status, :original => response})
56
56
  end
@@ -1,3 +1,3 @@
1
1
  module Cortex
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bennett Goble