Skip to content

Commit

Permalink
Add Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjlandau committed Sep 26, 2014
1 parent 9d319c5 commit 69822e4
Show file tree
Hide file tree
Showing 17 changed files with 611 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
@@ -0,0 +1,14 @@
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.0"
- "2.1.1"
- "2.1.2"
- "2.1.3"
gemfile:
- gemfiles/rails_30.gemfile
- gemfiles/rails_31.gemfile
- gemfiles/rails_32.gemfile
- gemfiles/rails_40.gemfile
- gemfiles/rails_41.gemfile
19 changes: 19 additions & 0 deletions Appraisals
@@ -0,0 +1,19 @@
appraise "rails-30" do
gem "rails", "~> 3.0.20"
end

appraise "rails-31" do
gem "rails", "~> 3.1.12"
end

appraise "rails-32" do
gem "rails", "~> 3.2.19"
end

appraise "rails-40" do
gem "rails", "~> 4.0.10"
end

appraise "rails-41" do
gem "rails", "~> 4.1.6"
end
2 changes: 1 addition & 1 deletion README.markdown
@@ -1,7 +1,7 @@
SerializeWithOptions
====================

[![Code Climate](https://codeclimate.com/github/vigetlabs/serialize_with_options.png)](https://codeclimate.com/github/vigetlabs/serialize_with_options)
[![Code Climate](https://codeclimate.com/github/vigetlabs/serialize_with_options.png)](https://codeclimate.com/github/vigetlabs/serialize_with_options) [![Build Status](https://travis-ci.org/vigetlabs/serialize_with_options.png?branch=master)](https://travis-ci.org/vigetlabs/serialize_with_options)

This plugin is designed to make creating XML and JSON APIs for your Rails apps dead simple. We noticed a lot of repetition when creating API responses in our controllers. With this plugin, you can set the serialization options for a model with a simple DSL, rather than repeating them in every controller that includes it.

Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -7,3 +7,5 @@ Rake::TestTask.new(:test) do |test|
test.pattern = 'test/*.rb'
test.verbose = true
end

task :default => :test
7 changes: 7 additions & 0 deletions gemfiles/rails_30.gemfile
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rails", "~> 3.0.20"

gemspec :path => "../"
97 changes: 97 additions & 0 deletions gemfiles/rails_30.gemfile.lock
@@ -0,0 +1,97 @@
PATH
remote: ../
specs:
serialize_with_options (0.3.0)
activerecord (>= 3.0)

GEM
remote: http://rubygems.org/
specs:
abstract (1.0.0)
actionmailer (3.0.20)
actionpack (= 3.0.20)
mail (~> 2.2.19)
actionpack (3.0.20)
activemodel (= 3.0.20)
activesupport (= 3.0.20)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.5.0)
rack (~> 1.2.5)
rack-mount (~> 0.6.14)
rack-test (~> 0.5.7)
tzinfo (~> 0.3.23)
activemodel (3.0.20)
activesupport (= 3.0.20)
builder (~> 2.1.2)
i18n (~> 0.5.0)
activerecord (3.0.20)
activemodel (= 3.0.20)
activesupport (= 3.0.20)
arel (~> 2.0.10)
tzinfo (~> 0.3.23)
activeresource (3.0.20)
activemodel (= 3.0.20)
activesupport (= 3.0.20)
activesupport (3.0.20)
appraisal (1.0.2)
bundler
rake
thor (>= 0.14.0)
arel (2.0.10)
builder (2.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
i18n (0.5.4)
json (1.8.1)
mail (2.2.20)
activesupport (>= 2.3.6)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
polyglot (0.3.5)
rack (1.2.8)
rack-mount (0.6.14)
rack (>= 1.0.0)
rack-test (0.5.7)
rack (>= 1.0)
rails (3.0.20)
actionmailer (= 3.0.20)
actionpack (= 3.0.20)
activerecord (= 3.0.20)
activeresource (= 3.0.20)
activesupport (= 3.0.20)
bundler (~> 1.0)
railties (= 3.0.20)
railties (3.0.20)
actionpack (= 3.0.20)
activesupport (= 3.0.20)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.4)
rake (10.3.2)
rdoc (3.12.2)
json (~> 1.4)
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.2.1)
shoulda-matchers (2.7.0)
activesupport (>= 3.0.0)
sqlite3 (1.3.9)
thor (0.14.6)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.41)

PLATFORMS
ruby

DEPENDENCIES
appraisal
rails (~> 3.0.20)
serialize_with_options!
shoulda
sqlite3
7 changes: 7 additions & 0 deletions gemfiles/rails_31.gemfile
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rails", "~> 3.1.12"

gemspec :path => "../"
108 changes: 108 additions & 0 deletions gemfiles/rails_31.gemfile.lock
@@ -0,0 +1,108 @@
PATH
remote: ../
specs:
serialize_with_options (0.3.0)
activerecord (>= 3.0)

GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.12)
actionpack (= 3.1.12)
mail (~> 2.4.4)
actionpack (3.1.12)
activemodel (= 3.1.12)
activesupport (= 3.1.12)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.6)
rack-cache (~> 1.2)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.4)
activemodel (3.1.12)
activesupport (= 3.1.12)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.12)
activemodel (= 3.1.12)
activesupport (= 3.1.12)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.12)
activemodel (= 3.1.12)
activesupport (= 3.1.12)
activesupport (3.1.12)
multi_json (~> 1.0)
appraisal (1.0.2)
bundler
rake
thor (>= 0.14.0)
arel (2.2.3)
builder (3.0.4)
erubis (2.7.0)
hike (1.2.3)
i18n (0.6.11)
json (1.8.1)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
multi_json (1.10.1)
polyglot (0.3.5)
rack (1.3.10)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.4)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.1.12)
actionmailer (= 3.1.12)
actionpack (= 3.1.12)
activerecord (= 3.1.12)
activeresource (= 3.1.12)
activesupport (= 3.1.12)
bundler (~> 1.0)
railties (= 3.1.12)
railties (3.1.12)
actionpack (= 3.1.12)
activesupport (= 3.1.12)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (10.3.2)
rdoc (3.12.2)
json (~> 1.4)
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.2.1)
shoulda-matchers (2.7.0)
activesupport (>= 3.0.0)
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.9)
thor (0.14.6)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.41)

