forked from webmachine/webmachine-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebmachine.gemspec
31 lines (28 loc) · 1.48 KB
/
webmachine.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
$:.push File.expand_path("../lib", __FILE__)
require 'webmachine/version'
Gem::Specification.new do |gem|
gem.name = "webmachine"
gem.version = Webmachine::VERSION
gem.summary = %Q{webmachine is a toolkit for building HTTP applications,}
gem.description = <<-DESC.gsub(/\s+/, ' ')
webmachine is a toolkit for building HTTP applications in a declarative fashion, that avoids
the confusion of going through a CGI-style interface like Rack. It is strongly influenced
by the original Erlang project of the same name and shares its opinionated nature about HTTP.
DESC
gem.homepage = "http://github.com/seancribbs/webmachine-ruby"
gem.authors = ["Sean Cribbs"]
gem.email = ["[email protected]"]
gem.add_runtime_dependency(%q<i18n>, [">= 0.4.0"])
gem.add_runtime_dependency(%q<multi_json>)
gem.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
gem.add_development_dependency(%q<yard>, ["~> 0.7.3"])
gem.add_development_dependency(%q<rake>)
gem.add_development_dependency(%q<mongrel>, ['~>1.2.beta'])
gem.add_development_dependency(%q<rack>)
gem.add_development_dependency(%q<rack-test>)
ignores = File.read(".gitignore").split(/\r?\n/).reject{ |f| f =~ /^(#.+|\s*)$/ }.map {|f| Dir[f] }.flatten
gem.files = (Dir['**/*','.gitignore'] - ignores).reject {|f| !File.file?(f) }
gem.test_files = (Dir['spec/**/*','features/**/*','.gitignore'] - ignores).reject {|f| !File.file?(f) }
gem.executables = Dir['bin/*'].map { |f| File.basename(f) }
gem.require_paths = ['lib']
end