forked from openid/ruby-openid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathruby-openid.gemspec
26 lines (23 loc) · 1019 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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/openid/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'ruby-openid'
s.author = 'Josh Stanfield; original auth: JanRain, Inc'
s.email = '[email protected]'
s.homepage = 'https://github.com/p5k6/ruby-openid'
s.summary = 'A library for consuming and serving OpenID identities; LivingSocial port to fix google auth security issue'
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'
end