Sha256: c050b46e8be5bd54b07c037de1a0683c37af4b546f6c8fbaf64b17f1f046dbce

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

MANIFEST = FileList["Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*"]

file "Manifest.txt" => :manifest
task :manifest do
  File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
end
Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files

$LOAD_PATH << "lib"
require "jdbc/mysql"
begin
  require 'hoe'
  Hoe.plugin :gemcutter
  Hoe.spec("jdbc-mysql") do |p|
    version = Jdbc::MySQL::VERSION
    version += '.' + ENV['DRIVER_REV'] if ENV['DRIVER_REV']
    p.version = version
    p.rubyforge_name = "jruby-extras"
    p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
    p.author = "Nick Sieger, Ola Bini and JRuby contributors"
    p.email = "nick@nicksieger.com, ola.bini@gmail.com"
    p.summary = "MySQL JDBC driver for Java and MySQL/ActiveRecord-JDBC."
    p.changes = "Updated to MySQL connector version #{Jdbc::MySQL::VERSION}."
    p.description = "Install this gem and require 'mysql' within JRuby to load the driver."
  end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
rescue LoadError
  puts "You really need Hoe installed to be able to package this gem"
rescue => e
  puts "ignoring error while loading hoe: #{e.to_s}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jdbc-mysql-5.1.13 Rakefile