summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2012-11-29 16:22:45 -0800
committerAndre Arko <andre@arko.net>2012-12-29 15:05:19 -0800
commit8803a6857260c14db89754cf3975dbf9c088df5c (patch)
tree31caf7cbcb9169ff25e7f9afef8c319bff0274d7
parent9a41e5c41311b613173c03b5973ffbeece95b773 (diff)
downloadbundler-8803a6857260c14db89754cf3975dbf9c088df5c.tar.gz
use rake 10 in specs to fix warnings
-rw-r--r--man/bundle-update.ronn2
-rw-r--r--spec/install/gems/dependency_api_spec.rb3
-rw-r--r--spec/install/gemspec_spec.rb2
-rw-r--r--spec/lock/lockfile_spec.rb4
-rw-r--r--spec/other/newgem_spec.rb2
-rw-r--r--spec/other/show_spec.rb2
-rw-r--r--spec/support/builders.rb2
7 files changed, 9 insertions, 8 deletions
diff --git a/man/bundle-update.ronn b/man/bundle-update.ronn
index cdf9f0697c..8c6165d7c8 100644
--- a/man/bundle-update.ronn
+++ b/man/bundle-update.ronn
@@ -39,7 +39,7 @@ When you run [bundle install(1)][bundle-install] the first time, bundler will re
all of the dependencies, all the way down, and install what you need:
Fetching source index for http://rubygems.org/
- Installing rake (0.8.7)
+ Installing rake (10.0.2)
Installing abstract (1.0.0)
Installing activesupport (3.0.0.rc)
Installing builder (2.1.2)
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb
index 22304e3c29..65509aa3b5 100644
--- a/spec/install/gems/dependency_api_spec.rb
+++ b/spec/install/gems/dependency_api_spec.rb
@@ -338,7 +338,7 @@ OUTPUT
out.should include("Fetching gem metadata from #{source_uri}")
end
- it "should install when EndpointSpecification with a bin dir owned by root", :sudo => true do
+ fit "should install when EndpointSpecification with a bin dir owned by root", :sudo => true do
sudo "mkdir -p #{system_gem_path("bin")}"
sudo "chown -R root #{system_gem_path("bin")}"
@@ -347,6 +347,7 @@ OUTPUT
gem "rails"
G
bundle :install, :artifice => "endpoint"
+ puts out, err
should_be_installed "rails 2.3.2"
end
diff --git a/spec/install/gemspec_spec.rb b/spec/install/gemspec_spec.rb
index 7000d765a6..7e33358bd2 100644
--- a/spec/install/gemspec_spec.rb
+++ b/spec/install/gemspec_spec.rb
@@ -114,7 +114,7 @@ describe "bundle install from an existing gemspec" do
build_lib("foo", :path => tmp.join("foo")) do |s|
s.write("Gemfile", "source 'file://#{gem_repo1}'\ngemspec")
s.add_dependency "actionpack", "=2.3.2"
- s.add_development_dependency "rake", '=0.8.7'
+ s.add_development_dependency "rake", '=10.0.2'
end
Dir.chdir(tmp.join("foo")) do
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 81c5119e94..d30b8b0f0a 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -317,8 +317,8 @@ describe "the lockfile format" do
actionpack (= 2.3.2)
activerecord (= 2.3.2)
activeresource (= 2.3.2)
- rake (= 0.8.7)
- rake (0.8.7)
+ rake (= 10.0.2)
+ rake (10.0.2)
PLATFORMS
#{generic(Gem::Platform.local)}
diff --git a/spec/other/newgem_spec.rb b/spec/other/newgem_spec.rb
index 1fbca1289d..c0b6c0c33a 100644
--- a/spec/other/newgem_spec.rb
+++ b/spec/other/newgem_spec.rb
@@ -69,7 +69,7 @@ describe "bundle gem" do
end
it "runs rake without problems" do
- system_gems ["rake-0.8.7"]
+ system_gems ["rake-10.0.2"]
rakefile = <<-RAKEFILE
task :default do
diff --git a/spec/other/show_spec.rb b/spec/other/show_spec.rb
index d14114e801..dafbd55cec 100644
--- a/spec/other/show_spec.rb
+++ b/spec/other/show_spec.rb
@@ -41,7 +41,7 @@ describe "bundle show" do
it "prints path of all gems in bundle" do
bundle "show --paths"
- out.should include(default_bundle_path('gems', 'rake-0.8.7').to_s)
+ out.should include(default_bundle_path('gems', 'rake-10.0.2').to_s)
out.should include(default_bundle_path('gems', 'rails-2.3.2').to_s)
end
end
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index 6a71a43cb2..b2324edb7e 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -35,7 +35,7 @@ module Spec
build_gem "rails", "2.3.2" do |s|
s.executables = "rails"
- s.add_dependency "rake", "0.8.7"
+ s.add_dependency "rake", "10.0.2"
s.add_dependency "actionpack", "2.3.2"
s.add_dependency "activerecord", "2.3.2"
s.add_dependency "actionmailer", "2.3.2"