Sha256: 7606608500c77997d56fef1c3c7301172fb83959f0568740460586b5ca613a1f

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 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

require File.dirname(__FILE__) + "/../../lib/jdbc_adapter/version"
$LOAD_PATH << File.dirname(__FILE__) + "/../../drivers/postgres/lib"
require "jdbc/postgres"

begin
  require 'hoe'
  Hoe.new("activerecord-jdbcpostgresql-adapter", JdbcAdapter::Version::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 = "Postgres JDBC adapter for JRuby on Rails."
    p.changes = "Updated to postgres version #{Jdbc::Postgres::VERSION}."
    p.description = "Install this gem to use Postgres with JRuby on Rails."
    p.extra_deps += [
      ['activerecord-jdbc-adapter', ">= #{JdbcAdapter::Version::VERSION}"],
      ['jdbc-postgres', ">= #{Jdbc::Postgres::VERSION}"]]
  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

7 entries across 7 versions & 1 rubygems

Version Path
activerecord-jdbcpostgresql-adapter-0.6 Rakefile
activerecord-jdbcpostgresql-adapter-0.7 Rakefile
activerecord-jdbcpostgresql-adapter-0.7.1 Rakefile
activerecord-jdbcpostgresql-adapter-0.7.2 Rakefile
activerecord-jdbcpostgresql-adapter-0.8 Rakefile
activerecord-jdbcpostgresql-adapter-0.8.1 Rakefile
activerecord-jdbcpostgresql-adapter-0.8.2 Rakefile