cortex-client 0.2.3 → 0.2.4

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: 475fbb913a80932170b32a821593bba1645b1337
4
- data.tar.gz: a093fa82e7197fadb6e84222be1fd2f2fc623920
3
+ metadata.gz: fb83225cad244a44c14e2f7eac793daff803a9bc
4
+ data.tar.gz: bbe736c07d50f35902b9879c879a016a94d1b49c
5
5
  SHA512:
6
- metadata.gz: ed38f23691cf6012068fca8e9299784009cc877b34b1347897e0ea39eaba72a45afe06284945a4bb9d56f368119c9909a5ac40e24aa67a4e6a4417d64524643a
7
- data.tar.gz: 48489f45b5bf216106b7a3c011c6ad85547cb6573a203600eeec5df790acf389c0c056d84ed0c942206be9c5ffbf98d3c9b2e2239eaeed5a02bd526b89553003
6
+ metadata.gz: 7fa0e7bc0e48dcad5a5d0b3aeb4c09f548d8218d7cf42285db201881cf0016ba8237935d9be6f2e8ca25a12a3dd90c591ad42e6fccdcf65a6aaeb29330c65a2a
7
+ data.tar.gz: bacb0814c8fdb71d874c618bf9ca8a82d9d96537a66eb08b5026a5e4bbab32433bcee7ec7e8378a06809458166a443e1733f90eed1804fa5f7c04397bf084ff1
@@ -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.3'
2
+ VERSION = '0.2.4'
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bennett Goble