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 +0 -1
- data/bin/autoproj_bootstrap +9 -2
- data/bin/autoproj_bootstrap.in +1 -1
- data/lib/autoproj/cmdline.rb +1 -1
- data/lib/autoproj/osdeps.rb +8 -1
- data/lib/autoproj/version.rb +1 -1
- metadata +1 -2
- data/lib/autoproj/loader.rb +0 -0
data/Manifest.txt
CHANGED
data/bin/autoproj_bootstrap
CHANGED
@@ -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,
|
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
|
data/bin/autoproj_bootstrap.in
CHANGED
@@ -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
|
data/lib/autoproj/cmdline.rb
CHANGED
@@ -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
|
-
|
234
|
+
OSDependencies.load_default.install(%w{autobuild autoproj})
|
235
235
|
ensure
|
236
236
|
PackageManagers::GemManager.with_prerelease = saved_flag
|
237
237
|
end
|
data/lib/autoproj/osdeps.rb
CHANGED
@@ -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,
|
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
|
data/lib/autoproj/version.rb
CHANGED
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.
|
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
|
data/lib/autoproj/loader.rb
DELETED
File without changes
|