hubspot-api-client 14.5.0 → 14.5.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
  SHA256:
3
- metadata.gz: 9767c7c7c1e949bd93690f2c111d3e47141be1ca597f99091402eba1ca3f968e
4
- data.tar.gz: f435e7e0e1a4bff0d0f9e57a1dc284a9a48293e036bd8c1cfbf0e1b408825f9a
3
+ metadata.gz: 1d8b685b37efbc5b2140970f793514d482f2c1b3cc1e7da8bb0f22d6814a4e72
4
+ data.tar.gz: 5db20fc0ccb46c3e201751171f08fc1f052b48053ae64e1ff8a09ab9b6cc1705
5
5
  SHA512:
6
- metadata.gz: b383cf4b93fb791e6869120c1b4c7952a2b6242a355c4d958c1de1523ccee00aeac3210c0949ea7e22065f2ff2c67304a31eaeb4c788dcbd0d5e95529f19755a
7
- data.tar.gz: 344aafe31b45ff09eec055504ab455a0548ed30c29bd51dba84ab33918c68390e4f442e4302eef20075cc6b1c802e846a7dc5008c266bfbdf7f84f4c4243ba53
6
+ metadata.gz: 63275e727159844f6841460d15c9a672f103295693bb010a7c0dd8a178bce450e5a1f0995f0f98b93fb6698d920d6d31d385a3b54330f74498dfc59a37dc930d
7
+ data.tar.gz: e94d656b76d0782d533e7378416652378a36a2194386ac67496fc142a6713293a8ac858ff1e3fb88f7a1017c34080513938a17b2d7fbb61cde3e730f3006792d
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [14.5.1] - 2022-09-30
9
+ ### Changed
10
+
11
+ - with_http methods were added to the discovery classes
12
+
8
13
  ## [14.5.0] - 2022-09-30
9
14
  ### Changed
10
15
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot-api-client (14.5.0)
4
+ hubspot-api-client (14.5.1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  require_all (~> 3.0.0)
7
7
  typhoeus (~> 1.4.0)
@@ -11,7 +11,10 @@ module Hubspot
11
11
  end
12
12
 
13
13
  def api_methods
14
- api.methods.grep(/with_http_info/).map {|elem| elem.to_s.gsub('_with_http_info', '').to_sym }
14
+ api.methods.grep(/with_http_info/).inject([]) do |methods, method|
15
+ methods << method
16
+ methods << method.to_s.gsub('_with_http_info', '').to_sym
17
+ end
15
18
  end
16
19
 
17
20
  def config
@@ -1,3 +1,3 @@
1
1
  module Hubspot
2
- VERSION = '14.5.0'
2
+ VERSION = '14.5.1'
3
3
  end
@@ -75,8 +75,8 @@ describe 'Hubspot::Discovery::BaseApiClient' do
75
75
 
76
76
  it { is_expected.to respond_to(:get) }
77
77
  it { is_expected.to respond_to(:update) }
78
- it { is_expected.not_to respond_to(:get_with_http_info) }
79
- it { is_expected.not_to respond_to(:update_with_http_info) }
78
+ it { is_expected.to respond_to(:get_with_http_info) }
79
+ it { is_expected.to respond_to(:update_with_http_info) }
80
80
 
81
81
  describe '#get' do
82
82
  subject(:get) { client.get(params) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubspot-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.5.0
4
+ version: 14.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - HubSpot