-
Notifications
You must be signed in to change notification settings - Fork 0
/
gemspec
21 lines (20 loc) · 813 Bytes
/
gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rubygems'
SPEC = Gem::Specification.new do |s|
s.name = `cat admin/library-name`.strip
# s.version = `darcs changes --tags= | awk '$1 == "tagged" { print $2 }' | head -n 1`.strip
s.version = '2.1.8'
s.author = 'JanRain, Inc'
s.email = '[email protected]'
s.homepage = 'http://openidenabled.com/ruby-openid/'
s.platform = Gem::Platform::RUBY
s.summary = 'A library for consuming and serving OpenID identities.'
files = Dir.glob("{examples,lib,test}/**/*")
files << 'NOTICE' << 'CHANGELOG'
s.files = files.delete_if {|f| f.include?('_darcs') || f.include?('admin')}
s.require_path = 'lib'
s.autorequire = 'openid'
s.test_file = 'admin/runtests.rb'
s.has_rdoc = true
s.extra_rdoc_files = ['README','INSTALL','LICENSE','UPGRADE']
s.rdoc_options << '--main' << 'README'
end