autobuild 1.5.52.rc4 → 1.5.52

Sign up to get free protection for your applications and to get access to all the features.
data/.gemtest ADDED
File without changes
data/Changes.txt CHANGED
@@ -5,6 +5,7 @@
5
5
  * autotools: fix some issues on package checkout
6
6
  * orogen: add raw option support
7
7
  * stats: add a timestamp on each log line
8
+ * fix core count detection on MacOSX
8
9
 
9
10
  == Version 1.5.51
10
11
  * quickfix release for broken LD_LIBRARY_PATH update
data/Rakefile CHANGED
@@ -1,29 +1,22 @@
1
- require 'hoe'
1
+ require 'utilrb/rake_common'
2
2
 
3
- Hoe.spec 'autobuild' do
4
- developer "Sylvain Joyeux", "sylvain.joyeux@m4x.org"
3
+ Utilrb::Rake.hoe do
4
+ Hoe.spec 'autobuild' do
5
+ developer "Sylvain Joyeux", "sylvain.joyeux@m4x.org"
5
6
 
6
- self.summary = 'Rake-based utility to build and install multiple packages with dependencies'
7
- self.description = self.paragraphs_of('README.txt', 2..5).join("\n\n")
8
- self.url = self.paragraphs_of('README.txt', 1).first.split(/\n/)[1..-1].map { |s| s.gsub('* ', '') }
9
- self.changes = self.paragraphs_of('Changes.txt', 0..2).join("\n\n")
7
+ self.summary = 'Rake-based utility to build and install multiple packages with dependencies'
8
+ self.description = self.paragraphs_of('README.txt', 2..5).join("\n\n")
9
+ self.url = self.paragraphs_of('README.txt', 1).first.split(/\n/)[1..-1].map { |s| s.gsub('* ', '') }
10
+ self.changes = self.paragraphs_of('Changes.txt', 0..2).join("\n\n")
10
11
 
11
- self.extra_deps <<
12
- ['rake', '>= 0.7.0'] <<
13
- ['rmail', '>= 1.0'] <<
14
- ['daemons', '>= 0.0'] <<
15
- ['utilrb', '>= 1.3.3']
12
+ self.extra_deps <<
13
+ ['rake', '>= 0.7.0'] <<
14
+ ['rmail', '>= 1.0'] <<
15
+ ['daemons', '>= 0.0'] <<
16
+ ['utilrb', '>= 1.3.3']
17
+ end
18
+ Rake.clear_tasks(/publish_docs/, /default/)
16
19
  end
17
20
 
18
- Rake.clear_tasks(/publish_docs/, /default/)
19
21
  task "default"
20
22
 
21
- task 'publish_docs' => 'docs' do
22
- if !system('./update_github')
23
- raise "cannot update the gh-pages branch for GitHub"
24
- end
25
- if !system('git', 'push', 'origin', 'gh-pages')
26
- raise "cannot push the documentation"
27
- end
28
- end
29
-
@@ -118,6 +118,7 @@ class Importer
118
118
  raise
119
119
  end
120
120
  end
121
+
121
122
  end
122
123
 
123
124
  # Tries to find a fallback importer because of the given error.
@@ -234,6 +234,8 @@ module Autobuild
234
234
  def import
235
235
  if @importer
236
236
  @importer.import(self)
237
+ elsif Autobuild.do_update
238
+ progress "%s: no importer defined, doing nothing"
237
239
  end
238
240
 
239
241
  # Add the dependencies declared in spec
@@ -98,7 +98,7 @@ module Autobuild
98
98
  @processor_count = processor_ids.size
99
99
  end
100
100
  else
101
- result = Open3.popen3("sysctl", "-n", "hw.cpu") do |_, io, _|
101
+ result = Open3.popen3("sysctl", "-n", "hw.ncpu") do |_, io, _|
102
102
  io.read
103
103
  end
104
104
  if !result.empty?
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.52.rc4" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.52" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424461
5
- prerelease: 7
4
+ hash: 107
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
9
  - 52
10
- - rc
11
- - 4
12
- version: 1.5.52.rc4
10
+ version: 1.5.52
13
11
  platform: ruby
14
12
  authors:
15
13
  - Sylvain Joyeux
@@ -17,7 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2011-10-24 00:00:00 Z
18
+ date: 2011-11-03 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
21
  name: rake
@@ -87,14 +85,13 @@ dependencies:
87
85
  requirement: &id005 !ruby/object:Gem::Requirement
88
86
  none: false
89
87
  requirements:
90
- - - ">="
88
+ - - ~>
91
89
  - !ruby/object:Gem::Version
92
- hash: 47
90
+ hash: 27
93
91
  segments:
94
92
  - 2
95
- - 8
96
- - 0
97
- version: 2.8.0
93
+ - 12
94
+ version: "2.12"
98
95
  type: :development
99
96
  version_requirements: *id005
100
97
  description: |-
@@ -166,6 +163,7 @@ files:
166
163
  - test/test_import_tar.rb
167
164
  - test/test_subcommand.rb
168
165
  - test/tools.rb
166
+ - .gemtest
169
167
  homepage:
170
168
  licenses: []
171
169
 
@@ -187,14 +185,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
185
  required_rubygems_version: !ruby/object:Gem::Requirement
188
186
  none: false
189
187
  requirements:
190
- - - ">"
188
+ - - ">="
191
189
  - !ruby/object:Gem::Version
192
- hash: 25
190
+ hash: 3
193
191
  segments:
194
- - 1
195
- - 3
196
- - 1
197
- version: 1.3.1
192
+ - 0
193
+ version: "0"
198
194
  requirements: []
199
195
 
200
196
  rubyforge_project: autobuild