Skip to content

Commit

Permalink
add dynamic spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Fisher committed Apr 25, 2009
1 parent 161baac commit c3708ef
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions mysql.gemspec.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Gem::Specification.new do |s|
s.name = "mysql"
s.authors = ["TOMITA Masahiro"]
s.version = '<%= CURRENT_VERSION %>'
s.date = '<%= Time.now.strftime("%Y-%m-%d") %>'
s.description = %q{This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs.}
s.email = 'todd.fisher@gmail.com'
s.extra_rdoc_files = ['COPYING', 'COPYING.ja', 'README.html', 'README_ja.html']
s.files = ['mysql.c', 'COPYING', 'COPYING.ja', 'README.html', 'README_ja.html', 'extconf.rb', 'mysql.gemspec.erb', 'test.rb', 'tommy.css']

#### Load-time details
s.require_paths = ['.']
s.rubyforge_project = 'mysql'
s.summary = %q{MySQL/Ruby}
s.test_files = 'test.rb'
s.extensions << 'extconf.rb'

#### Documentation and testing.
s.has_rdoc = true
s.homepage = 'http://tmtm.org/downloads/mysql/ruby/'
s.rdoc_options = ['--main', 'README']


s.platform = Gem::Platform::RUBY

end

0 comments on commit c3708ef

Please sign in to comment.