autobuild 1.6.2.b7 → 1.6.2.b8

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,7 @@ require 'set'
2
2
  module Autobuild
3
3
  @inherited_environment = Hash.new
4
4
  @environment = Hash.new
5
- @env_source_before = Set.new
6
- @env_source_after = Set.new
5
+ @env_source_files = Set.new
7
6
 
8
7
  class << self
9
8
  # List of the environment that should be set before calling a subcommand
@@ -28,11 +27,7 @@ module Autobuild
28
27
 
29
28
  # List of files that should be sourced in the generated environment
30
29
  # variable setting shell scripts
31
- attr_reader :env_source_before
32
-
33
- # List of files that should be sourced in the generated environment
34
- # variable setting shell scripts
35
- attr_reader :env_source_after
30
+ attr_reader :env_source_files
36
31
  end
37
32
 
38
33
  # Removes any settings related to the environment varialbe +name+, or for
@@ -97,19 +92,7 @@ module Autobuild
97
92
  # Require that generated environment variable scripts source the given shell
98
93
  # script
99
94
  def self.env_source_file(file)
100
- env_source_after(file)
101
- end
102
-
103
- # Require that generated environment variable scripts source the given shell
104
- # script
105
- def self.env_source_before(file)
106
- @env_source_before << file
107
- end
108
-
109
- # Require that generated environment variable scripts source the given shell
110
- # script
111
- def self.env_source_after(file)
112
- @env_source_after << file
95
+ @env_source_files << file
113
96
  end
114
97
 
115
98
  # Generates a shell script that sets the environment variable listed in
@@ -118,10 +101,6 @@ module Autobuild
118
101
  #
119
102
  # It also sources the files added by Autobuild.env_source_file
120
103
  def self.export_env_sh(io)
121
- env_source_before.each do |path|
122
- io.puts ". \"#{path}\""
123
- end
124
-
125
104
  variables = []
126
105
  Autobuild.environment.each do |name, value|
127
106
  variables << name
@@ -138,7 +117,7 @@ module Autobuild
138
117
  variables.each do |var|
139
118
  io.puts "export #{var}"
140
119
  end
141
- env_source_after.each do |path|
120
+ env_source_files.each do |path|
142
121
  io.puts ". \"#{path}\""
143
122
  end
144
123
  end
@@ -47,13 +47,7 @@ module Autobuild
47
47
  #
48
48
  # This is meant for display purposes
49
49
  def repository_id
50
- result = "git:#{repository} branch=#{branch}"
51
- if commit
52
- result << " commit=#{commit}"
53
- elsif tag
54
- result << " tag=#{tag}"
55
- end
56
- result
50
+ "git:#{repository}"
57
51
  end
58
52
 
59
53
  # The remote repository URL.
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.6.2.b7" unless defined? Autobuild::VERSION
2
+ VERSION = "1.6.2.b8" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,97 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
- version: !ruby/object:Gem::Version
4
- hash: 1810697955
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.2.b8
5
5
  prerelease: 6
6
- segments:
7
- - 1
8
- - 6
9
- - 2
10
- - b
11
- - 7
12
- version: 1.6.2.b7
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Sylvain Joyeux
16
9
  autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
-
20
- date: 2012-10-04 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
23
15
  name: rake
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &10655240 !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
28
- - - ">="
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- - 7
34
- - 0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
35
21
  version: 0.7.0
36
22
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: utilrb
40
23
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *10655240
25
+ - !ruby/object:Gem::Dependency
26
+ name: utilrb
27
+ requirement: &10652940 !ruby/object:Gem::Requirement
42
28
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 29
47
- segments:
48
- - 1
49
- - 3
50
- - 3
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
51
32
  version: 1.3.3
52
33
  type: :runtime
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: rdoc
56
34
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *10652940
36
+ - !ruby/object:Gem::Dependency
37
+ name: rdoc
38
+ requirement: &10651860 !ruby/object:Gem::Requirement
58
39
  none: false
59
- requirements:
40
+ requirements:
60
41
  - - ~>
61
- - !ruby/object:Gem::Version
62
- hash: 19
63
- segments:
64
- - 3
65
- - 10
66
- version: "3.10"
42
+ - !ruby/object:Gem::Version
43
+ version: '3.10'
67
44
  type: :development
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: hoe
71
45
  prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *10651860
47
+ - !ruby/object:Gem::Dependency
48
+ name: hoe
49
+ requirement: &10650040 !ruby/object:Gem::Requirement
73
50
  none: false
74
- requirements:
51
+ requirements:
75
52
  - - ~>
76
- - !ruby/object:Gem::Version
77
- hash: 5
78
- segments:
79
- - 3
80
- - 1
81
- version: "3.1"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
82
55
  type: :development
83
- version_requirements: *id004
84
- description: Collection of classes to handle build systems (CMake, autotools, ...) and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj) integrated software project management tool.
56
+ prerelease: false
57
+ version_requirements: *10650040
58
+ description: Collection of classes to handle build systems (CMake, autotools, ...)
59
+ and import mechanisms (tarballs, CVS, SVN, git, ...). It also offers a Rake integration
60
+ to import and build such software packages. It is the backbone of the autoproj (http://rock-robotics.org/autoproj)
61
+ integrated software project management tool.
85
62
  email: rock-dev@dfki.de
86
- executables:
63
+ executables:
87
64
  - autobuild
88
65
  extensions: []
89
-
90
- extra_rdoc_files:
66
+ extra_rdoc_files:
91
67
  - Changes.txt
92
68
  - Manifest.txt
93
69
  - README.txt
94
- files:
70
+ files:
95
71
  - Changes.txt
96
72
  - Manifest.txt
97
73
  - README.txt
@@ -137,42 +113,32 @@ files:
137
113
  - .gemtest
138
114
  homepage: http://rock-robotics.org/stable/documentation/autoproj
139
115
  licenses: []
140
-
141
116
  post_install_message:
142
- rdoc_options:
117
+ rdoc_options:
143
118
  - --main
144
119
  - README.txt
145
- require_paths:
120
+ require_paths:
146
121
  - lib
147
- required_ruby_version: !ruby/object:Gem::Requirement
122
+ required_ruby_version: !ruby/object:Gem::Requirement
148
123
  none: false
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- hash: 3
153
- segments:
154
- - 0
155
- version: "0"
156
- required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
157
129
  none: false
158
- requirements:
159
- - - ">"
160
- - !ruby/object:Gem::Version
161
- hash: 25
162
- segments:
163
- - 1
164
- - 3
165
- - 1
130
+ requirements:
131
+ - - ! '>'
132
+ - !ruby/object:Gem::Version
166
133
  version: 1.3.1
167
134
  requirements: []
168
-
169
135
  rubyforge_project: autobuild
170
- rubygems_version: 1.8.24
136
+ rubygems_version: 1.8.11
171
137
  signing_key:
172
138
  specification_version: 3
173
139
  summary: Library to handle build systems and import mechanisms
174
- test_files:
140
+ test_files:
141
+ - test/test_import_cvs.rb
142
+ - test/test_subcommand.rb
175
143
  - test/test_import_svn.rb
176
144
  - test/test_import_tar.rb
177
- - test/test_subcommand.rb
178
- - test/test_import_cvs.rb