bard 0.59.0 → 0.59.1

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: d417f8d9c8bc79a1688f8437abdbf7604e84c0564c6a68fc26b34d5038c46a9c
4
+ data.tar.gz: e6e3a1818e7f7bb890a0981c8dfde079d0bd77b4adcca2d5b5138f76ca843ad2
5
5
  SHA512:
6
- metadata.gz: fd28186f63c5e0e3e0a77c94d2756c622477f164e0fae220642e5ebd03ca3aa4d04858ee3ec1fb1efb9eb2ed189a93314c89b8d1d44310d249bb6d1064cdc0ad
7
- data.tar.gz: b3b71f60070f6cdefa1c7d733188130f2a6e2f4c6ea236878d17e064a35dc9558ba05ca889b4a761fa311538736f3fcfb2276c5a4d5a1872a66772cdfe2b661c
6
+ metadata.gz: a531cdfd58371d94ea98fd4a93df35881de5a5bed126f284fc138d305d563b8de743b4a1a176de84a83e28e1286eb069190df0a8d1a535e71240abf6da2a2455
7
+ data.tar.gz: c1d026105ea62e6571f89dfb1a6ec8f9d64509078cf43d6b9171aeded0fdcd476180f5e0bcbf71dc7a5ce480275eba0be279f182925bb52c752a00b382dd4ce7
@@ -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
+ get(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.1"
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.1
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.