nexus-debug 1.4.0 → 1.4.4

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: c5e977b37cb2b84fdff288647f916aaf31d72e330fbb75219732cf40acef41b8
4
- data.tar.gz: 65c9201977d7d1a661834015c1dd9d24aa125a8d3d5341ea418c5c144ef5dd2c
3
+ metadata.gz: e141a9c182090e36f07fa0782af426d337ae034f24396d6294c6db10874e9b5f
4
+ data.tar.gz: fee36fdb26e7bcf264dba2c7171f15190c4b689abb7073ea38a4e1d4e8f9a10e
5
5
  SHA512:
6
- metadata.gz: 5dffd2d02171b34bad106eb0eed21fc4c4990802f91d5d6a67c00176caaf8d0cc418de995a4c65385871d8ec9e72a7d74aa4e24943da0ac775c9ec846cefa3f1
7
- data.tar.gz: 3a5cfd62ff57b6c97d262b7abe43dab2b5366e71e1c378d6b98a783f06f7fe86e1b516e8eaf0a1c6cc63c6e18eb200a8543bf392230bcf630957411cb4164358
6
+ metadata.gz: 36951e608ca03b1b5e6a8a4f06e01cdd6b65dfe9380b1fc8f3a770605e5969d003d3d3be79b567b763e8c859085c25eec1e7fd7ca5983a5c5889c60f06564388
7
+ data.tar.gz: 73c8c6912ed57e832ab79e689fef792632584174128088283b4154dd1a7a83307ce44596ae1f626e736296fd3a9b28c52a239738874d247bdbdbce3f265c1597
@@ -115,6 +115,10 @@ 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}"
119
+ warn "headers: #{response.each_header.to_h}"
120
+ IO.puts response.each_header.to_h
121
+
118
122
  case response.code
119
123
  when '400'
120
124
  say 'something went wrong - maybe (re)deployment is not allowed'
@@ -123,10 +127,12 @@ module Gem
123
127
  when '500'
124
128
  say 'something went wrong'
125
129
  else
126
- if Gem.configuration.verbose.to_s.to_i.positive?
127
- say "body:\n\t`#{response.message}`\n"
128
- end
129
- say "#{response.message} #{path.split(%r{/}).last}"
130
+ say "headers incoming"
131
+ say "headers:\n"
132
+ say "headers: #{response.each_header.to_h}"
133
+ warn "headers: #{response.each_header.to_h}"
134
+ IO.puts response.each_header.to_h
135
+ say "sjdf: #{response.message} #{path.split(%r{/}).last}"
130
136
  end
131
137
 
132
138
  exit 1 unless response.is_a? Net::HTTPSuccess
data/lib/nexus/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Nexus
2
- VERSION = '1.4.0'.freeze
2
+ VERSION = '1.4.4'.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,19 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus-debug
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
- - Nick
8
- - Quaranto
9
- - Christian
10
- - Meier
11
- - Torben
12
- - Carstens
7
+ - Nick Quaranto
8
+ - Christian Meier
9
+ - Torben Carstens
13
10
  autorequire:
14
11
  bindir: bin
15
12
  cert_chain: []
16
- date: 2021-09-21 00:00:00.000000000 Z
13
+ date: 2021-09-22 00:00:00.000000000 Z
17
14
  dependencies:
18
15
  - !ruby/object:Gem::Dependency
19
16
  name: rake
@@ -108,7 +105,7 @@ dependencies:
108
105
  description: Adds a command to RubyGems for uploading gems to a nexus server.
109
106
  email:
110
107
  - nick@quaran.to
111
- - m.kristian@web.de
108
+ - " m.kristian@web.de"
112
109
  - rubygems@carstens.tech
113
110
  executables:
114
111
  - nbundle