forked from palexander/rack-post-body-to-params
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack-post-body-to-params.gemspec
50 lines (45 loc) · 1.74 KB
/
rack-post-body-to-params.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "rack-post-body-to-params"
s.version = "0.1.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Niko Dittmann"]
s.date = "2013-02-05"
s.email = "mail+git@niko-dittmann.com"
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.files = [
".document",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/rack/post-body-to-params.rb",
"rack-post-body-to-params.gemspec",
"test/helper.rb",
"test/rce_test.rb",
"test/test_post-body-to-params.rb"
]
s.homepage = "http://github.com/niko/rack-post-body-to-params"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.10"
s.summary = "A Rack middleware that parses the POST or PUT body for JSON or XML content to a Hash and puts it into the rack.request.form_hash. Most frameworks get the params hash from there. Uses ActiveSupport and the respective parsers for parsing. So you can set it up to use Nokogiri and YajL. Useful for example when writing JSON and XML API apps with Sinatra or Padrino."
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<shoulda>, [">= 0"])
s.add_runtime_dependency(%q<activesupport>, [">= 2.3"])
else
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 2.3"])
end
else
s.add_dependency(%q<shoulda>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 2.3"])
end
end