Permalink
Browse files

Use appraisal to run suite on ar4

  • Loading branch information...
1 parent 539a483 commit 987ef18014f8b34d6e8831e64c2a1853b9e60dd0 Anders Törnqvist and Jonas Nicklas committed Mar 5, 2013
Showing with 162 additions and 1 deletion.
  1. +7 −0 Appraisals
  2. +2 −0 Gemfile
  3. +14 −0 Rakefile
  4. +1 −1 ar_outer_join.gemspec
  5. +8 −0 gemfiles/ar3.2.gemfile
  6. +57 −0 gemfiles/ar3.2.gemfile.lock
  7. +8 −0 gemfiles/ar4.gemfile
  8. +65 −0 gemfiles/ar4.gemfile.lock
View
7 Appraisals
@@ -0,0 +1,7 @@
+appraise "ar3.2" do
+ gem "activerecord", "~>3.2.0"
+end
+
+appraise "ar4" do
+ gem "activerecord", "4.0.0.beta1"
+end
View
2 Gemfile
@@ -1,4 +1,6 @@
source 'http://rubygems.org'
+gem "appraisal"
+
# Specify your gem's dependencies in ar_outer_joins.gemspec
gemspec
View
14 Rakefile
@@ -1,2 +1,16 @@
#!/usr/bin/env rake
+
+require "rubygems"
+require "bundler/setup"
+require "appraisal"
+require "rspec/core/rake_task"
+
require "bundler/gem_tasks"
+
+desc "Run all examples"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ #t.rspec_path = 'bin/rspec'
+ t.rspec_opts = %w[--color]
+end
+
+task :default => :spec
View
2 ar_outer_join.gemspec
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = ArOuterJoins::VERSION
- gem.add_dependency "activerecord", "~>3.2"
+ gem.add_dependency "activerecord", ">=3.2"
gem.add_development_dependency "rspec"
gem.add_development_dependency "sqlite3"
gem.add_development_dependency "pry"
View
8 gemfiles/ar3.2.gemfile
@@ -0,0 +1,8 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+
+gem "appraisal"
+gem "activerecord", "~>3.2.0"
+
+gemspec :path=>"../"
View
57 gemfiles/ar3.2.gemfile.lock
@@ -0,0 +1,57 @@
+PATH
+ remote: /Users/dev/Projects/ar_outer_joins
+ specs:
+ ar_outer_joins (0.0.1)
+ activerecord (>= 3.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (3.2.12)
+ activesupport (= 3.2.12)
+ builder (~> 3.0.0)
+ activerecord (3.2.12)
+ activemodel (= 3.2.12)
+ activesupport (= 3.2.12)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activesupport (3.2.12)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ appraisal (0.5.1)
+ bundler
+ rake
+ arel (3.0.2)
+ builder (3.0.4)
+ coderay (1.0.9)
+ diff-lcs (1.2.1)
+ i18n (0.6.4)
+ method_source (0.8.1)
+ multi_json (1.6.1)
+ pry (0.9.12)
+ coderay (~> 1.0.5)
+ method_source (~> 0.8)
+ slop (~> 3.4)
+ rake (10.0.3)
+ rspec (2.13.0)
+ rspec-core (~> 2.13.0)
+ rspec-expectations (~> 2.13.0)
+ rspec-mocks (~> 2.13.0)
+ rspec-core (2.13.0)
+ rspec-expectations (2.13.0)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.13.0)
+ slop (3.4.3)
+ sqlite3 (1.3.7)
+ tzinfo (0.3.36)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (~> 3.2.0)
+ appraisal
+ ar_outer_joins!
+ pry
+ rspec
+ sqlite3
View
8 gemfiles/ar4.gemfile
@@ -0,0 +1,8 @@
+# This file was generated by Appraisal
+
+source "http://rubygems.org"
+
+gem "appraisal"
+gem "activerecord", "4.0.0.beta1"
+
+gemspec :path=>"../"
View
65 gemfiles/ar4.gemfile.lock
@@ -0,0 +1,65 @@
+PATH
+ remote: /Users/dev/Projects/ar_outer_joins
+ specs:
+ ar_outer_joins (0.0.1)
+ activerecord (>= 3.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activemodel (4.0.0.beta1)
+ activesupport (= 4.0.0.beta1)
+ builder (~> 3.1.0)
+ activerecord (4.0.0.beta1)
+ activemodel (= 4.0.0.beta1)
+ activerecord-deprecated_finders (~> 0.0.3)
+ activesupport (= 4.0.0.beta1)
+ arel (~> 4.0.0.beta1)
+ activerecord-deprecated_finders (0.0.3)
+ activesupport (4.0.0.beta1)
+ i18n (~> 0.6.2)
+ minitest (~> 4.2)
+ multi_json (~> 1.3)
+ thread_safe (~> 0.1)
+ tzinfo (~> 0.3.33)
+ appraisal (0.5.1)
+ bundler
+ rake
+ arel (4.0.0.beta1)
+ atomic (1.0.1)
+ builder (3.1.4)
+ coderay (1.0.9)
+ diff-lcs (1.2.1)
+ i18n (0.6.4)
+ method_source (0.8.1)
+ minitest (4.6.2)
+ multi_json (1.6.1)
+ pry (0.9.12)
+ coderay (~> 1.0.5)
+ method_source (~> 0.8)
+ slop (~> 3.4)
+ rake (10.0.3)
+ rspec (2.13.0)
+ rspec-core (~> 2.13.0)
+ rspec-expectations (~> 2.13.0)
+ rspec-mocks (~> 2.13.0)
+ rspec-core (2.13.0)
+ rspec-expectations (2.13.0)
+ diff-lcs (>= 1.1.3, < 2.0)
+ rspec-mocks (2.13.0)
+ slop (3.4.3)
+ sqlite3 (1.3.7)
+ thread_safe (0.1.0)
+ atomic
+ tzinfo (0.3.36)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 4.0.0.beta1)
+ appraisal
+ ar_outer_joins!
+ pry
+ rspec
+ sqlite3

0 comments on commit 987ef18

Please sign in to comment.