Permalink
Browse files

run specs with activesupport 3.0 and 3.1

  • Loading branch information...
1 parent 375a273 commit 2af281fc0a96354c9f487ea3660ea3d9b7a641d0 @langalex committed Aug 12, 2011
Showing with 169 additions and 2 deletions.
  1. +0 −1 .gitignore
  2. +48 −0 Gemfile.lock
  3. +11 −1 Rakefile
  4. +11 −0 active_support_3_0
  5. +42 −0 active_support_3_0.lock
  6. +11 −0 active_support_3_1
  7. +46 −0 active_support_3_1.lock
View
@@ -1,6 +1,5 @@
*.gem
.bundle
-Gemfile.lock
couch_potato_js_runner.js
pkg
.rvmrc
View
@@ -0,0 +1,48 @@
+PATH
+ remote: .
+ specs:
+ couch_potato (0.5.7)
+ activemodel
+ couchrest (>= 1.0.1)
+ json
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.0.6)
+ activesupport (= 3.0.6)
+ builder (~> 2.1.2)
+ i18n (~> 0.5.0)
+ activesupport (3.0.6)
+ builder (2.1.2)
+ couchrest (1.0.2)
+ json (~> 1.5.1)
+ mime-types (~> 1.15)
+ rest-client (~> 1.6.1)
+ diff-lcs (1.1.2)
+ i18n (0.5.0)
+ json (1.5.1)
+ mime-types (1.16)
+ rake (0.8.7)
+ rest-client (1.6.1)
+ mime-types (>= 1.16)
+ rspec (2.5.0)
+ rspec-core (~> 2.5.0)
+ rspec-expectations (~> 2.5.0)
+ rspec-mocks (~> 2.5.0)
+ rspec-core (2.5.1)
+ rspec-expectations (2.5.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.5.0)
+ timecop (0.3.5)
+ tzinfo (0.3.26)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ couch_potato!
+ rake
+ rspec (>= 2.0)
+ timecop
+ tzinfo
View
@@ -68,7 +68,17 @@ task :spec_unit => [:spec_unit_validatable, :spec_unit_active_model] do
end
desc "Run all specs"
-task :spec => [:spec_unit, :spec_functional] do
+task :spec do
+ ['3_0', '3_1'].each do |version|
+ Bundler.with_clean_env do
+ ENV['BUNDLE_GEMFILE'] = "active_support_#{version}"
+ sh "bundle install"
+ Rake::Task[:spec_unit_active_model].execute
+ Rake::Task[:spec_functional_active_model].execute
+ Rake::Task[:spec_unit_validatable].execute
+ Rake::Task[:spec_functional_validatable].execute
+ end
+ end
end
desc 'Generate documentation'
View
@@ -0,0 +1,11 @@
+source :rubygems
+
+gem 'json'
+gem 'couchrest', '>=1.0.1'
+gem 'activemodel', '~>3.0'
+
+
+gem 'rspec', '>=2.0'
+gem 'timecop'
+gem 'tzinfo'
+gem 'rake'
View
@@ -0,0 +1,42 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.0.6)
+ activesupport (= 3.0.6)
+ builder (~> 2.1.2)
+ i18n (~> 0.5.0)
+ activesupport (3.0.6)
+ builder (2.1.2)
+ couchrest (1.0.2)
+ json (~> 1.5.1)
+ mime-types (~> 1.15)
+ rest-client (~> 1.6.1)
+ diff-lcs (1.1.2)
+ i18n (0.5.0)
+ json (1.5.1)
+ mime-types (1.16)
+ rake (0.8.7)
+ rest-client (1.6.1)
+ mime-types (>= 1.16)
+ rspec (2.5.0)
+ rspec-core (~> 2.5.0)
+ rspec-expectations (~> 2.5.0)
+ rspec-mocks (~> 2.5.0)
+ rspec-core (2.5.1)
+ rspec-expectations (2.5.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.5.0)
+ timecop (0.3.5)
+ tzinfo (0.3.26)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activemodel (~> 3.0)
+ couchrest (>= 1.0.1)
+ json
+ rake
+ rspec (>= 2.0)
+ timecop
+ tzinfo
View
@@ -0,0 +1,11 @@
+source :rubygems
+
+gem 'json'
+gem 'couchrest', '>=1.0.1'
+gem "activemodel", "~> 3.1.0.rc5"
+
+
+gem 'rspec', '>=2.0'
+gem 'timecop'
+gem 'tzinfo'
+gem 'rake'
View
@@ -0,0 +1,46 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.1.0.rc5)
+ activesupport (= 3.1.0.rc5)
+ bcrypt-ruby (~> 2.1.4)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activesupport (3.1.0.rc5)
+ multi_json (~> 1.0)
+ bcrypt-ruby (2.1.4)
+ builder (3.0.0)
+ couchrest (1.1.2)
+ mime-types (~> 1.15)
+ multi_json (~> 1.0.0)
+ rest-client (~> 1.6.1)
+ diff-lcs (1.1.2)
+ i18n (0.6.0)
+ json (1.5.3)
+ mime-types (1.16)
+ multi_json (1.0.3)
+ rake (0.9.2)
+ rest-client (1.6.3)
+ mime-types (>= 1.16)
+ rspec (2.6.0)
+ rspec-core (~> 2.6.0)
+ rspec-expectations (~> 2.6.0)
+ rspec-mocks (~> 2.6.0)
+ rspec-core (2.6.4)
+ rspec-expectations (2.6.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.6.0)
+ timecop (0.3.5)
+ tzinfo (0.3.29)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activemodel (~> 3.1.0.rc5)
+ couchrest (>= 1.0.1)
+ json
+ rake
+ rspec (>= 2.0)
+ timecop
+ tzinfo

0 comments on commit 2af281f

Please sign in to comment.