Sha256: 814761db1970369e0ec6311d351c666d2c153de7acfc4a0d78ff25871afac15a
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
MANIFEST = FileList["Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "History.txt", "lib/**/*"].sort 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/postgres" begin require 'hoe' Hoe.plugin :gemcutter Hoe.spec("jdbc-postgres") do |p| p.version = Jdbc::Postgres::VERSION p.spec_extras[:platform] = Gem::Platform.new("java") 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 = "PostgreSQL JDBC driver for Java and PostgreSQL/ActiveRecord-JDBC." p.changes = "Updated to PostgreSQL version #{Jdbc::Postgres::VERSION}." p.description = "Install this gem and require 'postgres' 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-postgres-8.4.702-java | Rakefile |
jdbc-postgres-8.4.701-java | Rakefile |