Sha256: 72d7ae61409db03b660ae22648323b26bc1cee6ee3226a422c66995996e6877f

Contents?: true

Size: 724 Bytes

Versions: 7

Compression:

Stored size: 724 Bytes

Contents

require 'rubygems/package_task'
require 'hoe'

HOE = Hoe.spec 'mysql' do
  self.rubyforge_name = 'mysql-win'
  self.author         = ['TOMITA Masahiro']
  self.email          = %w[tommy@tmtm.org]
  self.need_tar       = false
  self.need_zip       = false

  spec_extras[:required_ruby_version] = Gem::Requirement.new('>= 1.8.6')

  spec_extras[:extensions] = ["ext/mysql_api/extconf.rb"]

  extra_dev_deps << ['rake-compiler', "~> 0.5"]
end

file "#{HOE.spec.name}.gemspec" => ['Rakefile', 'tasks/gem.rake'] do |t|
  puts "Generating #{t.name}"
  File.open(t.name, 'w') { |f| f.puts HOE.spec.to_yaml }
end

desc "Generate or update the standalone gemspec file for the project"
task :gemspec => ["#{HOE.spec.name}.gemspec"]

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
fauna-mysql-2.8.1.1 tasks/gem.rake
vanity-1.7.1 vendor/ruby/1.9.1/gems/mysql-2.8.1/tasks/gem.rake
fauna-mysql-2.8.1.2 tasks/gem.rake
fauna-mysql-2.8.1.3 tasks/gem.rake
mysql-2.8.1-x86-mswin32 tasks/gem.rake
mysql-2.8.1-x86-mingw32 tasks/gem.rake
mysql-2.8.1 tasks/gem.rake