Sha256: 030f6d9e5cd146021bef3f694345cb746f7351d913077a3422cbf9432834be8b
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 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/sqlite3" begin require 'hoe' Hoe.plugin :gemcutter Hoe.spec("jdbc-sqlite3") do |p| version = Jdbc::SQLite3::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 = "SQLite3 JDBC driver for Java and SQLite3/ActiveRecord-JDBC." p.changes = "Updated to SQLite3 version #{Jdbc::SQLite3::VERSION}." p.description = "Install this gem and require 'sqlite3' 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 & 1 rubygems
Version | Path |
---|---|
jdbc-sqlite3-3.7.2 | Rakefile |
jdbc-sqlite3-3.6.14.2.056 | Rakefile |