# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "roar/rails/version"

Gem::Specification.new do |s|
  s.name        = "roar-rails"
  s.version     = Roar::Rails::VERSION
  s.authors     = ["Nick Sutterer"]
  s.email       = ["apotonick@gmail.com"]
  s.homepage    = "https://github.com/apotonick/roar-rails"
  s.summary     = %q{Use Roar in Rails.}
  s.description = %q{Rails extensions for using Roar in the popular web framework.}

  s.rubyforge_project = "roar-rails"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]

  s.add_runtime_dependency "roar",          '~> 1.1.0'
  s.add_runtime_dependency "test_xml",      ">= 0.1.6"  # TODO: remove dependency as most people don't use XML.
  s.add_runtime_dependency "actionpack"
  s.add_runtime_dependency "railties",      ">= 3.0.0"
  s.add_runtime_dependency "uber",          "< 0.2.0"
  s.add_runtime_dependency "responders"

  s.add_development_dependency 'minitest-rails'
  s.add_development_dependency 'minitest'

  s.add_development_dependency "roar-jsonapi", '>= 0.0.3'
  s.add_development_dependency "activemodel"
  s.add_development_dependency "activerecord"
  s.add_development_dependency "sqlite3"
  s.add_development_dependency "multi_json"
  s.add_development_dependency "tzinfo" # FIXME: why the hell do we need this for 3.1?
end
