autoproj 1.8.2.b22 → 1.8.2.b23

Sign up to get free protection for your applications and to get access to all the features.
@@ -1617,6 +1617,10 @@ module Autoproj
1617
1617
  # If the current directory is not in an autoproj installation,
1618
1618
  # raises UserError.
1619
1619
  def self.root_dir(dir = Dir.pwd)
1620
+ if @root_dir
1621
+ return @root_dir
1622
+ end
1623
+
1620
1624
  while dir != "/" && !File.directory?(File.join(dir, "autoproj"))
1621
1625
  dir = File.dirname(dir)
1622
1626
  end
@@ -14,6 +14,10 @@ module Autoproj
14
14
  # If the current directory is not in an autoproj installation,
15
15
  # raises UserError.
16
16
  def self.root_dir(dir = Dir.pwd)
17
+ if @root_dir
18
+ return @root_dir
19
+ end
20
+
17
21
  while dir != "/" && !File.directory?(File.join(dir, "autoproj"))
18
22
  dir = File.dirname(dir)
19
23
  end
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.8.2.b22"
2
+ VERSION = "1.8.2.b23"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2.b22
4
+ version: 1.8.2.b23
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: autobuild
16
- requirement: &6891680 !ruby/object:Gem::Requirement
16
+ requirement: &4846620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.6.0.rc1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *6891680
24
+ version_requirements: *4846620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: utilrb
27
- requirement: &6889920 !ruby/object:Gem::Requirement
27
+ requirement: &4846060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.6.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *6889920
35
+ version_requirements: *4846060
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: highline
38
- requirement: &6888960 !ruby/object:Gem::Requirement
38
+ requirement: &4845480 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.5.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *6888960
46
+ version_requirements: *4845480
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rdoc
49
- requirement: &6888080 !ruby/object:Gem::Requirement
49
+ requirement: &4844600 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '3.10'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *6888080
57
+ version_requirements: *4844600
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: hoe
60
- requirement: &6887540 !ruby/object:Gem::Requirement
60
+ requirement: &4843260 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.1'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *6887540
68
+ version_requirements: *4843260
69
69
  description: autoproj is a manager for sets of software packages. It allows the user
70
70
  to import and build packages from source, still using the underlying distribution's
71
71
  native package manager for software that is available on it.