From 067fb963df8fb68692ce45ab2140ca394a2b40cd Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Mon, 26 Sep 2011 13:42:12 -0400 Subject: [PATCH] updated rake and cucumber so tests pass in 1.9.3 --- Gemfile | 4 ++-- Gemfile.lock | 41 +++++++++++++++++++++-------------------- Rakefile | 1 + 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/Gemfile b/Gemfile index f4971264..38a007b4 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source :rubygems gemspec -gem "cucumber", "~> 0.9.2" +gem "cucumber", "~> 1.1.0" gem "rspec", "~>2.0.0" gem "rails", "~>3.0.0.rc" gem "compass-validator", "3.0.1" @@ -18,6 +18,6 @@ gem 'mocha' gem 'timecop' gem 'diff-lcs', '~> 1.1.2' -gem 'rake', '0.8.7' +gem 'rake', '~> 0.9.2' #Warning becarful adding OS dependant gems to this file it will cause issues on the CI server \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index c4b8f64f..642290be 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - compass (0.12.0.alpha.0.91a748a) + compass (0.12.alpha.0.d794394) chunky_png (~> 1.2) fssm (>= 0.2.7) sass (~> 3.1) @@ -39,16 +39,16 @@ GEM addressable (2.2.6) arel (2.0.10) builder (2.1.2) - chunky_png (1.2.1) + chunky_png (1.2.5) compass-validator (3.0.1) css_parser (1.0.1) - cucumber (0.9.4) - builder (~> 2.1.2) - diff-lcs (~> 1.1.2) - gherkin (~> 2.2.9) - json (~> 1.4.6) - term-ansicolor (~> 1.0.5) - diff-lcs (1.1.2) + cucumber (1.1.0) + builder (>= 2.1.2) + diff-lcs (>= 1.1.2) + gherkin (~> 2.5.0) + json (>= 1.4.6) + term-ansicolor (>= 1.0.6) + diff-lcs (1.1.3) em-dir-watcher (0.9.4) em-websocket (0.3.1) addressable (>= 2.1.1) @@ -57,12 +57,11 @@ GEM abstract (>= 1.0.0) eventmachine (0.12.10) fssm (0.2.7) - gherkin (2.2.9) - json (~> 1.4.6) - term-ansicolor (~> 1.0.5) - haml (3.1.2) + gherkin (2.5.1) + json (>= 1.4.6) + haml (3.1.3) i18n (0.5.0) - json (1.4.6) + json (1.6.1) livereload (1.6) em-dir-watcher (>= 0.1) em-websocket (>= 0.1.2) @@ -72,10 +71,12 @@ GEM i18n (>= 0.4.0) mime-types (~> 1.16) treetop (~> 1.4.8) + metaclass (0.0.1) mime-types (1.16) - mocha (0.9.12) + mocha (0.10.0) + metaclass (~> 0.0.1) polyglot (0.3.2) - rack (1.2.3) + rack (1.2.4) rack-mount (0.6.14) rack (>= 1.0.0) rack-test (0.5.7) @@ -94,9 +95,9 @@ GEM rake (>= 0.8.7) rdoc (~> 3.4) thor (~> 0.14.4) - rake (0.8.7) + rake (0.9.2) rcov (0.9.10) - rdoc (3.9.2) + rdoc (3.9.4) rspec (2.0.1) rspec-core (~> 2.0.1) rspec-expectations (~> 2.0.1) @@ -126,13 +127,13 @@ DEPENDENCIES compass! compass-validator (= 3.0.1) css_parser (~> 1.0.1) - cucumber (~> 0.9.2) + cucumber (~> 1.1.0) diff-lcs (~> 1.1.2) haml (~> 3.1) livereload mocha rails (~> 3.0.0.rc) - rake (= 0.8.7) + rake (~> 0.9.2) rcov rspec (~> 2.0.0) ruby-prof diff --git a/Rakefile b/Rakefile index 40e25323..7fcfe035 100644 --- a/Rakefile +++ b/Rakefile @@ -1,6 +1,7 @@ require 'rubygems' require 'bundler' Bundler.setup +require 'rake/dsl_definition' rescue nil require 'compass' # ----- Default: Testing ------