Commit b589d5a1 by Jon Yurek

Add Rails 4.2 to Appraisals

parent 679c1cf8
...@@ -9,6 +9,11 @@ appraise "4.0" do ...@@ -9,6 +9,11 @@ appraise "4.0" do
end end
appraise "4.1" do appraise "4.1" do
gem "rails", "~> 4.1.0.beta" gem "rails", "~> 4.1.0"
gem "paperclip", :path => "../"
end
appraise "4.2" do
gem "rails", "~> 4.2.0.rc2"
gem "paperclip", :path => "../" gem "paperclip", :path => "../"
end end
...@@ -8,7 +8,7 @@ gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby ...@@ -8,7 +8,7 @@ gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "rubysl", :platforms => :rbx gem "rubysl", :platforms => :rbx
gem "racc", :platforms => :rbx gem "racc", :platforms => :rbx
gem "pry" gem "pry"
gem "rails", "~> 4.1.0.beta" gem "rails", "~> 4.1.0"
gem "paperclip", :path => "../" gem "paperclip", :path => "../"
group :development, :test do group :development, :test do
......
# This file was generated by Appraisal
source "https://rubygems.org"
gem "sqlite3", "1.3.8", :platforms => :ruby
gem "jruby-openssl", :platforms => :jruby
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
gem "rubysl", :platforms => :rbx
gem "racc", :platforms => :rbx
gem "pry"
gem "rails", "~> 4.2.0.rc2"
gem "paperclip", :path => "../"
group :development, :test do
gem "mime-types", "~> 1.16"
gem "builder"
end
gemspec :path => "../"
...@@ -5,10 +5,10 @@ RSpec::Matchers.define :have_column do |column_name| ...@@ -5,10 +5,10 @@ RSpec::Matchers.define :have_column do |column_name|
match do |columns| match do |columns|
column = columns.detect{|column| column.name == column_name } column = columns.detect{|column| column.name == column_name }
column && column.default == @default column && column.default.to_s == @default.to_s
end end
failure_message_for_should do |columns| failure_message_for_should do |columns|
"expected to find #{column_name}, default #{@default} in #{columns.map{|column| [column.name, column.default] }}" "expected to find '#{column_name}', default '#{@default}' in #{columns.map{|column| [column.name, column.default] }}"
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment