bundler 0.9.0.pre1 → 0.9.0.pre2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bundler might be problematic. Click here for more details.

data/lib/bundler.rb CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
4
4
  require 'bundler/rubygems'
5
5
 
6
6
  module Bundler
7
- VERSION = "0.9.0.pre1"
7
+ VERSION = "0.9.0.pre2"
8
8
 
9
9
  autoload :Definition, 'bundler/definition'
10
10
  autoload :Dependency, 'bundler/dependency'
@@ -89,9 +89,11 @@ module Bundler
89
89
  # Disable rubygems' gem activation system
90
90
  ::Kernel.class_eval do
91
91
  if private_method_defined?(:gem_original_require)
92
+ alias rubygems_require require
92
93
  alias require gem_original_require
93
94
  end
94
95
 
96
+ undef gem
95
97
  def gem(*)
96
98
  # Silently ignore calls to gem
97
99
  end
@@ -43,6 +43,7 @@ module Bundler
43
43
  index = Index.new
44
44
  Bundler.ui.info "Source: Fetching remote index for `#{uri}`... "
45
45
  (main_specs + prerelease_specs).each do |name, version, platform|
46
+ next unless Gem::Platform.match(platform)
46
47
  spec = RemoteSpecification.new(name, version, platform, @uri)
47
48
  spec.source = self
48
49
  index << spec
@@ -102,6 +103,7 @@ module Bundler
102
103
  @options = options
103
104
  @glob = options[:glob] || "{,*/}*.gemspec"
104
105
  @path = options[:path]
106
+ @default_spec = nil
105
107
  end
106
108
 
107
109
  def default_spec(*args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0.pre1
4
+ version: 0.9.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Lerche
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-01-30 00:00:00 -08:00
13
+ date: 2010-01-31 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies: []
16
16