bundler 1.0.0 → 1.0.2
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 +12 -0
- data/CHANGELOG.md +28 -6
- data/ISSUES.md +1 -1
- data/README.md +7 -5
- data/Rakefile +173 -0
- data/UPGRADING.md +103 -0
- data/bundler.gemspec +28 -0
- data/lib/bundler.rb +1 -0
- data/lib/bundler/capistrano.rb +2 -31
- data/lib/bundler/cli.rb +18 -16
- data/lib/bundler/deployment.rb +37 -0
- data/lib/bundler/dsl.rb +3 -3
- data/lib/bundler/gem_helper.rb +4 -7
- data/lib/bundler/graph.rb +3 -3
- data/lib/bundler/installer.rb +1 -0
- data/lib/bundler/lockfile_parser.rb +1 -1
- data/lib/bundler/man/bundle +1 -1
- data/lib/bundler/man/bundle-config +92 -0
- data/lib/bundler/man/bundle-config.txt +72 -30
- data/lib/bundler/man/bundle-exec +1 -1
- data/lib/bundler/man/bundle-exec.txt +1 -1
- data/lib/bundler/man/bundle-install +1 -1
- data/lib/bundler/man/bundle-install.txt +1 -1
- data/lib/bundler/man/bundle-package +1 -1
- data/lib/bundler/man/bundle-package.txt +1 -1
- data/lib/bundler/man/bundle-update +1 -1
- data/lib/bundler/man/bundle-update.txt +1 -1
- data/lib/bundler/man/bundle.txt +1 -1
- data/lib/bundler/man/gemfile.5 +2 -2
- data/lib/bundler/man/gemfile.5.txt +2 -2
- data/lib/bundler/settings.rb +2 -2
- data/lib/bundler/source.rb +2 -3
- data/lib/bundler/templates/Executable +1 -1
- data/lib/bundler/templates/newgem/Gemfile.tt +1 -1
- data/lib/bundler/templates/newgem/bin/newgem.tt +3 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +11 -12
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler/vlad.rb +9 -0
- data/man/bundle-config.ronn +90 -0
- data/man/bundle-exec.ronn +98 -0
- data/man/bundle-install.ronn +310 -0
- data/man/bundle-package.ronn +59 -0
- data/man/bundle-update.ronn +176 -0
- data/man/bundle.ronn +77 -0
- data/man/gemfile.5.ronn +254 -0
- data/man/index.txt +6 -0
- data/spec/cache/gems_spec.rb +205 -0
- data/spec/cache/git_spec.rb +9 -0
- data/spec/cache/path_spec.rb +27 -0
- data/spec/cache/platform_spec.rb +57 -0
- data/spec/install/deploy_spec.rb +171 -0
- data/spec/install/deprecated_spec.rb +43 -0
- data/spec/install/gems/c_ext_spec.rb +48 -0
- data/spec/install/gems/env_spec.rb +107 -0
- data/spec/install/gems/flex_spec.rb +272 -0
- data/spec/install/gems/groups_spec.rb +209 -0
- data/spec/install/gems/locked_spec.rb +48 -0
- data/spec/install/gems/packed_spec.rb +72 -0
- data/spec/install/gems/platform_spec.rb +181 -0
- data/spec/install/gems/resolving_spec.rb +72 -0
- data/spec/install/gems/simple_case_spec.rb +709 -0
- data/spec/install/gems/sudo_spec.rb +77 -0
- data/spec/install/gems/win32_spec.rb +26 -0
- data/spec/install/gemspec_spec.rb +96 -0
- data/spec/install/git_spec.rb +552 -0
- data/spec/install/invalid_spec.rb +17 -0
- data/spec/install/path_spec.rb +335 -0
- data/spec/install/upgrade_spec.rb +26 -0
- data/spec/lock/flex_spec.rb +625 -0
- data/spec/lock/git_spec.rb +35 -0
- data/spec/other/check_spec.rb +221 -0
- data/spec/other/config_spec.rb +40 -0
- data/spec/other/console_spec.rb +102 -0
- data/spec/other/exec_spec.rb +241 -0
- data/spec/other/ext_spec.rb +16 -0
- data/spec/other/gem_helper_spec.rb +116 -0
- data/spec/other/help_spec.rb +36 -0
- data/spec/other/init_spec.rb +40 -0
- data/spec/other/newgem_spec.rb +24 -0
- data/spec/other/open_spec.rb +51 -0
- data/spec/other/show_spec.rb +99 -0
- data/spec/pack/gems_spec.rb +22 -0
- data/spec/quality_spec.rb +55 -0
- data/spec/resolver/basic_spec.rb +20 -0
- data/spec/resolver/platform_spec.rb +57 -0
- data/spec/runtime/environment_rb_spec.rb +170 -0
- data/spec/runtime/executable_spec.rb +110 -0
- data/spec/runtime/load_spec.rb +107 -0
- data/spec/runtime/platform_spec.rb +90 -0
- data/spec/runtime/require_spec.rb +261 -0
- data/spec/runtime/setup_spec.rb +412 -0
- data/spec/runtime/with_clean_env_spec.rb +15 -0
- data/spec/spec_helper.rb +81 -0
- data/spec/support/builders.rb +566 -0
- data/spec/support/helpers.rb +243 -0
- data/spec/support/indexes.rb +113 -0
- data/spec/support/matchers.rb +89 -0
- data/spec/support/path.rb +71 -0
- data/spec/support/platforms.rb +49 -0
- data/spec/support/ruby_ext.rb +19 -0
- data/spec/support/rubygems_ext.rb +30 -0
- data/spec/support/rubygems_hax/rubygems_plugin.rb +9 -0
- data/spec/support/sudo.rb +21 -0
- data/spec/update/gems_spec.rb +86 -0
- data/spec/update/git_spec.rb +159 -0
- data/spec/update/source_spec.rb +50 -0
- metadata +170 -32
- data/ROADMAP.md +0 -36
@@ -0,0 +1,49 @@
|
|
1
|
+
module Spec
|
2
|
+
module Platforms
|
3
|
+
include Bundler::GemHelpers
|
4
|
+
|
5
|
+
def rb
|
6
|
+
Gem::Platform::RUBY
|
7
|
+
end
|
8
|
+
|
9
|
+
def mac
|
10
|
+
Gem::Platform.new('x86-darwin-10')
|
11
|
+
end
|
12
|
+
|
13
|
+
def java
|
14
|
+
Gem::Platform.new([nil, "java", nil])
|
15
|
+
end
|
16
|
+
|
17
|
+
def linux
|
18
|
+
Gem::Platform.new(['x86', 'linux', nil])
|
19
|
+
end
|
20
|
+
|
21
|
+
def mswin
|
22
|
+
Gem::Platform.new(['x86', 'mswin32', nil])
|
23
|
+
end
|
24
|
+
|
25
|
+
def all_platforms
|
26
|
+
[rb, java, linux, mswin]
|
27
|
+
end
|
28
|
+
|
29
|
+
def local
|
30
|
+
generic(Gem::Platform.local)
|
31
|
+
end
|
32
|
+
|
33
|
+
def not_local
|
34
|
+
all_platforms.find { |p| p != generic(Gem::Platform.local) }
|
35
|
+
end
|
36
|
+
|
37
|
+
def local_tag
|
38
|
+
if RUBY_PLATFORM == "java"
|
39
|
+
:jruby
|
40
|
+
else
|
41
|
+
:ruby
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def not_local_tag
|
46
|
+
[:ruby, :jruby].find { |tag| tag != local_tag }
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class IO
|
2
|
+
def read_available_bytes(chunk_size = 1024, select_timeout = 5)
|
3
|
+
buffer = []
|
4
|
+
|
5
|
+
return "" if closed? || eof?
|
6
|
+
# IO.select cannot be used here due to the fact that it
|
7
|
+
# just does not work on windows
|
8
|
+
while true
|
9
|
+
begin
|
10
|
+
buffer << self.readpartial(chunk_size)
|
11
|
+
sleep 0.1
|
12
|
+
rescue(EOFError)
|
13
|
+
break
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
return buffer.join
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module Spec
|
2
|
+
module Rubygems
|
3
|
+
def self.setup
|
4
|
+
Gem.clear_paths
|
5
|
+
|
6
|
+
ENV['BUNDLE_PATH'] = nil
|
7
|
+
ENV['GEM_HOME'] = ENV['GEM_PATH'] = Path.base_system_gems.to_s
|
8
|
+
ENV['PATH'] = ["#{Path.root}/bin", "#{Path.system_gem_path}/bin", ENV['PATH']].join(File::PATH_SEPARATOR)
|
9
|
+
|
10
|
+
unless File.exist?("#{Path.base_system_gems}")
|
11
|
+
FileUtils.mkdir_p(Path.base_system_gems)
|
12
|
+
puts "running `gem install builder rake fakeweb --no-rdoc --no-ri`"
|
13
|
+
`gem install builder rake fakeweb --no-rdoc --no-ri`
|
14
|
+
end
|
15
|
+
|
16
|
+
ENV['HOME'] = Path.home.to_s
|
17
|
+
|
18
|
+
Gem::DefaultUserInteraction.ui = Gem::SilentUI.new
|
19
|
+
end
|
20
|
+
|
21
|
+
def gem_command(command, args = "", options = {})
|
22
|
+
if command == :exec && !options[:no_quote]
|
23
|
+
args = args.gsub(/(?=")/, "\\")
|
24
|
+
args = %["#{args}"]
|
25
|
+
end
|
26
|
+
lib = File.join(File.dirname(__FILE__), '..', '..', 'lib')
|
27
|
+
%x{#{Gem.ruby} -I#{lib} -rubygems -S gem --backtrace #{command} #{args}}.strip
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Spec
|
2
|
+
module Sudo
|
3
|
+
def self.present?
|
4
|
+
@which_sudo ||= `which sudo`.strip
|
5
|
+
!@which_sudo.empty? && ENV['BUNDLER_SUDO_TESTS']
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_sudo?
|
9
|
+
Sudo.present?
|
10
|
+
end
|
11
|
+
|
12
|
+
def sudo(cmd)
|
13
|
+
raise "sudo not present" unless Sudo.present?
|
14
|
+
sys_exec("sudo #{cmd}")
|
15
|
+
end
|
16
|
+
|
17
|
+
def chown_system_gems_to_root
|
18
|
+
sudo "chown -R root #{system_gem_path}"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bundle update" do
|
4
|
+
before :each do
|
5
|
+
build_repo2
|
6
|
+
|
7
|
+
install_gemfile <<-G
|
8
|
+
source "file://#{gem_repo2}"
|
9
|
+
gem "activesupport"
|
10
|
+
gem "rack-obama"
|
11
|
+
G
|
12
|
+
end
|
13
|
+
|
14
|
+
describe "with no arguments" do
|
15
|
+
it "updates the entire bundle" do
|
16
|
+
update_repo2 do
|
17
|
+
build_gem "activesupport", "3.0"
|
18
|
+
end
|
19
|
+
|
20
|
+
bundle "update"
|
21
|
+
should_be_installed "rack 1.2", "rack-obama 1.0", "activesupport 3.0"
|
22
|
+
end
|
23
|
+
|
24
|
+
it "doesn't delete the Gemfile.lock file if something goes wrong" do
|
25
|
+
gemfile <<-G
|
26
|
+
source "file://#{gem_repo2}"
|
27
|
+
gem "activesupport"
|
28
|
+
gem "rack-obama"
|
29
|
+
exit!
|
30
|
+
G
|
31
|
+
bundle "update"
|
32
|
+
bundled_app("Gemfile.lock").should exist
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe "with a top level dependency" do
|
37
|
+
it "unlocks all child dependencies that are unrelated to other locked dependencies" do
|
38
|
+
update_repo2 do
|
39
|
+
build_gem "activesupport", "3.0"
|
40
|
+
end
|
41
|
+
|
42
|
+
bundle "update rack-obama"
|
43
|
+
should_be_installed "rack 1.2", "rack-obama 1.0", "activesupport 2.3.5"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe "bundle update in more complicated situations" do
|
49
|
+
before :each do
|
50
|
+
build_repo2
|
51
|
+
end
|
52
|
+
|
53
|
+
it "will eagerly unlock dependencies of a specified gem" do
|
54
|
+
install_gemfile <<-G
|
55
|
+
source "file://#{gem_repo2}"
|
56
|
+
|
57
|
+
gem "thin"
|
58
|
+
gem "rack-obama"
|
59
|
+
G
|
60
|
+
|
61
|
+
update_repo2 do
|
62
|
+
build_gem "thin" , '2.0' do |s|
|
63
|
+
s.add_dependency "rack"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
bundle "update thin"
|
68
|
+
should_be_installed "thin 2.0", "rack 1.2", "rack-obama 1.0"
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe "bundle update without a Gemfile.lock" do
|
73
|
+
it "should not explode" do
|
74
|
+
build_repo2
|
75
|
+
|
76
|
+
gemfile <<-G
|
77
|
+
source "file://#{gem_repo2}"
|
78
|
+
|
79
|
+
gem "rack", "1.0"
|
80
|
+
G
|
81
|
+
|
82
|
+
bundle "update"
|
83
|
+
|
84
|
+
should_be_installed "rack 1.0.0"
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,159 @@
|
|
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
|
+
out.should 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
|
+
err.should be_empty
|
93
|
+
out.should include("Fetching #{lib_path}/foo_two")
|
94
|
+
out.should include("Your bundle is complete!")
|
95
|
+
end
|
96
|
+
|
97
|
+
describe "with submodules" do
|
98
|
+
before :each do
|
99
|
+
build_gem "submodule", :to_system => true do |s|
|
100
|
+
s.write "lib/submodule.rb", "puts 'GEM'"
|
101
|
+
end
|
102
|
+
|
103
|
+
build_git "submodule", "1.0" do |s|
|
104
|
+
s.write "lib/submodule.rb", "puts 'GIT'"
|
105
|
+
end
|
106
|
+
|
107
|
+
build_git "has_submodule", "1.0" do |s|
|
108
|
+
s.add_dependency "submodule"
|
109
|
+
end
|
110
|
+
|
111
|
+
Dir.chdir(lib_path('has_submodule-1.0')) do
|
112
|
+
`git submodule add #{lib_path('submodule-1.0')} submodule-1.0`
|
113
|
+
`git commit -m "submodulator"`
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
it "it unlocks the source when submodules is added to a git source" do
|
118
|
+
install_gemfile <<-G
|
119
|
+
git "#{lib_path('has_submodule-1.0')}" do
|
120
|
+
gem "has_submodule"
|
121
|
+
end
|
122
|
+
G
|
123
|
+
|
124
|
+
run "require 'submodule'"
|
125
|
+
out.should == 'GEM'
|
126
|
+
|
127
|
+
install_gemfile <<-G
|
128
|
+
git "#{lib_path('has_submodule-1.0')}", :submodules => true do
|
129
|
+
gem "has_submodule"
|
130
|
+
end
|
131
|
+
G
|
132
|
+
|
133
|
+
run "require 'submodule'"
|
134
|
+
out.should == 'GIT'
|
135
|
+
end
|
136
|
+
|
137
|
+
it "it unlocks the source when submodules is removed from git source" do
|
138
|
+
pending "This would require actually removing the submodule from the clone"
|
139
|
+
install_gemfile <<-G
|
140
|
+
git "#{lib_path('has_submodule-1.0')}", :submodules => true do
|
141
|
+
gem "has_submodule"
|
142
|
+
end
|
143
|
+
G
|
144
|
+
|
145
|
+
run "require 'submodule'"
|
146
|
+
out.should == 'GIT'
|
147
|
+
|
148
|
+
install_gemfile <<-G
|
149
|
+
git "#{lib_path('has_submodule-1.0')}" do
|
150
|
+
gem "has_submodule"
|
151
|
+
end
|
152
|
+
G
|
153
|
+
|
154
|
+
run "require 'submodule'"
|
155
|
+
out.should == 'GEM'
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "bundle update" 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
|
+
out.should == "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
|
+
end
|
50
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Carl Lerche
|
@@ -16,8 +17,8 @@ autorequire:
|
|
16
17
|
bindir: bin
|
17
18
|
cert_chain: []
|
18
19
|
|
19
|
-
date: 2010-
|
20
|
-
default_executable:
|
20
|
+
date: 2010-10-02 00:00:00 -07:00
|
21
|
+
default_executable: bundle
|
21
22
|
dependencies:
|
22
23
|
- !ruby/object:Gem::Dependency
|
23
24
|
name: ronn
|
@@ -27,6 +28,7 @@ dependencies:
|
|
27
28
|
requirements:
|
28
29
|
- - ">="
|
29
30
|
- !ruby/object:Gem::Version
|
31
|
+
hash: 3
|
30
32
|
segments:
|
31
33
|
- 0
|
32
34
|
version: "0"
|
@@ -40,6 +42,7 @@ dependencies:
|
|
40
42
|
requirements:
|
41
43
|
- - ">="
|
42
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
43
46
|
segments:
|
44
47
|
- 0
|
45
48
|
version: "0"
|
@@ -55,11 +58,21 @@ extensions: []
|
|
55
58
|
extra_rdoc_files: []
|
56
59
|
|
57
60
|
files:
|
61
|
+
- .gitignore
|
62
|
+
- CHANGELOG.md
|
63
|
+
- ISSUES.md
|
64
|
+
- LICENSE
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- UPGRADING.md
|
58
68
|
- bin/bundle
|
69
|
+
- bundler.gemspec
|
70
|
+
- lib/bundler.rb
|
59
71
|
- lib/bundler/capistrano.rb
|
60
72
|
- lib/bundler/cli.rb
|
61
73
|
- lib/bundler/definition.rb
|
62
74
|
- lib/bundler/dependency.rb
|
75
|
+
- lib/bundler/deployment.rb
|
63
76
|
- lib/bundler/dsl.rb
|
64
77
|
- lib/bundler/environment.rb
|
65
78
|
- lib/bundler/gem_helper.rb
|
@@ -68,20 +81,6 @@ files:
|
|
68
81
|
- lib/bundler/installer.rb
|
69
82
|
- lib/bundler/lazy_specification.rb
|
70
83
|
- lib/bundler/lockfile_parser.rb
|
71
|
-
- lib/bundler/man/bundle
|
72
|
-
- lib/bundler/man/bundle-config
|
73
|
-
- lib/bundler/man/bundle-config.txt
|
74
|
-
- lib/bundler/man/bundle-exec
|
75
|
-
- lib/bundler/man/bundle-exec.txt
|
76
|
-
- lib/bundler/man/bundle-install
|
77
|
-
- lib/bundler/man/bundle-install.txt
|
78
|
-
- lib/bundler/man/bundle-package
|
79
|
-
- lib/bundler/man/bundle-package.txt
|
80
|
-
- lib/bundler/man/bundle-update
|
81
|
-
- lib/bundler/man/bundle-update.txt
|
82
|
-
- lib/bundler/man/bundle.txt
|
83
|
-
- lib/bundler/man/gemfile.5
|
84
|
-
- lib/bundler/man/gemfile.5.txt
|
85
84
|
- lib/bundler/remote_specification.rb
|
86
85
|
- lib/bundler/resolver.rb
|
87
86
|
- lib/bundler/rubygems_ext.rb
|
@@ -94,44 +93,122 @@ files:
|
|
94
93
|
- lib/bundler/templates/Executable
|
95
94
|
- lib/bundler/templates/Gemfile
|
96
95
|
- lib/bundler/templates/newgem/Gemfile.tt
|
96
|
+
- lib/bundler/templates/newgem/Rakefile.tt
|
97
|
+
- lib/bundler/templates/newgem/bin/newgem.tt
|
97
98
|
- lib/bundler/templates/newgem/gitignore.tt
|
98
|
-
- lib/bundler/templates/newgem/lib/newgem/version.rb.tt
|
99
99
|
- lib/bundler/templates/newgem/lib/newgem.rb.tt
|
100
|
+
- lib/bundler/templates/newgem/lib/newgem/version.rb.tt
|
100
101
|
- lib/bundler/templates/newgem/newgem.gemspec.tt
|
101
|
-
- lib/bundler/templates/newgem/Rakefile.tt
|
102
102
|
- lib/bundler/ui.rb
|
103
|
+
- lib/bundler/vendor/thor.rb
|
104
|
+
- lib/bundler/vendor/thor/actions.rb
|
103
105
|
- lib/bundler/vendor/thor/actions/create_file.rb
|
104
106
|
- lib/bundler/vendor/thor/actions/directory.rb
|
105
107
|
- lib/bundler/vendor/thor/actions/empty_directory.rb
|
106
108
|
- lib/bundler/vendor/thor/actions/file_manipulation.rb
|
107
109
|
- lib/bundler/vendor/thor/actions/inject_into_file.rb
|
108
|
-
- lib/bundler/vendor/thor/actions.rb
|
109
110
|
- lib/bundler/vendor/thor/base.rb
|
110
111
|
- lib/bundler/vendor/thor/core_ext/file_binary_read.rb
|
111
112
|
- lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb
|
112
113
|
- lib/bundler/vendor/thor/core_ext/ordered_hash.rb
|
113
114
|
- lib/bundler/vendor/thor/error.rb
|
114
115
|
- lib/bundler/vendor/thor/invocation.rb
|
116
|
+
- lib/bundler/vendor/thor/parser.rb
|
115
117
|
- lib/bundler/vendor/thor/parser/argument.rb
|
116
118
|
- lib/bundler/vendor/thor/parser/arguments.rb
|
117
119
|
- lib/bundler/vendor/thor/parser/option.rb
|
118
120
|
- lib/bundler/vendor/thor/parser/options.rb
|
119
|
-
- lib/bundler/vendor/thor/
|
121
|
+
- lib/bundler/vendor/thor/shell.rb
|
120
122
|
- lib/bundler/vendor/thor/shell/basic.rb
|
121
123
|
- lib/bundler/vendor/thor/shell/color.rb
|
122
124
|
- lib/bundler/vendor/thor/shell/html.rb
|
123
|
-
- lib/bundler/vendor/thor/shell.rb
|
124
125
|
- lib/bundler/vendor/thor/task.rb
|
125
126
|
- lib/bundler/vendor/thor/util.rb
|
126
127
|
- lib/bundler/vendor/thor/version.rb
|
127
|
-
- lib/bundler/vendor/thor.rb
|
128
128
|
- lib/bundler/version.rb
|
129
|
-
- lib/bundler.rb
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
129
|
+
- lib/bundler/vlad.rb
|
130
|
+
- man/bundle-config.ronn
|
131
|
+
- man/bundle-exec.ronn
|
132
|
+
- man/bundle-install.ronn
|
133
|
+
- man/bundle-package.ronn
|
134
|
+
- man/bundle-update.ronn
|
135
|
+
- man/bundle.ronn
|
136
|
+
- man/gemfile.5.ronn
|
137
|
+
- man/index.txt
|
138
|
+
- spec/cache/gems_spec.rb
|
139
|
+
- spec/cache/git_spec.rb
|
140
|
+
- spec/cache/path_spec.rb
|
141
|
+
- spec/cache/platform_spec.rb
|
142
|
+
- spec/install/deploy_spec.rb
|
143
|
+
- spec/install/deprecated_spec.rb
|
144
|
+
- spec/install/gems/c_ext_spec.rb
|
145
|
+
- spec/install/gems/env_spec.rb
|
146
|
+
- spec/install/gems/flex_spec.rb
|
147
|
+
- spec/install/gems/groups_spec.rb
|
148
|
+
- spec/install/gems/locked_spec.rb
|
149
|
+
- spec/install/gems/packed_spec.rb
|
150
|
+
- spec/install/gems/platform_spec.rb
|
151
|
+
- spec/install/gems/resolving_spec.rb
|
152
|
+
- spec/install/gems/simple_case_spec.rb
|
153
|
+
- spec/install/gems/sudo_spec.rb
|
154
|
+
- spec/install/gems/win32_spec.rb
|
155
|
+
- spec/install/gemspec_spec.rb
|
156
|
+
- spec/install/git_spec.rb
|
157
|
+
- spec/install/invalid_spec.rb
|
158
|
+
- spec/install/path_spec.rb
|
159
|
+
- spec/install/upgrade_spec.rb
|
160
|
+
- spec/lock/flex_spec.rb
|
161
|
+
- spec/lock/git_spec.rb
|
162
|
+
- spec/other/check_spec.rb
|
163
|
+
- spec/other/config_spec.rb
|
164
|
+
- spec/other/console_spec.rb
|
165
|
+
- spec/other/exec_spec.rb
|
166
|
+
- spec/other/ext_spec.rb
|
167
|
+
- spec/other/gem_helper_spec.rb
|
168
|
+
- spec/other/help_spec.rb
|
169
|
+
- spec/other/init_spec.rb
|
170
|
+
- spec/other/newgem_spec.rb
|
171
|
+
- spec/other/open_spec.rb
|
172
|
+
- spec/other/show_spec.rb
|
173
|
+
- spec/pack/gems_spec.rb
|
174
|
+
- spec/quality_spec.rb
|
175
|
+
- spec/resolver/basic_spec.rb
|
176
|
+
- spec/resolver/platform_spec.rb
|
177
|
+
- spec/runtime/environment_rb_spec.rb
|
178
|
+
- spec/runtime/executable_spec.rb
|
179
|
+
- spec/runtime/load_spec.rb
|
180
|
+
- spec/runtime/platform_spec.rb
|
181
|
+
- spec/runtime/require_spec.rb
|
182
|
+
- spec/runtime/setup_spec.rb
|
183
|
+
- spec/runtime/with_clean_env_spec.rb
|
184
|
+
- spec/spec_helper.rb
|
185
|
+
- spec/support/builders.rb
|
186
|
+
- spec/support/helpers.rb
|
187
|
+
- spec/support/indexes.rb
|
188
|
+
- spec/support/matchers.rb
|
189
|
+
- spec/support/path.rb
|
190
|
+
- spec/support/platforms.rb
|
191
|
+
- spec/support/ruby_ext.rb
|
192
|
+
- spec/support/rubygems_ext.rb
|
193
|
+
- spec/support/rubygems_hax/rubygems_plugin.rb
|
194
|
+
- spec/support/sudo.rb
|
195
|
+
- spec/update/gems_spec.rb
|
196
|
+
- spec/update/git_spec.rb
|
197
|
+
- spec/update/source_spec.rb
|
198
|
+
- lib/bundler/man/bundle
|
199
|
+
- lib/bundler/man/bundle-config
|
200
|
+
- lib/bundler/man/bundle-config.txt
|
201
|
+
- lib/bundler/man/bundle-exec
|
202
|
+
- lib/bundler/man/bundle-exec.txt
|
203
|
+
- lib/bundler/man/bundle-install
|
204
|
+
- lib/bundler/man/bundle-install.txt
|
205
|
+
- lib/bundler/man/bundle-package
|
206
|
+
- lib/bundler/man/bundle-package.txt
|
207
|
+
- lib/bundler/man/bundle-update
|
208
|
+
- lib/bundler/man/bundle-update.txt
|
209
|
+
- lib/bundler/man/bundle.txt
|
210
|
+
- lib/bundler/man/gemfile.5
|
211
|
+
- lib/bundler/man/gemfile.5.txt
|
135
212
|
has_rdoc: true
|
136
213
|
homepage: http://gembundler.com
|
137
214
|
licenses: []
|
@@ -146,6 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
223
|
requirements:
|
147
224
|
- - ">="
|
148
225
|
- !ruby/object:Gem::Version
|
226
|
+
hash: 3
|
149
227
|
segments:
|
150
228
|
- 0
|
151
229
|
version: "0"
|
@@ -154,6 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
232
|
requirements:
|
155
233
|
- - ">="
|
156
234
|
- !ruby/object:Gem::Version
|
235
|
+
hash: 23
|
157
236
|
segments:
|
158
237
|
- 1
|
159
238
|
- 3
|
@@ -166,5 +245,64 @@ rubygems_version: 1.3.7
|
|
166
245
|
signing_key:
|
167
246
|
specification_version: 3
|
168
247
|
summary: The best way to manage your application's dependencies
|
169
|
-
test_files:
|
170
|
-
|
248
|
+
test_files:
|
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/install/deploy_spec.rb
|
254
|
+
- spec/install/deprecated_spec.rb
|
255
|
+
- spec/install/gems/c_ext_spec.rb
|
256
|
+
- spec/install/gems/env_spec.rb
|
257
|
+
- spec/install/gems/flex_spec.rb
|
258
|
+
- spec/install/gems/groups_spec.rb
|
259
|
+
- spec/install/gems/locked_spec.rb
|
260
|
+
- spec/install/gems/packed_spec.rb
|
261
|
+
- spec/install/gems/platform_spec.rb
|
262
|
+
- spec/install/gems/resolving_spec.rb
|
263
|
+
- spec/install/gems/simple_case_spec.rb
|
264
|
+
- spec/install/gems/sudo_spec.rb
|
265
|
+
- spec/install/gems/win32_spec.rb
|
266
|
+
- spec/install/gemspec_spec.rb
|
267
|
+
- spec/install/git_spec.rb
|
268
|
+
- spec/install/invalid_spec.rb
|
269
|
+
- spec/install/path_spec.rb
|
270
|
+
- spec/install/upgrade_spec.rb
|
271
|
+
- spec/lock/flex_spec.rb
|
272
|
+
- spec/lock/git_spec.rb
|
273
|
+
- spec/other/check_spec.rb
|
274
|
+
- spec/other/config_spec.rb
|
275
|
+
- spec/other/console_spec.rb
|
276
|
+
- spec/other/exec_spec.rb
|
277
|
+
- spec/other/ext_spec.rb
|
278
|
+
- spec/other/gem_helper_spec.rb
|
279
|
+
- spec/other/help_spec.rb
|
280
|
+
- spec/other/init_spec.rb
|
281
|
+
- spec/other/newgem_spec.rb
|
282
|
+
- spec/other/open_spec.rb
|
283
|
+
- spec/other/show_spec.rb
|
284
|
+
- spec/pack/gems_spec.rb
|
285
|
+
- spec/quality_spec.rb
|
286
|
+
- spec/resolver/basic_spec.rb
|
287
|
+
- spec/resolver/platform_spec.rb
|
288
|
+
- spec/runtime/environment_rb_spec.rb
|
289
|
+
- spec/runtime/executable_spec.rb
|
290
|
+
- spec/runtime/load_spec.rb
|
291
|
+
- spec/runtime/platform_spec.rb
|
292
|
+
- spec/runtime/require_spec.rb
|
293
|
+
- spec/runtime/setup_spec.rb
|
294
|
+
- spec/runtime/with_clean_env_spec.rb
|
295
|
+
- spec/spec_helper.rb
|
296
|
+
- spec/support/builders.rb
|
297
|
+
- spec/support/helpers.rb
|
298
|
+
- spec/support/indexes.rb
|
299
|
+
- spec/support/matchers.rb
|
300
|
+
- spec/support/path.rb
|
301
|
+
- spec/support/platforms.rb
|
302
|
+
- spec/support/ruby_ext.rb
|
303
|
+
- spec/support/rubygems_ext.rb
|
304
|
+
- spec/support/rubygems_hax/rubygems_plugin.rb
|
305
|
+
- spec/support/sudo.rb
|
306
|
+
- spec/update/gems_spec.rb
|
307
|
+
- spec/update/git_spec.rb
|
308
|
+
- spec/update/source_spec.rb
|