bundler 1.4.0.rc.1 → 1.5.0.rc.1

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.

Files changed (58) hide show
  1. data/.travis.yml +18 -15
  2. data/CHANGELOG.md +23 -2
  3. data/Rakefile +3 -1
  4. data/bundler.gemspec +1 -1
  5. data/lib/bundler.rb +3 -2
  6. data/lib/bundler/capistrano.rb +1 -0
  7. data/lib/bundler/cli.rb +19 -5
  8. data/lib/bundler/definition.rb +6 -2
  9. data/lib/bundler/dsl.rb +7 -3
  10. data/lib/bundler/endpoint_specification.rb +1 -1
  11. data/lib/bundler/fetcher.rb +22 -41
  12. data/lib/bundler/installer.rb +1 -11
  13. data/lib/bundler/lazy_specification.rb +1 -1
  14. data/lib/bundler/parallel_workers/unix_worker.rb +6 -0
  15. data/lib/bundler/remote_specification.rb +1 -1
  16. data/lib/bundler/retry.rb +4 -3
  17. data/lib/bundler/ruby_version.rb +1 -1
  18. data/lib/bundler/rubygems_ext.rb +7 -2
  19. data/lib/bundler/rubygems_integration.rb +31 -30
  20. data/lib/bundler/settings.rb +21 -0
  21. data/lib/bundler/source.rb +13 -2
  22. data/lib/bundler/source/git/git_proxy.rb +1 -1
  23. data/lib/bundler/source/rubygems.rb +43 -13
  24. data/lib/bundler/templates/newgem/README.md.tt +1 -1
  25. data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -2
  26. data/lib/bundler/version.rb +1 -1
  27. data/man/bundle-config.ronn +9 -0
  28. data/man/bundle-install.ronn +9 -5
  29. data/man/gemfile.5.ronn +6 -0
  30. data/spec/bundler/retry_spec.rb +26 -3
  31. data/spec/commands/config_spec.rb +14 -0
  32. data/spec/{integration/inject.rb → commands/inject_spec.rb} +0 -0
  33. data/spec/commands/newgem_spec.rb +2 -2
  34. data/spec/commands/outdated_spec.rb +17 -0
  35. data/spec/install/binstubs_spec.rb +24 -0
  36. data/spec/install/bundler_spec.rb +146 -0
  37. data/spec/install/{gemspec_spec.rb → gemfile/gemspec_spec.rb} +0 -0
  38. data/spec/install/{git_spec.rb → gemfile/git_spec.rb} +2 -2
  39. data/spec/install/gemfile/path_spec.rb +468 -0
  40. data/spec/install/gemfile_spec.rb +44 -0
  41. data/spec/install/gems/groups_spec.rb +236 -177
  42. data/spec/install/gems/mirror_spec.rb +39 -0
  43. data/spec/install/gems/platform_spec.rb +2 -14
  44. data/spec/install/gems/simple_case_spec.rb +1 -450
  45. data/spec/install/gemspecs_spec.rb +50 -0
  46. data/spec/install/path_spec.rb +91 -409
  47. data/spec/install/prereleases_spec.rb +43 -0
  48. data/spec/other/bundle_ruby_spec.rb +2 -2
  49. data/spec/other/ext_spec.rb +1 -1
  50. data/spec/other/platform_spec.rb +29 -2
  51. data/spec/realworld/parallel_install_spec.rb +2 -1
  52. data/spec/realworld/parallel_update_spec.rb +31 -0
  53. data/spec/runtime/platform_spec.rb +2 -2
  54. data/spec/spec_helper.rb +2 -2
  55. data/spec/support/{rubygems_hax/platform.rb → hax.rb} +0 -0
  56. metadata +110 -67
  57. checksums.yaml +0 -7
  58. 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