forked from fabrik42/acts_as_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acts_as_api.gemspec
31 lines (26 loc) · 1.27 KB
/
acts_as_api.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "acts_as_api/version"
Gem::Specification.new do |s|
s.name = "acts_as_api"
s.version = ActsAsApi::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Christian Bäuerlein"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/fabrik42/acts_as_api"
s.summary = %q{Makes creating XML/JSON responses in Rails 3 easy and fun.}
s.description = %q{acts_as_api enriches the models and controllers of your app in a rails-like way so you can easily determine how your XML/JSON API responses should look like.}
s.add_dependency('activemodel','>= 3.0.0')
s.add_dependency('activesupport','>= 3.0.0')
s.add_dependency('rack','>= 1.1.0')
# TODO: Problem in Rails with JSON dependency?!
# s.add_dependency('json','>= 1.4.6')
s.add_development_dependency('rails', ['>= 3.0.0'])
s.has_rdoc = true
s.rdoc_options = ['--main', 'README.rdoc', '--charset=UTF-8']
s.extra_rdoc_files = ['README.rdoc']
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"]
end