capital-iq 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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjU1ZWU0ZjA1M2IzMDc4NzAwMGM0NWE4NTBiZGY4YzM5NmRiZDhjZg==
4
+ MjlhOWM4YmVmNjhmZTY1YTc0NDQyZjI2MTQ1MzcyY2RkNmFkYjM5ZA==
5
5
  data.tar.gz: !binary |-
6
- Njk3ZDFmYjUxNDY2MGNiZTI1MmMzODgyMTQ3OTU0ZTUyN2NjNzY3Ng==
6
+ NzFlYjA2MDA0NDA4NWNlMTFmZGEwOTk1ZDFiOTVmMzA4YWZiYTJmMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmYwZmM1NDc0MDNhMTIzN2UxYTJkODUxYTRkMDgwMjdiMDhhYTA4MzVmZThh
10
- NDgzYzc5NjY4YzQwM2IyMDYxZDM2NjRiNDA5ZWQxOTgzM2I0MWZhOTVlMzJh
11
- NjJkMmFjMGM5ODY4Yzk3ODY4ODU0MDk1OTg4ZmI1ZGQ1OWUwYTE=
9
+ YjgzYjk1NWZlZTRjNTU1ZDNjYjU0ZTIzMTk4NGNlZThhMjg2YTA4M2IxMDFh
10
+ MjgzMzllNjg3YTlmNTQ5MDQ5NWRiZWEzODg1ZDQ2ZThmNDkyOGRkOTEyNWYx
11
+ OGRlZmU4ZjVlMDMwNzRhZmE2MzQ1MjQxZGFlYTAzMzY1YTBiZmE=
12
12
  data.tar.gz: !binary |-
13
- ZmIwODU3NzI5NzAxYzRmMDlmZjlhYWU1OWU3NDU3YmJiNGJjMzFmYzk2NTAy
14
- YWRiNTJjNjhlZDVjNjQ1MzJiZmI3YThjYTk0YTYxZDY4YzZkNmZmNDU0MjZj
15
- MDlhOTI4ZGM5MGIwNzk0ZGFkNmQyMDI2OWE1MjYzMDI0ODQ4MGE=
13
+ YjYyYzdmYzkxNTgwZDQxNDJlZTM4YTVmMzZhNjVmOGRlZWNhNDZhMmQ4ZWIw
14
+ NzI4MTg1OGI5ODI0YjRiYTMxNmM4ZDQ4MzZiOTJjOTg1ZGU4MzM1ZmFmYjk0
15
+ ZjNkOWQyNGJiNjY1N2I0N2QzMTYyM2QzODNhNGVhY2IwYmY4MjM=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: capital-iq 0.0.4 ruby lib
5
+ # stub: capital-iq 0.0.5 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "capital-iq"
9
- s.version = "0.0.4"
9
+ s.version = "0.0.5"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Ian Morgan"]
@@ -13,7 +13,7 @@ module CapitalIQ
13
13
  response_data = self.class.post(ENDPOINT, body: request_body, basic_auth: @auth, ssl_version: :SSLv3).parsed_response
14
14
  response = response_data[response_data.keys.first]
15
15
  return nil if response.nil?
16
- raise CapitalIQ::APIError, response['ErrMsg'] if response['ErrMsg']
16
+ raise CapitalIQ::APIError, response.first['ErrMsg'] if response.first['ErrMsg']
17
17
  response.first
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capital-iq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Morgan