targit 2.4.4 → 2.4.5

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: '04096845b929ca7ade71efb498869d0ebec0ad79527fa986cf6425cd10365f9e'
4
- data.tar.gz: 7b24f2ea5d026571006260f48b859b8fefcee82fe10d2b11947a11b342897b9d
3
+ metadata.gz: 7a0e0154cc833704b8d4c197fa184d774cdc9e934c2d23472f2d8cffad7b05ef
4
+ data.tar.gz: 536d6c3ba4391812dad495ab694610f7969edf81af72bd9a843776703651332b
5
5
  SHA512:
6
- metadata.gz: dbe9bf4af40d57c635246dfc887c2d10299ac34ee0e506a7b55245f489974f3cd62aa8862444447f4490996432b9fadfaf7ada724967ec782fdc29064d23527b
7
- data.tar.gz: 159aefe786662ba57ffb0e5fb1baae97ec3973aa9c047057c0e6b51f11a563253080f88613dedd25b6c966e118afb57dc0f185a7dc6a23ba205f71a16989dcfd
6
+ metadata.gz: 1788263e402f8db8bd223efda8fbdd888ad27a6b7447c1797476127515fd5fbed4288421ac0c7f56cba30ddd9fc7cb4fa9b4c60e7e7878d03c4c9ebec08031d6
7
+ data.tar.gz: 886675805208235b80f5637e51777445b3033688974b77edde2904f8c37d465fd7230756ab5395d3d5c8f95ba2bf7f39d328b5dc01fffb9087d4597a3206b2f6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.4.5/ 2022-05-04
2
+
3
+ * [BUGFIX] Switch to smarter http adapter
4
+
1
5
  # 2.4.4 / 2022-05-04
2
6
 
3
7
  * [BUGFIX] Reduce log spam
data/lib/targit/client.rb CHANGED
@@ -25,7 +25,8 @@ module Targit
25
25
  def middleware
26
26
  @middleware ||= Faraday::RackBuilder.new do |builder|
27
27
  builder.use Octokit::Response::RaiseError
28
- builder.adapter :httpclient
28
+ builder.request :multipart
29
+ builder.adapter :net_http
29
30
  end
30
31
  end
31
32
 
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Set the version (needed for Mercenary -v)
5
5
  module Targit
6
- VERSION = '2.4.4'
6
+ VERSION = '2.4.5'
7
7
  end
data/targit.gemspec CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.test_files = `git ls-files spec/*`.split
20
20
  s.executables = ['targit']
21
21
 
22
- s.add_dependency 'httpclient', '~> 2.8.3'
23
22
  s.add_dependency 'mercenary', '~> 0.4.0'
24
23
  s.add_dependency 'mime-types', '~> 3.4.1'
25
24
  s.add_dependency 'octoauth', '~> 1.9.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: targit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.4
4
+ version: 2.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
@@ -10,20 +10,6 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2022-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: httpclient
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 2.8.3
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 2.8.3
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: mercenary
29
15
  requirement: !ruby/object:Gem::Requirement