bundler-prehistoric 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/.travis.yml +100 -0
- data/CHANGELOG.md +1640 -0
- data/CONTRIBUTING.md +32 -0
- data/DEVELOPMENT.md +117 -0
- data/Gemfile +3 -0
- data/ISSUES.md +96 -0
- data/LICENSE.md +23 -0
- data/README.md +46 -0
- data/Rakefile +256 -0
- data/UPGRADING.md +103 -0
- data/bin/bundle +21 -0
- data/bin/bundle_ruby +56 -0
- data/bin/bundler +21 -0
- data/bundler.gemspec +33 -0
- data/lib/bundler.rb +442 -0
- data/lib/bundler/backports/time.rb +7 -0
- data/lib/bundler/capistrano.rb +16 -0
- data/lib/bundler/cli.rb +395 -0
- data/lib/bundler/cli/binstubs.rb +38 -0
- data/lib/bundler/cli/cache.rb +34 -0
- data/lib/bundler/cli/check.rb +35 -0
- data/lib/bundler/cli/clean.rb +19 -0
- data/lib/bundler/cli/common.rb +54 -0
- data/lib/bundler/cli/config.rb +84 -0
- data/lib/bundler/cli/console.rb +39 -0
- data/lib/bundler/cli/exec.rb +37 -0
- data/lib/bundler/cli/gem.rb +101 -0
- data/lib/bundler/cli/init.rb +33 -0
- data/lib/bundler/cli/inject.rb +33 -0
- data/lib/bundler/cli/install.rb +133 -0
- data/lib/bundler/cli/open.rb +23 -0
- data/lib/bundler/cli/outdated.rb +80 -0
- data/lib/bundler/cli/package.rb +36 -0
- data/lib/bundler/cli/platform.rb +43 -0
- data/lib/bundler/cli/show.rb +48 -0
- data/lib/bundler/cli/update.rb +73 -0
- data/lib/bundler/cli/viz.rb +27 -0
- data/lib/bundler/constants.rb +5 -0
- data/lib/bundler/current_ruby.rb +155 -0
- data/lib/bundler/definition.rb +604 -0
- data/lib/bundler/dep_proxy.rb +43 -0
- data/lib/bundler/dependency.rb +106 -0
- data/lib/bundler/deployment.rb +59 -0
- data/lib/bundler/deprecate.rb +15 -0
- data/lib/bundler/dsl.rb +305 -0
- data/lib/bundler/endpoint_specification.rb +76 -0
- data/lib/bundler/env.rb +56 -0
- data/lib/bundler/environment.rb +42 -0
- data/lib/bundler/fetcher.rb +396 -0
- data/lib/bundler/friendly_errors.rb +42 -0
- data/lib/bundler/gem_helper.rb +169 -0
- data/lib/bundler/gem_helpers.rb +25 -0
- data/lib/bundler/gem_installer.rb +9 -0
- data/lib/bundler/gem_path_manipulation.rb +8 -0
- data/lib/bundler/gem_tasks.rb +2 -0
- data/lib/bundler/graph.rb +169 -0
- data/lib/bundler/index.rb +184 -0
- data/lib/bundler/injector.rb +64 -0
- data/lib/bundler/installer.rb +332 -0
- data/lib/bundler/lazy_specification.rb +83 -0
- data/lib/bundler/lockfile_parser.rb +146 -0
- data/lib/bundler/match_platform.rb +13 -0
- data/lib/bundler/parallel_workers.rb +18 -0
- data/lib/bundler/parallel_workers/thread_worker.rb +30 -0
- data/lib/bundler/parallel_workers/unix_worker.rb +101 -0
- data/lib/bundler/parallel_workers/worker.rb +69 -0
- data/lib/bundler/psyched_yaml.rb +26 -0
- data/lib/bundler/remote_specification.rb +57 -0
- data/lib/bundler/resolver.rb +534 -0
- data/lib/bundler/retry.rb +60 -0
- data/lib/bundler/ruby_dsl.rb +11 -0
- data/lib/bundler/ruby_version.rb +117 -0
- data/lib/bundler/rubygems_ext.rb +171 -0
- data/lib/bundler/rubygems_integration.rb +578 -0
- data/lib/bundler/runtime.rb +310 -0
- data/lib/bundler/settings.rb +176 -0
- data/lib/bundler/setup.rb +23 -0
- data/lib/bundler/shared_helpers.rb +110 -0
- data/lib/bundler/similarity_detector.rb +63 -0
- data/lib/bundler/source.rb +29 -0
- data/lib/bundler/source/git.rb +289 -0
- data/lib/bundler/source/git/git_proxy.rb +158 -0
- data/lib/bundler/source/path.rb +225 -0
- data/lib/bundler/source/path/installer.rb +38 -0
- data/lib/bundler/source/rubygems.rb +334 -0
- data/lib/bundler/source/svn.rb +260 -0
- data/lib/bundler/source/svn/svn_proxy.rb +110 -0
- data/lib/bundler/spec_set.rb +154 -0
- data/lib/bundler/ssl_certs/.document +1 -0
- data/lib/bundler/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +14 -0
- data/lib/bundler/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +23 -0
- data/lib/bundler/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +28 -0
- data/lib/bundler/ssl_certs/GeoTrustGlobalCA.pem +20 -0
- data/lib/bundler/ssl_certs/certificate_manager.rb +41 -0
- data/lib/bundler/templates/Executable +16 -0
- data/lib/bundler/templates/Executable.standalone +12 -0
- data/lib/bundler/templates/Gemfile +4 -0
- data/lib/bundler/templates/newgem/.travis.yml.tt +3 -0
- data/lib/bundler/templates/newgem/Gemfile.tt +4 -0
- data/lib/bundler/templates/newgem/LICENSE.txt.tt +22 -0
- data/lib/bundler/templates/newgem/README.md.tt +31 -0
- data/lib/bundler/templates/newgem/Rakefile.tt +26 -0
- data/lib/bundler/templates/newgem/bin/newgem.tt +3 -0
- data/lib/bundler/templates/newgem/consolerc.tt +3 -0
- data/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +3 -0
- data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
- data/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
- data/lib/bundler/templates/newgem/gitignore.tt +16 -0
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +12 -0
- data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +7 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +38 -0
- data/lib/bundler/templates/newgem/rspec.tt +2 -0
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -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 +7 -0
- data/lib/bundler/ui/rg_proxy.rb +21 -0
- data/lib/bundler/ui/shell.rb +98 -0
- data/lib/bundler/ui/silent.rb +44 -0
- data/lib/bundler/vendor/.document +0 -0
- data/lib/bundler/vendor/net/http/faster.rb +26 -0
- data/lib/bundler/vendor/net/http/persistent.rb +1230 -0
- data/lib/bundler/vendor/net/http/persistent/ssl_reuse.rb +128 -0
- data/lib/bundler/vendor/thor.rb +480 -0
- data/lib/bundler/vendor/thor/actions.rb +319 -0
- data/lib/bundler/vendor/thor/actions/create_file.rb +103 -0
- data/lib/bundler/vendor/thor/actions/create_link.rb +59 -0
- data/lib/bundler/vendor/thor/actions/directory.rb +118 -0
- data/lib/bundler/vendor/thor/actions/empty_directory.rb +135 -0
- data/lib/bundler/vendor/thor/actions/file_manipulation.rb +316 -0
- data/lib/bundler/vendor/thor/actions/inject_into_file.rb +107 -0
- data/lib/bundler/vendor/thor/base.rb +656 -0
- data/lib/bundler/vendor/thor/command.rb +133 -0
- data/lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb +77 -0
- data/lib/bundler/vendor/thor/core_ext/io_binary_read.rb +10 -0
- data/lib/bundler/vendor/thor/core_ext/ordered_hash.rb +98 -0
- data/lib/bundler/vendor/thor/error.rb +32 -0
- data/lib/bundler/vendor/thor/group.rb +281 -0
- data/lib/bundler/vendor/thor/invocation.rb +173 -0
- data/lib/bundler/vendor/thor/line_editor.rb +17 -0
- data/lib/bundler/vendor/thor/line_editor/basic.rb +35 -0
- data/lib/bundler/vendor/thor/line_editor/readline.rb +88 -0
- data/lib/bundler/vendor/thor/parser.rb +4 -0
- data/lib/bundler/vendor/thor/parser/argument.rb +73 -0
- data/lib/bundler/vendor/thor/parser/arguments.rb +175 -0
- data/lib/bundler/vendor/thor/parser/option.rb +121 -0
- data/lib/bundler/vendor/thor/parser/options.rb +218 -0
- data/lib/bundler/vendor/thor/rake_compat.rb +71 -0
- data/lib/bundler/vendor/thor/runner.rb +322 -0
- data/lib/bundler/vendor/thor/shell.rb +81 -0
- data/lib/bundler/vendor/thor/shell/basic.rb +420 -0
- data/lib/bundler/vendor/thor/shell/color.rb +149 -0
- data/lib/bundler/vendor/thor/shell/html.rb +126 -0
- data/lib/bundler/vendor/thor/util.rb +267 -0
- data/lib/bundler/vendor/thor/version.rb +3 -0
- data/lib/bundler/vendored_persistent.rb +3 -0
- data/lib/bundler/vendored_thor.rb +8 -0
- data/lib/bundler/version.rb +6 -0
- data/lib/bundler/vlad.rb +11 -0
- data/man/bundle-config.ronn +155 -0
- data/man/bundle-exec.ronn +136 -0
- data/man/bundle-install.ronn +372 -0
- data/man/bundle-package.ronn +59 -0
- data/man/bundle-platform.ronn +42 -0
- data/man/bundle-update.ronn +179 -0
- data/man/bundle.ronn +92 -0
- data/man/gemfile.5.ronn +369 -0
- data/man/index.txt +7 -0
- data/spec/bundler/bundler_spec.rb +74 -0
- data/spec/bundler/cli_spec.rb +16 -0
- data/spec/bundler/definition_spec.rb +21 -0
- data/spec/bundler/dsl_spec.rb +108 -0
- data/spec/bundler/friendly_errors_spec.rb +13 -0
- data/spec/bundler/gem_helper_spec.rb +225 -0
- data/spec/bundler/psyched_yaml_spec.rb +8 -0
- data/spec/bundler/retry_spec.rb +59 -0
- data/spec/bundler/settings_spec.rb +13 -0
- data/spec/bundler/source_spec.rb +25 -0
- data/spec/cache/gems_spec.rb +316 -0
- data/spec/cache/git_spec.rb +188 -0
- data/spec/cache/path_spec.rb +121 -0
- data/spec/cache/platform_spec.rb +53 -0
- data/spec/cache/svn_spec.rb +82 -0
- data/spec/commands/binstubs_spec.rb +246 -0
- data/spec/commands/check_spec.rb +278 -0
- data/spec/commands/clean_spec.rb +652 -0
- data/spec/commands/config_spec.rb +227 -0
- data/spec/commands/console_spec.rb +102 -0
- data/spec/commands/exec_spec.rb +367 -0
- data/spec/commands/help_spec.rb +39 -0
- data/spec/commands/init_spec.rb +39 -0
- data/spec/commands/inject_spec.rb +78 -0
- data/spec/commands/licenses_spec.rb +31 -0
- data/spec/commands/newgem_spec.rb +451 -0
- data/spec/commands/open_spec.rb +80 -0
- data/spec/commands/outdated_spec.rb +168 -0
- data/spec/commands/package_spec.rb +128 -0
- data/spec/commands/show_spec.rb +152 -0
- data/spec/install/binstubs_spec.rb +24 -0
- data/spec/install/bundler_spec.rb +146 -0
- data/spec/install/deploy_spec.rb +237 -0
- data/spec/install/gemfile/gemspec_spec.rb +170 -0
- data/spec/install/gemfile/git_spec.rb +967 -0
- data/spec/install/gemfile/path_spec.rb +480 -0
- data/spec/install/gemfile/svn_spec.rb +582 -0
- data/spec/install/gemfile_spec.rb +44 -0
- data/spec/install/gems/c_ext_spec.rb +48 -0
- data/spec/install/gems/dependency_api_spec.rb +580 -0
- data/spec/install/gems/env_spec.rb +107 -0
- data/spec/install/gems/flex_spec.rb +314 -0
- data/spec/install/gems/groups_spec.rb +308 -0
- data/spec/install/gems/mirror_spec.rb +39 -0
- data/spec/install/gems/platform_spec.rb +221 -0
- data/spec/install/gems/post_install_spec.rb +121 -0
- data/spec/install/gems/resolving_spec.rb +124 -0
- data/spec/install/gems/simple_case_spec.rb +386 -0
- data/spec/install/gems/standalone_spec.rb +260 -0
- data/spec/install/gems/sudo_spec.rb +136 -0
- data/spec/install/gems/win32_spec.rb +26 -0
- data/spec/install/gemspecs_spec.rb +50 -0
- data/spec/install/path_spec.rb +150 -0
- data/spec/install/post_bundle_message_spec.rb +142 -0
- data/spec/install/prereleases_spec.rb +43 -0
- data/spec/install/security_policy_spec.rb +77 -0
- data/spec/install/upgrade_spec.rb +26 -0
- data/spec/lock/git_spec.rb +34 -0
- data/spec/lock/lockfile_spec.rb +912 -0
- data/spec/lock/svn_spec.rb +35 -0
- data/spec/other/bundle_ruby_spec.rb +142 -0
- data/spec/other/cli_dispatch_spec.rb +21 -0
- data/spec/other/ext_spec.rb +60 -0
- data/spec/other/platform_spec.rb +1285 -0
- data/spec/other/ssl_cert_spec.rb +10 -0
- data/spec/quality_spec.rb +88 -0
- data/spec/realworld/dependency_api_spec.rb +60 -0
- data/spec/realworld/edgecases_spec.rb +177 -0
- data/spec/realworld/parallel_spec.rb +69 -0
- data/spec/resolver/basic_spec.rb +66 -0
- data/spec/resolver/platform_spec.rb +88 -0
- data/spec/runtime/executable_spec.rb +149 -0
- data/spec/runtime/load_spec.rb +107 -0
- data/spec/runtime/platform_spec.rb +90 -0
- data/spec/runtime/require_spec.rb +332 -0
- data/spec/runtime/setup_spec.rb +856 -0
- data/spec/runtime/with_clean_env_spec.rb +91 -0
- data/spec/spec_helper.rb +114 -0
- data/spec/support/artifice/endopint_marshal_fail_basic_authentication.rb +13 -0
- data/spec/support/artifice/endpoint.rb +71 -0
- data/spec/support/artifice/endpoint_500.rb +37 -0
- data/spec/support/artifice/endpoint_api_missing.rb +16 -0
- data/spec/support/artifice/endpoint_basic_authentication.rb +13 -0
- data/spec/support/artifice/endpoint_creds_diff_host.rb +38 -0
- data/spec/support/artifice/endpoint_extra.rb +31 -0
- data/spec/support/artifice/endpoint_extra_missing.rb +15 -0
- data/spec/support/artifice/endpoint_fallback.rb +17 -0
- data/spec/support/artifice/endpoint_host_redirect.rb +15 -0
- data/spec/support/artifice/endpoint_marshal_fail.rb +11 -0
- data/spec/support/artifice/endpoint_redirect.rb +15 -0
- data/spec/support/artifice/endpoint_strict_basic_authentication.rb +18 -0
- data/spec/support/artifice/endpoint_timeout.rb +13 -0
- data/spec/support/builders.rb +748 -0
- data/spec/support/fakeweb/rack-1.0.0.marshal +2 -0
- data/spec/support/fakeweb/windows.rb +23 -0
- data/spec/support/hax.rb +22 -0
- data/spec/support/helpers.rb +348 -0
- data/spec/support/indexes.rb +280 -0
- data/spec/support/less_than_proc.rb +14 -0
- data/spec/support/matchers.rb +77 -0
- data/spec/support/path.rb +81 -0
- data/spec/support/permissions.rb +10 -0
- data/spec/support/platforms.rb +94 -0
- data/spec/support/ruby_ext.rb +20 -0
- data/spec/support/rubygems_ext.rb +39 -0
- data/spec/support/streams.rb +13 -0
- data/spec/support/sudo.rb +16 -0
- data/spec/update/gems_spec.rb +201 -0
- data/spec/update/git_spec.rb +236 -0
- data/spec/update/source_spec.rb +63 -0
- data/spec/update/svn_spec.rb +100 -0
- metadata +486 -0
@@ -0,0 +1,236 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bundle update" do
|
4
|
+
describe "git sources" do
|
5
|
+
it "floats on a branch when :branch is used" do
|
6
|
+
build_git "foo", "1.0"
|
7
|
+
update_git "foo", :branch => "omg"
|
8
|
+
|
9
|
+
install_gemfile <<-G
|
10
|
+
git "#{lib_path('foo-1.0')}", :branch => "omg" do
|
11
|
+
gem 'foo'
|
12
|
+
end
|
13
|
+
G
|
14
|
+
|
15
|
+
update_git "foo", :branch => "omg" do |s|
|
16
|
+
s.write "lib/foo.rb", "FOO = '1.1'"
|
17
|
+
end
|
18
|
+
|
19
|
+
bundle "update"
|
20
|
+
|
21
|
+
should_be_installed "foo 1.1"
|
22
|
+
end
|
23
|
+
|
24
|
+
it "updates correctly when you have like craziness" do
|
25
|
+
build_lib "activesupport", "3.0", :path => lib_path("rails/activesupport")
|
26
|
+
build_git "rails", "3.0", :path => lib_path("rails") do |s|
|
27
|
+
s.add_dependency "activesupport", "= 3.0"
|
28
|
+
end
|
29
|
+
|
30
|
+
install_gemfile <<-G
|
31
|
+
gem "rails", :git => "#{lib_path('rails')}"
|
32
|
+
G
|
33
|
+
|
34
|
+
bundle "update rails"
|
35
|
+
expect(out).to include("Using activesupport 3.0 from #{lib_path('rails')} (at master)")
|
36
|
+
should_be_installed "rails 3.0", "activesupport 3.0"
|
37
|
+
end
|
38
|
+
|
39
|
+
it "floats on a branch when :branch is used and the source is specified in the update" do
|
40
|
+
build_git "foo", "1.0", :path => lib_path("foo")
|
41
|
+
update_git "foo", :branch => "omg", :path => lib_path("foo")
|
42
|
+
|
43
|
+
install_gemfile <<-G
|
44
|
+
git "#{lib_path('foo')}", :branch => "omg" do
|
45
|
+
gem 'foo'
|
46
|
+
end
|
47
|
+
G
|
48
|
+
|
49
|
+
update_git "foo", :branch => "omg", :path => lib_path("foo") do |s|
|
50
|
+
s.write "lib/foo.rb", "FOO = '1.1'"
|
51
|
+
end
|
52
|
+
|
53
|
+
bundle "update --source foo"
|
54
|
+
|
55
|
+
should_be_installed "foo 1.1"
|
56
|
+
end
|
57
|
+
|
58
|
+
it "floats on master when updating all gems that are pinned to the source even if you have child dependencies" do
|
59
|
+
build_git "foo", :path => lib_path('foo')
|
60
|
+
build_gem "bar", :to_system => true do |s|
|
61
|
+
s.add_dependency "foo"
|
62
|
+
end
|
63
|
+
|
64
|
+
install_gemfile <<-G
|
65
|
+
gem "foo", :git => "#{lib_path('foo')}"
|
66
|
+
gem "bar"
|
67
|
+
G
|
68
|
+
|
69
|
+
update_git "foo", :path => lib_path('foo') do |s|
|
70
|
+
s.write "lib/foo.rb", "FOO = '1.1'"
|
71
|
+
end
|
72
|
+
|
73
|
+
bundle "update foo"
|
74
|
+
|
75
|
+
should_be_installed "foo 1.1"
|
76
|
+
end
|
77
|
+
|
78
|
+
it "notices when you change the repo url in the Gemfile" do
|
79
|
+
build_git "foo", :path => lib_path("foo_one")
|
80
|
+
build_git "foo", :path => lib_path("foo_two")
|
81
|
+
|
82
|
+
install_gemfile <<-G
|
83
|
+
gem "foo", "1.0", :git => "#{lib_path('foo_one')}"
|
84
|
+
G
|
85
|
+
|
86
|
+
FileUtils.rm_rf lib_path("foo_one")
|
87
|
+
|
88
|
+
install_gemfile <<-G
|
89
|
+
gem "foo", "1.0", :git => "#{lib_path('foo_two')}"
|
90
|
+
G
|
91
|
+
|
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
|
+
end
|
96
|
+
|
97
|
+
|
98
|
+
it "fetches tags from the remote" do
|
99
|
+
build_git "foo"
|
100
|
+
@remote = build_git("bar", :bare => true)
|
101
|
+
update_git "foo", :remote => @remote.path
|
102
|
+
update_git "foo", :push => "master"
|
103
|
+
|
104
|
+
install_gemfile <<-G
|
105
|
+
gem 'foo', :git => "#{@remote.path}"
|
106
|
+
G
|
107
|
+
|
108
|
+
# Create a new tag on the remote that needs fetching
|
109
|
+
update_git "foo", :tag => "fubar"
|
110
|
+
update_git "foo", :push => "fubar"
|
111
|
+
|
112
|
+
gemfile <<-G
|
113
|
+
gem 'foo', :git => "#{@remote.path}", :tag => "fubar"
|
114
|
+
G
|
115
|
+
|
116
|
+
bundle "update", :exitstatus => true
|
117
|
+
expect(exitstatus).to eq(0)
|
118
|
+
end
|
119
|
+
|
120
|
+
describe "with submodules" do
|
121
|
+
before :each do
|
122
|
+
build_gem "submodule", :to_system => true do |s|
|
123
|
+
s.write "lib/submodule.rb", "puts 'GEM'"
|
124
|
+
end
|
125
|
+
|
126
|
+
build_git "submodule", "1.0" do |s|
|
127
|
+
s.write "lib/submodule.rb", "puts 'GIT'"
|
128
|
+
end
|
129
|
+
|
130
|
+
build_git "has_submodule", "1.0" do |s|
|
131
|
+
s.add_dependency "submodule"
|
132
|
+
end
|
133
|
+
|
134
|
+
Dir.chdir(lib_path('has_submodule-1.0')) do
|
135
|
+
`git submodule add #{lib_path('submodule-1.0')} submodule-1.0`
|
136
|
+
`git commit -m "submodulator"`
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
it "it unlocks the source when submodules are added to a git source" do
|
141
|
+
install_gemfile <<-G
|
142
|
+
git "#{lib_path('has_submodule-1.0')}" do
|
143
|
+
gem "has_submodule"
|
144
|
+
end
|
145
|
+
G
|
146
|
+
|
147
|
+
run "require 'submodule'"
|
148
|
+
expect(out).to eq('GEM')
|
149
|
+
|
150
|
+
install_gemfile <<-G
|
151
|
+
git "#{lib_path('has_submodule-1.0')}", :submodules => true do
|
152
|
+
gem "has_submodule"
|
153
|
+
end
|
154
|
+
G
|
155
|
+
|
156
|
+
run "require 'submodule'"
|
157
|
+
expect(out).to eq('GIT')
|
158
|
+
end
|
159
|
+
|
160
|
+
it "it unlocks the source when submodules are removed from git source" do
|
161
|
+
pending "This would require actually removing the submodule from the clone"
|
162
|
+
install_gemfile <<-G
|
163
|
+
git "#{lib_path('has_submodule-1.0')}", :submodules => true do
|
164
|
+
gem "has_submodule"
|
165
|
+
end
|
166
|
+
G
|
167
|
+
|
168
|
+
run "require 'submodule'"
|
169
|
+
expect(out).to eq('GIT')
|
170
|
+
|
171
|
+
install_gemfile <<-G
|
172
|
+
git "#{lib_path('has_submodule-1.0')}" do
|
173
|
+
gem "has_submodule"
|
174
|
+
end
|
175
|
+
G
|
176
|
+
|
177
|
+
run "require 'submodule'"
|
178
|
+
expect(out).to eq('GEM')
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
it "errors with a message when the .git repo is gone" do
|
183
|
+
build_git "foo", "1.0"
|
184
|
+
|
185
|
+
install_gemfile <<-G
|
186
|
+
gem "foo", :git => "#{lib_path('foo-1.0')}"
|
187
|
+
G
|
188
|
+
|
189
|
+
lib_path("foo-1.0").join(".git").rmtree
|
190
|
+
|
191
|
+
bundle :update, :expect_err => true
|
192
|
+
expect(out).to include(lib_path("foo-1.0").to_s)
|
193
|
+
end
|
194
|
+
|
195
|
+
it "should not explode on invalid revision on update of gem by name" do
|
196
|
+
build_git "rack", "0.8"
|
197
|
+
|
198
|
+
build_git "rack", "0.8", :path => lib_path('local-rack') do |s|
|
199
|
+
s.write "lib/rack.rb", "puts :LOCAL"
|
200
|
+
end
|
201
|
+
|
202
|
+
install_gemfile <<-G
|
203
|
+
source "file://#{gem_repo1}"
|
204
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :branch => "master"
|
205
|
+
G
|
206
|
+
|
207
|
+
bundle %|config local.rack #{lib_path('local-rack')}|
|
208
|
+
bundle "update rack"
|
209
|
+
expect(out).to include("Your bundle is updated!")
|
210
|
+
end
|
211
|
+
|
212
|
+
it "shows the previous version of the gem" do
|
213
|
+
build_git "rails", "3.0", :path => lib_path("rails")
|
214
|
+
|
215
|
+
install_gemfile <<-G
|
216
|
+
gem "rails", :git => "#{lib_path('rails')}"
|
217
|
+
G
|
218
|
+
|
219
|
+
lockfile <<-G
|
220
|
+
GIT
|
221
|
+
remote: #{lib_path("rails")}
|
222
|
+
specs:
|
223
|
+
rails (2.3.2)
|
224
|
+
|
225
|
+
PLATFORMS
|
226
|
+
#{generic(Gem::Platform.local)}
|
227
|
+
|
228
|
+
DEPENDENCIES
|
229
|
+
rails!
|
230
|
+
G
|
231
|
+
|
232
|
+
bundle "update"
|
233
|
+
expect(out).to include("Using rails 3.0 (was 2.3.2) from #{lib_path('rails')} (at master)")
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bundle update --source" do
|
4
|
+
describe "git sources" do
|
5
|
+
before :each do
|
6
|
+
build_repo2
|
7
|
+
@git = build_git "foo", :path => lib_path("foo") do |s|
|
8
|
+
s.executables = "foobar"
|
9
|
+
end
|
10
|
+
|
11
|
+
install_gemfile <<-G
|
12
|
+
source "file://#{gem_repo2}"
|
13
|
+
git "#{lib_path('foo')}" do
|
14
|
+
gem 'foo'
|
15
|
+
end
|
16
|
+
gem 'rack'
|
17
|
+
G
|
18
|
+
end
|
19
|
+
|
20
|
+
it "updates the source" do
|
21
|
+
update_git "foo", :path => @git.path
|
22
|
+
|
23
|
+
bundle "update --source foo"
|
24
|
+
|
25
|
+
in_app_root do
|
26
|
+
run <<-RUBY
|
27
|
+
require 'foo'
|
28
|
+
puts "WIN" if defined?(FOO_PREV_REF)
|
29
|
+
RUBY
|
30
|
+
|
31
|
+
expect(out).to eq("WIN")
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
it "unlocks gems that were originally pulled in by the source" do
|
36
|
+
update_git "foo", "2.0", :path => @git.path
|
37
|
+
|
38
|
+
bundle "update --source foo"
|
39
|
+
should_be_installed "foo 2.0"
|
40
|
+
end
|
41
|
+
|
42
|
+
it "leaves all other gems frozen" do
|
43
|
+
update_repo2
|
44
|
+
update_git "foo", :path => @git.path
|
45
|
+
|
46
|
+
bundle "update --source foo"
|
47
|
+
should_be_installed "rack 1.0"
|
48
|
+
end
|
49
|
+
|
50
|
+
it "shows the previous version of the gem when updated from path source" do
|
51
|
+
build_lib "activesupport", "2.3.5", :path => lib_path("rails/activesupport")
|
52
|
+
|
53
|
+
install_gemfile <<-G
|
54
|
+
gem "activesupport", :path => "#{lib_path('rails/activesupport')}"
|
55
|
+
G
|
56
|
+
|
57
|
+
build_lib "activesupport", "3.0", :path => lib_path("rails/activesupport")
|
58
|
+
|
59
|
+
bundle "update --source activesupport"
|
60
|
+
expect(out).to include("Using activesupport 3.0 (was 2.3.5) from source at #{lib_path('rails/activesupport')}")
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bundle update" do
|
4
|
+
describe "svn sources" do
|
5
|
+
it "updates correctly when you have like craziness" do
|
6
|
+
build_lib "activesupport", "3.0", :path => lib_path("rails/activesupport")
|
7
|
+
build_svn "rails", "3.0", :path => lib_path("rails") do |s|
|
8
|
+
s.add_dependency "activesupport", "= 3.0"
|
9
|
+
end
|
10
|
+
|
11
|
+
install_gemfile <<-G
|
12
|
+
gem "rails", :svn => "file://#{lib_path('rails')}"
|
13
|
+
G
|
14
|
+
|
15
|
+
bundle "update rails"
|
16
|
+
expect(out).to include("Using activesupport 3.0 from file://#{lib_path('rails')} (at HEAD)")
|
17
|
+
should_be_installed "rails 3.0", "activesupport 3.0"
|
18
|
+
end
|
19
|
+
|
20
|
+
it "floats on master when updating all gems that are pinned to the source even if you have child dependencies" do
|
21
|
+
build_svn "foo", :path => lib_path('foo')
|
22
|
+
build_gem "bar", :to_system => true do |s|
|
23
|
+
s.add_dependency "foo"
|
24
|
+
end
|
25
|
+
|
26
|
+
install_gemfile <<-G
|
27
|
+
gem "foo", :svn => "file://#{lib_path('foo')}"
|
28
|
+
gem "bar"
|
29
|
+
G
|
30
|
+
|
31
|
+
update_svn "foo", :path => lib_path('foo') do |s|
|
32
|
+
s.write "lib/foo.rb", "FOO = '1.1'"
|
33
|
+
end
|
34
|
+
|
35
|
+
bundle "update foo"
|
36
|
+
|
37
|
+
should_be_installed "foo 1.1"
|
38
|
+
end
|
39
|
+
|
40
|
+
it "notices when you change the repo url in the Gemfile" do
|
41
|
+
build_svn "foo", :path => lib_path("foo_one")
|
42
|
+
build_svn "foo", :path => lib_path("foo_two")
|
43
|
+
|
44
|
+
install_gemfile <<-G
|
45
|
+
gem "foo", "1.0", :svn => "file://#{lib_path('foo_one')}"
|
46
|
+
G
|
47
|
+
|
48
|
+
FileUtils.rm_rf lib_path("foo_one")
|
49
|
+
|
50
|
+
install_gemfile <<-G
|
51
|
+
gem "foo", "1.0", :svn => "file://#{lib_path('foo_two')}"
|
52
|
+
G
|
53
|
+
|
54
|
+
expect(err).to be_empty
|
55
|
+
expect(out).to include("Fetching file://#{lib_path}/foo_two")
|
56
|
+
expect(out).to include("Your bundle is complete!")
|
57
|
+
end
|
58
|
+
|
59
|
+
it "should not explode on invalid revision on update of gem by name" do
|
60
|
+
build_svn "rack", "0.8"
|
61
|
+
|
62
|
+
build_svn "rack", "0.8", :path => lib_path('local-rack') do |s|
|
63
|
+
s.write "lib/rack.rb", "puts :LOCAL"
|
64
|
+
end
|
65
|
+
|
66
|
+
install_gemfile <<-G
|
67
|
+
source "file://#{gem_repo1}"
|
68
|
+
gem "rack", :svn => "file://#{lib_path('rack-0.8')}", :branch => "master"
|
69
|
+
G
|
70
|
+
|
71
|
+
bundle %|config local.rack #{File.join(lib_path('local-rack'), '.checkout')}|
|
72
|
+
bundle "update rack"
|
73
|
+
expect(out).to include("Your bundle is updated!")
|
74
|
+
end
|
75
|
+
|
76
|
+
it "shows the previous version of the gem" do
|
77
|
+
build_svn "rails", "3.0", :path => lib_path("rails")
|
78
|
+
|
79
|
+
install_gemfile <<-G
|
80
|
+
gem "rails", :svn => "file://#{lib_path('rails')}"
|
81
|
+
G
|
82
|
+
|
83
|
+
lockfile <<-G
|
84
|
+
SVN
|
85
|
+
remote: file://#{lib_path("rails")}
|
86
|
+
specs:
|
87
|
+
rails (2.3.2)
|
88
|
+
|
89
|
+
PLATFORMS
|
90
|
+
#{generic(Gem::Platform.local)}
|
91
|
+
|
92
|
+
DEPENDENCIES
|
93
|
+
rails!
|
94
|
+
G
|
95
|
+
|
96
|
+
bundle "update"
|
97
|
+
expect(out).to include("Using rails 3.0 (was 2.3.2) from file://#{lib_path('rails')} (at HEAD)")
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
metadata
ADDED
@@ -0,0 +1,486 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bundler-prehistoric
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- André Arko
|
8
|
+
- Terence Lee
|
9
|
+
- Carl Lerche
|
10
|
+
- Yehuda Katz
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2014-06-08 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rdiscount
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.6'
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.6'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: ronn
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.7.3
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.7.3
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: rspec
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 3.0.0.beta1
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 3.0.0.beta1
|
58
|
+
description: Bundler manages an application's dependencies through its entire life,
|
59
|
+
across many machines, systematically and repeatably
|
60
|
+
email:
|
61
|
+
- andre.arko+terence.lee@gmail.com
|
62
|
+
executables:
|
63
|
+
- bundle
|
64
|
+
- bundler
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".gitignore"
|
69
|
+
- ".rspec"
|
70
|
+
- ".travis.yml"
|
71
|
+
- CHANGELOG.md
|
72
|
+
- CONTRIBUTING.md
|
73
|
+
- DEVELOPMENT.md
|
74
|
+
- Gemfile
|
75
|
+
- ISSUES.md
|
76
|
+
- LICENSE.md
|
77
|
+
- README.md
|
78
|
+
- Rakefile
|
79
|
+
- UPGRADING.md
|
80
|
+
- bin/bundle
|
81
|
+
- bin/bundle_ruby
|
82
|
+
- bin/bundler
|
83
|
+
- bundler.gemspec
|
84
|
+
- lib/bundler.rb
|
85
|
+
- lib/bundler/backports/time.rb
|
86
|
+
- lib/bundler/capistrano.rb
|
87
|
+
- lib/bundler/cli.rb
|
88
|
+
- lib/bundler/cli/binstubs.rb
|
89
|
+
- lib/bundler/cli/cache.rb
|
90
|
+
- lib/bundler/cli/check.rb
|
91
|
+
- lib/bundler/cli/clean.rb
|
92
|
+
- lib/bundler/cli/common.rb
|
93
|
+
- lib/bundler/cli/config.rb
|
94
|
+
- lib/bundler/cli/console.rb
|
95
|
+
- lib/bundler/cli/exec.rb
|
96
|
+
- lib/bundler/cli/gem.rb
|
97
|
+
- lib/bundler/cli/init.rb
|
98
|
+
- lib/bundler/cli/inject.rb
|
99
|
+
- lib/bundler/cli/install.rb
|
100
|
+
- lib/bundler/cli/open.rb
|
101
|
+
- lib/bundler/cli/outdated.rb
|
102
|
+
- lib/bundler/cli/package.rb
|
103
|
+
- lib/bundler/cli/platform.rb
|
104
|
+
- lib/bundler/cli/show.rb
|
105
|
+
- lib/bundler/cli/update.rb
|
106
|
+
- lib/bundler/cli/viz.rb
|
107
|
+
- lib/bundler/constants.rb
|
108
|
+
- lib/bundler/current_ruby.rb
|
109
|
+
- lib/bundler/definition.rb
|
110
|
+
- lib/bundler/dep_proxy.rb
|
111
|
+
- lib/bundler/dependency.rb
|
112
|
+
- lib/bundler/deployment.rb
|
113
|
+
- lib/bundler/deprecate.rb
|
114
|
+
- lib/bundler/dsl.rb
|
115
|
+
- lib/bundler/endpoint_specification.rb
|
116
|
+
- lib/bundler/env.rb
|
117
|
+
- lib/bundler/environment.rb
|
118
|
+
- lib/bundler/fetcher.rb
|
119
|
+
- lib/bundler/friendly_errors.rb
|
120
|
+
- lib/bundler/gem_helper.rb
|
121
|
+
- lib/bundler/gem_helpers.rb
|
122
|
+
- lib/bundler/gem_installer.rb
|
123
|
+
- lib/bundler/gem_path_manipulation.rb
|
124
|
+
- lib/bundler/gem_tasks.rb
|
125
|
+
- lib/bundler/graph.rb
|
126
|
+
- lib/bundler/index.rb
|
127
|
+
- lib/bundler/injector.rb
|
128
|
+
- lib/bundler/installer.rb
|
129
|
+
- lib/bundler/lazy_specification.rb
|
130
|
+
- lib/bundler/lockfile_parser.rb
|
131
|
+
- lib/bundler/match_platform.rb
|
132
|
+
- lib/bundler/parallel_workers.rb
|
133
|
+
- lib/bundler/parallel_workers/thread_worker.rb
|
134
|
+
- lib/bundler/parallel_workers/unix_worker.rb
|
135
|
+
- lib/bundler/parallel_workers/worker.rb
|
136
|
+
- lib/bundler/psyched_yaml.rb
|
137
|
+
- lib/bundler/remote_specification.rb
|
138
|
+
- lib/bundler/resolver.rb
|
139
|
+
- lib/bundler/retry.rb
|
140
|
+
- lib/bundler/ruby_dsl.rb
|
141
|
+
- lib/bundler/ruby_version.rb
|
142
|
+
- lib/bundler/rubygems_ext.rb
|
143
|
+
- lib/bundler/rubygems_integration.rb
|
144
|
+
- lib/bundler/runtime.rb
|
145
|
+
- lib/bundler/settings.rb
|
146
|
+
- lib/bundler/setup.rb
|
147
|
+
- lib/bundler/shared_helpers.rb
|
148
|
+
- lib/bundler/similarity_detector.rb
|
149
|
+
- lib/bundler/source.rb
|
150
|
+
- lib/bundler/source/git.rb
|
151
|
+
- lib/bundler/source/git/git_proxy.rb
|
152
|
+
- lib/bundler/source/path.rb
|
153
|
+
- lib/bundler/source/path/installer.rb
|
154
|
+
- lib/bundler/source/rubygems.rb
|
155
|
+
- lib/bundler/source/svn.rb
|
156
|
+
- lib/bundler/source/svn/svn_proxy.rb
|
157
|
+
- lib/bundler/spec_set.rb
|
158
|
+
- lib/bundler/ssl_certs/.document
|
159
|
+
- lib/bundler/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
|
160
|
+
- lib/bundler/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
|
161
|
+
- lib/bundler/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
|
162
|
+
- lib/bundler/ssl_certs/GeoTrustGlobalCA.pem
|
163
|
+
- lib/bundler/ssl_certs/certificate_manager.rb
|
164
|
+
- lib/bundler/templates/Executable
|
165
|
+
- lib/bundler/templates/Executable.standalone
|
166
|
+
- lib/bundler/templates/Gemfile
|
167
|
+
- lib/bundler/templates/newgem/.travis.yml.tt
|
168
|
+
- lib/bundler/templates/newgem/Gemfile.tt
|
169
|
+
- lib/bundler/templates/newgem/LICENSE.txt.tt
|
170
|
+
- lib/bundler/templates/newgem/README.md.tt
|
171
|
+
- lib/bundler/templates/newgem/Rakefile.tt
|
172
|
+
- lib/bundler/templates/newgem/bin/newgem.tt
|
173
|
+
- lib/bundler/templates/newgem/consolerc.tt
|
174
|
+
- lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt
|
175
|
+
- lib/bundler/templates/newgem/ext/newgem/newgem.c.tt
|
176
|
+
- lib/bundler/templates/newgem/ext/newgem/newgem.h.tt
|
177
|
+
- lib/bundler/templates/newgem/gitignore.tt
|
178
|
+
- lib/bundler/templates/newgem/lib/newgem.rb.tt
|
179
|
+
- lib/bundler/templates/newgem/lib/newgem/version.rb.tt
|
180
|
+
- lib/bundler/templates/newgem/newgem.gemspec.tt
|
181
|
+
- lib/bundler/templates/newgem/rspec.tt
|
182
|
+
- lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
|
183
|
+
- lib/bundler/templates/newgem/spec/spec_helper.rb.tt
|
184
|
+
- lib/bundler/templates/newgem/test/minitest_helper.rb.tt
|
185
|
+
- lib/bundler/templates/newgem/test/test_newgem.rb.tt
|
186
|
+
- lib/bundler/ui.rb
|
187
|
+
- lib/bundler/ui/rg_proxy.rb
|
188
|
+
- lib/bundler/ui/shell.rb
|
189
|
+
- lib/bundler/ui/silent.rb
|
190
|
+
- lib/bundler/vendor/.document
|
191
|
+
- lib/bundler/vendor/net/http/faster.rb
|
192
|
+
- lib/bundler/vendor/net/http/persistent.rb
|
193
|
+
- lib/bundler/vendor/net/http/persistent/ssl_reuse.rb
|
194
|
+
- lib/bundler/vendor/thor.rb
|
195
|
+
- lib/bundler/vendor/thor/actions.rb
|
196
|
+
- lib/bundler/vendor/thor/actions/create_file.rb
|
197
|
+
- lib/bundler/vendor/thor/actions/create_link.rb
|
198
|
+
- lib/bundler/vendor/thor/actions/directory.rb
|
199
|
+
- lib/bundler/vendor/thor/actions/empty_directory.rb
|
200
|
+
- lib/bundler/vendor/thor/actions/file_manipulation.rb
|
201
|
+
- lib/bundler/vendor/thor/actions/inject_into_file.rb
|
202
|
+
- lib/bundler/vendor/thor/base.rb
|
203
|
+
- lib/bundler/vendor/thor/command.rb
|
204
|
+
- lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb
|
205
|
+
- lib/bundler/vendor/thor/core_ext/io_binary_read.rb
|
206
|
+
- lib/bundler/vendor/thor/core_ext/ordered_hash.rb
|
207
|
+
- lib/bundler/vendor/thor/error.rb
|
208
|
+
- lib/bundler/vendor/thor/group.rb
|
209
|
+
- lib/bundler/vendor/thor/invocation.rb
|
210
|
+
- lib/bundler/vendor/thor/line_editor.rb
|
211
|
+
- lib/bundler/vendor/thor/line_editor/basic.rb
|
212
|
+
- lib/bundler/vendor/thor/line_editor/readline.rb
|
213
|
+
- lib/bundler/vendor/thor/parser.rb
|
214
|
+
- lib/bundler/vendor/thor/parser/argument.rb
|
215
|
+
- lib/bundler/vendor/thor/parser/arguments.rb
|
216
|
+
- lib/bundler/vendor/thor/parser/option.rb
|
217
|
+
- lib/bundler/vendor/thor/parser/options.rb
|
218
|
+
- lib/bundler/vendor/thor/rake_compat.rb
|
219
|
+
- lib/bundler/vendor/thor/runner.rb
|
220
|
+
- lib/bundler/vendor/thor/shell.rb
|
221
|
+
- lib/bundler/vendor/thor/shell/basic.rb
|
222
|
+
- lib/bundler/vendor/thor/shell/color.rb
|
223
|
+
- lib/bundler/vendor/thor/shell/html.rb
|
224
|
+
- lib/bundler/vendor/thor/util.rb
|
225
|
+
- lib/bundler/vendor/thor/version.rb
|
226
|
+
- lib/bundler/vendored_persistent.rb
|
227
|
+
- lib/bundler/vendored_thor.rb
|
228
|
+
- lib/bundler/version.rb
|
229
|
+
- lib/bundler/vlad.rb
|
230
|
+
- man/bundle-config.ronn
|
231
|
+
- man/bundle-exec.ronn
|
232
|
+
- man/bundle-install.ronn
|
233
|
+
- man/bundle-package.ronn
|
234
|
+
- man/bundle-platform.ronn
|
235
|
+
- man/bundle-update.ronn
|
236
|
+
- man/bundle.ronn
|
237
|
+
- man/gemfile.5.ronn
|
238
|
+
- man/index.txt
|
239
|
+
- spec/bundler/bundler_spec.rb
|
240
|
+
- spec/bundler/cli_spec.rb
|
241
|
+
- spec/bundler/definition_spec.rb
|
242
|
+
- spec/bundler/dsl_spec.rb
|
243
|
+
- spec/bundler/friendly_errors_spec.rb
|
244
|
+
- spec/bundler/gem_helper_spec.rb
|
245
|
+
- spec/bundler/psyched_yaml_spec.rb
|
246
|
+
- spec/bundler/retry_spec.rb
|
247
|
+
- spec/bundler/settings_spec.rb
|
248
|
+
- spec/bundler/source_spec.rb
|
249
|
+
- spec/cache/gems_spec.rb
|
250
|
+
- spec/cache/git_spec.rb
|
251
|
+
- spec/cache/path_spec.rb
|
252
|
+
- spec/cache/platform_spec.rb
|
253
|
+
- spec/cache/svn_spec.rb
|
254
|
+
- spec/commands/binstubs_spec.rb
|
255
|
+
- spec/commands/check_spec.rb
|
256
|
+
- spec/commands/clean_spec.rb
|
257
|
+
- spec/commands/config_spec.rb
|
258
|
+
- spec/commands/console_spec.rb
|
259
|
+
- spec/commands/exec_spec.rb
|
260
|
+
- spec/commands/help_spec.rb
|
261
|
+
- spec/commands/init_spec.rb
|
262
|
+
- spec/commands/inject_spec.rb
|
263
|
+
- spec/commands/licenses_spec.rb
|
264
|
+
- spec/commands/newgem_spec.rb
|
265
|
+
- spec/commands/open_spec.rb
|
266
|
+
- spec/commands/outdated_spec.rb
|
267
|
+
- spec/commands/package_spec.rb
|
268
|
+
- spec/commands/show_spec.rb
|
269
|
+
- spec/install/binstubs_spec.rb
|
270
|
+
- spec/install/bundler_spec.rb
|
271
|
+
- spec/install/deploy_spec.rb
|
272
|
+
- spec/install/gemfile/gemspec_spec.rb
|
273
|
+
- spec/install/gemfile/git_spec.rb
|
274
|
+
- spec/install/gemfile/path_spec.rb
|
275
|
+
- spec/install/gemfile/svn_spec.rb
|
276
|
+
- spec/install/gemfile_spec.rb
|
277
|
+
- spec/install/gems/c_ext_spec.rb
|
278
|
+
- spec/install/gems/dependency_api_spec.rb
|
279
|
+
- spec/install/gems/env_spec.rb
|
280
|
+
- spec/install/gems/flex_spec.rb
|
281
|
+
- spec/install/gems/groups_spec.rb
|
282
|
+
- spec/install/gems/mirror_spec.rb
|
283
|
+
- spec/install/gems/platform_spec.rb
|
284
|
+
- spec/install/gems/post_install_spec.rb
|
285
|
+
- spec/install/gems/resolving_spec.rb
|
286
|
+
- spec/install/gems/simple_case_spec.rb
|
287
|
+
- spec/install/gems/standalone_spec.rb
|
288
|
+
- spec/install/gems/sudo_spec.rb
|
289
|
+
- spec/install/gems/win32_spec.rb
|
290
|
+
- spec/install/gemspecs_spec.rb
|
291
|
+
- spec/install/path_spec.rb
|
292
|
+
- spec/install/post_bundle_message_spec.rb
|
293
|
+
- spec/install/prereleases_spec.rb
|
294
|
+
- spec/install/security_policy_spec.rb
|
295
|
+
- spec/install/upgrade_spec.rb
|
296
|
+
- spec/lock/git_spec.rb
|
297
|
+
- spec/lock/lockfile_spec.rb
|
298
|
+
- spec/lock/svn_spec.rb
|
299
|
+
- spec/other/bundle_ruby_spec.rb
|
300
|
+
- spec/other/cli_dispatch_spec.rb
|
301
|
+
- spec/other/ext_spec.rb
|
302
|
+
- spec/other/platform_spec.rb
|
303
|
+
- spec/other/ssl_cert_spec.rb
|
304
|
+
- spec/quality_spec.rb
|
305
|
+
- spec/realworld/dependency_api_spec.rb
|
306
|
+
- spec/realworld/edgecases_spec.rb
|
307
|
+
- spec/realworld/parallel_spec.rb
|
308
|
+
- spec/resolver/basic_spec.rb
|
309
|
+
- spec/resolver/platform_spec.rb
|
310
|
+
- spec/runtime/executable_spec.rb
|
311
|
+
- spec/runtime/load_spec.rb
|
312
|
+
- spec/runtime/platform_spec.rb
|
313
|
+
- spec/runtime/require_spec.rb
|
314
|
+
- spec/runtime/setup_spec.rb
|
315
|
+
- spec/runtime/with_clean_env_spec.rb
|
316
|
+
- spec/spec_helper.rb
|
317
|
+
- spec/support/artifice/endopint_marshal_fail_basic_authentication.rb
|
318
|
+
- spec/support/artifice/endpoint.rb
|
319
|
+
- spec/support/artifice/endpoint_500.rb
|
320
|
+
- spec/support/artifice/endpoint_api_missing.rb
|
321
|
+
- spec/support/artifice/endpoint_basic_authentication.rb
|
322
|
+
- spec/support/artifice/endpoint_creds_diff_host.rb
|
323
|
+
- spec/support/artifice/endpoint_extra.rb
|
324
|
+
- spec/support/artifice/endpoint_extra_missing.rb
|
325
|
+
- spec/support/artifice/endpoint_fallback.rb
|
326
|
+
- spec/support/artifice/endpoint_host_redirect.rb
|
327
|
+
- spec/support/artifice/endpoint_marshal_fail.rb
|
328
|
+
- spec/support/artifice/endpoint_redirect.rb
|
329
|
+
- spec/support/artifice/endpoint_strict_basic_authentication.rb
|
330
|
+
- spec/support/artifice/endpoint_timeout.rb
|
331
|
+
- spec/support/builders.rb
|
332
|
+
- spec/support/fakeweb/rack-1.0.0.marshal
|
333
|
+
- spec/support/fakeweb/windows.rb
|
334
|
+
- spec/support/hax.rb
|
335
|
+
- spec/support/helpers.rb
|
336
|
+
- spec/support/indexes.rb
|
337
|
+
- spec/support/less_than_proc.rb
|
338
|
+
- spec/support/matchers.rb
|
339
|
+
- spec/support/path.rb
|
340
|
+
- spec/support/permissions.rb
|
341
|
+
- spec/support/platforms.rb
|
342
|
+
- spec/support/ruby_ext.rb
|
343
|
+
- spec/support/rubygems_ext.rb
|
344
|
+
- spec/support/streams.rb
|
345
|
+
- spec/support/sudo.rb
|
346
|
+
- spec/update/gems_spec.rb
|
347
|
+
- spec/update/git_spec.rb
|
348
|
+
- spec/update/source_spec.rb
|
349
|
+
- spec/update/svn_spec.rb
|
350
|
+
homepage: http://bundler.io
|
351
|
+
licenses:
|
352
|
+
- MIT
|
353
|
+
metadata: {}
|
354
|
+
post_install_message:
|
355
|
+
rdoc_options: []
|
356
|
+
require_paths:
|
357
|
+
- lib
|
358
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
364
|
+
requirements:
|
365
|
+
- - ">="
|
366
|
+
- !ruby/object:Gem::Version
|
367
|
+
version: '0'
|
368
|
+
requirements: []
|
369
|
+
rubyforge_project:
|
370
|
+
rubygems_version: 2.2.2
|
371
|
+
signing_key:
|
372
|
+
specification_version: 4
|
373
|
+
summary: The best way to manage your application's dependencies
|
374
|
+
test_files:
|
375
|
+
- spec/bundler/bundler_spec.rb
|
376
|
+
- spec/bundler/cli_spec.rb
|
377
|
+
- spec/bundler/definition_spec.rb
|
378
|
+
- spec/bundler/dsl_spec.rb
|
379
|
+
- spec/bundler/friendly_errors_spec.rb
|
380
|
+
- spec/bundler/gem_helper_spec.rb
|
381
|
+
- spec/bundler/psyched_yaml_spec.rb
|
382
|
+
- spec/bundler/retry_spec.rb
|
383
|
+
- spec/bundler/settings_spec.rb
|
384
|
+
- spec/bundler/source_spec.rb
|
385
|
+
- spec/cache/gems_spec.rb
|
386
|
+
- spec/cache/git_spec.rb
|
387
|
+
- spec/cache/path_spec.rb
|
388
|
+
- spec/cache/platform_spec.rb
|
389
|
+
- spec/cache/svn_spec.rb
|
390
|
+
- spec/commands/binstubs_spec.rb
|
391
|
+
- spec/commands/check_spec.rb
|
392
|
+
- spec/commands/clean_spec.rb
|
393
|
+
- spec/commands/config_spec.rb
|
394
|
+
- spec/commands/console_spec.rb
|
395
|
+
- spec/commands/exec_spec.rb
|
396
|
+
- spec/commands/help_spec.rb
|
397
|
+
- spec/commands/init_spec.rb
|
398
|
+
- spec/commands/inject_spec.rb
|
399
|
+
- spec/commands/licenses_spec.rb
|
400
|
+
- spec/commands/newgem_spec.rb
|
401
|
+
- spec/commands/open_spec.rb
|
402
|
+
- spec/commands/outdated_spec.rb
|
403
|
+
- spec/commands/package_spec.rb
|
404
|
+
- spec/commands/show_spec.rb
|
405
|
+
- spec/install/binstubs_spec.rb
|
406
|
+
- spec/install/bundler_spec.rb
|
407
|
+
- spec/install/deploy_spec.rb
|
408
|
+
- spec/install/gemfile/gemspec_spec.rb
|
409
|
+
- spec/install/gemfile/git_spec.rb
|
410
|
+
- spec/install/gemfile/path_spec.rb
|
411
|
+
- spec/install/gemfile/svn_spec.rb
|
412
|
+
- spec/install/gemfile_spec.rb
|
413
|
+
- spec/install/gems/c_ext_spec.rb
|
414
|
+
- spec/install/gems/dependency_api_spec.rb
|
415
|
+
- spec/install/gems/env_spec.rb
|
416
|
+
- spec/install/gems/flex_spec.rb
|
417
|
+
- spec/install/gems/groups_spec.rb
|
418
|
+
- spec/install/gems/mirror_spec.rb
|
419
|
+
- spec/install/gems/platform_spec.rb
|
420
|
+
- spec/install/gems/post_install_spec.rb
|
421
|
+
- spec/install/gems/resolving_spec.rb
|
422
|
+
- spec/install/gems/simple_case_spec.rb
|
423
|
+
- spec/install/gems/standalone_spec.rb
|
424
|
+
- spec/install/gems/sudo_spec.rb
|
425
|
+
- spec/install/gems/win32_spec.rb
|
426
|
+
- spec/install/gemspecs_spec.rb
|
427
|
+
- spec/install/path_spec.rb
|
428
|
+
- spec/install/post_bundle_message_spec.rb
|
429
|
+
- spec/install/prereleases_spec.rb
|
430
|
+
- spec/install/security_policy_spec.rb
|
431
|
+
- spec/install/upgrade_spec.rb
|
432
|
+
- spec/lock/git_spec.rb
|
433
|
+
- spec/lock/lockfile_spec.rb
|
434
|
+
- spec/lock/svn_spec.rb
|
435
|
+
- spec/other/bundle_ruby_spec.rb
|
436
|
+
- spec/other/cli_dispatch_spec.rb
|
437
|
+
- spec/other/ext_spec.rb
|
438
|
+
- spec/other/platform_spec.rb
|
439
|
+
- spec/other/ssl_cert_spec.rb
|
440
|
+
- spec/quality_spec.rb
|
441
|
+
- spec/realworld/dependency_api_spec.rb
|
442
|
+
- spec/realworld/edgecases_spec.rb
|
443
|
+
- spec/realworld/parallel_spec.rb
|
444
|
+
- spec/resolver/basic_spec.rb
|
445
|
+
- spec/resolver/platform_spec.rb
|
446
|
+
- spec/runtime/executable_spec.rb
|
447
|
+
- spec/runtime/load_spec.rb
|
448
|
+
- spec/runtime/platform_spec.rb
|
449
|
+
- spec/runtime/require_spec.rb
|
450
|
+
- spec/runtime/setup_spec.rb
|
451
|
+
- spec/runtime/with_clean_env_spec.rb
|
452
|
+
- spec/spec_helper.rb
|
453
|
+
- spec/support/artifice/endopint_marshal_fail_basic_authentication.rb
|
454
|
+
- spec/support/artifice/endpoint.rb
|
455
|
+
- spec/support/artifice/endpoint_500.rb
|
456
|
+
- spec/support/artifice/endpoint_api_missing.rb
|
457
|
+
- spec/support/artifice/endpoint_basic_authentication.rb
|
458
|
+
- spec/support/artifice/endpoint_creds_diff_host.rb
|
459
|
+
- spec/support/artifice/endpoint_extra.rb
|
460
|
+
- spec/support/artifice/endpoint_extra_missing.rb
|
461
|
+
- spec/support/artifice/endpoint_fallback.rb
|
462
|
+
- spec/support/artifice/endpoint_host_redirect.rb
|
463
|
+
- spec/support/artifice/endpoint_marshal_fail.rb
|
464
|
+
- spec/support/artifice/endpoint_redirect.rb
|
465
|
+
- spec/support/artifice/endpoint_strict_basic_authentication.rb
|
466
|
+
- spec/support/artifice/endpoint_timeout.rb
|
467
|
+
- spec/support/builders.rb
|
468
|
+
- spec/support/fakeweb/rack-1.0.0.marshal
|
469
|
+
- spec/support/fakeweb/windows.rb
|
470
|
+
- spec/support/hax.rb
|
471
|
+
- spec/support/helpers.rb
|
472
|
+
- spec/support/indexes.rb
|
473
|
+
- spec/support/less_than_proc.rb
|
474
|
+
- spec/support/matchers.rb
|
475
|
+
- spec/support/path.rb
|
476
|
+
- spec/support/permissions.rb
|
477
|
+
- spec/support/platforms.rb
|
478
|
+
- spec/support/ruby_ext.rb
|
479
|
+
- spec/support/rubygems_ext.rb
|
480
|
+
- spec/support/streams.rb
|
481
|
+
- spec/support/sudo.rb
|
482
|
+
- spec/update/gems_spec.rb
|
483
|
+
- spec/update/git_spec.rb
|
484
|
+
- spec/update/source_spec.rb
|
485
|
+
- spec/update/svn_spec.rb
|
486
|
+
has_rdoc:
|