-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabstract.gemspec
31 lines (28 loc) · 920 Bytes
/
abstract.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
#!/usr/bin/env ruby
###
### RubyGems Specification file for abstract.rb
###
### $Rev: 1 $
### $Release: 1.0.0 $
### copyright(c) 2006 kuwata-lab.com all rights reserved.
###
Gem::Specification.new do |s|
## package information
s.name = 'abstract'
s.author = 'makoto kuwata'
s.version = ("$Release: 1.0.0 $" =~ /[\.\d]+/) && $&
s.platform = Gem::Platform::RUBY
s.homepage = 'http://rubyforge.org/projects/abstract'
s.summary = "a library which enable you to define abstract method in Ruby"
s.description = <<-'END'
'abstract.rb' is a library which enable you to define abstract method in Ruby.
END
## files
files = []
files += Dir.glob('lib/**/*')
files += Dir.glob('test/**/*')
files += %w[README.txt ChangeLog setup.rb abstract.gemspec]
#s.files = files.delete_if { |path| path =~ /\.svn/ }
s.files = files
s.test_file = 'test/test.rb'
end