Set up gemspec, version, and .travis.yml

This commit is contained in:
Steve Klabnik 2014-07-05 00:56:57 -04:00
parent c718915075
commit 8a20377239
4 changed files with 23 additions and 4 deletions

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1.1
- jruby-19mode
- rbx-2
- ruby-head
env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=master"
matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master"

View File

@ -1,2 +1,3 @@
require "bundler/gem_tasks" require "bundler/gem_tasks"
task :default

View File

@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
spec.version = ActiveModelSerializers::VERSION spec.version = ActiveModelSerializers::VERSION
spec.authors = ["Steve Klabnik"] spec.authors = ["Steve Klabnik"]
spec.email = ["steve@steveklabnik.com"] spec.email = ["steve@steveklabnik.com"]
spec.summary = %q{TODO: Write a short summary. Required.} spec.summary = %q{Conventions-based JSON generation for Rails.}
spec.description = %q{TODO: Write a longer description. Optional.} spec.description = %q{ActiveModel::Serializers allows you to generate your JSON in an object-oriented and convention-driven manner.}
spec.homepage = "" spec.homepage = "https://github.com/rails-api/active_model_serializers"
spec.license = "MIT" spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0") spec.files = `git ls-files -z`.split("\x0")

View File

@ -1,3 +1,3 @@
module ActiveModelSerializers module ActiveModelSerializers
VERSION = "0.0.1" VERSION = "0.9.0"
end end