Sha256: 1bdd3929fb18bf0b8de563fcf830bb9fdd3b383ac2c9774aa659cb604b701aab
Contents?: true
Size: 1.08 KB
Versions: 5
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/derby" begin require 'hoe' Hoe.new("jdbc-derby", Jdbc::Derby::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 = "Derby/JavaDB JDBC driver for Java and Derby/ActiveRecord-JDBC." p.changes = "Updated to Derby version #{Jdbc::Derby::VERSION}." p.description = "Install this gem and require 'derby' 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
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
saturnflyer-activerecord-jdbc-adapter-0.9.3 | drivers/derby/Rakefile |
jdbc-derby-10.5.3.0 | Rakefile |
jdbc-derby-10.2.2.0 | Rakefile |
jdbc-derby-10.3.2.1 | Rakefile |
jdbc-derby-10.4.2.0 | Rakefile |