Sha256: f317f2c6c007f1080ec52d1a8a2dcd297e284779e0954c30d7df761669636618

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 Bytes

Contents

require "./lib/defaults/version"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new do |t|
  t.ruby_opts = %w[ -Ilib -Ispec ]
end

begin
  require "jeweler"

  JEWEL = Jeweler::Tasks.new do |gem|
    gem.name = "defaults"
    gem.version = Defaults::Version::STRING
    gem.summary = "Set default values for ActiveRecord attributes"
    gem.description = "Set default values for ActiveRecord attributes"
    gem.authors = ["Nando Vieira"]
    gem.email = "fnando.vieira@gmail.com"
    gem.homepage = "http://github.com/fnando/has_defaults"
    gem.has_rdoc = false
    gem.files = FileList["init.rb", "Gemfile", "Rakefile", "README.rdoc", "defaults.gemspec", "{lib,spec}/**/*"]
    gem.add_development_dependency "rspec", ">= 2.0.0"
    gem.add_dependency "activerecord"
  end

  Jeweler::GemcutterTasks.new
rescue LoadError => e
  puts "You don't have Jeweler installed, so you won't be able to build gems."
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
defaults-0.1.0 Rakefile