autoproj 2.0.0.rc6 → 2.0.0.rc8

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: 41b7b5cc8969f1630e17120dd32b47332d17c005
4
- data.tar.gz: 8f58b3e604cd28f113130babad1734142022f7c5
3
+ metadata.gz: bddd3ede1fe4f58fe3cc3c9b7e37b05a06c3c3cb
4
+ data.tar.gz: 300374bfb1cb43ed90200d5d19c049cf1b001a3f
5
5
  SHA512:
6
- metadata.gz: e6804b7d07665ef3d29456b01c267c27f59f7c5244a7af3cf4466b8c0a8e55e61604eedf6a1af723b24c4804ec988679f3732d9a799d2a963550245636aa01a9
7
- data.tar.gz: a81c7bb354134172817c912e2031400b89d687e54d3d9c9c9bc4e76b6329150d84ccf5d9f81e3d58ed085d892660c1a8f701a1bacbcae8cd80bcd172dd13c97f
6
+ metadata.gz: 6ec06a35be38735bf8b45ea5eb29a0e48a3dba7ea52be07b0ff32d76e3267aa2a423ad4b978f1c9aabfc1a68011a3d881cbf235342b210a69068dfec9a68bbd6
7
+ data.tar.gz: 327f067eac8418c5829c1ebb054eb9e06d7518f23d7626263009eff45f62d3cd1bac7353753f26e800b6467d42ea53d2236212c21b47655f7ecaa99c2b146c07
data/autoproj.gemspec CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.homepage = "http://rock-robotics.org"
14
14
  s.licenses = ["BSD"]
15
15
 
16
+ s.required_ruby_version = ">= 2.0.0"
16
17
  s.bindir = 'bin'
17
18
  s.executables = ['autoproj', 'aup', 'amake', 'alocate']
18
19
  s.require_paths = ["lib"]
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/ruby
2
2
 
3
- if RUBY_VERSION < "1.9.2"
4
- STDERR.puts "autoproj requires Ruby >= 1.9.2"
3
+ if RUBY_VERSION < "2.0.0"
4
+ STDERR.puts "autoproj requires Ruby >= 2.0.0"
5
5
  exit 1
6
6
  end
7
7
 
@@ -413,12 +413,12 @@ module Autoproj
413
413
  clean_env = env_for_child
414
414
  stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
415
415
  puts "starting the newly installed autoproj for stage2 install"
416
- puts [clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
417
- Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
418
- 'install-stage2', root_dir, *stage2_vars].inspect
419
- exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
416
+ result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
420
417
  Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
421
418
  'install-stage2', root_dir, *stage2_vars
419
+ if !result
420
+ raise "failed to execute autoproj install-stage2"
421
+ end
422
422
  end
423
423
 
424
424
  def stage2(*vars)
@@ -434,9 +434,11 @@ end
434
434
 
435
435
 
436
436
 
437
+ ENV.delete('BUNDLE_GEMFILE')
438
+ ENV.delete('RUBYLIB')
437
439
  ops = Autoproj::Ops::Install.new(Dir.pwd)
438
- bootstrap_options = ops.parse_options(ARGV)
439
- ops.run
440
+ ops.parse_options(ARGV)
441
+ ops.stage1
440
442
 
441
443
  # we assume that Install#run loads bundler and autobuild. Load autoproj and run
442
444
  # bootstrap
@@ -1,15 +1,17 @@
1
1
  #! /usr/bin/ruby
2
2
 
3
- if RUBY_VERSION < "1.9.2"
4
- STDERR.puts "autoproj requires Ruby >= 1.9.2"
3
+ if RUBY_VERSION < "2.0.0"
4
+ STDERR.puts "autoproj requires Ruby >= 2.0.0"
5
5
  exit 1
6
6
  end
7
7
 
8
8
  AUTOPROJ_OPS_INSTALL
9
9
 
10
+ ENV.delete('BUNDLE_GEMFILE')
11
+ ENV.delete('RUBYLIB')
10
12
  ops = Autoproj::Ops::Install.new(Dir.pwd)
11
- bootstrap_options = ops.parse_options(ARGV)
12
- ops.run
13
+ ops.parse_options(ARGV)
14
+ ops.stage1
13
15
 
14
16
  # we assume that Install#run loads bundler and autobuild. Load autoproj and run
15
17
  # bootstrap
data/bin/autoproj_install CHANGED
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/ruby
2
2
 
3
- if RUBY_VERSION < "1.9.2"
4
- STDERR.puts "autoproj requires Ruby >= 1.9.2"
3
+ if RUBY_VERSION < "2.0.0"
4
+ STDERR.puts "autoproj requires Ruby >= 2.0.0"
5
5
  exit 1
6
6
  end
7
7
 
@@ -413,12 +413,12 @@ module Autoproj
413
413
  clean_env = env_for_child
414
414
  stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
415
415
  puts "starting the newly installed autoproj for stage2 install"
416
- puts [clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
417
- Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
418
- 'install-stage2', root_dir, *stage2_vars].inspect
419
- exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
416
+ result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
420
417
  Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
421
418
  'install-stage2', root_dir, *stage2_vars
419
+ if !result
420
+ raise "failed to execute autoproj install-stage2"
421
+ end
422
422
  end
423
423
 
424
424
  def stage2(*vars)
@@ -1,7 +1,7 @@
1
1
  #! /usr/bin/ruby
2
2
 
3
- if RUBY_VERSION < "1.9.2"
4
- STDERR.puts "autoproj requires Ruby >= 1.9.2"
3
+ if RUBY_VERSION < "2.0.0"
4
+ STDERR.puts "autoproj requires Ruby >= 2.0.0"
5
5
  exit 1
6
6
  end
7
7
 
@@ -406,12 +406,12 @@ def stage1
406
406
  clean_env = env_for_child
407
407
  stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
408
408
  puts "starting the newly installed autoproj for stage2 install"
409
- puts [clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
410
- Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
411
- 'install-stage2', root_dir, *stage2_vars].inspect
412
- exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
409
+ result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
413
410
  Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
414
411
  'install-stage2', root_dir, *stage2_vars
412
+ if !result
413
+ raise "failed to execute autoproj install-stage2"
414
+ end
415
415
  end
416
416
 
417
417
  def stage2(*vars)
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.0.0.rc6"
2
+ VERSION = "2.0.0.rc8"
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: 2.0.0.rc6
4
+ version: 2.0.0.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
@@ -265,7 +265,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
265
265
  requirements:
266
266
  - - ">="
267
267
  - !ruby/object:Gem::Version
268
- version: '0'
268
+ version: 2.0.0
269
269
  required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  requirements:
271
271
  - - ">"