Sha256: e7828d01d77c9e3b48c133218f0eecc032529a61551bd67ef21c7928310f1717
Contents?: true
Size: 1.11 KB
Versions: 26
Compression:
Stored size: 1.11 KB
Contents
require 'rake' task :default => :spec begin require 'spec/rake/spectask' desc "Run all examples" Spec::Rake::SpecTask.new('spec') do |t| t.spec_files = FileList['spec/**/*.rb'] end desc "Run all examples with RCov" Spec::Rake::SpecTask.new('spec:rcov') do |t| t.spec_files = FileList['spec/**/*.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec,gem'] end rescue LoadError puts "Could not load Rspec. To run tests, use `gem install rspec`" end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "maintain" gemspec.summary = "A Ruby state machine that lets your code do the driving" gemspec.description = %{ Maintain is a simple state machine mixin for Ruby objects. It supports comparisons, bitmasks, and hooks that really work. It can be used for multiple attributes and will always do its best to stay out of your way and let your code drive the machine, and not vice versa. } gemspec.email = "flip@x451.com" gemspec.homepage = "http://github.com/flipsasser/maintain" gemspec.authors = ["Flip Sasser"] end rescue LoadError end
Version data entries
26 entries across 26 versions & 1 rubygems