bundler 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- data/README.markdown +1 -1
- data/lib/bundler.rb +3 -3
- data/lib/bundler/rubygems_ext.rb +11 -5
- data/lib/bundler/source.rb +1 -1
- metadata +16 -8
data/README.markdown
CHANGED
@@ -118,7 +118,7 @@ The command `bundle lock` will lock the bundle to the current set of
|
|
118
118
|
resolved gems. This ensures that, until the lock file is removed,
|
119
119
|
`bundle install` and `Bundle.setup` will always activate the same gems.
|
120
120
|
|
121
|
-
When you are distributing your application, you should add the Gemfile and
|
121
|
+
When you are distributing your application, you should add the Gemfile and
|
122
122
|
Gemfile.lock files to your source control, so that the set of libraries your
|
123
123
|
code will run against are fixed. Simply run `bundle install` after checking
|
124
124
|
out or deploying your code to ensure your libraries are present.
|
data/lib/bundler.rb
CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
|
|
4
4
|
require 'bundler/rubygems_ext'
|
5
5
|
|
6
6
|
module Bundler
|
7
|
-
VERSION = "0.9.
|
7
|
+
VERSION = "0.9.9"
|
8
8
|
|
9
9
|
autoload :Definition, 'bundler/definition'
|
10
10
|
autoload :Dependency, 'bundler/dependency'
|
@@ -118,8 +118,8 @@ module Bundler
|
|
118
118
|
ENV['GEM_HOME'] = File.expand_path(bundle_path, root)
|
119
119
|
ENV['GEM_PATH'] = ''
|
120
120
|
else
|
121
|
-
|
122
|
-
ENV["GEM_PATH"] =
|
121
|
+
paths = [Gem.dir, Gem.path].flatten.compact.reject{|p| p.empty? }
|
122
|
+
ENV["GEM_PATH"] = paths.join(File::PATH_SEPARATOR)
|
123
123
|
ENV["GEM_HOME"] = bundle_path.to_s
|
124
124
|
end
|
125
125
|
|
data/lib/bundler/rubygems_ext.rb
CHANGED
@@ -17,13 +17,19 @@ module Gem
|
|
17
17
|
@groups ||= []
|
18
18
|
end
|
19
19
|
|
20
|
-
|
20
|
+
module ImplicitRakeDependency
|
21
|
+
def dependencies
|
22
|
+
original = super
|
23
|
+
original << Dependency.new("rake", ">= 0") if implicit_rake_dependency?
|
24
|
+
original
|
25
|
+
end
|
21
26
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
27
|
+
private
|
28
|
+
def implicit_rake_dependency?
|
29
|
+
extensions.any? { |e| e =~ /rakefile|mkrf_conf/i }
|
30
|
+
end
|
26
31
|
end
|
32
|
+
include ImplicitRakeDependency
|
27
33
|
end
|
28
34
|
|
29
35
|
class Dependency
|
data/lib/bundler/source.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 9
|
8
|
+
- 9
|
9
|
+
version: 0.9.9
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Carl Lerche
|
@@ -10,8 +15,8 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2010-02-
|
14
|
-
default_executable:
|
18
|
+
date: 2010-02-25 00:00:00 -08:00
|
19
|
+
default_executable:
|
15
20
|
dependencies: []
|
16
21
|
|
17
22
|
description:
|
@@ -69,10 +74,9 @@ has_rdoc: true
|
|
69
74
|
homepage: http://github.com/carlhuda/bundler
|
70
75
|
licenses: []
|
71
76
|
|
72
|
-
post_install_message:
|
77
|
+
post_install_message: |-
|
73
78
|
Due to a rubygems bug, you must uninstall older versions of the bundler gem for 0.9 to work.
|
74
79
|
If you still need bundler 0.8, install the 'bundler08' gem.
|
75
|
-
|
76
80
|
rdoc_options: []
|
77
81
|
|
78
82
|
require_paths:
|
@@ -81,18 +85,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
85
|
requirements:
|
82
86
|
- - ">="
|
83
87
|
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
84
90
|
version: "0"
|
85
|
-
version:
|
86
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
92
|
requirements:
|
88
93
|
- - ">="
|
89
94
|
- !ruby/object:Gem::Version
|
95
|
+
segments:
|
96
|
+
- 1
|
97
|
+
- 3
|
98
|
+
- 5
|
90
99
|
version: 1.3.5
|
91
|
-
version:
|
92
100
|
requirements: []
|
93
101
|
|
94
102
|
rubyforge_project:
|
95
|
-
rubygems_version: 1.3.
|
103
|
+
rubygems_version: 1.3.6
|
96
104
|
signing_key:
|
97
105
|
specification_version: 3
|
98
106
|
summary: Bundles are fun
|