rack-content_type_validator 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- metadata +5 -6
- data/rack-content_type_validator.gemspec +0 -32
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-content_type_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Lucas Fais
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-13 00:00:00 -02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -63,7 +63,6 @@ files:
|
|
63
63
|
- Rakefile
|
64
64
|
- lib/rack/content_type_validator.rb
|
65
65
|
- lib/rack/content_type_validator/version.rb
|
66
|
-
- rack-content_type_validator.gemspec
|
67
66
|
- test/rack/content_type_validator_test.rb
|
68
67
|
- test/test_helper.rb
|
69
68
|
has_rdoc: true
|
@@ -101,7 +100,7 @@ rubyforge_project: rack-content_type_validator
|
|
101
100
|
rubygems_version: 1.3.7
|
102
101
|
signing_key:
|
103
102
|
specification_version: 3
|
104
|
-
summary:
|
103
|
+
summary: Validates the header Content-Type of requests.
|
105
104
|
test_files:
|
106
105
|
- test/rack/content_type_validator_test.rb
|
107
106
|
- test/test_helper.rb
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
lib = File.expand_path('../lib/', __FILE__)
|
3
|
-
$:.unshift lib unless $:.include?(lib)
|
4
|
-
|
5
|
-
require 'rack/content_type_validator'
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = "rack-content_type_validator"
|
9
|
-
s.version = Rack::ContentTypeValidator::VERSION
|
10
|
-
s.platform = Gem::Platform::RUBY
|
11
|
-
s.authors = ["Lucas Fais", "Marcelo Manzan"]
|
12
|
-
s.email = ["lucasfais@gmail.com", "manzan@gmail.com"]
|
13
|
-
s.homepage = "http://github.com/abril/rack-content_type_validator"
|
14
|
-
s.summary = %q{Makes easy to handle mutipart/related requests.}
|
15
|
-
s.description = %q{It's a rack middleware to validate the header Content-Type of requests.}
|
16
|
-
|
17
|
-
s.required_rubygems_version = ">= 1.3.6"
|
18
|
-
s.rubyforge_project = "rack-content_type_validator"
|
19
|
-
|
20
|
-
s.add_dependency "rack", '>= 1.0'
|
21
|
-
|
22
|
-
s.add_development_dependency "step-up"
|
23
|
-
|
24
|
-
excepts = %w[
|
25
|
-
.gitignore
|
26
|
-
rack-multipart_related.gemspec
|
27
|
-
]
|
28
|
-
tests = `git ls-files -- {test,spec,features}/*`.split("\n")
|
29
|
-
s.files = `git ls-files`.split("\n") - excepts - tests
|
30
|
-
s.test_files = tests
|
31
|
-
s.require_paths = ["lib"]
|
32
|
-
end
|