autoproj 1.9.7.rc15 → 1.9.7.rc16

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt CHANGED
@@ -30,7 +30,6 @@ lib/autoproj/default.osdeps
30
30
  lib/autoproj/environment.rb
31
31
  lib/autoproj/gitorious.rb
32
32
  lib/autoproj/installation_manifest.rb
33
- lib/autoproj/loader.rb
34
33
  lib/autoproj/manifest.rb
35
34
  lib/autoproj/metapackage.rb
36
35
  lib/autoproj/options.rb
@@ -620,7 +620,14 @@ fi
620
620
  dep = Gem::Dependency.new(name, version_requirements)
621
621
  available =
622
622
  if gem_fetcher.respond_to?(:find_matching)
623
- gem_fetcher.find_matching(dep, true, true, GemManager.with_prerelease).map(&:first)
623
+ non_prerelease, _ = gem_fetcher.find_matching(dep, false, true).first
624
+ if GemManager.with_prerelease
625
+ prerelease, _ = gem_fetcher.find_matching(dep, false, true, true).last
626
+ end
627
+ [non_prerelease, prerelease].
628
+ compact.
629
+ map { |name, version, _| [name, version] }
630
+
624
631
  else # Post RubyGems-2.0
625
632
  type = if GemManager.with_prerelease then :complete
626
633
  else :released
@@ -2519,7 +2526,7 @@ end
2519
2526
  # run autoproj bootstrap manually.
2520
2527
  if ARGV.first != "localdev"
2521
2528
  if ARGV.first == "dev"
2522
- ENV['AUTOPROJ_USE_PRERELEASE'] = 1
2529
+ ENV['AUTOPROJ_USE_PRERELEASE'] = '1'
2523
2530
  Autoproj::PackageManagers::GemManager.with_prerelease = true
2524
2531
  ARGV.shift
2525
2532
  end
@@ -198,7 +198,7 @@ end
198
198
  # run autoproj bootstrap manually.
199
199
  if ARGV.first != "localdev"
200
200
  if ARGV.first == "dev"
201
- ENV['AUTOPROJ_USE_PRERELEASE'] = 1
201
+ ENV['AUTOPROJ_USE_PRERELEASE'] = '1'
202
202
  Autoproj::PackageManagers::GemManager.with_prerelease = true
203
203
  ARGV.shift
204
204
  end
@@ -231,7 +231,7 @@ module Autoproj
231
231
  begin
232
232
  saved_flag = PackageManagers::GemManager.with_prerelease
233
233
  PackageManagers::GemManager.with_prerelease = use_prerelease
234
- Autoproj.osdeps.install(%w{autobuild autoproj})
234
+ OSDependencies.load_default.install(%w{autobuild autoproj})
235
235
  ensure
236
236
  PackageManagers::GemManager.with_prerelease = saved_flag
237
237
  end
@@ -493,7 +493,14 @@ fi
493
493
  dep = Gem::Dependency.new(name, version_requirements)
494
494
  available =
495
495
  if gem_fetcher.respond_to?(:find_matching)
496
- gem_fetcher.find_matching(dep, true, true, GemManager.with_prerelease).map(&:first)
496
+ non_prerelease, _ = gem_fetcher.find_matching(dep, false, true).first
497
+ if GemManager.with_prerelease
498
+ prerelease, _ = gem_fetcher.find_matching(dep, false, true, true).last
499
+ end
500
+ [non_prerelease, prerelease].
501
+ compact.
502
+ map { |name, version, _| [name, version] }
503
+
497
504
  else # Post RubyGems-2.0
498
505
  type = if GemManager.with_prerelease then :complete
499
506
  else :released
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.9.7.rc15"
2
+ VERSION = "1.9.7.rc16"
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.9.7.rc15
4
+ version: 1.9.7.rc16
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -155,7 +155,6 @@ files:
155
155
  - lib/autoproj/environment.rb
156
156
  - lib/autoproj/gitorious.rb
157
157
  - lib/autoproj/installation_manifest.rb
158
- - lib/autoproj/loader.rb
159
158
  - lib/autoproj/manifest.rb
160
159
  - lib/autoproj/metapackage.rb
161
160
  - lib/autoproj/options.rb
File without changes