help_scout-sdk 2.0.0 → 3.0.2

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: 7d88954135888a77486265cfd3a3755711a419b1883c0e4af31e3c3671d0e67f
4
- data.tar.gz: beeb0ecb380ab39348823a61f1d6533617f093e9142c3f78dc0bcb1efff20064
3
+ metadata.gz: 2b99c54514ebaaa5fd8474f3b9ed331a24906bdcfa3585a5b34642a815549566
4
+ data.tar.gz: b28c9469a87fc13bc56aea95723d8f41cae64a036eb5342a174084ac31b935fa
5
5
  SHA512:
6
- metadata.gz: dd1bd18e9d42821f7df2f1e397fd322af8d765ce522cddffd90b93d24d7390fec98f8a9d381bcf92e64896797c9726d62f8ea687bc6e4044c15592592c1b0b68
7
- data.tar.gz: 278dd433006623d04f155b6b30521b6645eb13659c811282efe30cb5d00c4c755877158640a6411cac50dfd968770491b94c78d1588f511ab7cc4402532efd96
6
+ metadata.gz: 044ce2a57ccef6ab48dfdf61b98148c62481405a4245357a3bc89904b12c9a963aed0d4d19cbbb117231dbbd5cc079fdae618687da0a6a1163d7d574133a511f
7
+ data.tar.gz: d2f1f800705ba15a3697e6d8229fd4eb19f5eb8aca030f4c003d4e6a16cce2c3f841b64f9824b5f4a3f2cae4b33ed0ac4ed058cc712f477ad8b7a67031f5f199
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ### master (unreleased)
2
2
 
3
+ ## 3.0.0 / 2024-03-14
4
+
5
+ Breaking Changes:
6
+
7
+ * Upgrades Faraday dependency to 2.9 which makes it compatible with Ruby 3.x
8
+ However, Faraday does not support Ruby 2.x on this version.
9
+ ([#30](https://github.com/taxjar/help_scout-sdk/pull/30))
10
+
3
11
  ### 2.0.0 / 2019-07-19
4
12
 
5
13
  Breaking Changes:
@@ -31,9 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ['lib']
32
32
 
33
33
  spec.add_dependency 'activesupport'
34
- spec.add_dependency 'faraday', '~> 0.10'
35
- spec.add_dependency 'faraday_middleware', '>= 0.10.1', '< 1.0'
36
- spec.required_ruby_version = '>= 2.3'
34
+ spec.add_dependency 'faraday', '>= 2.7.4'
35
+ spec.required_ruby_version = '>= 3.0'
37
36
 
38
37
  spec.add_development_dependency 'awesome_print', '~> 1.8'
39
38
  spec.add_development_dependency 'bundler', '~> 2.0'
@@ -13,7 +13,7 @@ module HelpScout
13
13
  @_connection ||= build_connection.tap do |conn|
14
14
  if authorize?
15
15
  HelpScout::API::AccessToken.refresh!
16
- conn.authorization(:Bearer, access_token) if access_token
16
+ conn.request(:authorization, 'Bearer', access_token) if access_token
17
17
  end
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HelpScout
4
- VERSION = '2.0.0'
4
+ VERSION = '3.0.2'
5
5
  end
@@ -4,7 +4,6 @@ require 'active_support'
4
4
  require 'active_support/core_ext'
5
5
  require 'json'
6
6
  require 'faraday'
7
- require 'faraday_middleware'
8
7
 
9
8
  require 'help_scout/version'
10
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_scout-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TaxJar
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -26,38 +26,18 @@ dependencies:
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.10'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.10'
41
- - !ruby/object:Gem::Dependency
42
- name: faraday_middleware
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - ">="
46
32
  - !ruby/object:Gem::Version
47
- version: 0.10.1
48
- - - "<"
49
- - !ruby/object:Gem::Version
50
- version: '1.0'
33
+ version: 2.7.4
51
34
  type: :runtime
52
35
  prerelease: false
53
36
  version_requirements: !ruby/object:Gem::Requirement
54
37
  requirements:
55
38
  - - ">="
56
39
  - !ruby/object:Gem::Version
57
- version: 0.10.1
58
- - - "<"
59
- - !ruby/object:Gem::Version
60
- version: '1.0'
40
+ version: 2.7.4
61
41
  - !ruby/object:Gem::Dependency
62
42
  name: awesome_print
63
43
  requirement: !ruby/object:Gem::Requirement
@@ -258,7 +238,7 @@ licenses:
258
238
  metadata:
259
239
  source_code_uri: https://github.com/taxjar/help_scout-sdk
260
240
  bug_tracker_uri: https://github.com/taxjar/help_scout-sdk/issues
261
- post_install_message:
241
+ post_install_message:
262
242
  rdoc_options: []
263
243
  require_paths:
264
244
  - lib
@@ -266,15 +246,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
266
246
  requirements:
267
247
  - - ">="
268
248
  - !ruby/object:Gem::Version
269
- version: '2.3'
249
+ version: '3.0'
270
250
  required_rubygems_version: !ruby/object:Gem::Requirement
271
251
  requirements:
272
252
  - - ">="
273
253
  - !ruby/object:Gem::Version
274
254
  version: '0'
275
255
  requirements: []
276
- rubygems_version: 3.0.3
277
- signing_key:
256
+ rubygems_version: 3.3.3
257
+ signing_key:
278
258
  specification_version: 4
279
259
  summary: Ruby Help Scout SDK
280
260
  test_files: []