Sha256: d1e9043bfd1ed18968626d99eeed670e6f4c6deff36eb9df2d68e8e1d29605c0

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

require 'rubygems'
require 'rake'

desc 'Default: run unit tests'
task :default => :test

begin
  require 'rspec'
  require 'rspec/core/rake_task'
  desc 'Run the unit tests'
  RSpec::Core::RakeTask.new(:test)
rescue LoadError
  task :test do
    raise "You must have rspec 2.0 installed to run the tests"
  end
end

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "sort_by_field"
    gem.summary = %Q{Add ability to easily sort by entry attributes to Enumerables and Arrays}
    gem.description = %Q{Add ability to easily sort by entry attributes to Enumerables and Arrays.}
    gem.authors = ["Brian Durand"]
    gem.email = ["mdobrota@tribune.com", "ddpr@tribune.com"]
    gem.files = FileList["lib/**/*", "spec/**/*", "README.rdoc", "Rakefile", "License.txt"].to_a
    gem.has_rdoc = true
    gem.rdoc_options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc'
    gem.extra_rdoc_files = ["README.rdoc"]
    gem.add_development_dependency('rspec', '>= 2.0.0')
  end
  Jeweler::RubygemsDotOrgTasks.new
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sort_by_field-1.0.5 Rakefile