forked from bolshakov/stoplight-admin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstoplight-admin.gemspec
45 lines (37 loc) · 1.09 KB
/
stoplight-admin.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
# coding: utf-8
lib = File.expand_path('lib', File.dirname(__FILE__))
$LOAD_PATH.push(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |gem|
gem.name = 'stoplight-admin'
gem.version = '0.3.2'
gem.summary = 'A simple administration interface for Stoplight.'
gem.description = gem.summary
gem.homepage = 'https://github.com/orgsync/stoplight-admin'
gem.license = 'MIT'
{
'Cameron Desautels' => '[email protected]',
'Taylor Fausak' => '[email protected]'
}.tap do |hash|
gem.authors = hash.keys
gem.email = hash.values
end
gem.files = %w(LICENSE.md README.md) +
Dir.glob(File.join('lib', '**', '*.rb')) +
Dir.glob(File.join('lib', '**', '*.haml'))
gem.required_ruby_version = '>= 1.9.3'
{
'haml' => '4.0',
'redis' => '3.2',
'sinatra' => '1.4',
'sinatra-contrib' => '1.4'
}.each do |name, version|
gem.add_dependency(name, "~> #{version}")
end
gem.add_dependency 'stoplight', '>= 1.4'
{
'bundler' => '1.10',
'rake' => '11.1'
}.each do |name, version|
gem.add_development_dependency(name, "~> #{version}")
end
end