mcrt 1.12.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -1
  3. data/README.md +1 -1
  4. data/lib/mcrt.rb +11 -1
  5. data/mcrt.gemspec +1 -3
  6. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18bfb01e87f43ed4a06150ddd28ba3af68bc9b33
4
- data.tar.gz: 84b497ebe29495a52733303fa6853436137f0fc7
3
+ metadata.gz: 03fd97b9c1320410326abf05ff4d7cb3d08bccea
4
+ data.tar.gz: 8285817f30ce9c7cd0a341e82cf686974e6753f3
5
5
  SHA512:
6
- metadata.gz: 8e777cea3fa9befe1d4ad81f33b841e8ccb4abae6aded4560734ec3496fc23ba7e2408770a157c538c55a833ed0b166d90c3a059309ae211c1775e27a07513b9
7
- data.tar.gz: 56ed9f6f71932de75e40a5955c3c31302f001e5236ba27657bfffdb98d220a4eaaa85c2078bc19163f683edd7b8bdba52be48d52d28947452a678e64420c514b
6
+ metadata.gz: a195c023719b575fa6b8c5baa6a1068912cefff41b45941fac394beefde6a64003ffa5c7f2b7215489fa145c48a62f4748035a5d635ad718c34141e9b884f9c7
7
+ data.tar.gz: af5e2ed13d3e8f2878c636cf8201d726310f3c069c642789418f7086855e6d89912db9288d0fde4d261f00a513978fbd665b1383dfae8030d9fd6a48f85e22bf
data/.travis.yml CHANGED
@@ -1,5 +1,4 @@
1
1
  language: ruby
2
- sudo: false
3
2
  rvm:
4
3
  - 2.3.1
5
4
  git:
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.png?branch=master)](http://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
- addresses
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.12.0'
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.12.0
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-10-08 00:00:00.000000000 Z
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