autoproj 1.11.0.rc10 → 1.11.0.rc11

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: 38162096b1e09a04d5e2cf42135b9e8b629eb45b
4
- data.tar.gz: eb1a669407da892c416f49d511fe64abc8c9ac4f
3
+ metadata.gz: f0c81d44a11252188106d89008e520814b7d428c
4
+ data.tar.gz: 026938c50697e48764c7389bc17428ab894cf620
5
5
  SHA512:
6
- metadata.gz: ef3bdf3c5974c754dca37c0abbcd3b2e0dbbca0c2396c9b9ed0f4812f13fe53b22b38067d837f7b00ece4e5e59c6c0b6e16d1acf47f9cecc31e472d354843a53
7
- data.tar.gz: 47889e218611170764e176d23ec2e82e5fedf834b00551514829215f7fafcdb1626bfb7df89b704f8d5693f9af09b391c1fadabb749263c5e7d5093b748172e7
6
+ metadata.gz: 47c222b82563dd4d3b5006d948e182bd36ff10a9c8fabe28becb349812669f9326e4d411e9e579a059aff79dbfbe4547ead87e0c80ff21a553f79082a11bdb98
7
+ data.tar.gz: 150bd14da0f70108b681edef5377824a87bf0b48ffc008f24da0ec081ffb759345d997f64118c883d903a4bd8bd268ffda0b234c385072caacc67764b477a0c2
@@ -1056,9 +1056,9 @@ fi
1056
1056
  def reinstall
1057
1057
  Autoproj.message "reinstalling all RubyGems"
1058
1058
  base_cmdline = [Autobuild.tool_in_path('ruby'), '-S', Autobuild.tool('gem')]
1059
- Autobuild::Subprocess.run 'autoproj', 'osdeps', 'reinstall', *base_cmdline,
1059
+ Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
1060
1060
  'clean'
1061
- Autobuild::Subprocess.run 'autoproj', 'osdeps', 'reinstall', *base_cmdline,
1061
+ Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
1062
1062
  'pristine', '--all', '--extensions'
1063
1063
  end
1064
1064
 
@@ -96,6 +96,10 @@ module Autobuild
96
96
 
97
97
  alias __depends_on__ depends_on
98
98
  def depends_on(name)
99
+ if name.respond_to?(:name) # probably a Package object
100
+ name = name.name
101
+ end
102
+
99
103
  if Autoproj::CmdLine.ignore_dependencies?
100
104
  return
101
105
  end
@@ -29,8 +29,9 @@ module Autoproj
29
29
  if update_os_dependencies?
30
30
  # We also reinstall the osdeps that provide the
31
31
  # functionality
32
- managers = manifest.osdeps.setup_package_handlers
32
+ managers = Autoproj.osdeps.setup_package_handlers
33
33
  managers.each do |mng|
34
+ puts mng.class
34
35
  if mng.respond_to?(:reinstall)
35
36
  mng.reinstall
36
37
  end
@@ -595,9 +595,9 @@ fi
595
595
  def reinstall
596
596
  Autoproj.message "reinstalling all RubyGems"
597
597
  base_cmdline = [Autobuild.tool_in_path('ruby'), '-S', Autobuild.tool('gem')]
598
- Autobuild::Subprocess.run 'autoproj', 'osdeps', 'reinstall', *base_cmdline,
598
+ Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
599
599
  'clean'
600
- Autobuild::Subprocess.run 'autoproj', 'osdeps', 'reinstall', *base_cmdline,
600
+ Autobuild::Subprocess.run 'osdeps', 'reinstall', *base_cmdline,
601
601
  'pristine', '--all', '--extensions'
602
602
  end
603
603
 
@@ -14,6 +14,8 @@ module Autoproj
14
14
  # are errors or simply warnings (i.e. if the user really wants a given
15
15
  # package, or merely might be adding it by accident)
16
16
  class PackageSelection
17
+ include Enumerable
18
+
17
19
  # The set of matches, i.e. a mapping from a user-provided string to
18
20
  # the set of packages it selected
19
21
  attr_reader :matches
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.11.0.rc10"
2
+ VERSION = "1.11.0.rc11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0.rc10
4
+ version: 1.11.0.rc11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rock Core Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-28 00:00:00.000000000 Z
11
+ date: 2014-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild