Sha256: f138f262aee08501c6a5914277c289dd9e8e699d74ceb2f8d425cae8de1c9f76

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 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/hsqldb"
begin
  require 'hoe'
  Hoe.new("jdbc-hsqldb", Jdbc::HSQLDB::VERSION) do |p|
    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 = "HSQLDB JDBC driver for Java and HSQLDB/ActiveRecord-JDBC."
    p.changes = "Updated to HSQLDB version #{Jdbc::HSQLDB::VERSION}."
    p.description = "Install this gem and require 'hsqldb' 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

2 entries across 2 versions & 2 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 drivers/hsqldb/Rakefile
jdbc-hsqldb-1.8.0.7 Rakefile