PLATFORMS
ruby

DEPENDENCIES
appraisal
rails (~> 3.1.12)
serialize_with_options!
shoulda
sqlite3
7 changes: 7 additions & 0 deletions gemfiles/rails_32.gemfile
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rails", "~> 3.2.19"

gemspec :path => "../"
106 changes: 106 additions & 0 deletions gemfiles/rails_32.gemfile.lock
@@ -0,0 +1,106 @@
PATH
remote: ../
specs:
serialize_with_options (0.3.0)
activerecord (>= 3.0)

GEM
remote: http://rubygems.org/
specs:
actionmailer (3.2.19)
actionpack (= 3.2.19)
mail (~> 2.5.4)
actionpack (3.2.19)
activemodel (= 3.2.19)
activesupport (= 3.2.19)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
activemodel (3.2.19)
activesupport (= 3.2.19)
builder (~> 3.0.0)
activerecord (3.2.19)
activemodel (= 3.2.19)
activesupport (= 3.2.19)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.19)
activemodel (= 3.2.19)
activesupport (= 3.2.19)
activesupport (3.2.19)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
appraisal (1.0.2)
bundler
rake
thor (>= 0.14.0)
arel (3.0.3)
builder (3.0.4)
erubis (2.7.0)
hike (1.2.3)
i18n (0.6.11)
journey (1.0.4)
json (1.8.1)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
multi_json (1.10.1)
polyglot (0.3.5)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.4)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.19)
actionmailer (= 3.2.19)
actionpack (= 3.2.19)
activerecord (= 3.2.19)
activeresource (= 3.2.19)
activesupport (= 3.2.19)
bundler (~> 1.0)
railties (= 3.2.19)
railties (3.2.19)
actionpack (= 3.2.19)
activesupport (= 3.2.19)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.3.2)
rdoc (3.12.2)
json (~> 1.4)
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.2.1)
shoulda-matchers (2.7.0)
activesupport (>= 3.0.0)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.9)
thor (0.19.1)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.41)

PLATFORMS
ruby

DEPENDENCIES
appraisal
rails (~> 3.2.19)
serialize_with_options!
shoulda
sqlite3
7 changes: 7 additions & 0 deletions gemfiles/rails_40.gemfile
@@ -0,0 +1,7 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "rails", "~> 4.0.10"

gemspec :path => "../"

0 comments on commit 69822e4

Please sign in to comment.