realityforge-buildr 1.5.16 → 1.5.17

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bb76fb200fe200d5778bc6b4122991ccbea6825da382f688dd07afa06b4305d
4
- data.tar.gz: ba1bf6ce47d21b286c346bd9561d0191e93997041ba99fc36240ade14f58e421
3
+ metadata.gz: 65fb6b6cc188f8b1e7b200f0ad1b56b838d89347c58d9f413d01e233fe96f920
4
+ data.tar.gz: f19e4cd3a75ced32f067d865cd4bb3c96553416f869e0dc9ebacf2012cb26f5a
5
5
  SHA512:
6
- metadata.gz: 60f9fa50cec1fe1c4a6a806cf8687443963e36891000c0addeb2694204c6950933cde7fe28eb1d9df019207a3e9c380c8df8964858c8bafe6d36300808040289
7
- data.tar.gz: 5890f8221a6f8cb2a8e1462cb1d1b88f0f95df67f37a75eb85c37eb173b450a99b02d2d811b9d84035b7cecabc59bd9e1e5e73486cf3e72069922db739a1243e
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
- @source_paths ||= []
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 && project.parent.manifest
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 && project.parent.meta_inf
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) }
@@ -14,5 +14,5 @@
14
14
  # the License.
15
15
 
16
16
  module Buildr #:nodoc:
17
- VERSION = '1.5.16'.freeze
17
+ VERSION = '1.5.17'.freeze
18
18
  end
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.16
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-04-14 00:00:00.000000000 Z
11
+ date: 2021-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake