Sha256: 1834103d2765f7fe6fe88de1677011a2b651a8f9f0a69a1804ce39d977849de4

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

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.name = "enum_type"
  gem.summary = %Q{PostgreSQL enumerated types in ActiveRecord}
  gem.description = %Q{Allows ActiveRecord to better use PostgreSQL's ENUM types.}
  gem.email = "git@timothymorgan.info"
  gem.homepage = "http://github.com/riscfuture/enum_type"
  gem.authors = [ "Tim Morgan" ]
  gem.required_ruby_version = '>= 1.9'
  gem.add_dependency "activerecord", ">= 0"
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

require 'yard'
YARD::Rake::YardocTask.new('doc') do |doc|
  doc.options << "-m" << "textile"
  doc.options << "--protected"
  doc.options << "-r" << "README.textile"
  doc.options << "-o" << "doc"
  doc.options << "--title" << "enum_type Documentation"
  
  doc.files = [ 'lib/**/*', 'README.textile' ]
end

task(default: :spec)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enum_type-2.1.2 Rakefile
enum_type-2.1.1 Rakefile