Sha256: f3b7dae831718ea3d453cdd04703311c8a59401f8710755e87c248cf3286d54b

Contents?: true

Size: 991 Bytes

Versions: 3

Compression:

Stored size: 991 Bytes

Contents

require "rake"
require "rspec/core/rake_task"
require "./lib/normalize_attributes/version"

desc "Default: run specs."
task :default => :spec

desc "Run the specs"
RSpec::Core::RakeTask.new do |t|
  t.ruby_opts = %w[-Ilib -Ispec]
end

begin
  require "jeweler"

  JEWEL = Jeweler::Tasks.new do |gem|
    gem.name = "normalize_attributes"
    gem.version = NormalizeAttributes::Version::STRING
    gem.summary = "Normalize ActiveRecord attributes"
    gem.description = "Normalize ActiveRecord attributes"
    gem.authors = ["Nando Vieira"]
    gem.email = "fnando.vieira@gmail.com"
    gem.homepage = "http://github.com/fnando/normalize_attributes"
    gem.has_rdoc = false
    gem.add_dependency "activerecord"
    gem.files = FileList["{Gemfile,Gemfile.lock,Rakefile,MIT-LICENSE,normalize_attributes.gemspec,README.rdoc}", "{lib,spec,templates}/**/*"]
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
normalize_attributes-0.1.5 Rakefile
normalize_attributes-0.1.4 Rakefile
normalize_attributes-0.1.3 Rakefile