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 +5 -5
- data/lib/geminabox-release.rb +3 -2
- data/lib/geminabox-release/version.rb +11 -4
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 57afdf46f9a15d4c9b52fe1b1adb249e6cac19a622da6551c4728d9e73c0ba62
|
|
4
|
+
data.tar.gz: 03ee13527f760c185fddd64aea0fd7b6a286ef4009e4f7cd0e117d96fc233886
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b7425a111eae7cf41b9c97a7d24af809f7f1df90843e1b5d27af522c45afa7018cd0914e157cd995fcebd8679db2357d7ed71ee4c023e7610a11e8b634ed303
|
|
7
|
+
data.tar.gz: 9adde13adaba65ce8f4ff55d508c09995686692b532caabf5c8e131fb59cc7753283d0f72a412065aab2b05a7de6c9cdfa867d228722f3b60b8abddb39e7160a
|
data/lib/geminabox-release.rb
CHANGED
|
@@ -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 "
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
|
|
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.
|
|
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:
|
|
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
|
|
76
|
+
rubygems_version: 2.7.6
|
|
77
77
|
signing_key:
|
|
78
78
|
specification_version: 4
|
|
79
79
|
summary: see readme
|