circleci_reporter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/circleci_reporter.gemspec +1 -0
- data/lib/circleci_reporter/client.rb +5 -1
- data/lib/circleci_reporter/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc030e3f54e14c9dfaa743bb275a694cf0229c1ff34634a6794d72df5e70d27f
|
4
|
+
data.tar.gz: '04708b127dd92a501f28bec7549470d9d0a4409334c91659ff05eafa0f3ddd31'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48fc386974c72cd49c04f52adf86840fe84c3b8ba4aa5fb382c1fafdab3dbbcfc0cd8eda4c4e8c777cfc42f6d476809b8e9d6bb40b46d8d65f0f7832fa5d8ca3
|
7
|
+
data.tar.gz: 40f08a9fec25e0e9bcb8ce80db914a7b51c67cc240b20f16415d7f598a602ff496b68fad6c627ed2ebe0cb92a837287941730feeee062d1c00d493a5c1d98483
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.0.1] - 2020-04-22
|
10
|
+
### Changed
|
11
|
+
- Add redirect support when dowloading CircleCI artifacts
|
12
|
+
|
9
13
|
## [1.0.0] - 2020-04-16
|
10
14
|
### Changed
|
11
15
|
- Upgrade Faraday version dependency
|
data/circleci_reporter.gemspec
CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.required_ruby_version = '>= 2.7'
|
23
23
|
|
24
24
|
spec.add_dependency 'faraday', '~> 1.0'
|
25
|
+
spec.add_dependency 'faraday_middleware', '~> 1.0'
|
25
26
|
|
26
27
|
spec.add_development_dependency 'ffaker', '~> 2.18'
|
27
28
|
spec.add_development_dependency 'rake', '~> 13.0'
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'faraday'
|
4
|
+
require 'faraday_middleware'
|
4
5
|
|
5
6
|
require_relative 'artifact'
|
6
7
|
require_relative 'build'
|
@@ -59,7 +60,10 @@ module CircleCIReporter
|
|
59
60
|
def get(url, params = {})
|
60
61
|
params['circle-token'] = configuration.circleci_token
|
61
62
|
query_string = params.map { |key, value| "#{key}=#{value}" }.join('&')
|
62
|
-
Faraday.
|
63
|
+
connection = Faraday.new do |faraday|
|
64
|
+
faraday.use FaradayMiddleware::FollowRedirects
|
65
|
+
end
|
66
|
+
connection.get("#{url}?#{query_string}")
|
63
67
|
end
|
64
68
|
|
65
69
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circleci_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuku Takahashi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-04-
|
12
|
+
date: 2021-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: faraday_middleware
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.0'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: ffaker
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|