bundler 1.2.0.pre.1 → 1.2.0.rc
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/CHANGELOG.md +27 -1
- data/ISSUES.md +3 -3
- data/lib/bundler.rb +7 -5
- data/lib/bundler/cli.rb +17 -20
- data/lib/bundler/definition.rb +5 -0
- data/lib/bundler/dsl.rb +1 -1
- data/lib/bundler/fetcher.rb +5 -6
- data/lib/bundler/gem_path_manipulation.rb +8 -0
- data/lib/bundler/ruby_version.rb +4 -2
- data/lib/bundler/runtime.rb +46 -19
- data/lib/bundler/source.rb +25 -10
- data/lib/bundler/templates/newgem/{LICENSE.tt → LICENSE.txt.tt} +0 -0
- data/lib/bundler/templates/newgem/Rakefile.tt +0 -1
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -4
- data/lib/bundler/vendor/thor.rb +49 -28
- data/lib/bundler/vendor/thor/actions.rb +7 -3
- data/lib/bundler/vendor/thor/actions/create_link.rb +1 -1
- data/lib/bundler/vendor/thor/actions/directory.rb +9 -4
- data/lib/bundler/vendor/thor/actions/empty_directory.rb +24 -5
- data/lib/bundler/vendor/thor/actions/file_manipulation.rb +39 -1
- data/lib/bundler/vendor/thor/base.rb +65 -24
- data/lib/bundler/vendor/thor/core_ext/dir_escape.rb +0 -0
- data/lib/bundler/vendor/thor/error.rb +6 -1
- data/lib/bundler/vendor/thor/group.rb +21 -9
- data/lib/bundler/vendor/thor/invocation.rb +4 -2
- data/lib/bundler/vendor/thor/parser/arguments.rb +4 -0
- data/lib/bundler/vendor/thor/parser/option.rb +3 -2
- data/lib/bundler/vendor/thor/parser/options.rb +13 -7
- data/lib/bundler/vendor/thor/rake_compat.rb +13 -8
- data/lib/bundler/vendor/thor/runner.rb +15 -3
- data/lib/bundler/vendor/thor/shell.rb +4 -4
- data/lib/bundler/vendor/thor/shell/basic.rb +169 -82
- data/lib/bundler/vendor/thor/shell/color.rb +40 -4
- data/lib/bundler/vendor/thor/shell/html.rb +28 -26
- data/lib/bundler/vendor/thor/task.rb +24 -5
- data/lib/bundler/vendor/thor/util.rb +43 -6
- data/lib/bundler/vendor/thor/version.rb +1 -1
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-config.ronn +2 -2
- data/spec/bundler/definition_spec.rb +25 -0
- data/spec/cache/git_spec.rb +47 -0
- data/spec/cache/path_spec.rb +18 -0
- data/spec/install/git_spec.rb +21 -6
- data/spec/lock/lockfile_spec.rb +1 -1
- data/spec/other/check_spec.rb +14 -1
- data/spec/other/newgem_spec.rb +1 -0
- data/spec/other/platform_spec.rb +164 -0
- data/spec/runtime/setup_spec.rb +87 -0
- data/spec/runtime/with_clean_env_spec.rb +14 -0
- metadata +78 -133
data/spec/lock/lockfile_spec.rb
CHANGED
@@ -646,7 +646,7 @@ describe "the lockfile format" do
|
|
646
646
|
G
|
647
647
|
|
648
648
|
bundled_app("Gemfile.lock").should_not exist
|
649
|
-
out.should include "rack (>= 0) should come from an
|
649
|
+
out.should include "rack (>= 0) should come from an unspecified source and git://hubz.com (at master)"
|
650
650
|
end
|
651
651
|
|
652
652
|
it "works correctly with multiple version dependencies" do
|
data/spec/other/check_spec.rb
CHANGED
@@ -23,7 +23,7 @@ describe "bundle check" do
|
|
23
23
|
out.should == "The Gemfile's dependencies are satisfied"
|
24
24
|
end
|
25
25
|
|
26
|
-
it "creates a Gemfile.lock if one did not exist" do
|
26
|
+
it "creates a Gemfile.lock by default if one did not exist" do
|
27
27
|
install_gemfile <<-G
|
28
28
|
source "file://#{gem_repo1}"
|
29
29
|
gem "rails"
|
@@ -36,6 +36,19 @@ describe "bundle check" do
|
|
36
36
|
bundled_app("Gemfile.lock").should exist
|
37
37
|
end
|
38
38
|
|
39
|
+
it "does not create a Gemfile.lock if --dry-run was passed" do
|
40
|
+
install_gemfile <<-G
|
41
|
+
source "file://#{gem_repo1}"
|
42
|
+
gem "rails"
|
43
|
+
G
|
44
|
+
|
45
|
+
FileUtils.rm("Gemfile.lock")
|
46
|
+
|
47
|
+
bundle "check --dry-run"
|
48
|
+
|
49
|
+
bundled_app("Gemfile.lock").should_not exist
|
50
|
+
end
|
51
|
+
|
39
52
|
it "prints a generic error if the missing gems are unresolvable" do
|
40
53
|
system_gems ["rails-2.3.2"]
|
41
54
|
|
data/spec/other/newgem_spec.rb
CHANGED
@@ -20,6 +20,7 @@ describe "bundle gem" do
|
|
20
20
|
|
21
21
|
it "generates a gem skeleton" do
|
22
22
|
bundled_app("test-gem/test-gem.gemspec").should exist
|
23
|
+
bundled_app("test-gem/LICENSE.txt").should exist
|
23
24
|
bundled_app("test-gem/Gemfile").should exist
|
24
25
|
bundled_app("test-gem/Rakefile").should exist
|
25
26
|
bundled_app("test-gem/lib/test-gem.rb").should exist
|
data/spec/other/platform_spec.rb
CHANGED
@@ -161,6 +161,7 @@ G
|
|
161
161
|
end
|
162
162
|
|
163
163
|
let(:ruby_version_correct) { "ruby \"#{RUBY_VERSION}\", :engine => \"#{local_ruby_engine}\", :engine_version => \"#{local_engine_version}\"" }
|
164
|
+
let(:ruby_version_correct_engineless) { "ruby \"#{RUBY_VERSION}\"" }
|
164
165
|
let(:ruby_version_incorrect) { "ruby \"#{not_local_ruby_version}\", :engine => \"#{local_ruby_engine}\", :engine_version => \"#{not_local_ruby_version}\"" }
|
165
166
|
let(:engine_incorrect) { "ruby \"#{RUBY_VERSION}\", :engine => \"#{not_local_tag}\", :engine_version => \"#{RUBY_VERSION}\"" }
|
166
167
|
let(:engine_version_incorrect) { "ruby \"#{RUBY_VERSION}\", :engine => \"#{local_ruby_engine}\", :engine_version => \"#{not_local_engine_version}\"" }
|
@@ -192,6 +193,19 @@ G
|
|
192
193
|
bundled_app('Gemfile.lock').should exist
|
193
194
|
end
|
194
195
|
|
196
|
+
it "installs fine with any engine" do
|
197
|
+
simulate_ruby_engine "jruby" do
|
198
|
+
install_gemfile <<-G
|
199
|
+
source "file://#{gem_repo1}"
|
200
|
+
gem "rack"
|
201
|
+
|
202
|
+
#{ruby_version_correct_engineless}
|
203
|
+
G
|
204
|
+
|
205
|
+
bundled_app('Gemfile.lock').should exist
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
195
209
|
it "doesn't install when the ruby version doesn't match" do
|
196
210
|
install_gemfile <<-G, :exitstatus => true
|
197
211
|
source "file://#{gem_repo1}"
|
@@ -250,6 +264,26 @@ G
|
|
250
264
|
out.should == "The Gemfile's dependencies are satisfied"
|
251
265
|
end
|
252
266
|
|
267
|
+
it "checks fine with any engine" do
|
268
|
+
simulate_ruby_engine "jruby" do
|
269
|
+
install_gemfile <<-G
|
270
|
+
source "file://#{gem_repo1}"
|
271
|
+
gem "rack"
|
272
|
+
G
|
273
|
+
|
274
|
+
gemfile <<-G
|
275
|
+
source "file://#{gem_repo1}"
|
276
|
+
gem "rack"
|
277
|
+
|
278
|
+
#{ruby_version_correct_engineless}
|
279
|
+
G
|
280
|
+
|
281
|
+
bundle :check, :exitstatus => true
|
282
|
+
exitstatus.should eq(0)
|
283
|
+
out.should == "The Gemfile's dependencies are satisfied"
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
253
287
|
it "fails when ruby version doesn't match" do
|
254
288
|
install_gemfile <<-G
|
255
289
|
source "file://#{gem_repo1}"
|
@@ -331,6 +365,24 @@ G
|
|
331
365
|
should_be_installed "rack 1.2", "rack-obama 1.0", "activesupport 3.0"
|
332
366
|
end
|
333
367
|
|
368
|
+
it "updates fine with any engine" do
|
369
|
+
simulate_ruby_engine "jruby" do
|
370
|
+
gemfile <<-G
|
371
|
+
source "file://#{gem_repo2}"
|
372
|
+
gem "activesupport"
|
373
|
+
gem "rack-obama"
|
374
|
+
|
375
|
+
#{ruby_version_correct_engineless}
|
376
|
+
G
|
377
|
+
update_repo2 do
|
378
|
+
build_gem "activesupport", "3.0"
|
379
|
+
end
|
380
|
+
|
381
|
+
bundle "update"
|
382
|
+
should_be_installed "rack 1.2", "rack-obama 1.0", "activesupport 3.0"
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
334
386
|
it "fails when ruby version doesn't match" do
|
335
387
|
gemfile <<-G
|
336
388
|
source "file://#{gem_repo2}"
|
@@ -402,6 +454,20 @@ G
|
|
402
454
|
out.should == default_bundle_path('gems', 'rails-2.3.2').to_s
|
403
455
|
end
|
404
456
|
|
457
|
+
it "prints path if ruby version is correct for any engine" do
|
458
|
+
simulate_ruby_engine "jruby" do
|
459
|
+
gemfile <<-G
|
460
|
+
source "file://#{gem_repo1}"
|
461
|
+
gem "rails"
|
462
|
+
|
463
|
+
#{ruby_version_correct_engineless}
|
464
|
+
G
|
465
|
+
|
466
|
+
bundle "show rails"
|
467
|
+
out.should == default_bundle_path('gems', 'rails-2.3.2').to_s
|
468
|
+
end
|
469
|
+
end
|
470
|
+
|
405
471
|
it "fails if ruby version doesn't match" do
|
406
472
|
gemfile <<-G
|
407
473
|
source "file://#{gem_repo1}"
|
@@ -461,6 +527,19 @@ G
|
|
461
527
|
bundled_app("vendor/cache/rack-1.0.0.gem").should exist
|
462
528
|
end
|
463
529
|
|
530
|
+
it "copies the .gem file to vendor/cache when ruby version matches for any engine" do
|
531
|
+
simulate_ruby_engine "jruby" do
|
532
|
+
gemfile <<-G
|
533
|
+
gem 'rack'
|
534
|
+
|
535
|
+
#{ruby_version_correct_engineless}
|
536
|
+
G
|
537
|
+
|
538
|
+
bundle :cache
|
539
|
+
bundled_app("vendor/cache/rack-1.0.0.gem").should exist
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
464
543
|
it "fails if the ruby version doesn't match" do
|
465
544
|
gemfile <<-G
|
466
545
|
gem 'rack'
|
@@ -517,6 +596,19 @@ G
|
|
517
596
|
bundled_app("vendor/cache/rack-1.0.0.gem").should exist
|
518
597
|
end
|
519
598
|
|
599
|
+
it "copies the .gem file to vendor/cache when ruby version matches any engine" do
|
600
|
+
simulate_ruby_engine "jruby" do
|
601
|
+
gemfile <<-G
|
602
|
+
gem 'rack'
|
603
|
+
|
604
|
+
#{ruby_version_correct_engineless}
|
605
|
+
G
|
606
|
+
|
607
|
+
bundle :pack
|
608
|
+
bundled_app("vendor/cache/rack-1.0.0.gem").should exist
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
520
612
|
it "fails if the ruby version doesn't match" do
|
521
613
|
gemfile <<-G
|
522
614
|
gem 'rack'
|
@@ -569,6 +661,19 @@ G
|
|
569
661
|
out.should == "0.9.1"
|
570
662
|
end
|
571
663
|
|
664
|
+
it "activates the correct gem when ruby version matches any engine" do
|
665
|
+
simulate_ruby_engine "jruby" do
|
666
|
+
gemfile <<-G
|
667
|
+
gem "rack", "0.9.1"
|
668
|
+
|
669
|
+
#{ruby_version_correct_engineless}
|
670
|
+
G
|
671
|
+
|
672
|
+
bundle "exec rackup"
|
673
|
+
out.should == "0.9.1"
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
572
677
|
it "fails when the ruby version doesn't match" do
|
573
678
|
gemfile <<-G
|
574
679
|
gem "rack", "0.9.1"
|
@@ -632,6 +737,25 @@ G
|
|
632
737
|
out.should include("0.9.1")
|
633
738
|
end
|
634
739
|
|
740
|
+
it "starts IRB with the default group loaded when ruby version matches any engine" do
|
741
|
+
simulate_ruby_engine "jruby" do
|
742
|
+
gemfile <<-G
|
743
|
+
source "file://#{gem_repo1}"
|
744
|
+
gem "rack"
|
745
|
+
gem "activesupport", :group => :test
|
746
|
+
gem "rack_middleware", :group => :development
|
747
|
+
|
748
|
+
#{ruby_version_correct_engineless}
|
749
|
+
G
|
750
|
+
|
751
|
+
bundle "console" do |input|
|
752
|
+
input.puts("puts RACK")
|
753
|
+
input.puts("exit")
|
754
|
+
end
|
755
|
+
out.should include("0.9.1")
|
756
|
+
end
|
757
|
+
end
|
758
|
+
|
635
759
|
it "fails when ruby version doesn't match" do
|
636
760
|
gemfile <<-G
|
637
761
|
source "file://#{gem_repo1}"
|
@@ -703,6 +827,25 @@ G
|
|
703
827
|
bundled_app("Gemfile.lock").should exist
|
704
828
|
end
|
705
829
|
|
830
|
+
it "makes a Gemfile.lock if setup succeeds for any engine" do
|
831
|
+
simulate_ruby_engine "jruby" do
|
832
|
+
install_gemfile <<-G
|
833
|
+
source "file://#{gem_repo1}"
|
834
|
+
gem "yard"
|
835
|
+
gem "rack"
|
836
|
+
|
837
|
+
#{ruby_version_correct_engineless}
|
838
|
+
G
|
839
|
+
|
840
|
+
File.read(bundled_app("Gemfile.lock"))
|
841
|
+
|
842
|
+
FileUtils.rm(bundled_app("Gemfile.lock"))
|
843
|
+
|
844
|
+
run "1"
|
845
|
+
bundled_app("Gemfile.lock").should exist
|
846
|
+
end
|
847
|
+
end
|
848
|
+
|
706
849
|
it "fails when ruby version doesn't match" do
|
707
850
|
install_gemfile <<-G
|
708
851
|
source "file://#{gem_repo1}"
|
@@ -822,6 +965,27 @@ G
|
|
822
965
|
out.should include("foo (1.0")
|
823
966
|
end
|
824
967
|
|
968
|
+
it "returns list of outdated gems when the ruby version matches for any engine" do
|
969
|
+
simulate_ruby_engine "jruby" do
|
970
|
+
update_repo2 do
|
971
|
+
build_gem "activesupport", "3.0"
|
972
|
+
update_git "foo", :path => lib_path("foo")
|
973
|
+
end
|
974
|
+
|
975
|
+
gemfile <<-G
|
976
|
+
source "file://#{gem_repo2}"
|
977
|
+
gem "activesupport", "2.3.5"
|
978
|
+
gem "foo", :git => "#{lib_path('foo')}"
|
979
|
+
|
980
|
+
#{ruby_version_correct_engineless}
|
981
|
+
G
|
982
|
+
|
983
|
+
bundle "outdated"
|
984
|
+
out.should include("activesupport (3.0 > 2.3.5)")
|
985
|
+
out.should include("foo (1.0")
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
825
989
|
it "fails when the ruby version doesn't match" do
|
826
990
|
update_repo2 do
|
827
991
|
build_gem "activesupport", "3.0"
|
data/spec/runtime/setup_spec.rb
CHANGED
@@ -374,6 +374,93 @@ describe "Bundler.setup" do
|
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
377
|
+
describe "when specifying local override" do
|
378
|
+
it "explodes if given path does not exist on runtime" do
|
379
|
+
build_git "rack", "0.8"
|
380
|
+
|
381
|
+
FileUtils.cp_r("#{lib_path('rack-0.8')}/.", lib_path('local-rack'))
|
382
|
+
|
383
|
+
gemfile <<-G
|
384
|
+
source "file://#{gem_repo1}"
|
385
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :branch => "master"
|
386
|
+
G
|
387
|
+
|
388
|
+
bundle %|config local.rack #{lib_path('local-rack')}|
|
389
|
+
bundle :install
|
390
|
+
out.should =~ /at #{lib_path('local-rack')}/
|
391
|
+
|
392
|
+
FileUtils.rm_rf(lib_path('local-rack'))
|
393
|
+
run "require 'rack'"
|
394
|
+
err.should =~ /Cannot use local override for rack-0.8 because #{Regexp.escape(lib_path('local-rack').to_s)} does not exist/
|
395
|
+
end
|
396
|
+
|
397
|
+
it "explodes if branch is not given on runtime" do
|
398
|
+
build_git "rack", "0.8"
|
399
|
+
|
400
|
+
FileUtils.cp_r("#{lib_path('rack-0.8')}/.", lib_path('local-rack'))
|
401
|
+
|
402
|
+
gemfile <<-G
|
403
|
+
source "file://#{gem_repo1}"
|
404
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :branch => "master"
|
405
|
+
G
|
406
|
+
|
407
|
+
bundle %|config local.rack #{lib_path('local-rack')}|
|
408
|
+
bundle :install
|
409
|
+
out.should =~ /at #{lib_path('local-rack')}/
|
410
|
+
|
411
|
+
gemfile <<-G
|
412
|
+
source "file://#{gem_repo1}"
|
413
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}"
|
414
|
+
G
|
415
|
+
|
416
|
+
run "require 'rack'"
|
417
|
+
err.should =~ /because :branch is not specified in Gemfile/
|
418
|
+
end
|
419
|
+
|
420
|
+
it "explodes on different branches on runtime" do
|
421
|
+
build_git "rack", "0.8"
|
422
|
+
|
423
|
+
FileUtils.cp_r("#{lib_path('rack-0.8')}/.", lib_path('local-rack'))
|
424
|
+
|
425
|
+
gemfile <<-G
|
426
|
+
source "file://#{gem_repo1}"
|
427
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :branch => "master"
|
428
|
+
G
|
429
|
+
|
430
|
+
bundle %|config local.rack #{lib_path('local-rack')}|
|
431
|
+
bundle :install
|
432
|
+
out.should =~ /at #{lib_path('local-rack')}/
|
433
|
+
|
434
|
+
gemfile <<-G
|
435
|
+
source "file://#{gem_repo1}"
|
436
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :branch => "changed"
|
437
|
+
G
|
438
|
+
|
439
|
+
run "require 'rack'"
|
440
|
+
err.should =~ /is using branch master but Gemfile specifies changed/
|
441
|
+
end
|
442
|
+
|
443
|
+
it "explodes on refs with different branches on runtime" do
|
444
|
+
build_git "rack", "0.8"
|
445
|
+
|
446
|
+
FileUtils.cp_r("#{lib_path('rack-0.8')}/.", lib_path('local-rack'))
|
447
|
+
|
448
|
+
install_gemfile <<-G
|
449
|
+
source "file://#{gem_repo1}"
|
450
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :ref => "master", :branch => "master"
|
451
|
+
G
|
452
|
+
|
453
|
+
gemfile <<-G
|
454
|
+
source "file://#{gem_repo1}"
|
455
|
+
gem "rack", :git => "#{lib_path('rack-0.8')}", :ref => "master", :branch => "nonexistant"
|
456
|
+
G
|
457
|
+
|
458
|
+
bundle %|config local.rack #{lib_path('local-rack')}|
|
459
|
+
run "require 'rack'"
|
460
|
+
err.should =~ /is using branch master but Gemfile specifies nonexistant/
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
377
464
|
describe "when excluding groups" do
|
378
465
|
it "doesn't change the resolve if --without is used" do
|
379
466
|
install_gemfile <<-G, :without => :rails
|
@@ -25,6 +25,20 @@ describe "Bundler.with_env helpers" do
|
|
25
25
|
|
26
26
|
it_should_behave_like "Bundler.with_*_env"
|
27
27
|
|
28
|
+
it "should keep the original GEM_PATH even in sub processes" do
|
29
|
+
gemfile ""
|
30
|
+
bundle "install --path vendor/bundle"
|
31
|
+
|
32
|
+
gem_path = ENV['GEM_PATH']
|
33
|
+
|
34
|
+
code = "Bundler.with_clean_env do;" +
|
35
|
+
" print ENV['GEM_PATH'] != '';" +
|
36
|
+
"end"
|
37
|
+
|
38
|
+
result = bundle "exec ruby -e #{code.inspect}"
|
39
|
+
result.should == "true"
|
40
|
+
end
|
41
|
+
|
28
42
|
it "should not pass any bundler environment variables" do
|
29
43
|
Bundler.with_clean_env do
|
30
44
|
`echo $BUNDLE_PATH`.strip.should_not == './Gemfile'
|
metadata
CHANGED
@@ -1,60 +1,65 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1143790945
|
5
5
|
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
- rc
|
11
|
+
version: 1.2.0.rc
|
6
12
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
-
|
13
|
+
authors:
|
14
|
+
- "Andr\xC3\xA9 Arko"
|
9
15
|
- Terence Lee
|
10
16
|
- Carl Lerche
|
11
17
|
- Yehuda Katz
|
12
18
|
autorequire:
|
13
19
|
bindir: bin
|
14
20
|
cert_chain: []
|
15
|
-
|
16
|
-
|
17
|
-
|
21
|
+
|
22
|
+
date: 2012-07-18 00:00:00 Z
|
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
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ! '>='
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
36
28
|
none: false
|
37
|
-
requirements:
|
38
|
-
- -
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 3
|
33
|
+
segments:
|
34
|
+
- 0
|
35
|
+
version: "0"
|
41
36
|
type: :development
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rspec
|
42
40
|
prerelease: false
|
43
|
-
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
44
42
|
none: false
|
45
|
-
requirements:
|
43
|
+
requirements:
|
46
44
|
- - ~>
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 3
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 0
|
50
|
+
version: "2.0"
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
53
|
+
description: Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably
|
54
|
+
email:
|
52
55
|
- andre@arko.net
|
53
|
-
executables:
|
56
|
+
executables:
|
54
57
|
- bundle
|
55
58
|
extensions: []
|
59
|
+
|
56
60
|
extra_rdoc_files: []
|
57
|
-
|
61
|
+
|
62
|
+
files:
|
58
63
|
- .gitignore
|
59
64
|
- .travis.yml
|
60
65
|
- CHANGELOG.md
|
@@ -80,6 +85,7 @@ files:
|
|
80
85
|
- lib/bundler/gem_helper.rb
|
81
86
|
- lib/bundler/gem_helpers.rb
|
82
87
|
- lib/bundler/gem_installer.rb
|
88
|
+
- lib/bundler/gem_path_manipulation.rb
|
83
89
|
- lib/bundler/gem_tasks.rb
|
84
90
|
- lib/bundler/graph.rb
|
85
91
|
- lib/bundler/index.rb
|
@@ -103,7 +109,7 @@ files:
|
|
103
109
|
- lib/bundler/templates/Executable.standalone
|
104
110
|
- lib/bundler/templates/Gemfile
|
105
111
|
- lib/bundler/templates/newgem/Gemfile.tt
|
106
|
-
- lib/bundler/templates/newgem/LICENSE.tt
|
112
|
+
- lib/bundler/templates/newgem/LICENSE.txt.tt
|
107
113
|
- lib/bundler/templates/newgem/README.md.tt
|
108
114
|
- lib/bundler/templates/newgem/Rakefile.tt
|
109
115
|
- lib/bundler/templates/newgem/bin/newgem.tt
|
@@ -123,6 +129,7 @@ files:
|
|
123
129
|
- lib/bundler/vendor/thor/actions/file_manipulation.rb
|
124
130
|
- lib/bundler/vendor/thor/actions/inject_into_file.rb
|
125
131
|
- lib/bundler/vendor/thor/base.rb
|
132
|
+
- lib/bundler/vendor/thor/core_ext/dir_escape.rb
|
126
133
|
- lib/bundler/vendor/thor/core_ext/file_binary_read.rb
|
127
134
|
- lib/bundler/vendor/thor/core_ext/hash_with_indifferent_access.rb
|
128
135
|
- lib/bundler/vendor/thor/core_ext/ordered_hash.rb
|
@@ -155,6 +162,7 @@ files:
|
|
155
162
|
- man/bundle.ronn
|
156
163
|
- man/gemfile.5.ronn
|
157
164
|
- man/index.txt
|
165
|
+
- spec/bundler/definition_spec.rb
|
158
166
|
- spec/bundler/dsl_spec.rb
|
159
167
|
- spec/bundler/gem_helper_spec.rb
|
160
168
|
- spec/bundler/source_spec.rb
|
@@ -232,119 +240,56 @@ files:
|
|
232
240
|
- spec/update/gems_spec.rb
|
233
241
|
- spec/update/git_spec.rb
|
234
242
|
- spec/update/source_spec.rb
|
235
|
-
- lib/bundler/man/bundle
|
236
|
-
- lib/bundler/man/bundle-config
|
237
|
-
- lib/bundler/man/bundle-config.txt
|
238
243
|
- lib/bundler/man/bundle-exec
|
239
|
-
- lib/bundler/man/bundle
|
244
|
+
- lib/bundler/man/bundle
|
240
245
|
- lib/bundler/man/bundle-install
|
241
|
-
- lib/bundler/man/
|
246
|
+
- lib/bundler/man/gemfile.5
|
242
247
|
- lib/bundler/man/bundle-package
|
243
|
-
- lib/bundler/man/bundle-package.txt
|
244
248
|
- lib/bundler/man/bundle-update
|
249
|
+
- lib/bundler/man/bundle-exec.txt
|
250
|
+
- lib/bundler/man/gemfile.5.txt
|
245
251
|
- lib/bundler/man/bundle-update.txt
|
252
|
+
- lib/bundler/man/bundle-config
|
253
|
+
- lib/bundler/man/bundle-config.txt
|
246
254
|
- lib/bundler/man/bundle.txt
|
247
|
-
- lib/bundler/man/
|
248
|
-
- lib/bundler/man/
|
255
|
+
- lib/bundler/man/bundle-package.txt
|
256
|
+
- lib/bundler/man/bundle-install.txt
|
249
257
|
homepage: http://gembundler.com
|
250
258
|
licenses: []
|
259
|
+
|
251
260
|
post_install_message:
|
252
261
|
rdoc_options: []
|
253
|
-
|
262
|
+
|
263
|
+
require_paths:
|
254
264
|
- lib
|
255
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
265
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
256
266
|
none: false
|
257
|
-
requirements:
|
258
|
-
- -
|
259
|
-
- !ruby/object:Gem::Version
|
267
|
+
requirements:
|
268
|
+
- - ">="
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
hash: 57
|
271
|
+
segments:
|
272
|
+
- 1
|
273
|
+
- 8
|
274
|
+
- 7
|
260
275
|
version: 1.8.7
|
261
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
276
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
262
277
|
none: false
|
263
|
-
requirements:
|
264
|
-
- -
|
265
|
-
- !ruby/object:Gem::Version
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
hash: 23
|
282
|
+
segments:
|
283
|
+
- 1
|
284
|
+
- 3
|
285
|
+
- 6
|
266
286
|
version: 1.3.6
|
267
287
|
requirements: []
|
288
|
+
|
268
289
|
rubyforge_project: bundler
|
269
290
|
rubygems_version: 1.8.21
|
270
291
|
signing_key:
|
271
292
|
specification_version: 3
|
272
293
|
summary: The best way to manage your application's dependencies
|
273
|
-
test_files:
|
274
|
-
|
275
|
-
- spec/bundler/gem_helper_spec.rb
|
276
|
-
- spec/bundler/source_spec.rb
|
277
|
-
- spec/cache/gems_spec.rb
|
278
|
-
- spec/cache/git_spec.rb
|
279
|
-
- spec/cache/path_spec.rb
|
280
|
-
- spec/cache/platform_spec.rb
|
281
|
-
- spec/install/deploy_spec.rb
|
282
|
-
- spec/install/gems/c_ext_spec.rb
|
283
|
-
- spec/install/gems/dependency_api_spec.rb
|
284
|
-
- spec/install/gems/env_spec.rb
|
285
|
-
- spec/install/gems/flex_spec.rb
|
286
|
-
- spec/install/gems/groups_spec.rb
|
287
|
-
- spec/install/gems/packed_spec.rb
|
288
|
-
- spec/install/gems/platform_spec.rb
|
289
|
-
- spec/install/gems/post_install_spec.rb
|
290
|
-
- spec/install/gems/resolving_spec.rb
|
291
|
-
- spec/install/gems/simple_case_spec.rb
|
292
|
-
- spec/install/gems/standalone_spec.rb
|
293
|
-
- spec/install/gems/sudo_spec.rb
|
294
|
-
- spec/install/gems/win32_spec.rb
|
295
|
-
- spec/install/gemspec_spec.rb
|
296
|
-
- spec/install/git_spec.rb
|
297
|
-
- spec/install/invalid_spec.rb
|
298
|
-
- spec/install/path_spec.rb
|
299
|
-
- spec/install/upgrade_spec.rb
|
300
|
-
- spec/lock/git_spec.rb
|
301
|
-
- spec/lock/lockfile_spec.rb
|
302
|
-
- spec/other/check_spec.rb
|
303
|
-
- spec/other/clean_spec.rb
|
304
|
-
- spec/other/config_spec.rb
|
305
|
-
- spec/other/console_spec.rb
|
306
|
-
- spec/other/exec_spec.rb
|
307
|
-
- spec/other/ext_spec.rb
|
308
|
-
- spec/other/help_spec.rb
|
309
|
-
- spec/other/init_spec.rb
|
310
|
-
- spec/other/newgem_spec.rb
|
311
|
-
- spec/other/open_spec.rb
|
312
|
-
- spec/other/outdated_spec.rb
|
313
|
-
- spec/other/platform_spec.rb
|
314
|
-
- spec/other/show_spec.rb
|
315
|
-
- spec/quality_spec.rb
|
316
|
-
- spec/realworld/edgecases_spec.rb
|
317
|
-
- spec/resolver/basic_spec.rb
|
318
|
-
- spec/resolver/platform_spec.rb
|
319
|
-
- spec/runtime/executable_spec.rb
|
320
|
-
- spec/runtime/load_spec.rb
|
321
|
-
- spec/runtime/platform_spec.rb
|
322
|
-
- spec/runtime/require_spec.rb
|
323
|
-
- spec/runtime/setup_spec.rb
|
324
|
-
- spec/runtime/with_clean_env_spec.rb
|
325
|
-
- spec/spec_helper.rb
|
326
|
-
- spec/support/artifice/endopint_marshal_fail_basic_authentication.rb
|
327
|
-
- spec/support/artifice/endpoint.rb
|
328
|
-
- spec/support/artifice/endpoint_500.rb
|
329
|
-
- spec/support/artifice/endpoint_api_missing.rb
|
330
|
-
- spec/support/artifice/endpoint_basic_authentication.rb
|
331
|
-
- spec/support/artifice/endpoint_extra.rb
|
332
|
-
- spec/support/artifice/endpoint_extra_missing.rb
|
333
|
-
- spec/support/artifice/endpoint_fallback.rb
|
334
|
-
- spec/support/artifice/endpoint_marshal_fail.rb
|
335
|
-
- spec/support/artifice/endpoint_redirect.rb
|
336
|
-
- spec/support/builders.rb
|
337
|
-
- spec/support/fakeweb/rack-1.0.0.marshal
|
338
|
-
- spec/support/fakeweb/windows.rb
|
339
|
-
- spec/support/helpers.rb
|
340
|
-
- spec/support/indexes.rb
|
341
|
-
- spec/support/matchers.rb
|
342
|
-
- spec/support/path.rb
|
343
|
-
- spec/support/platforms.rb
|
344
|
-
- spec/support/ruby_ext.rb
|
345
|
-
- spec/support/rubygems_ext.rb
|
346
|
-
- spec/support/rubygems_hax/platform.rb
|
347
|
-
- spec/support/sudo.rb
|
348
|
-
- spec/update/gems_spec.rb
|
349
|
-
- spec/update/git_spec.rb
|
350
|
-
- spec/update/source_spec.rb
|
294
|
+
test_files: []
|
295
|
+
|