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 +1 -1
- data/lib/bundler/environment.rb +2 -0
- data/lib/bundler/source.rb +2 -0
- metadata +2 -2
data/lib/bundler.rb
CHANGED
data/lib/bundler/environment.rb
CHANGED
@@ -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
|
data/lib/bundler/source.rb
CHANGED
@@ -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.
|
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-
|
13
|
+
date: 2010-01-31 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|