geminabox-release 1.1.0 → 1.2.0

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
- SHA1:
3
- metadata.gz: 3ac2fe544ff961eef561fdca7d85519142cd94fb
4
- data.tar.gz: 3bc867e5c2831655d7a6e7e9c959cc4e29f5703c
2
+ SHA256:
3
+ metadata.gz: 57afdf46f9a15d4c9b52fe1b1adb249e6cac19a622da6551c4728d9e73c0ba62
4
+ data.tar.gz: 03ee13527f760c185fddd64aea0fd7b6a286ef4009e4f7cd0e117d96fc233886
5
5
  SHA512:
6
- metadata.gz: 338ec748c5093a9221c71cf058f6b769214a4e0f4a6ce72059ce1f59919fc9503f166e47470326ade7575c41b39a336df2316ad7eb4b4c627b3f1b2df2aefbde
7
- data.tar.gz: abc2274cba3efe41565c7c2cfda0bbb796ce0174cb6a5e0d9ee659179979d39b00b9d1d18b60dbb4c8027271260e20cd9d2fa1f4ae9886414e23fcb493126bb2
6
+ metadata.gz: 3b7425a111eae7cf41b9c97a7d24af809f7f1df90843e1b5d27af522c45afa7018cd0914e157cd995fcebd8679db2357d7ed71ee4c023e7610a11e8b634ed303
7
+ data.tar.gz: 9adde13adaba65ce8f4ff55d508c09995686692b532caabf5c8e131fb59cc7753283d0f72a412065aab2b05a7de6c9cdfa867d228722f3b60b8abddb39e7160a
@@ -54,7 +54,7 @@ module GeminaboxRelease
54
54
  def self.credentials(uri)
55
55
  username = GeminaboxRelease.username
56
56
  password = GeminaboxRelease.password
57
-
57
+
58
58
  unless uri.user.nil? || uri.user.empty?
59
59
  username = URI.unescape uri.user
60
60
  password = URI.unescape uri.password
@@ -162,7 +162,8 @@ module GeminaboxRelease
162
162
  if response.body.start_with?("Gem #{File.basename(path)} received and indexed")
163
163
  Bundler.ui.confirm("Gem #{File.basename(path)} received and indexed.")
164
164
  else
165
- Bundler.ui.error "Error received\n\n#{response.body}"
165
+ Bundler.ui.error "Geminabox error received\n\n#{response.body}"
166
+ exit 1
166
167
  end
167
168
  else
168
169
  raise "Error (#{response.code} received)\n\n#{response.body}"
@@ -1,8 +1,15 @@
1
1
  module GeminaboxRelease
2
- # Version 1.0.0
3
- # bundler >= 1.0.14 actually is a dependency
2
+ # Version 1.2.0
3
+ # * exit with non-zero code on unsuccessful upload but successful http call
4
+ #
5
+ # Version 1.1.0
6
+ # * Improved support for basic authentication
7
+ #
8
+ # Version 1.0.0
9
+ # * bundler >= 1.0.14 actually is a dependency
10
+ #
4
11
  # Version 0.2.0
5
12
  # * @hilli added support for https with optional veriy_none mode
6
- VERSION = "1.1.0"
13
+ #
14
+ VERSION = "1.2.0"
7
15
  end
8
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geminabox-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis-Florian Herr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-24 00:00:00.000000000 Z
11
+ date: 2018-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubyforge_project:
76
- rubygems_version: 2.6.11
76
+ rubygems_version: 2.7.6
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: see readme