bundler 1.2.5 → 1.3.0.pre
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/.gitignore +10 -7
- data/.travis.yml +12 -3
- data/CHANGELOG.md +26 -19
- data/CONTRIBUTE.md +97 -0
- data/README.md +4 -2
- data/Rakefile +17 -59
- data/bundler.gemspec +2 -1
- data/lib/bundler.rb +23 -20
- data/lib/bundler/cli.rb +68 -22
- data/lib/bundler/definition.rb +3 -2
- data/lib/bundler/deprecate.rb +15 -0
- data/lib/bundler/dsl.rb +14 -16
- data/lib/bundler/environment.rb +0 -5
- data/lib/bundler/fetcher.rb +23 -78
- data/lib/bundler/friendly_errors.rb +4 -5
- data/lib/bundler/gem_helper.rb +14 -16
- data/lib/bundler/injector.rb +64 -0
- data/lib/bundler/installer.rb +1 -7
- data/lib/bundler/lazy_specification.rb +6 -3
- data/lib/bundler/lockfile_parser.rb +25 -13
- data/lib/bundler/resolver.rb +0 -1
- data/lib/bundler/rubygems_integration.rb +83 -17
- data/lib/bundler/settings.rb +4 -2
- data/lib/bundler/similarity_detector.rb +63 -0
- data/lib/bundler/source.rb +3 -886
- data/lib/bundler/source/git.rb +267 -0
- data/lib/bundler/source/git/git_proxy.rb +142 -0
- data/lib/bundler/source/path.rb +209 -0
- data/lib/bundler/source/path/installer.rb +33 -0
- data/lib/bundler/source/rubygems.rb +261 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +3 -0
- data/lib/bundler/templates/newgem/rspec.tt +2 -0
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +9 -0
- data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +2 -0
- data/lib/bundler/templates/newgem/test/minitest_helper.rb.tt +4 -0
- data/lib/bundler/templates/newgem/test/test_newgem.rb.tt +11 -0
- data/lib/bundler/ui.rb +20 -5
- data/lib/bundler/vendor/.document +0 -0
- data/lib/bundler/vendor/thor.rb +74 -5
- data/lib/bundler/vendor/thor/actions.rb +5 -5
- data/lib/bundler/vendor/thor/actions/directory.rb +1 -0
- data/lib/bundler/vendor/thor/actions/file_manipulation.rb +7 -1
- data/lib/bundler/vendor/thor/base.rb +44 -11
- data/lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb +5 -0
- data/lib/bundler/vendor/thor/parser/argument.rb +14 -7
- data/lib/bundler/vendor/thor/parser/arguments.rb +7 -1
- data/lib/bundler/vendor/thor/parser/option.rb +8 -8
- data/lib/bundler/vendor/thor/parser/options.rb +62 -24
- data/lib/bundler/vendor/thor/runner.rb +1 -1
- data/lib/bundler/vendor/thor/shell/basic.rb +2 -2
- data/lib/bundler/vendor/thor/task.rb +2 -2
- data/lib/bundler/vendor/thor/version.rb +1 -1
- data/lib/bundler/vendored_persistent.rb +3 -15
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-exec.ronn +1 -1
- data/man/bundle-update.ronn +1 -1
- data/man/bundle.ronn +4 -1
- data/spec/bundler/bundler_spec.rb +2 -28
- data/spec/bundler/cli_rspec.rb +9 -0
- data/spec/bundler/definition_spec.rb +1 -1
- data/spec/bundler/dsl_spec.rb +15 -8
- data/spec/bundler/gem_helper_spec.rb +38 -21
- data/spec/bundler/psyched_yaml_spec.rb +1 -0
- data/spec/bundler/source_spec.rb +3 -3
- data/spec/cache/gems_spec.rb +24 -24
- data/spec/cache/git_spec.rb +21 -23
- data/spec/cache/path_spec.rb +11 -11
- data/spec/cache/platform_spec.rb +6 -6
- data/spec/install/deploy_spec.rb +38 -38
- data/spec/install/gems/c_ext_spec.rb +2 -2
- data/spec/install/gems/dependency_api_spec.rb +23 -116
- data/spec/install/gems/env_spec.rb +1 -1
- data/spec/install/gems/flex_spec.rb +7 -8
- data/spec/install/gems/groups_spec.rb +10 -10
- data/spec/install/gems/packed_spec.rb +4 -4
- data/spec/install/gems/platform_spec.rb +3 -3
- data/spec/install/gems/post_install_spec.rb +9 -9
- data/spec/install/gems/resolving_spec.rb +2 -2
- data/spec/install/gems/simple_case_spec.rb +50 -53
- data/spec/install/gems/standalone_spec.rb +19 -19
- data/spec/install/gems/sudo_spec.rb +31 -16
- data/spec/install/gems/win32_spec.rb +1 -1
- data/spec/install/gemspec_spec.rb +6 -6
- data/spec/install/git_spec.rb +34 -34
- data/spec/install/invalid_spec.rb +3 -3
- data/spec/install/path_spec.rb +71 -8
- data/spec/install/upgrade_spec.rb +2 -2
- data/spec/integration/inject.rb +78 -0
- data/spec/lock/git_spec.rb +2 -2
- data/spec/lock/lockfile_spec.rb +14 -14
- data/spec/other/check_spec.rb +29 -29
- data/spec/other/clean_spec.rb +47 -48
- data/spec/other/config_spec.rb +20 -20
- data/spec/other/console_spec.rb +5 -5
- data/spec/other/exec_spec.rb +48 -28
- data/spec/other/ext_spec.rb +3 -3
- data/spec/other/help_spec.rb +6 -6
- data/spec/other/init_spec.rb +8 -8
- data/spec/other/newgem_spec.rb +95 -15
- data/spec/other/open_spec.rb +10 -5
- data/spec/other/outdated_spec.rb +8 -8
- data/spec/other/platform_spec.rb +45 -45
- data/spec/other/show_spec.rb +10 -10
- data/spec/quality_spec.rb +2 -2
- data/spec/realworld/dependency_api_spec.rb +61 -0
- data/spec/realworld/edgecases_spec.rb +8 -8
- data/spec/runtime/executable_spec.rb +13 -13
- data/spec/runtime/load_spec.rb +12 -12
- data/spec/runtime/platform_spec.rb +1 -1
- data/spec/runtime/require_spec.rb +24 -24
- data/spec/runtime/setup_spec.rb +113 -56
- data/spec/runtime/with_clean_env_spec.rb +11 -13
- data/spec/spec_helper.rb +6 -0
- data/spec/support/artifice/endpoint.rb +28 -13
- data/spec/support/artifice/endpoint_extra.rb +4 -0
- data/spec/support/builders.rb +1 -1
- data/spec/support/helpers.rb +2 -7
- data/spec/support/indexes.rb +3 -3
- data/spec/support/matchers.rb +6 -6
- data/spec/update/gems_spec.rb +19 -8
- data/spec/update/git_spec.rb +10 -10
- data/spec/update/source_spec.rb +1 -1
- metadata +86 -55
- data/.rspec +0 -2
data/spec/spec_helper.rb
CHANGED
@@ -71,6 +71,10 @@ RSpec.configure do |config|
|
|
71
71
|
pending "JRuby executables do not have a proper shebang" if RUBY_PLATFORM == "java"
|
72
72
|
end
|
73
73
|
|
74
|
+
config.expect_with :rspec do |c|
|
75
|
+
c.syntax = :expect
|
76
|
+
end
|
77
|
+
|
74
78
|
config.before :all do
|
75
79
|
build_repo1
|
76
80
|
end
|
@@ -82,6 +86,8 @@ RSpec.configure do |config|
|
|
82
86
|
end
|
83
87
|
|
84
88
|
config.after :each do
|
89
|
+
puts @out if example.exception
|
90
|
+
|
85
91
|
Dir.chdir(original_wd)
|
86
92
|
# Reset ENV
|
87
93
|
ENV['PATH'] = original_path
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require File.expand_path("../../path.rb", __FILE__)
|
2
|
+
require File.expand_path("../../../../lib/bundler/deprecate", __FILE__)
|
2
3
|
include Spec::Path
|
3
4
|
|
4
5
|
# Set up pretend http gem server with FakeWeb
|
@@ -13,20 +14,30 @@ require 'sinatra/base'
|
|
13
14
|
class Endpoint < Sinatra::Base
|
14
15
|
|
15
16
|
helpers do
|
16
|
-
def dependencies_for(gem_names, marshal = gem_repo1("
|
17
|
+
def dependencies_for(gem_names, marshal = gem_repo1("specs.4.8"))
|
17
18
|
require 'rubygems'
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
19
|
+
require 'bundler'
|
20
|
+
Bundler::Deprecate.skip_during do
|
21
|
+
Marshal.load(File.open(marshal).read).map do |name, version, platform|
|
22
|
+
spec = load_spec(name, version, platform)
|
23
|
+
if gem_names.include?(spec.name)
|
24
|
+
{
|
25
|
+
:name => spec.name,
|
26
|
+
:number => spec.version.version,
|
27
|
+
:platform => spec.platform.to_s,
|
28
|
+
:dependencies => spec.dependencies.select {|dep| dep.type == :runtime }.map do |dep|
|
29
|
+
[dep.name, dep.requirement.requirements.map {|a| a.join(" ") }.join(", ")]
|
30
|
+
end
|
31
|
+
}
|
32
|
+
end
|
33
|
+
end.compact
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def load_spec(name, version, platform)
|
38
|
+
full_name = "#{name}-#{version}"
|
39
|
+
full_name += "-#{platform}" if platform != "ruby"
|
40
|
+
Marshal.load(Gem.inflate(File.open(gem_repo1("quick/Marshal.4.8/#{full_name}.gemspec.rz")).read))
|
30
41
|
end
|
31
42
|
end
|
32
43
|
|
@@ -49,6 +60,10 @@ class Endpoint < Sinatra::Base
|
|
49
60
|
get "/specs.4.8.gz" do
|
50
61
|
File.read("#{gem_repo1}/specs.4.8.gz")
|
51
62
|
end
|
63
|
+
|
64
|
+
get "/prerelease_specs.4.8.gz" do
|
65
|
+
File.read("#{gem_repo1}/prerelease_specs.4.8.gz")
|
66
|
+
end
|
52
67
|
end
|
53
68
|
|
54
69
|
Artifice.activate_with(Endpoint)
|
@@ -11,6 +11,10 @@ class EndpointExtra < Endpoint
|
|
11
11
|
File.read("#{gem_repo2}/specs.4.8.gz")
|
12
12
|
end
|
13
13
|
|
14
|
+
get "/extra/prerelease_specs.4.8.gz" do
|
15
|
+
File.read("#{gem_repo2}/prerelease_specs.4.8.gz")
|
16
|
+
end
|
17
|
+
|
14
18
|
get "/extra/quick/Marshal.4.8/:id" do
|
15
19
|
redirect "/extra/fetch/actual/gem/#{params[:id]}"
|
16
20
|
end
|
data/spec/support/builders.rb
CHANGED
data/spec/support/helpers.rb
CHANGED
@@ -148,7 +148,7 @@ module Spec
|
|
148
148
|
str = args.shift || ""
|
149
149
|
path.dirname.mkpath
|
150
150
|
File.open(path.to_s, 'w') do |f|
|
151
|
-
f.puts str
|
151
|
+
f.puts strip_whitespace(str)
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
@@ -156,13 +156,8 @@ module Spec
|
|
156
156
|
path = bundled_app("Gemfile.lock")
|
157
157
|
path = args.shift if Pathname === args.first
|
158
158
|
str = args.shift || ""
|
159
|
-
|
160
|
-
# Trim the leading spaces
|
161
|
-
spaces = str[/\A\s+/, 0] || ""
|
162
|
-
str.gsub!(/^#{spaces}/, '')
|
163
|
-
|
164
159
|
File.open(path.to_s, 'w') do |f|
|
165
|
-
f.puts str
|
160
|
+
f.puts strip_whitespace(str)
|
166
161
|
end
|
167
162
|
end
|
168
163
|
|
data/spec/support/indexes.rb
CHANGED
@@ -26,7 +26,7 @@ module Spec
|
|
26
26
|
def should_resolve_as(specs)
|
27
27
|
got = resolve
|
28
28
|
got = got.map { |s| s.full_name }.sort
|
29
|
-
got.
|
29
|
+
expect(got).to eq(specs.sort)
|
30
30
|
end
|
31
31
|
|
32
32
|
def should_conflict_on(names)
|
@@ -34,7 +34,7 @@ module Spec
|
|
34
34
|
got = resolve
|
35
35
|
flunk "The resolve succeeded with: #{got.map { |s| s.full_name }.sort.inspect}"
|
36
36
|
rescue Bundler::VersionConflict => e
|
37
|
-
Array(names).sort.
|
37
|
+
expect(Array(names).sort).to eq(e.conflicts.sort)
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
@@ -109,4 +109,4 @@ module Spec
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
end
|
112
|
-
end
|
112
|
+
end
|
data/spec/support/matchers.rb
CHANGED
@@ -35,8 +35,8 @@ module Spec
|
|
35
35
|
version_const = name == 'bundler' ? 'Bundler::VERSION' : Spec::Builders.constantize(name)
|
36
36
|
run "require '#{name}.rb'; puts #{version_const}", *groups
|
37
37
|
actual_version, actual_platform = out.split(/\s+/)
|
38
|
-
Gem::Version.new(actual_version).
|
39
|
-
actual_platform.
|
38
|
+
expect(Gem::Version.new(actual_version)).to eq(Gem::Version.new(version))
|
39
|
+
expect(actual_platform).to eq(platform)
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
@@ -56,22 +56,22 @@ module Spec
|
|
56
56
|
end
|
57
57
|
R
|
58
58
|
if version.nil? || out == "WIN"
|
59
|
-
out.
|
59
|
+
expect(out).to eq("WIN")
|
60
60
|
else
|
61
|
-
Gem::Version.new(out).
|
61
|
+
expect(Gem::Version.new(out)).not_to eq(Gem::Version.new(version))
|
62
62
|
end
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
def should_be_locked
|
67
|
-
bundled_app("Gemfile.lock").
|
67
|
+
expect(bundled_app("Gemfile.lock")).to exist
|
68
68
|
end
|
69
69
|
|
70
70
|
def lockfile_should_be(expected)
|
71
71
|
should_be_locked
|
72
72
|
spaces = expected[/\A\s+/, 0] || ""
|
73
73
|
expected.gsub!(/^#{spaces}/, '')
|
74
|
-
bundled_app("Gemfile.lock").read.
|
74
|
+
expect(bundled_app("Gemfile.lock").read).to eq(expected)
|
75
75
|
end
|
76
76
|
end
|
77
77
|
end
|
data/spec/update/gems_spec.rb
CHANGED
@@ -29,19 +29,19 @@ describe "bundle update" do
|
|
29
29
|
exit!
|
30
30
|
G
|
31
31
|
bundle "update"
|
32
|
-
bundled_app("Gemfile.lock").
|
32
|
+
expect(bundled_app("Gemfile.lock")).to exist
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
36
|
describe "--quiet argument" do
|
37
37
|
it 'shows UI messages without --quiet argument' do
|
38
38
|
bundle "update"
|
39
|
-
out.
|
39
|
+
expect(out).to include("Fetching source")
|
40
40
|
end
|
41
41
|
|
42
42
|
it 'does not show UI messages with --quiet argument' do
|
43
43
|
bundle "update --quiet"
|
44
|
-
out.
|
44
|
+
expect(out).not_to include("Fetching source")
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -56,12 +56,23 @@ describe "bundle update" do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe "with a unknown dependency" do
|
60
|
+
it "should inform the user" do
|
61
|
+
bundle "update halting-problem-solver", :expect_err=>true
|
62
|
+
expect(out).to include "Could not find gem 'halting-problem-solver'"
|
63
|
+
end
|
64
|
+
it "should suggest alternatives" do
|
65
|
+
bundle "update active-support", :expect_err=>true
|
66
|
+
expect(out).to include "Did you mean activesupport?"
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
59
70
|
describe "with --local option" do
|
60
71
|
it "doesn't hit repo2" do
|
61
72
|
FileUtils.rm_rf(gem_repo2)
|
62
73
|
|
63
74
|
bundle "update --local"
|
64
|
-
out.
|
75
|
+
expect(out).not_to match(/Fetching source index/)
|
65
76
|
end
|
66
77
|
end
|
67
78
|
end
|
@@ -122,13 +133,13 @@ describe "bundle update when a gem depends on a newer version of bundler" do
|
|
122
133
|
|
123
134
|
it "should not explode" do
|
124
135
|
bundle "update"
|
125
|
-
err.
|
136
|
+
expect(err).to be_empty
|
126
137
|
end
|
127
138
|
|
128
139
|
it "should explain that bundler conflicted" do
|
129
140
|
bundle "update"
|
130
|
-
out.
|
131
|
-
out.
|
132
|
-
out.
|
141
|
+
expect(out).not_to match(/in snapshot/i)
|
142
|
+
expect(out).to match(/current Bundler version/i)
|
143
|
+
expect(out).to match(/perhaps you need to update bundler/i)
|
133
144
|
end
|
134
145
|
end
|
data/spec/update/git_spec.rb
CHANGED
@@ -32,7 +32,7 @@ describe "bundle update" do
|
|
32
32
|
G
|
33
33
|
|
34
34
|
bundle "update rails"
|
35
|
-
out.
|
35
|
+
expect(out).to include("Using activesupport (3.0) from #{lib_path('rails')} (at master)")
|
36
36
|
should_be_installed "rails 3.0", "activesupport 3.0"
|
37
37
|
end
|
38
38
|
|
@@ -89,9 +89,9 @@ describe "bundle update" do
|
|
89
89
|
gem "foo", "1.0", :git => "#{lib_path('foo_two')}"
|
90
90
|
G
|
91
91
|
|
92
|
-
err.
|
93
|
-
out.
|
94
|
-
out.
|
92
|
+
expect(err).to be_empty
|
93
|
+
expect(out).to include("Fetching #{lib_path}/foo_two")
|
94
|
+
expect(out).to include("Your bundle is complete!")
|
95
95
|
end
|
96
96
|
|
97
97
|
|
@@ -114,7 +114,7 @@ describe "bundle update" do
|
|
114
114
|
G
|
115
115
|
|
116
116
|
bundle "update", :exitstatus => true
|
117
|
-
exitstatus.
|
117
|
+
expect(exitstatus).to eq(0)
|
118
118
|
end
|
119
119
|
|
120
120
|
describe "with submodules" do
|
@@ -145,7 +145,7 @@ describe "bundle update" do
|
|
145
145
|
G
|
146
146
|
|
147
147
|
run "require 'submodule'"
|
148
|
-
out.
|
148
|
+
expect(out).to eq('GEM')
|
149
149
|
|
150
150
|
install_gemfile <<-G
|
151
151
|
git "#{lib_path('has_submodule-1.0')}", :submodules => true do
|
@@ -154,7 +154,7 @@ describe "bundle update" do
|
|
154
154
|
G
|
155
155
|
|
156
156
|
run "require 'submodule'"
|
157
|
-
out.
|
157
|
+
expect(out).to eq('GIT')
|
158
158
|
end
|
159
159
|
|
160
160
|
it "it unlocks the source when submodules is removed from git source" do
|
@@ -166,7 +166,7 @@ describe "bundle update" do
|
|
166
166
|
G
|
167
167
|
|
168
168
|
run "require 'submodule'"
|
169
|
-
out.
|
169
|
+
expect(out).to eq('GIT')
|
170
170
|
|
171
171
|
install_gemfile <<-G
|
172
172
|
git "#{lib_path('has_submodule-1.0')}" do
|
@@ -175,7 +175,7 @@ describe "bundle update" do
|
|
175
175
|
G
|
176
176
|
|
177
177
|
run "require 'submodule'"
|
178
|
-
out.
|
178
|
+
expect(out).to eq('GEM')
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
@@ -189,7 +189,7 @@ describe "bundle update" do
|
|
189
189
|
lib_path("foo-1.0").join(".git").rmtree
|
190
190
|
|
191
191
|
bundle :update, :expect_err => true
|
192
|
-
out.
|
192
|
+
expect(out).to include(lib_path("foo-1.0").to_s)
|
193
193
|
end
|
194
194
|
|
195
195
|
end
|
data/spec/update/source_spec.rb
CHANGED
metadata
CHANGED
@@ -1,64 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: true
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
- pre
|
10
|
+
version: 1.3.0.pre
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
12
|
+
authors:
|
13
|
+
- "Andr\xC3\xA9 Arko"
|
9
14
|
- Terence Lee
|
10
15
|
- Carl Lerche
|
11
16
|
- Yehuda Katz
|
12
17
|
autorequire:
|
13
18
|
bindir: bin
|
14
19
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
20
|
+
|
21
|
+
date: 2012-11-30 00:00:00 -08:00
|
22
|
+
default_executable:
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
18
25
|
name: ronn
|
19
|
-
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
|
-
requirements:
|
22
|
-
- - ! '>='
|
23
|
-
- !ruby/object:Gem::Version
|
24
|
-
version: '0'
|
25
|
-
type: :development
|
26
26
|
prerelease: false
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
name: rspec
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
version: "0"
|
41
34
|
type: :development
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rspec
|
42
38
|
prerelease: false
|
43
|
-
|
44
|
-
|
45
|
-
requirements:
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
46
41
|
- - ~>
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 2
|
45
|
+
- 11
|
46
|
+
version: "2.11"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id002
|
49
|
+
description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
|
50
|
+
email:
|
52
51
|
- andre@arko.net
|
53
|
-
executables:
|
52
|
+
executables:
|
54
53
|
- bundle
|
55
54
|
extensions: []
|
55
|
+
|
56
56
|
extra_rdoc_files: []
|
57
|
-
|
57
|
+
|
58
|
+
files:
|
58
59
|
- .gitignore
|
59
|
-
- .rspec
|
60
60
|
- .travis.yml
|
61
61
|
- CHANGELOG.md
|
62
|
+
- CONTRIBUTE.md
|
62
63
|
- ISSUES.md
|
63
64
|
- LICENSE
|
64
65
|
- README.md
|
@@ -73,6 +74,7 @@ files:
|
|
73
74
|
- lib/bundler/dep_proxy.rb
|
74
75
|
- lib/bundler/dependency.rb
|
75
76
|
- lib/bundler/deployment.rb
|
77
|
+
- lib/bundler/deprecate.rb
|
76
78
|
- lib/bundler/dsl.rb
|
77
79
|
- lib/bundler/endpoint_specification.rb
|
78
80
|
- lib/bundler/environment.rb
|
@@ -85,6 +87,7 @@ files:
|
|
85
87
|
- lib/bundler/gem_tasks.rb
|
86
88
|
- lib/bundler/graph.rb
|
87
89
|
- lib/bundler/index.rb
|
90
|
+
- lib/bundler/injector.rb
|
88
91
|
- lib/bundler/installer.rb
|
89
92
|
- lib/bundler/lazy_specification.rb
|
90
93
|
- lib/bundler/lockfile_parser.rb
|
@@ -99,7 +102,13 @@ files:
|
|
99
102
|
- lib/bundler/settings.rb
|
100
103
|
- lib/bundler/setup.rb
|
101
104
|
- lib/bundler/shared_helpers.rb
|
105
|
+
- lib/bundler/similarity_detector.rb
|
102
106
|
- lib/bundler/source.rb
|
107
|
+
- lib/bundler/source/git.rb
|
108
|
+
- lib/bundler/source/git/git_proxy.rb
|
109
|
+
- lib/bundler/source/path.rb
|
110
|
+
- lib/bundler/source/path/installer.rb
|
111
|
+
- lib/bundler/source/rubygems.rb
|
103
112
|
- lib/bundler/spec_set.rb
|
104
113
|
- lib/bundler/templates/Executable
|
105
114
|
- lib/bundler/templates/Executable.standalone
|
@@ -113,7 +122,13 @@ files:
|
|
113
122
|
- lib/bundler/templates/newgem/lib/newgem.rb.tt
|
114
123
|
- lib/bundler/templates/newgem/lib/newgem/version.rb.tt
|
115
124
|
- lib/bundler/templates/newgem/newgem.gemspec.tt
|
125
|
+
- lib/bundler/templates/newgem/rspec.tt
|
126
|
+
- lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
|
127
|
+
- lib/bundler/templates/newgem/spec/spec_helper.rb.tt
|
128
|
+
- lib/bundler/templates/newgem/test/minitest_helper.rb.tt
|
129
|
+
- lib/bundler/templates/newgem/test/test_newgem.rb.tt
|
116
130
|
- lib/bundler/ui.rb
|
131
|
+
- lib/bundler/vendor/.document
|
117
132
|
- lib/bundler/vendor/net/http/faster.rb
|
118
133
|
- lib/bundler/vendor/net/http/persistent.rb
|
119
134
|
- lib/bundler/vendor/thor.rb
|
@@ -160,6 +175,7 @@ files:
|
|
160
175
|
- man/gemfile.5.ronn
|
161
176
|
- man/index.txt
|
162
177
|
- spec/bundler/bundler_spec.rb
|
178
|
+
- spec/bundler/cli_rspec.rb
|
163
179
|
- spec/bundler/definition_spec.rb
|
164
180
|
- spec/bundler/dsl_spec.rb
|
165
181
|
- spec/bundler/gem_helper_spec.rb
|
@@ -188,6 +204,7 @@ files:
|
|
188
204
|
- spec/install/invalid_spec.rb
|
189
205
|
- spec/install/path_spec.rb
|
190
206
|
- spec/install/upgrade_spec.rb
|
207
|
+
- spec/integration/inject.rb
|
191
208
|
- spec/lock/git_spec.rb
|
192
209
|
- spec/lock/lockfile_spec.rb
|
193
210
|
- spec/other/check_spec.rb
|
@@ -204,6 +221,7 @@ files:
|
|
204
221
|
- spec/other/platform_spec.rb
|
205
222
|
- spec/other/show_spec.rb
|
206
223
|
- spec/quality_spec.rb
|
224
|
+
- spec/realworld/dependency_api_spec.rb
|
207
225
|
- spec/realworld/edgecases_spec.rb
|
208
226
|
- spec/resolver/basic_spec.rb
|
209
227
|
- spec/resolver/platform_spec.rb
|
@@ -256,32 +274,43 @@ files:
|
|
256
274
|
- lib/bundler/man/bundle.txt
|
257
275
|
- lib/bundler/man/gemfile.5
|
258
276
|
- lib/bundler/man/gemfile.5.txt
|
277
|
+
has_rdoc: true
|
259
278
|
homepage: http://gembundler.com
|
260
|
-
licenses:
|
279
|
+
licenses:
|
280
|
+
- MIT
|
261
281
|
post_install_message:
|
262
282
|
rdoc_options: []
|
263
|
-
|
283
|
+
|
284
|
+
require_paths:
|
264
285
|
- lib
|
265
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
286
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
287
|
+
requirements:
|
288
|
+
- - ">="
|
289
|
+
- !ruby/object:Gem::Version
|
290
|
+
segments:
|
291
|
+
- 1
|
292
|
+
- 8
|
293
|
+
- 7
|
270
294
|
version: 1.8.7
|
271
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
295
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
segments:
|
300
|
+
- 1
|
301
|
+
- 3
|
302
|
+
- 6
|
276
303
|
version: 1.3.6
|
277
304
|
requirements: []
|
305
|
+
|
278
306
|
rubyforge_project: bundler
|
279
|
-
rubygems_version: 1.
|
307
|
+
rubygems_version: 1.3.6
|
280
308
|
signing_key:
|
281
309
|
specification_version: 3
|
282
310
|
summary: The best way to manage your application's dependencies
|
283
|
-
test_files:
|
311
|
+
test_files:
|
284
312
|
- spec/bundler/bundler_spec.rb
|
313
|
+
- spec/bundler/cli_rspec.rb
|
285
314
|
- spec/bundler/definition_spec.rb
|
286
315
|
- spec/bundler/dsl_spec.rb
|
287
316
|
- spec/bundler/gem_helper_spec.rb
|
@@ -310,6 +339,7 @@ test_files:
|
|
310
339
|
- spec/install/invalid_spec.rb
|
311
340
|
- spec/install/path_spec.rb
|
312
341
|
- spec/install/upgrade_spec.rb
|
342
|
+
- spec/integration/inject.rb
|
313
343
|
- spec/lock/git_spec.rb
|
314
344
|
- spec/lock/lockfile_spec.rb
|
315
345
|
- spec/other/check_spec.rb
|
@@ -326,6 +356,7 @@ test_files:
|
|
326
356
|
- spec/other/platform_spec.rb
|
327
357
|
- spec/other/show_spec.rb
|
328
358
|
- spec/quality_spec.rb
|
359
|
+
- spec/realworld/dependency_api_spec.rb
|
329
360
|
- spec/realworld/edgecases_spec.rb
|
330
361
|
- spec/resolver/basic_spec.rb
|
331
362
|
- spec/resolver/platform_spec.rb
|