sleet 0.5.2 → 0.5.3

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: da6449a953da99cd33a455fabe362c43289fe5f8dae44383a94aa374b93096d7
4
- data.tar.gz: 11fb84037b64b725d164f24e923e0c9fd49583170f8b2bb508051c885a91f3fb
3
+ metadata.gz: 4fac7493ce36c1bd93ce7b8adb7026bb7717472df669a91cc86b2c38aedd16aa
4
+ data.tar.gz: '0180aa81852054f6ae694198bf668dec598df6d5304f526977158ecafc50ddc7'
5
5
  SHA512:
6
- metadata.gz: 11eabd22481ae44fb09ad86877d0e498cb02ebfe7214830fd47829349ebeeb44be86fe6a1474826fca1746c6fcd4b2c133a5f57412003018ab3111762dda2635
7
- data.tar.gz: db601fb23667d2d3019fb4ad0d3e8006bc50f04093445891fa8cf53eaf71f31512c766c6fd499b410d7dd4a91134f5fde76301ea3ceea5dee44236f224994984
6
+ metadata.gz: 96219d22089a50d8a9899291c86f3e756611f1981f37837d751ffee58f395efdd50694104a6465db64637110e5de326069fc6cc6270457d8db820f609f14c81f
7
+ data.tar.gz: 022bdbfbe371c6768109ca30132806adaef7519d6d87577a7ff7b5111d5c74b23f432cd93aea66317eaacfe37a940e282eb8174a61be8e8ade33cd9a46763a7e
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.5.3](https://github.com/coreyja/sleet/tree/v0.5.3) (2020-08-09)
4
+
5
+ [Full Changelog](https://github.com/coreyja/sleet/compare/v0.5.2...v0.5.3)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - bug: Add support for redirects. [\#80](https://github.com/coreyja/sleet/pull/80) ([temochka](https://github.com/temochka))
10
+
3
11
  ## [v0.5.2](https://github.com/coreyja/sleet/tree/v0.5.2) (2020-06-14)
4
12
 
5
13
  [Full Changelog](https://github.com/coreyja/sleet/compare/v0.5.1...v0.5.2)
@@ -10,6 +18,8 @@
10
18
 
11
19
  ## [v0.5.1](https://github.com/coreyja/sleet/tree/v0.5.1) (2020-06-14)
12
20
 
21
+ - This was an accidental release that contains no changes from `0.5.0`
22
+
13
23
  [Full Changelog](https://github.com/coreyja/sleet/compare/v0.5.0...v0.5.1)
14
24
 
15
25
  ## [v0.5.0](https://github.com/coreyja/sleet/tree/v0.5.0) (2020-06-14)
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'colorize'
4
4
  require 'faraday'
5
+ require 'faraday_middleware'
5
6
  require 'forwardable'
6
7
  require 'json'
7
8
  require 'rspec'
@@ -5,7 +5,14 @@ require 'singleton'
5
5
  module Sleet
6
6
  class CircleCi
7
7
  def self.get(url, token)
8
- Faraday.get(url, 'circle-token' => token)
8
+ connection.get(url, 'circle-token' => token)
9
+ end
10
+
11
+ def self.connection
12
+ Faraday.new do |b|
13
+ b.use FaradayMiddleware::FollowRedirects
14
+ b.adapter :net_http
15
+ end
9
16
  end
10
17
  end
11
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sleet
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency 'colorize', '~> 0.8.1'
29
29
  spec.add_dependency 'faraday', '>= 0.13.1', '< 1.1.0'
30
+ spec.add_dependency 'faraday_middleware'
30
31
  spec.add_dependency 'rspec', '~> 3.0'
31
32
  spec.add_dependency 'rugged', '>= 0.26', '< 1.1'
32
33
  spec.add_dependency 'terminal-table', '~> 1.8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sleet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Alexander
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-14 00:00:00.000000000 Z
11
+ date: 2020-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 1.1.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: faraday_middleware
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: rspec
49
63
  requirement: !ruby/object:Gem::Requirement