autoproj 2.3.0 → 2.3.1

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: 8aea1688941d1dfc707196346c1c9cae42972827
4
- data.tar.gz: 3745f079883b2571aee27bc39aed446734859363
3
+ metadata.gz: edb94a99f41c2bd7fa5cd1787e3717a5ace88746
4
+ data.tar.gz: c1663aaa8f9cb260cfa34bff60f140dc9f14952b
5
5
  SHA512:
6
- metadata.gz: 46174f3a203203a2bc9194542933df1802465aaed4e8403a6362b370235f812ff50e017617f7314e8c3a9c9e1fcbd6a108e58f8f821a8ff9d27bfa0c0fc87b1f
7
- data.tar.gz: 72b807eab619af7e488fe1b171404812f49a6804bfae3fb3675053c5f8419938541d5db86565a3e7f09b2ec202e4f390c10303182f066c85b8cea75f93b34338
6
+ metadata.gz: 90fda7a5cdf528fe0b9204735d11a493e7f6f73ed1a211140ab5561a1c99642c0fb6a2ac35ca035bfb329fd5595f86d70f723c55f17983582821cbb5dcc61061
7
+ data.tar.gz: 178ca221ace71d37b099b41ceab29f8e0ad40f4c7931eaedaecd5df465469a2f7a807017175f7c851f672f8edd4e04bcae6d857838bf9fd1763d2179ba7bc871
@@ -9,9 +9,14 @@ class Alocate < Autoproj::CLI::Main
9
9
  end
10
10
  end
11
11
 
12
- if ARGV.include?('--help') || ARGV.include?('help')
13
- Alocate.start(['help', 'locate'])
14
- else
15
- Alocate.start(['locate', *ARGV])
12
+ begin
13
+ if ARGV.include?('--help') || ARGV.include?('help')
14
+ Alocate.start(['help', 'locate'])
15
+ else
16
+ Alocate.start(['locate', *ARGV])
17
+ end
18
+ rescue Interrupt
19
+ # Already notified in the reporting infrastructure
16
20
  end
17
21
 
22
+
data/bin/amake CHANGED
@@ -9,9 +9,13 @@ class Amake < Autoproj::CLI::Main
9
9
  end
10
10
  end
11
11
 
12
- if ARGV.include?('--help') || ARGV.include?('help')
13
- Amake.start(['help', 'build'])
14
- else
15
- Amake.start(['build', '--amake', *ARGV])
12
+ begin
13
+ if ARGV.include?('--help') || ARGV.include?('help')
14
+ Amake.start(['help', 'build'])
15
+ else
16
+ Amake.start(['build', '--amake', *ARGV])
17
+ end
18
+ rescue Interrupt
19
+ # Already notified in the reporting infrastructure
16
20
  end
17
21
 
data/bin/aup CHANGED
@@ -9,8 +9,12 @@ class Aup < Autoproj::CLI::Main
9
9
  end
10
10
  end
11
11
 
12
- if ARGV.include?('--help') || ARGV.include?('help')
13
- Aup.start(['help', 'update'])
14
- else
15
- Aup.start(['update', '--aup', *ARGV])
12
+ begin
13
+ if ARGV.include?('--help') || ARGV.include?('help')
14
+ Aup.start(['help', 'update'])
15
+ else
16
+ Aup.start(['update', '--aup', *ARGV])
17
+ end
18
+ rescue Interrupt
19
+ # Already notified in the reporting infrastructure
16
20
  end
@@ -45,7 +45,7 @@ def run_autoproj_cli(filename, classname, report_options, *args, **extra_options
45
45
  run_args = cli.validate_options(args, options.merge(extra_options))
46
46
  cli.run(*run_args)
47
47
  ensure
48
- cli.notify_env_sh_updated
48
+ cli.notify_env_sh_updated if cli.respond_to?(:notify_env_sh_updated)
49
49
  end
50
50
  end
51
51
  end
@@ -1,13 +1,8 @@
1
1
  require 'autoproj'
2
+ require 'autoproj/cli/base'
2
3
  module Autoproj
3
4
  module CLI
4
- class Manifest
5
- attr_reader :ws
6
-
7
- def initialize(ws = Workspace.default)
8
- @ws = ws
9
- end
10
-
5
+ class Manifest < Base
11
6
  def validate_options(args, options)
12
7
  return args, options
13
8
  end
@@ -57,6 +57,9 @@ def run(target_dir, options)
57
57
 
58
58
  Autoproj.message "successfully created a snapshot of the current autoproj configuration in #{target_dir}"
59
59
  end
60
+
61
+ def notify_env_sh_updated
62
+ end
60
63
  end
61
64
  end
62
65
  end
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
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: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2017-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler