forked from openid/ruby-openid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruby-openid.gemspec
28 lines (24 loc) · 976 Bytes
/
ruby-openid.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/openid/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'ruby-openid'
s.author = 'JanRain, Inc'
s.email = 'openid@janrain.com'
s.homepage = 'https://github.com/openid/ruby-openid'
s.summary = 'A library for consuming and serving OpenID identities.'
s.version = OpenID::VERSION
s.licenses = ["Ruby", "Apache Software License 2.0"]
# Files
files = Dir.glob("{examples,lib,test}/**/*")
files << 'NOTICE' << 'CHANGELOG.md'
s.files = files.delete_if {|f| f.include?('_darcs') || f.include?('admin')}
s.require_paths = ['lib']
s.autorequire = 'openid'
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
# RDoc
s.has_rdoc = true
s.extra_rdoc_files = ['README.md', 'INSTALL.md', 'LICENSE', 'UPGRADE.md']
s.rdoc_options << '--main' << 'README.md'
s.add_development_dependency 'minitest', '>= 5'
end