summaryrefslogtreecommitdiff
path: root/spec/lock
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-24 12:49:56 -0800
committerAndre Arko <andre@arko.net>2015-01-25 23:30:30 -0800
commita1f1cc6bef69d96b6998f128a84a633595cffa15 (patch)
treebcca97c523023cb2a1599c709280414324bde156 /spec/lock
parent4dc8cf6c778d7aed0c020f1564cf93827e3b0403 (diff)
downloadbundler-a1f1cc6bef69d96b6998f128a84a633595cffa15.tar.gz
Revert "svn source support"
We're pulling out svn source support into a plugin. While we work on that, you can use the 1.8.0.svn release, but subversion sources aren't an official part of Bundler itself. This reverts commit 049d281d0fdcc29297a21c6a66cd7efc38690675. This reverts commit 22fecdd07fdf02edb1a8824fb73dd7e015507644. This reverts commit 38f195e11f37ce5139af4ff3384eb2f26c2edb19. This reverts commit 500436a33de0b884525dbf82cfc69332fc96f8b9. This reverts commit 2c356be90a23921058cd14fd0e4a366da195021a.
Diffstat (limited to 'spec/lock')
-rw-r--r--spec/lock/lockfile_spec.rb28
-rw-r--r--spec/lock/svn_spec.rb35
2 files changed, 0 insertions, 63 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 4546754e85..364b97181a 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -209,34 +209,6 @@ describe "the lockfile format" do
G
end
- it "serializes global svn sources" do
- build_svn "foo"
-
- install_gemfile <<-G
- svn "file://#{lib_path('foo-1.0')}" do
- gem "foo"
- end
- G
-
- lockfile_should_be <<-G
- SVN
- remote: file://#{lib_path('foo-1.0')}
- revision: 1
- ref: HEAD
- specs:
- foo (1.0)
-
- GEM
- specs:
-
- PLATFORMS
- #{generic(Gem::Platform.local)}
-
- DEPENDENCIES
- foo!
- G
- end
-
it "generates a lockfile with a ref for a single pinned source, git gem with a branch requirement" do
git = build_git "foo"
update_git "foo", :branch => "omg"
diff --git a/spec/lock/svn_spec.rb b/spec/lock/svn_spec.rb
deleted file mode 100644
index 8c2db1eb2c..0000000000
--- a/spec/lock/svn_spec.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require "spec_helper"
-
-describe "bundle lock with svn gems" do
- before :each do
- build_svn "foo"
-
- install_gemfile <<-G
- gem 'foo', :svn => "file://#{lib_path('foo-1.0')}"
- G
- end
-
- it "doesn't break right after running lock" do
- should_be_installed "foo 1.0.0"
- end
-
- it "locks a svn source to the current ref" do
- update_svn "foo" do |s|
- s.write "lib/foo.rb", "puts :CACHE"
- end
- bundle :install
-
- run <<-RUBY
- require 'foo'
- RUBY
-
- expect(out).not_to eq("CACHE")
- end
-
- it "provides correct #full_gem_path" do
- run <<-RUBY
- puts Bundler.rubygems.find_name('foo').first.full_gem_path
- RUBY
- expect(out).to eq(bundle("show foo"))
- end
-end