buildr 1.5.1-x86-mswin32 → 1.5.2-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/addon/buildr/sonar.rb +8 -3
- data/doc/download.textile +18 -6
- data/doc/index.textile +5 -0
- data/lib/buildr/java/custom_pom.rb +0 -1
- data/lib/buildr/java/tests.rb +2 -2
- data/lib/buildr/scala/org/apache/buildr/Specs2Runner.class +0 -0
- data/lib/buildr/version.rb +1 -1
- data/rakelib/release.rake +2 -4
- data/rakelib/stage.rake +27 -13
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72b38d611048834912224c42c663b22cc912380a
|
4
|
+
data.tar.gz: 152a3fd9a35349dcd263665c688471d59273fdcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63432c8c063c516bed0f2ecdbc6d93ba9ac37af8fd84b402517cadc51dd9f1eaf5f46c9231990e4c3ee5b4fee0ee0daf9b136f298d090267c53b3bc3898cbc4f
|
7
|
+
data.tar.gz: d77a4e661b79db8495a66b93efc4d7870b4b168d7239294d673ab17cc63148b784a42c42b70d5a2da0dfca566cc19f45af892a0b8d04838d9ecda9b5f206ba85
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
1.5.2 (2017-04-03)
|
2
|
+
* Change: Update TestNG version to 6.11.
|
3
|
+
* Change: BUILDR-731 - Enhance Sonar addon to support configuration of the project version. Submitted by Ross Mahony.
|
4
|
+
* Fixed: Fix pom generation to eliminate invalid `classifier` element from being added to POM.
|
5
|
+
|
1
6
|
1.5.1 (2017-03-11)
|
2
7
|
* Change: In the 'buildr/git_auto_version' addon strip out any versions that start with a 'v' character as
|
3
8
|
most projects on git repositories prefix version tags with a "v" to avoid collisions with any branchs
|
data/addon/buildr/sonar.rb
CHANGED
@@ -25,8 +25,7 @@ module Buildr
|
|
25
25
|
]
|
26
26
|
end
|
27
27
|
|
28
|
-
def sonar(jdbc_url, jdbc_driver_class_name, jdbc_username, jdbc_password, host_url, project_name, key, sources, binaries, libraries)
|
29
|
-
|
28
|
+
def sonar(jdbc_url, jdbc_driver_class_name, jdbc_username, jdbc_password, host_url, project_name, key, project_version, sources, binaries, libraries)
|
30
29
|
# Build the artifacts for FindBugs to analyse
|
31
30
|
Buildr.artifacts(binaries).each(&:invoke)
|
32
31
|
|
@@ -38,7 +37,7 @@ module Buildr
|
|
38
37
|
ant.property :name => 'sonar.projectName', :value => project_name
|
39
38
|
|
40
39
|
ant.property :name => 'sonar.projectKey', :value => key
|
41
|
-
ant.property :name => 'sonar.projectVersion', :value =>
|
40
|
+
ant.property :name => 'sonar.projectVersion', :value => project_version
|
42
41
|
|
43
42
|
ant.property :name => 'sonar.jdbc.url', :value => jdbc_url
|
44
43
|
ant.property :name => 'sonar.jdbc.driverClassName', :value => jdbc_driver_class_name
|
@@ -68,6 +67,7 @@ module Buildr
|
|
68
67
|
attr_accessor :host_url
|
69
68
|
attr_accessor :key
|
70
69
|
attr_accessor :project_name
|
70
|
+
attr_accessor :project_version
|
71
71
|
|
72
72
|
attr_writer :sources
|
73
73
|
def sources
|
@@ -88,6 +88,10 @@ module Buildr
|
|
88
88
|
!!@enabled
|
89
89
|
end
|
90
90
|
|
91
|
+
def project_version
|
92
|
+
@project_version || '1.0'
|
93
|
+
end
|
94
|
+
|
91
95
|
protected
|
92
96
|
|
93
97
|
def initialize(project)
|
@@ -123,6 +127,7 @@ module Buildr
|
|
123
127
|
project.sonar.host_url,
|
124
128
|
project.sonar.project_name,
|
125
129
|
project.sonar.key,
|
130
|
+
project.sonar.project_version,
|
126
131
|
sources,
|
127
132
|
binaries,
|
128
133
|
libraries
|
data/doc/download.textile
CHANGED
@@ -18,16 +18,28 @@ The source code is included in both source and binary distribution, the Gem dist
|
|
18
18
|
|
19
19
|
h2(#dist). Binaries and Source Code
|
20
20
|
|
21
|
+
h3. buildr 1.5.1 (2017-03-11)
|
22
|
+
|
23
|
+
|_. Package |_. MD5 Checksum |_. PGP |
|
24
|
+
| "buildr-1.5.1-java.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.5.1/buildr-1.5.1-java.gem | "bd1ff5faf28129b26a2efe6302be6619":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1-java.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1-java.gem.asc |
|
25
|
+
| "buildr-1.5.1-x86-mswin32.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.5.1/buildr-1.5.1-x86-mswin32.gem | "834b07fba980f338e71ce0519d760c60":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1-x86-mswin32.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1-x86-mswin32.gem.asc |
|
26
|
+
| "buildr-1.5.1.gem":http://www.apache.org/dyn/closer.cgi/buildr/1.5.1/buildr-1.5.1.gem | "96675d557f14706f3f3888e8ac3d160f":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.gem.md5 | "Sig":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.gem.asc |
|
27
|
+
| "buildr-1.5.1.tgz":http://www.apache.org/dyn/closer.cgi/buildr/1.5.1/buildr-1.5.1.tgz | "fa12a02ca8dacaaa3ab1a7a99a5cee0a":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.tgz.md5 | "Sig":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.tgz.asc |
|
28
|
+
| "buildr-1.5.1.zip":http://www.apache.org/dyn/closer.cgi/buildr/1.5.1/buildr-1.5.1.zip | "276c2753a68282d84d7b6ed6cc690a99":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.zip.md5 | "Sig":http://www.apache.org/dist/buildr/1.5.1/buildr-1.5.1.zip.asc |
|
29
|
+
|
30
|
+
p>. ("Release signing keys":http://www.apache.org/dist/buildr/1.5.1/KEYS)
|
31
|
+
|
32
|
+
|
21
33
|
h3. buildr 1.5.0 (2016-09-23)
|
22
34
|
|
23
35
|
|_. Package |_. MD5 Checksum |_. PGP |
|
24
|
-
| "buildr-1.5.0-java.gem":http://
|
25
|
-
| "buildr-1.5.0-x86-mswin32.gem":http://
|
26
|
-
| "buildr-1.5.0.gem":http://
|
27
|
-
| "buildr-1.5.0.tgz":http://
|
28
|
-
| "buildr-1.5.0.zip":http://
|
36
|
+
| "buildr-1.5.0-java.gem":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-java.gem | "611ad614788f38d15424d6c3a88f3db0":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-java.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-java.gem.asc |
|
37
|
+
| "buildr-1.5.0-x86-mswin32.gem":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-x86-mswin32.gem | "5eabc199bc362bccec939e2d67ef972c":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-x86-mswin32.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0-x86-mswin32.gem.asc |
|
38
|
+
| "buildr-1.5.0.gem":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.gem | "075969eb067fa27243a4fd2ae6faf76c":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.gem.md5 | "Sig":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.gem.asc |
|
39
|
+
| "buildr-1.5.0.tgz":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.tgz | "83b06ec0597ea888846caf097ac2ece8":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.tgz.md5 | "Sig":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.tgz.asc |
|
40
|
+
| "buildr-1.5.0.zip":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.zip | "f4eb461c0a4c90ddf464ea529a94cb67":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.zip.md5 | "Sig":http://archive.apache.org/dist/buildr/1.5.0/buildr-1.5.0.zip.asc |
|
29
41
|
|
30
|
-
p>. ("Release signing keys":http://
|
42
|
+
p>. ("Release signing keys":http://archive.apache.org/dist/buildr/1.5.0/KEYS)
|
31
43
|
|
32
44
|
|
33
45
|
h3. buildr 1.4.25 (2016-04-18)
|
data/doc/index.textile
CHANGED
@@ -46,6 +46,11 @@ So let's get started. You can "read the documentation online":quick_start.html,
|
|
46
46
|
|
47
47
|
h2(#news). What's New
|
48
48
|
|
49
|
+
Highlights from Buildr 1.5.2 (2017-04-03)
|
50
|
+
* Change: Update TestNG version to 6.11.
|
51
|
+
* Change: BUILDR-731 - Enhance Sonar addon to support configuration of the project version. Submitted by Ross Mahony.
|
52
|
+
* Fixed: Fix pom generation to eliminate invalid `classifier` element from being added to POM.
|
53
|
+
|
49
54
|
Highlights from Buildr 1.5.1 (2017-03-11)
|
50
55
|
* Change: Add css2gss task to gwt addon to support conveting from deprecated css syntax to modern gss syntax.
|
51
56
|
* Change: Add support for gwt 2.8.0 to gwt addon.
|
@@ -161,7 +161,6 @@ module Buildr
|
|
161
161
|
candidates = project.packages.select{|p| p.classifier.nil? }.collect{|p|p.type.to_s}
|
162
162
|
packaging = !candidates.empty? ? candidates[0] : (project.compile.packaging || :zip).to_s
|
163
163
|
xml.packaging packaging
|
164
|
-
xml.classifier package.classifier if package.classifier
|
165
164
|
|
166
165
|
xml.name project.pom.name if project.pom.name
|
167
166
|
xml.description project.pom.description if project.pom.description
|
data/lib/buildr/java/tests.rb
CHANGED
@@ -283,7 +283,7 @@ module Buildr #:nodoc:
|
|
283
283
|
# * :args -- Arguments passed to the TestNG command line runner.
|
284
284
|
class TestNG < TestFramework::Java
|
285
285
|
|
286
|
-
VERSION = '6.
|
286
|
+
VERSION = '6.11'
|
287
287
|
|
288
288
|
class << self
|
289
289
|
def version
|
@@ -291,7 +291,7 @@ module Buildr #:nodoc:
|
|
291
291
|
end
|
292
292
|
|
293
293
|
def dependencies
|
294
|
-
return ["org.testng:testng:jar:jdk15:#{version}"] + JMock.dependencies if version <
|
294
|
+
return ["org.testng:testng:jar:jdk15:#{version}"] + JMock.dependencies if version < '6.0'
|
295
295
|
["org.testng:testng:jar:#{version}",'com.beust:jcommander:jar:1.27'] + JMock.dependencies
|
296
296
|
end
|
297
297
|
end
|
Binary file
|
data/lib/buildr/version.rb
CHANGED
data/rakelib/release.rake
CHANGED
@@ -13,12 +13,10 @@
|
|
13
13
|
# License for the specific language governing permissions and limitations under
|
14
14
|
# the License.
|
15
15
|
|
16
|
-
RC_VERSION = ENV['RC_VERSION'] ||
|
16
|
+
RC_VERSION = ENV['RC_VERSION'] || ''
|
17
17
|
|
18
18
|
desc 'Release the next version of buildr from existing staged repository'
|
19
|
-
task 'release' do
|
20
|
-
user = args.user || ENV['user'] || `whoami`
|
21
|
-
|
19
|
+
task 'release' do
|
22
20
|
# First, we need to get all the staged files from Apache to _release.
|
23
21
|
mkpath '_release'
|
24
22
|
lambda do
|
data/rakelib/stage.rake
CHANGED
@@ -19,12 +19,9 @@ require 'digest/sha1'
|
|
19
19
|
gpg_cmd = 'gpg2'
|
20
20
|
|
21
21
|
STAGE_DATE = ENV['STAGE_DATE'] || Time.now.strftime('%Y-%m-%d')
|
22
|
-
RC_VERSION = ENV['RC_VERSION'] ||
|
23
|
-
|
24
|
-
task 'prepare' do |task, args|
|
25
|
-
gpg_arg = args.gpg || ENV['gpg']
|
26
|
-
user = args.user || ENV['user'] || `whoami`
|
22
|
+
RC_VERSION = ENV['RC_VERSION'] || ''
|
27
23
|
|
24
|
+
task 'prepare' do
|
28
25
|
# Update source files to next release number.
|
29
26
|
lambda do
|
30
27
|
current_version = spec.version.to_s.split('.').map { |v| v.to_i }.
|
@@ -68,9 +65,12 @@ task 'prepare' do |task, args|
|
|
68
65
|
|
69
66
|
# Need GPG to sign the packages.
|
70
67
|
lambda do
|
71
|
-
|
68
|
+
raise "ENV['GPG_USER'] not specified" unless ENV['GPG_USER']
|
69
|
+
|
70
|
+
gpg_arg = ENV['GPG_USER']
|
71
|
+
gpg_arg or fail 'Please run with GPG_USER=<argument for gpg --local-user>'
|
72
72
|
gpg_ok = `gpg2 --list-keys #{gpg_arg}` rescue nil
|
73
|
-
|
73
|
+
unless $?.success?
|
74
74
|
gpg_ok = `gpg --list-keys #{gpg_arg}`
|
75
75
|
gpg_cmd = 'gpg'
|
76
76
|
end
|
@@ -87,13 +87,11 @@ task 'prepare' do |task, args|
|
|
87
87
|
puts '[X] We have prince available'
|
88
88
|
end.call
|
89
89
|
|
90
|
-
raise
|
91
|
-
raise
|
90
|
+
raise 'Can not run stage process under jruby' if RUBY_PLATFORM[/java/]
|
91
|
+
raise 'Can not run staging process under older rubies' unless RUBY_VERSION >= '1.9'
|
92
92
|
end
|
93
93
|
|
94
|
-
task 'stage' => %w(clobber prepare) do
|
95
|
-
gpg_arg = args.gpg || ENV['gpg']
|
96
|
-
user = args.user || ENV['user'] || `whoami`
|
94
|
+
task 'stage' => %w(clobber prepare) do
|
97
95
|
mkpath '_staged'
|
98
96
|
|
99
97
|
lambda do
|
@@ -129,7 +127,23 @@ task 'stage' => %w(clobber prepare) do |task, args|
|
|
129
127
|
bytes = File.open(pkg, 'rb') { |file| file.read }
|
130
128
|
File.open(pkg + '.md5', 'w') { |file| file.write Digest::MD5.hexdigest(bytes) << ' ' << File.basename(pkg) }
|
131
129
|
File.open(pkg + '.sha1', 'w') { |file| file.write Digest::SHA1.hexdigest(bytes) << ' ' << File.basename(pkg) }
|
132
|
-
|
130
|
+
|
131
|
+
cmd = []
|
132
|
+
cmd << gpg_cmd
|
133
|
+
cmd << '--local-user'
|
134
|
+
cmd << ENV['GPG_USER']
|
135
|
+
cmd << '--armor'
|
136
|
+
if ENV['GPG_PASS']
|
137
|
+
cmd << '--batch'
|
138
|
+
cmd << '--passphrase'
|
139
|
+
cmd << ENV['GPG_PASS']
|
140
|
+
end
|
141
|
+
cmd << '--output'
|
142
|
+
cmd << pkg + '.asc'
|
143
|
+
cmd << '--detach-sig'
|
144
|
+
cmd << pkg
|
145
|
+
|
146
|
+
sh *cmd, :verbose=>true
|
133
147
|
end
|
134
148
|
cp 'etc/KEYS', '_staged/dist'
|
135
149
|
puts '[X] Created and signed release packages in _staged/dist'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: x86-mswin32
|
6
6
|
authors:
|
7
7
|
- Apache Buildr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -705,7 +705,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
705
705
|
version: 1.8.6
|
706
706
|
requirements: []
|
707
707
|
rubyforge_project: buildr
|
708
|
-
rubygems_version: 2.
|
708
|
+
rubygems_version: 2.5.1
|
709
709
|
signing_key:
|
710
710
|
specification_version: 4
|
711
711
|
summary: Build like you code
|