targit 2.5.1 → 2.5.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: 773434cfd307287fdefc55f386b27ede3130365ea418d5c0caa5e1329c28495c
4
- data.tar.gz: 83f687a80a5a228a9fe52b2e17ac612cdd2d50a00285ab988ad953b8ab709060
3
+ metadata.gz: 95f4dcd28a9c08e50299904f7b30e1f83e210693b80bea8d2cae00fb09d50dfa
4
+ data.tar.gz: 9f8f24cdd6d7af08f2728430e21e8e0b17dcb0523b3082b5cff2cb993eedda3e
5
5
  SHA512:
6
- metadata.gz: d75383eaf914b25ed0fb7f4e2637ab56a7967adb3a9c8556705f15ca553591e38d31fa30b9772de4fb52acbda043c9afea298931114ca088d520774fbbefb959
7
- data.tar.gz: d18b3dd43b6158656369ba8afafe67b3c2f170bbc03a6aee3058e15bd4cb5d3d1110b85895701d0fd97e903a7a27649d0f848a646754de6c2bfd2adfbfa3b64d
6
+ metadata.gz: e20f3b29256cb4da06dff860664fde8b5861e4478fd11edc4fde35a97cb5ef219fc2b97d2ae6e045fda52e0e235d32da8946bb461a18f3a0bde82cc1630e83fa
7
+ data.tar.gz: 5f7c9c7cc741ca0726eeff20bc3656abd77aa9ab0bbdf86fa3ad8a4c02175377659ca5442db52584590d737eef76f4d898b53fc5a8f7f4f34ec22c10b716a708
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.5.2 / 2022-12-22
2
+
3
+ * [ENHANCEMENT] Improve retry logic for GitHub timeouts
4
+
1
5
  # 2.4.8 / 2022-05-05
2
6
 
3
7
  * [BUGFIX] Undo dumb http lib changes
data/README.md CHANGED
@@ -2,7 +2,7 @@ targit
2
2
  =========
3
3
 
4
4
  [![Gem Version](https://img.shields.io/gem/v/targit.svg)](https://rubygems.org/gems/targit)
5
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/akerl/targit/Build)](https://github.com/akerl/targit/actions)
5
+ [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/akerl/targit/build.yml?branch=main)](https://github.com/akerl/targit/actions)
6
6
  [![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
7
7
 
8
8
  Manages GitHub release assets for pushing binaries and other large files
data/lib/targit/asset.rb CHANGED
@@ -25,7 +25,7 @@ module Targit
25
25
  asset = client.upload_asset @release.data[:url], @asset, @upload_options
26
26
  sleep 1
27
27
  client.release_asset asset[:url]
28
- rescue Faraday::ConnectionFailed
28
+ rescue Faraday::ConnectionFailed, Faraday::TimeoutError
29
29
  raise if retries.zero?
30
30
  puts "Retrying upload for #{@asset}"
31
31
  sleep 5
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Set the version (needed for Mercenary -v)
5
5
  module Targit
6
- VERSION = '2.5.1'
6
+ VERSION = '2.5.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: targit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.3.7
180
+ rubygems_version: 3.3.26
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: Tool for adding GitHub release assets