Sha256: 39eb4199ccb42467732cdf38a9acd5bf190852a8c3b7ae99c4fb3a027004dd29
Contents?: true
Size: 1.41 KB
Versions: 11
Compression:
Stored size: 1.41 KB
Contents
begin # Rspec 1.3.0 require 'spec/rake/spectask' desc 'Default: run specs' task :default => :spec Spec::Rake::SpecTask.new do |t| t.spec_files = FileList["spec/**/*_spec.rb"] end Spec::Rake::SpecTask.new('rcov') do |t| t.spec_files = FileList["spec/**/*_spec.rb"] t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end rescue LoadError # Rspec 2.0 require 'rspec/core/rake_task' desc 'Default: run specs' task :default => :spec Rspec::Core::RakeTask.new do |t| t.pattern = "spec/**/*_spec.rb" end Rspec::Core::RakeTask.new('rcov') do |t| t.pattern = "spec/**/*_spec.rb" t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end rescue LoadError puts "Rspec not available. Install it with: gem install rspec" end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "person-name" gemspec.summary = "Easy editing of person names." gemspec.description = "Manages all person name fields (prefix, first name, middle name, intercalation, last name, suffix)" gemspec.email = "matthijs.groen@gmail.com" gemspec.homepage = "http://github.com/matthijsgroen/person-name" gemspec.authors = ["Matthijs Groen"] gemspec.files = FileList["[A-Z]*", "{generators,lib,spec,rails}/**/*"] - FileList["**/*.log"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
11 entries across 11 versions & 1 rubygems