Sha256: 5d14aea683c1e57beb7f015dcea383021ba70c8110e5ebacad9cca8abe9f1069

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 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 is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "has_enum"
  gem.homepage = "https://github.com/etehtsea/has_enum"
  gem.license = "MIT"
  gem.summary = %Q{Gem for Rails to easily handle enumeration attributes in models}
  gem.email = "kes.eclipse@gmail.com"
  gem.authors = ["Andreas Korth", "Konstantin Shabanov"]
  gem.add_runtime_dependency     'rails',        '> 3.0.0'
  gem.add_development_dependency 'rspec',        '> 2.2.0'
  gem.add_development_dependency 'rails',        '> 3.0.0'
  gem.add_development_dependency 'sqlite3-ruby', '> 1.3.2'
end
Jeweler::RubygemsDotOrgTasks.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_enum-0.3.0 Rakefile