2009-08-06 18:22:10 -04:00
|
|
|
# -*- encoding: utf-8 -*-
|
2010-03-23 14:23:21 -04:00
|
|
|
require File.expand_path('../lib/arel/version.rb', __FILE__)
|
2009-08-06 18:22:10 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2010-03-23 14:23:21 -04:00
|
|
|
s.name = "arel"
|
|
|
|
s.version = Arel::VERSION
|
|
|
|
s.authors = ["Bryan Helmkamp", "Nick Kallen", "Emilio Tagua"]
|
2010-06-08 14:48:31 -04:00
|
|
|
s.date = %q{2010-06-08}
|
2010-03-23 14:23:21 -04:00
|
|
|
s.email = "bryan@brynary.com"
|
|
|
|
s.homepage = "http://github.com/brynary/arel"
|
|
|
|
s.summary = "Arel is a relational algebra engine for Ruby"
|
|
|
|
s.description = <<-EOS.strip
|
|
|
|
Arel is a Relational Algebra for Ruby. It 1) simplifies the generation complex
|
2009-10-27 20:19:20 -04:00
|
|
|
of SQL queries and it 2) adapts to various RDBMS systems. It is intended to be
|
|
|
|
a framework framework; that is, you can build your own ORM with it, focusing on
|
|
|
|
innovative object and collection modeling as opposed to database compatibility
|
2010-03-23 14:23:21 -04:00
|
|
|
and query generation.
|
|
|
|
EOS
|
|
|
|
s.rubyforge_project = "arel"
|
|
|
|
|
|
|
|
s.files = Dir['lib/**/*']
|
|
|
|
s.test_files = Dir['spec/**/*.rb'] - Dir['spec/support/fixtures/**/*.rb']
|
2009-08-06 18:22:10 -04:00
|
|
|
|
2010-03-23 14:23:21 -04:00
|
|
|
s.has_rdoc = true
|
|
|
|
s.extra_rdoc_files = %w[History.txt README.markdown]
|
2009-08-06 18:22:10 -04:00
|
|
|
|
2010-03-23 14:23:21 -04:00
|
|
|
# Arel required ActiveRecord, but we're not declaring it to avoid a
|
|
|
|
# circular dependency chain. The solution is for ActiveRecord to release
|
|
|
|
# the connection adapters which Arel uses in a separate gem
|
|
|
|
# s.add_dependency "activerecord", ">= 3.0.pre"
|
2010-03-25 14:57:45 -04:00
|
|
|
s.add_dependency "activesupport", ">= 3.0.0.beta"
|
2010-03-25 11:16:02 -04:00
|
|
|
end
|