realityforge-buildr 1.5.16 → 1.5.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/addon/buildr/api_diff_tool.rb +1 -0
- data/addon/buildr/pmd.rb +1 -1
- data/addon/buildr/release_tool.rb +3 -3
- data/lib/buildr/java/packaging.rb +2 -2
- data/lib/buildr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65fb6b6cc188f8b1e7b200f0ad1b56b838d89347c58d9f413d01e233fe96f920
|
4
|
+
data.tar.gz: f19e4cd3a75ced32f067d865cd4bb3c96553416f869e0dc9ebacf2012cb26f5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee6bc9306443afd70e60d15cf49646a95c866c18672c064e5613a989277b38ceca892c562135d180920a48fc5cf1486d20ec51436dcef6d64aeef80d6ba4db0c
|
7
|
+
data.tar.gz: 5adee0791894e792b062d7488eb0f044b54d380969c5899651691f988af22c09a188ecbfc4d2e719c2f848ce1785531d448ee3c1d2afe620344854d3682f44c6
|
@@ -49,6 +49,7 @@ module Buildr
|
|
49
49
|
def update_differences_report(artifact_coordinate, old_version, new_version, new_file, output_directory, options = {})
|
50
50
|
output_file = "#{output_directory}/#{old_version}-#{new_version}.json"
|
51
51
|
generate_differences_report(artifact_coordinate, old_version, new_version, new_file, output_file, options)
|
52
|
+
sh "git add #{output_file}" if File.exist?(output_file)
|
52
53
|
end
|
53
54
|
|
54
55
|
def test_differences_report(artifact_coordinate, old_version, new_version, new_file, output_directory, options = {})
|
data/addon/buildr/pmd.rb
CHANGED
@@ -126,7 +126,7 @@ module Buildr
|
|
126
126
|
|
127
127
|
# An array of paths that should be excluded no matter how they are added to pmd
|
128
128
|
def exclude_paths
|
129
|
-
@
|
129
|
+
@exclude_paths ||= []
|
130
130
|
end
|
131
131
|
|
132
132
|
# An array of additional projects to scan for main and test sources
|
@@ -132,11 +132,11 @@ module Buildr
|
|
132
132
|
if change_descriptions.size > 0
|
133
133
|
description = "The release includes "
|
134
134
|
if 1 == change_descriptions.size
|
135
|
-
description += "#{change_descriptions[0]}"
|
135
|
+
description += "#{change_descriptions[0]}."
|
136
136
|
elsif 2 == change_descriptions.size
|
137
|
-
description += "#{change_descriptions[0]} and #{change_descriptions[1]}"
|
137
|
+
description += "#{change_descriptions[0]} and #{change_descriptions[1]}."
|
138
138
|
else
|
139
|
-
description += "#{change_descriptions[0]}, #{change_descriptions[1]} and #{change_descriptions[2]}"
|
139
|
+
description += "#{change_descriptions[0]}, #{change_descriptions[1]} and #{change_descriptions[2]}."
|
140
140
|
end
|
141
141
|
|
142
142
|
sub_header_text = description
|
@@ -274,7 +274,7 @@ module Buildr #:nodoc:
|
|
274
274
|
include Extension
|
275
275
|
|
276
276
|
before_define(:package => :build) do |project|
|
277
|
-
if project.parent
|
277
|
+
if project.parent&.manifest
|
278
278
|
project.manifest = project.parent.manifest.dup
|
279
279
|
else
|
280
280
|
project.manifest = {
|
@@ -282,7 +282,7 @@ module Buildr #:nodoc:
|
|
282
282
|
'Implementation-Title'=>project.comment || project.name,
|
283
283
|
'Implementation-Version'=>project.version }
|
284
284
|
end
|
285
|
-
if project.parent
|
285
|
+
if project.parent&.meta_inf
|
286
286
|
project.meta_inf = project.parent.meta_inf.dup
|
287
287
|
else
|
288
288
|
project.meta_inf = [project.file('LICENSE')].select { |file| File.exist?(file.to_s) }
|
data/lib/buildr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: realityforge-buildr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Buildr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|