mcrt 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/README.md +1 -1
- data/lib/mcrt.rb +11 -1
- data/mcrt.gemspec +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03fd97b9c1320410326abf05ff4d7cb3d08bccea
|
4
|
+
data.tar.gz: 8285817f30ce9c7cd0a341e82cf686974e6753f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a195c023719b575fa6b8c5baa6a1068912cefff41b45941fac394beefde6a64003ffa5c7f2b7215489fa145c48a62f4748035a5d635ad718c34141e9b884f9c7
|
7
|
+
data.tar.gz: af5e2ed13d3e8f2878c636cf8201d726310f3c069c642789418f7086855e6d89912db9288d0fde4d261f00a513978fbd665b1383dfae8030d9fd6a48f85e22bf
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Maven Central Release Tool
|
2
2
|
|
3
|
-
[![Build Status](https://secure.travis-ci.org/realityforge/mcrt.
|
3
|
+
[![Build Status](https://secure.travis-ci.org/realityforge/mcrt.svg?branch=master)](http://travis-ci.org/realityforge/mcrt)
|
4
4
|
|
5
5
|
This is very simply tool that allows you to close, promote and drop and staging repository in Maven Central.
|
6
6
|
The library assumes some other tool will upload the artifacts to the staging repository. This tool can then
|
data/lib/mcrt.rb
CHANGED
@@ -131,7 +131,17 @@ class MavenCentralReleaseTool
|
|
131
131
|
rescue Exception
|
132
132
|
# ignored
|
133
133
|
end
|
134
|
-
|
134
|
+
begin
|
135
|
+
addresses << Net::HTTP.get(URI('http://www.myexternalip.com/raw')).strip
|
136
|
+
rescue Exception
|
137
|
+
# ignored
|
138
|
+
end
|
139
|
+
begin
|
140
|
+
addresses << Net::HTTP.get(URI('https://diagnostic.opendns.com/myip')).strip
|
141
|
+
rescue Exception
|
142
|
+
# ignored
|
143
|
+
end
|
144
|
+
addresses.sort.uniq
|
135
145
|
end
|
136
146
|
|
137
147
|
def close_repository(repository_id, description)
|
data/mcrt.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{mcrt}
|
5
|
-
s.version = '1.
|
5
|
+
s.version = '1.13.0'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
|
8
8
|
s.authors = ['Peter Donald']
|
@@ -15,9 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.files = `git ls-files`.split("\n")
|
16
16
|
s.test_files = `git ls-files -- {spec}/*`.split("\n")
|
17
17
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
18
|
-
s.default_executable = []
|
19
18
|
s.require_paths = %w(lib)
|
20
19
|
|
21
|
-
s.has_rdoc = false
|
22
20
|
s.rdoc_options = %w(--line-numbers --inline-source --title mcrt)
|
23
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mcrt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Donald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Maven Central Release Tool.
|
14
14
|
email: peter@realityforge.org
|