Sha256: 9c38ecd11e5d306c4102d684bd45f466164591c75ef7a1700725e5a0587a8000

Contents?: true

Size: 1.52 KB

Versions: 118

Compression:

Stored size: 1.52 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "old_sql"
  gem.homepage = "http://github.com/egonz/old_sql"
  gem.license = "MIT"
  gem.summary = %Q{Database Reporting for Rails}
  gem.description = %Q{OldSQL is a Rails Engine database reporting gem that uses plain old SQL}
  gem.email = "egonzales@pureplay.com"
  gem.authors = ["Eddie Gonzales"]
  gem.files = Dir["{app,lib,config,public}/**/*"] + ["LICENSE.txt", "Rakefile", "Gemfile", "README.rdoc"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

#require 'rcov/rcovtask'
#Rcov::RcovTask.new do |test|
#  test.libs << 'test'
#  test.pattern = 'test/**/test_*.rb'
#  test.verbose = true
#  test.rcov_opts << '--exclude "gems/*"'
#end

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "old_sql #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Jeweler::GemcutterTasks.new

Version data entries

118 entries across 118 versions & 1 rubygems

Version Path
old_sql-1.65.0 Rakefile
old_sql-1.64.0 Rakefile
old_sql-1.63.0 Rakefile
old_sql-1.62.0 Rakefile
old_sql-1.61.0 Rakefile
old_sql-1.60.0 Rakefile
old_sql-1.59.0 Rakefile
old_sql-1.58.0 Rakefile
old_sql-1.57.0 Rakefile
old_sql-1.56.0 Rakefile
old_sql-1.55.0 Rakefile
old_sql-1.54.0 Rakefile
old_sql-1.53.0 Rakefile
old_sql-1.52.0 Rakefile
old_sql-1.51.0 Rakefile
old_sql-1.50.0 Rakefile
old_sql-1.49.0 Rakefile
old_sql-1.48.0 Rakefile
old_sql-1.47.0 Rakefile
old_sql-1.46.0 Rakefile