autobuild 1.10.0.rc15 → 1.10.0.rc16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bfbc713367f1cd0d1935302128f639b649cdf3a
4
- data.tar.gz: a57057547ba73f4d15ee253d8e385ae548a0bc42
3
+ metadata.gz: ffa7ae037ecb9bae8e7986f81af4be91ef2d2970
4
+ data.tar.gz: d2c113a6a98a0c93852280080f6caafc7c84b11a
5
5
  SHA512:
6
- metadata.gz: eb3752c3e4c69d1c82bc3de46913d56bb8ec96a5259b332a9abc2c0bd18c3833ad7bfd15087c9cb1fb3767588d67d4245793d0ea8e47c5aa2561a2f2e5d3f918
7
- data.tar.gz: 576d86ebb48163f35cfac3c06dc7a46ab4fa5c828015a4d5e000be96e44b5ef2cb08901427ffc5ad4fca41e3ae6a36442ca505ab488a5f9354d547d149ec5760
6
+ metadata.gz: 922acbd61bea388fc2e7550ce1c3e48f6705ac033dcae05a92d7f849eb6f2ae2501a71d9ec8f573457533fd0d5e1157766830bfbc123c92e8a87d1a0adb3dcbb
7
+ data.tar.gz: 6309445d752802fea1f881accb54082490fe552f48c2b68b07e70bac1245b7a0fc83486c93225ce9c7e3125b3f2c642c5402bb383ca95a13b0c91488f0ff5cc7
@@ -185,6 +185,11 @@ module Autobuild
185
185
  File.directory?(srcdir)
186
186
  end
187
187
 
188
+ def to_s
189
+ "#<#{self.class} name=#{name}>"
190
+ end
191
+ def inspect; to_s end
192
+
188
193
  # @api private
189
194
  #
190
195
  # Adds a new operation to this package's environment setup. This is a
@@ -513,12 +513,14 @@ module Autobuild
513
513
  # Delete files in {#prefix} that are not present in CMake's install
514
514
  # manifest
515
515
  #
516
- # This is enabled globally by {CMake.delete_obsolete_files=} or
517
- # per-package with {#delete_obsolete_files=}. Do NOT enable if packages
516
+ # This is enabled globally by {CMake.delete_obsolete_files_in_prefix=} or
517
+ # per-package with {#delete_obsolete_files_in_prefix=}. Do NOT enable if packages
518
518
  # share the same prefix.
519
519
  def delete_obsolete_files
520
+ # The expand_path is required to sanitize the paths, which can
521
+ # contain e.g. double //
520
522
  manifest_contents = File.readlines(File.join(builddir, 'install_manifest.txt')).
521
- map(&:chomp).to_set
523
+ map { |p| File.expand_path(p.chomp) }.to_set
522
524
  logdir = self.logdir
523
525
  Find.find(prefix) do |path|
524
526
  Find.prune if path == logdir
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.10.0.rc15" unless defined? Autobuild::VERSION
2
+ VERSION = "1.10.0.rc16" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0.rc15
4
+ version: 1.10.0.rc16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake