forked from jruby/activerecord-jdbc-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activerecord-jdbc-adapter.gemspec
41 lines (34 loc) · 1.81 KB
/
activerecord-jdbc-adapter.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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 and JRuby contributors']
gem.email = ['nick@nicksieger.com', 'ola.bini@gmail.com']
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
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