bundler 1.4.0.rc.1 → 1.5.0.rc.1
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/.travis.yml +18 -15
- data/CHANGELOG.md +23 -2
- data/Rakefile +3 -1
- data/bundler.gemspec +1 -1
- data/lib/bundler.rb +3 -2
- data/lib/bundler/capistrano.rb +1 -0
- data/lib/bundler/cli.rb +19 -5
- data/lib/bundler/definition.rb +6 -2
- data/lib/bundler/dsl.rb +7 -3
- data/lib/bundler/endpoint_specification.rb +1 -1
- data/lib/bundler/fetcher.rb +22 -41
- data/lib/bundler/installer.rb +1 -11
- data/lib/bundler/lazy_specification.rb +1 -1
- data/lib/bundler/parallel_workers/unix_worker.rb +6 -0
- data/lib/bundler/remote_specification.rb +1 -1
- data/lib/bundler/retry.rb +4 -3
- data/lib/bundler/ruby_version.rb +1 -1
- data/lib/bundler/rubygems_ext.rb +7 -2
- data/lib/bundler/rubygems_integration.rb +31 -30
- data/lib/bundler/settings.rb +21 -0
- data/lib/bundler/source.rb +13 -2
- data/lib/bundler/source/git/git_proxy.rb +1 -1
- data/lib/bundler/source/rubygems.rb +43 -13
- data/lib/bundler/templates/newgem/README.md.tt +1 -1
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -2
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-config.ronn +9 -0
- data/man/bundle-install.ronn +9 -5
- data/man/gemfile.5.ronn +6 -0
- data/spec/bundler/retry_spec.rb +26 -3
- data/spec/commands/config_spec.rb +14 -0
- data/spec/{integration/inject.rb → commands/inject_spec.rb} +0 -0
- data/spec/commands/newgem_spec.rb +2 -2
- data/spec/commands/outdated_spec.rb +17 -0
- data/spec/install/binstubs_spec.rb +24 -0
- data/spec/install/bundler_spec.rb +146 -0
- data/spec/install/{gemspec_spec.rb → gemfile/gemspec_spec.rb} +0 -0
- data/spec/install/{git_spec.rb → gemfile/git_spec.rb} +2 -2
- data/spec/install/gemfile/path_spec.rb +468 -0
- data/spec/install/gemfile_spec.rb +44 -0
- data/spec/install/gems/groups_spec.rb +236 -177
- data/spec/install/gems/mirror_spec.rb +39 -0
- data/spec/install/gems/platform_spec.rb +2 -14
- data/spec/install/gems/simple_case_spec.rb +1 -450
- data/spec/install/gemspecs_spec.rb +50 -0
- data/spec/install/path_spec.rb +91 -409
- data/spec/install/prereleases_spec.rb +43 -0
- data/spec/other/bundle_ruby_spec.rb +2 -2
- data/spec/other/ext_spec.rb +1 -1
- data/spec/other/platform_spec.rb +29 -2
- data/spec/realworld/parallel_install_spec.rb +2 -1
- data/spec/realworld/parallel_update_spec.rb +31 -0
- data/spec/runtime/platform_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/spec/support/{rubygems_hax/platform.rb → hax.rb} +0 -0
- metadata +110 -67
- checksums.yaml +0 -7
- data/spec/install/invalid_spec.rb +0 -50
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: fb8547f7f4ce966d51b5a24515f29bc0ca886024
|
4
|
-
data.tar.gz: d6cfae7abd77d42a01e2f123ed160004626fbf23
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: f7946e78153206d661eef232c12605a0a58ac317a4b30cf7ed9bf1bcc8a2f0cd4dfc60db6e485b2654a938bdc535ddcdb54a5eab9dd1abc92ad968e5de557042
|
7
|
-
data.tar.gz: e3f93c8eb32a8ffc4ed48dac5d366bdb36fa87de32da6a195f5dc45dec5dc5cbdec3c4739194a84b307370b0869774dcda4044c25efa0b906877ba9b72b6bfc1
|
@@ -1,50 +0,0 @@
|
|
1
|
-
require "spec_helper"
|
2
|
-
|
3
|
-
describe "bundle install with deprecated features" do
|
4
|
-
before :each do
|
5
|
-
in_app_root
|
6
|
-
end
|
7
|
-
|
8
|
-
it "reports that lib is an invalid option" do
|
9
|
-
gemfile <<-G
|
10
|
-
gem "rack", :lib => "rack"
|
11
|
-
G
|
12
|
-
|
13
|
-
bundle :install
|
14
|
-
expect(out).to match(/You passed :lib as an option for gem 'rack', but it is invalid/)
|
15
|
-
end
|
16
|
-
|
17
|
-
end
|
18
|
-
|
19
|
-
describe "bundle install to a dead symlink" do
|
20
|
-
before do
|
21
|
-
in_app_root do
|
22
|
-
`ln -s /tmp/idontexist bundle`
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
it "reports the symlink is dead" do
|
27
|
-
gemfile <<-G
|
28
|
-
source "file://#{gem_repo1}"
|
29
|
-
gem "rack"
|
30
|
-
G
|
31
|
-
|
32
|
-
bundle "install --path bundle"
|
33
|
-
expect(out).to match(/invalid symlink/)
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
describe "invalid or inaccessible gem source" do
|
38
|
-
it "can be retried" do
|
39
|
-
gemfile <<-G
|
40
|
-
source "file://#{gem_repo_missing}"
|
41
|
-
gem "rack"
|
42
|
-
gem "signed_gem"
|
43
|
-
G
|
44
|
-
bundle "install", :retry => 2
|
45
|
-
exp = Regexp.escape("Retrying source fetch due to error (2/3)")
|
46
|
-
expect(out).to match(exp)
|
47
|
-
exp = Regexp.escape("Retrying source fetch due to error (3/3)")
|
48
|
-
expect(out).to match(exp)
|
49
|
-
end
|
50
|
-
end
|