Sha256: bbf20955a440b65df8b30e18d0b6a65e8f5e537d4cec9aaae3bf869ea4e39384
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 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' # bring sexy back (sexy == tables) module YARD::Templates::Helpers::HtmlHelper def html_markup_markdown(text) markup_class(:markdown).new(text, :gh_blockcode, :fenced_code, :autolink, :tables, :no_intraemphasis).to_html end end YARD::Rake::YardocTask.new('doc') do |doc| doc.options << '-m' << 'markdown' doc.options << '-M' << 'redcarpet' doc.options << '--protected' << '--no-private' doc.options << '-r' << 'README.md' doc.options << '-o' << 'doc' doc.options << '--title' << 'enum_type Documentation' doc.files = %w(lib/**/* README.md) end task(default: :spec)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enum_type-2.2.0 | Rakefile |