autoproj 1.7.14.rc1 → 1.7.14.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -687,8 +687,12 @@ fi
687
687
  gems.delete_if do |name, version|
688
688
  version_requirements = Gem::Requirement.new(version || '>= 0')
689
689
  installed =
690
- if Gem.source_index.respond_to?(:find_by_name)
691
- Gem.source_index.find_by_name(name, version_requirements)
690
+ if Gem::Specification.respond_to?(:find_by_name)
691
+ begin
692
+ [Gem::Specification.find_by_name(name, version_requirements)]
693
+ rescue Gem::LoadError
694
+ []
695
+ end
692
696
  else
693
697
  Gem.source_index.find_name(name, version_requirements)
694
698
  end
@@ -588,8 +588,12 @@ fi
588
588
  gems.delete_if do |name, version|
589
589
  version_requirements = Gem::Requirement.new(version || '>= 0')
590
590
  installed =
591
- if Gem.source_index.respond_to?(:find_by_name)
592
- Gem.source_index.find_by_name(name, version_requirements)
591
+ if Gem::Specification.respond_to?(:find_by_name)
592
+ begin
593
+ [Gem::Specification.find_by_name(name, version_requirements)]
594
+ rescue Gem::LoadError
595
+ []
596
+ end
593
597
  else
594
598
  Gem.source_index.find_name(name, version_requirements)
595
599
  end
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.7.14.rc1"
2
+ VERSION = "1.7.14.rc2"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424055
4
+ hash: 15424049
5
5
  prerelease: 7
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
9
  - 14
10
10
  - rc
11
- - 1
12
- version: 1.7.14.rc1
11
+ - 2
12
+ version: 1.7.14.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Sylvain Joyeux
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-10-11 00:00:00 Z
20
+ date: 2011-10-12 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  name: autobuild