Permalink
Browse files

Add support for more rubies

Support added for the following implementations:
  * Ruby MRI 1.9.2
  * JRuby (1.9 mode)
  * Rubinius (1.9 mode)
  • Loading branch information...
vanstee
vanstee committed Jul 16, 2012
1 parent 39749ab commit 071867c85f31fbbf053a1b87a388d21ebaa4c19b
Showing with 12 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 .travis.yml
  3. +7 −4 hovercraft.gemspec
  4. +1 −1 lib/hovercraft/builder.rb
View
@@ -15,3 +15,4 @@ spec/reports
test/tmp
test/version_tmp
tmp
+.rbx
View
@@ -1,3 +1,6 @@
language: ruby
rvm:
- 1.9.3
+ - 1.9.2
+ - jruby-19mode
+ - rbx-19mode
View
@@ -19,11 +19,14 @@ Gem::Specification.new do |gem|
gem.require_paths = ['lib']
gem.version = Hovercraft::VERSION
- gem.add_dependency 'sinatra-activerecord'
- gem.add_dependency 'rack-contrib'
+ gem.required_ruby_version = '>= 1.9.2'
- gem.add_development_dependency 'rspec'
+ gem.add_dependency 'sinatra-activerecord', '~> 1.1.0'
+ gem.add_dependency 'rack-contrib', '~> 1.1.0'
+ gem.add_dependency 'json', '~> 1.7.3'
+
+ gem.add_development_dependency 'rspec', '~> 2.11.0'
+ gem.add_development_dependency 'rack-test', '~> 0.6.1'
gem.add_development_dependency 'pry'
gem.add_development_dependency 'rake'
- gem.add_development_dependency 'rack-test'
end
@@ -2,7 +2,7 @@
require 'hovercraft/routes'
require 'hovercraft/helpers'
require 'sinatra/base'
-require 'rack/contrib'
+require 'rack/contrib/post_body_content_type_parser'
require 'forwardable'
module Hovercraft

0 comments on commit 071867c

Please sign in to comment.