Sha256: 88767fad315ffbf1150c1afbff962f8c6e1e8c93ab515cda12dd06bd94934e21

Contents?: true

Size: 1.92 KB

Versions: 19

Compression:

Stored size: 1.92 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'arjdbc/version'

Gem::Specification.new do |gem|
  gem.name = 'activerecord-jdbc-adapter'
  gem.version = ArJdbc::VERSION
  gem.platform = Gem::Platform::RUBY
  gem.authors = ['Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors']
  gem.email = ['nick@nicksieger.com', 'ola.bini@gmail.com', 'self@kares.org']
  gem.homepage = 'https://github.com/jruby/activerecord-jdbc-adapter'
  gem.license = "BSD"
  gem.summary = 'JDBC adapter for ActiveRecord, for use within JRuby on Rails.'
  gem.description = "" <<
    "AR-JDBC is a database adapter for Rails' ActiveRecord component designed " <<
    "to be used with JRuby built upon Java's JDBC API for database access. " <<
    "Provides (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 " <<
    "as well as adapters for popular databases such as Oracle, SQLServer, " <<
    "DB2, FireBird and even Java (embed) databases: Derby, HSQLDB and H2. " <<
    "It allows to connect to virtually any JDBC-compliant database with your " <<
    "JRuby on Rails application."

  gem.require_paths = ["lib"]

  gem.files = `git ls-files`.split("\n").
    reject { |f| f =~ /^(activerecord-jdbc[^-]|jdbc-)/ }. # gem directories
    reject { |f| f =~ /^(bench|test)/ }. # not sure if including tests is useful
    reject { |f| f =~ /^(gemfiles)/ } # no tests - no Gemfile_s appraised ...
  gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
  gem.test_files = gem.files.grep(%r{^test/})

  # NOTE: 1.3.0 only supports >= 2.3 but users report it works with 2.2 :
  gem.add_dependency 'activerecord', '>= 2.2'

  #gem.add_development_dependency 'test-unit', '2.5.4'
  #gem.add_development_dependency 'test-unit-context', '>= 0.3.0'
  #gem.add_development_dependency 'mocha', '~> 0.13.1'

  gem.rdoc_options = ["--main", "README.md", "-SHN", "-f", "darkfish"]
  gem.rubyforge_project = %q{jruby-extras}
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
activerecord-jdbc-adapter-1.3.22 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-5.0.pre1 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.21 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.20 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.19 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.18 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.17 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.16 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.15 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.14 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.13 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.12 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.11 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.10 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.9 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.8 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.7 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.6 activerecord-jdbc-adapter.gemspec
activerecord-jdbc-adapter-1.3.5 activerecord-jdbc-adapter.gemspec