targit 2.5.0 → 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: 43a9398d2a1d8949402f0e4fb8499f83ad69915a9928f4748304059a5588862f
4
- data.tar.gz: 361477e83b7c15606186e80d026c8af08a8f0766ec96e9dddfc1ea7d58adae4c
3
+ metadata.gz: 95f4dcd28a9c08e50299904f7b30e1f83e210693b80bea8d2cae00fb09d50dfa
4
+ data.tar.gz: 9f8f24cdd6d7af08f2728430e21e8e0b17dcb0523b3082b5cff2cb993eedda3e
5
5
  SHA512:
6
- metadata.gz: 27c03555b54bc06ec95441753c4810a6c246b0d679ff71e2b13e6dc9d9a9f2b6aabd137e43d554eff24b771d64362667f73dde41891ddd62a04f3ac356f565e3
7
- data.tar.gz: 43b4121246f166add223bede44c2bfb29c2f3e32c66acbcfc0d50d2fd34d6f13bc0c886a4ccf7183981fc6e51318d6ffd6327e7f1c9968a4868d68892eb18d61
6
+ metadata.gz: e20f3b29256cb4da06dff860664fde8b5861e4478fd11edc4fde35a97cb5ef219fc2b97d2ae6e045fda52e0e235d32da8946bb461a18f3a0bde82cc1630e83fa
7
+ data.tar.gz: 5f7c9c7cc741ca0726eeff20bc3656abd77aa9ab0bbdf86fa3ad8a4c02175377659ca5442db52584590d737eef76f4d898b53fc5a8f7f4f34ec22c10b716a708
@@ -26,7 +26,7 @@ jobs:
26
26
  GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
27
27
  - name: Post to a Slack channel
28
28
  if: ${{ failure() }}
29
- uses: slackapi/slack-github-action@v1.18.0
29
+ uses: slackapi/slack-github-action@v1.23.0
30
30
  env:
31
31
  SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
32
32
  SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
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 Errno::ECONNRESET
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.0'
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.0
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-09 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