bard 0.59.0 → 0.59.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: b89c9ca0ee7b64e04e0b04063bc8b24d8d46785f2bd445b8755971812a54607a
4
- data.tar.gz: 0bb3e4a76f0220ae5116215a19ad3a68172eca16185cb4e7e43d431dc95e9984
3
+ metadata.gz: be03f18048d42fca18c08b2e4acfc1ec0abc689cc3308e3672774d67098556c2
4
+ data.tar.gz: ebfe954ff476c1fd5f1a2120f3be08ce0cdab036bb49584921bd2b43d14bc6c4
5
5
  SHA512:
6
- metadata.gz: fd28186f63c5e0e3e0a77c94d2756c622477f164e0fae220642e5ebd03ca3aa4d04858ee3ec1fb1efb9eb2ed189a93314c89b8d1d44310d249bb6d1064cdc0ad
7
- data.tar.gz: b3b71f60070f6cdefa1c7d733188130f2a6e2f4c6ea236878d17e064a35dc9558ba05ca889b4a761fa311538736f3fcfb2276c5a4d5a1872a66772cdfe2b661c
6
+ metadata.gz: 156f27088ee94fef48ee33c054fdf7a14eadf0875eb3752b661a0cc12b60bb56f655d124799e21566b4d8324bc5deb362ba2fd5991c6070821431e54925987f4
7
+ data.tar.gz: dfaea284d495faa359018c0fbacf194d03bd77491c4d4ea21372fca3aadaec0fe6869b7f80fde8f1ada60ef2660b76b378137358892c875a27705f782d4a39d4
@@ -215,10 +215,7 @@ class Bard::CLI < Thor
215
215
 
216
216
  case response
217
217
  when Net::HTTPRedirection then
218
- url = response["Location"]
219
- request(url) do |uri|
220
- Net::HTTP::Get.new(uri)
221
- end
218
+ Net::HTTP.get(URI(response["Location"]))
222
219
  when Net::HTTPSuccess then
223
220
  if response["Content-Type"].to_s.include?("/json")
224
221
  JSON.load(response.body)
data/lib/bard/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Bard
2
- VERSION = "0.59.0"
2
+ VERSION = "0.59.2"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.59.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-08 00:00:00.000000000 Z
11
+ date: 2024-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.5.4
183
+ rubygems_version: 3.5.3
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: CLI to automate common development tasks.