forked from jmoon018/rack-wwwhisper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack-wwwhisper.gemspec
35 lines (34 loc) · 1.29 KB
/
rack-wwwhisper.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rack/wwwhisper_version', __FILE__)
Gem::Specification.new do |s|
s.name = 'rack-wwwhisper'
s.version = Rack::WWWHISPER_VERSION
s.platform = Gem::Platform::RUBY
s.summary = 'Verified email based authorization for Rack applications.'
s.description = 'Middleware uses wwwhisper service to authorize requests.'
s.author = 'Jan Wrobel'
s.email = '[email protected]'
s.files = [
'lib/rack/wwwhisper.rb',
'lib/rack/wwwhisper_version.rb',
'test/test_wwwhisper.rb',
'Rakefile',
]
s.test_files = ['test/test_wwwhisper.rb']
s.homepage = 'https://github.com/wrr/rack-wwwhisper'
s.license = 'BSD'
if RUBY_VERSION.match('^2\.[0|1]\.')
# Allow only 1.0
s.add_runtime_dependency 'rack', '~> 1.0'
else
# Allow 1.0 (required for example by older versions of Rails) or
# 2.0.
s.add_runtime_dependency 'rack', '>= 1.0'
end
s.add_runtime_dependency 'addressable', '~> 2.0'
s.add_runtime_dependency 'net-http-persistent', '~> 3.0'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'webmock'
s.add_development_dependency 'test-unit'
s.add_development_dependency 'rake'
end