Sha256: 80a628a10c8e21e535f07fe040dbc0a763f3779f6bad279e79f75dbac886adfd

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

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

3 entries across 3 versions & 2 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 drivers/h2/Rakefile
jdbc-h2-1.0.63 Rakefile
jdbc-h2-1.1.107 Rakefile