Skip to content
Browse files

Add Appraisal development dependency. Support AR back to 2.3.9.

  • Loading branch information...
1 parent 83db766 commit 864192383d938482137f9dc4061987a394af0f19 @johndouthat committed
View
6 Appraisals
@@ -0,0 +1,6 @@
+[9,10,11,12,14].each do |i|
+ appraise "ar2.3.#{i}" do
+ gem 'activerecord', "2.3.#{i}"
+ end
+end
+
View
6 Gemfile.lock
@@ -2,7 +2,7 @@ PATH
remote: .
specs:
searchlogic (2.5.8)
- activerecord (~> 2.3.12)
+ activerecord (~> 2.3.8)
GEM
remote: http://rubygems.org/
@@ -10,6 +10,9 @@ GEM
activerecord (2.3.14)
activesupport (= 2.3.14)
activesupport (2.3.14)
+ appraisal (0.4.1)
+ bundler
+ rake
git (1.2.5)
jeweler (1.8.3)
bundler (~> 1.0)
@@ -27,6 +30,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ appraisal (= 0.4.1)
jeweler
rspec (~> 1.3.1)
searchlogic!
View
2 README.rdoc
@@ -2,6 +2,8 @@
Searchlogic makes using ActiveRecord named scopes easier and less repetitive. It helps keep your code DRY, clean, and simple.
+The specs pass with ActiveRecord 2.3.9 - 2.3.14 on Ruby 1.9.3-p125 and 1.9.2-p318
+
== Helpful links
* <b>Documentation:</b> http://rdoc.info/projects/binarylogic/searchlogic
View
1 Rakefile
@@ -1,6 +1,7 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
Bundler.setup
+require 'appraisal'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
View
7 gemfiles/ar2.3.10.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source :rubygems
+
+gem "activerecord", "2.3.10"
+
+gemspec :path=>"../"
View
38 gemfiles/ar2.3.10.gemfile.lock
@@ -0,0 +1,38 @@
+PATH
+ remote: /Users/john/code/searchlogic
+ specs:
+ searchlogic (2.5.8)
+ activerecord (~> 2.3.8)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activerecord (2.3.10)
+ activesupport (= 2.3.10)
+ activesupport (2.3.10)
+ appraisal (0.4.1)
+ bundler
+ rake
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (1.3.2)
+ sqlite3 (1.3.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 2.3.10)
+ appraisal (= 0.4.1)
+ jeweler
+ rspec (~> 1.3.1)
+ searchlogic!
+ sqlite3
View
7 gemfiles/ar2.3.11.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source :rubygems
+
+gem "activerecord", "2.3.11"
+
+gemspec :path=>"../"
View
38 gemfiles/ar2.3.11.gemfile.lock
@@ -0,0 +1,38 @@
+PATH
+ remote: /Users/john/code/searchlogic
+ specs:
+ searchlogic (2.5.8)
+ activerecord (~> 2.3.8)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activerecord (2.3.11)
+ activesupport (= 2.3.11)
+ activesupport (2.3.11)
+ appraisal (0.4.1)
+ bundler
+ rake
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (1.3.2)
+ sqlite3 (1.3.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 2.3.11)
+ appraisal (= 0.4.1)
+ jeweler
+ rspec (~> 1.3.1)
+ searchlogic!
+ sqlite3
View
7 gemfiles/ar2.3.12.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source :rubygems
+
+gem "activerecord", "2.3.12"
+
+gemspec :path=>"../"
View
38 gemfiles/ar2.3.12.gemfile.lock
@@ -0,0 +1,38 @@
+PATH
+ remote: /Users/john/code/searchlogic
+ specs:
+ searchlogic (2.5.8)
+ activerecord (~> 2.3.8)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activerecord (2.3.12)
+ activesupport (= 2.3.12)
+ activesupport (2.3.12)
+ appraisal (0.4.1)
+ bundler
+ rake
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (1.3.2)
+ sqlite3 (1.3.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 2.3.12)
+ appraisal (= 0.4.1)
+ jeweler
+ rspec (~> 1.3.1)
+ searchlogic!
+ sqlite3
View
7 gemfiles/ar2.3.14.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source :rubygems
+
+gem "activerecord", "2.3.14"
+
+gemspec :path=>"../"
View
38 gemfiles/ar2.3.14.gemfile.lock
@@ -0,0 +1,38 @@
+PATH
+ remote: /Users/john/code/searchlogic
+ specs:
+ searchlogic (2.5.8)
+ activerecord (~> 2.3.8)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activerecord (2.3.14)
+ activesupport (= 2.3.14)
+ activesupport (2.3.14)
+ appraisal (0.4.1)
+ bundler
+ rake
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (1.3.2)
+ sqlite3 (1.3.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 2.3.14)
+ appraisal (= 0.4.1)
+ jeweler
+ rspec (~> 1.3.1)
+ searchlogic!
+ sqlite3
View
7 gemfiles/ar2.3.9.gemfile
@@ -0,0 +1,7 @@
+# This file was generated by Appraisal
+
+source :rubygems
+
+gem "activerecord", "2.3.9"
+
+gemspec :path=>"../"
View
38 gemfiles/ar2.3.9.gemfile.lock
@@ -0,0 +1,38 @@
+PATH
+ remote: /Users/john/code/searchlogic
+ specs:
+ searchlogic (2.5.8)
+ activerecord (~> 2.3.8)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activerecord (2.3.9)
+ activesupport (= 2.3.9)
+ activesupport (2.3.9)
+ appraisal (0.4.1)
+ bundler
+ rake
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (1.3.2)
+ sqlite3 (1.3.5)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ activerecord (= 2.3.9)
+ appraisal (= 0.4.1)
+ jeweler
+ rspec (~> 1.3.1)
+ searchlogic!
+ sqlite3
View
4 searchlogic.gemspec
@@ -22,10 +22,10 @@ Gem::Specification.new do |gem|
# gem.date = %q{2011-08-15}
- gem.add_runtime_dependency 'activerecord', '~> 2.3.12'
+ gem.add_dependency 'activerecord', '~> 2.3.8'
gem.add_development_dependency 'jeweler'
- # gem.add_development_dependency 'ruby-debug19'
gem.add_development_dependency 'rspec', '~> 1.3.1'
gem.add_development_dependency 'sqlite3'
+ gem.add_development_dependency 'appraisal', '0.4.1'
end

0 comments on commit 8641923

Please sign in to comment.
Something went wrong with that request. Please try again.