nexus-debug 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a662242adafcbabdd771c7c21a491f3a18db1180f1b366de72a24adcb3726a5d
4
- data.tar.gz: 1e0b6ae60f8b6e4fc7e25c68cbcbfcae07b8fd205ef260e00484e77a7a98ad75
3
+ metadata.gz: 21f5517f1a776ffb807fb09640fae769092d37b1ffa639dd42b301c227759e99
4
+ data.tar.gz: ef57bc27daf446b823c3e8ac145ed06d7e05d011f03ccb278971b3598f6beee4
5
5
  SHA512:
6
- metadata.gz: 986bda60b49b3b207db6d88ae96f89805a494e09fe5ac17015511ef5477ce4cf3cbff0c1321ec2e0fb294516556ee68426c97dfeea533040058de51e338f32bb
7
- data.tar.gz: 19de98f5853fb9ae6b302aaa9ac25f67c98a85696026d41bebf72e27a1250b10e8362f4e6f5d215c21ae382027bf2388d4509d215fdb6c0961c23257096845fd
6
+ metadata.gz: a80002903bb217b9015a05430b6d58ac9afa28103d401da6ae3e13c47d14850a9d4fb838b34427e44fb7ebe5094ab427ac81e85841eb21d54fc88223d0943bae
7
+ data.tar.gz: ac6af79379ddad50a04ec0789063d0e77b35d53b391615a5a812bb1a80a00c81ec8f1b17c8db74342124e78fd799ea7265b058c33c11a1d099c1bb39245feed5
@@ -115,6 +115,7 @@ module Gem
115
115
  request.add_field('Authorization', authorization.strip) if authorization
116
116
  end
117
117
 
118
+ say "headers: #{response.each_header.to_h}"
118
119
  case response.code
119
120
  when '400'
120
121
  say 'something went wrong - maybe (re)deployment is not allowed'
@@ -123,9 +124,6 @@ module Gem
123
124
  when '500'
124
125
  say 'something went wrong'
125
126
  else
126
- if Gem.configuration.verbose.to_s.to_i.positive?
127
- say "body:\n\t`#{response.message}`\n"
128
- end
129
127
  say "#{response.message} #{path.split(%r{/}).last}"
130
128
  end
131
129
 
data/lib/nexus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nexus
2
- VERSION = '1.4.1'.freeze
2
+ VERSION = '1.4.2'.freeze
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require 'rubygems/command_manager'
2
2
  require 'commands/abstract_command'
3
3
 
4
- require "commands/nexus"
4
+ require 'commands/nexus'
5
5
  Gem::CommandManager.instance.register_command :nexus
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus-debug
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Quaranto
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-09-21 00:00:00.000000000 Z
13
+ date: 2021-09-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake