Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
b589d5a1
Commit
b589d5a1
authored
Dec 08, 2014
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Rails 4.2 to Appraisals
parent
679c1cf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
4 deletions
+28
-4
Appraisals
+6
-1
gemfiles/4.1.gemfile
+1
-1
gemfiles/4.2.gemfile
+19
-0
spec/support/matchers/have_column.rb
+2
-2
No files found.
Appraisals
View file @
b589d5a1
...
@@ -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
gemfiles/4.1.gemfile
View file @
b589d5a1
...
@@ -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
...
...
gemfiles/4.2.gemfile
0 → 100644
View file @
b589d5a1
# 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 => "../"
spec/support/matchers/have_column.rb
View file @
b589d5a1
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment