Sha256: 117231430c22d6a831cb4aaa39a3b8c967132b1933962460d277290d804d04b7

Contents?: true

Size: 1.41 KB

Versions: 4

Compression:

Stored size: 1.41 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "stale_fish"
    gem.summary = %Q{ keeps fixtures synchronized with sources to prevent outdated fixtures going undetected. }
    gem.email = "justin.smestad@gmail.com"
    gem.homepage = "http://github.com/jsmestad/stale_fish"
    gem.authors = ["Justin Smestad"]
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings

    gem.add_dependency "fakeweb", ">= 1.2.4"
    gem.add_dependency "resourceful", "~> 0.6.1"
    gem.add_dependency "activesupport", ">= 2.1.2"
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end


task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "stale_popcorn #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
jsmestad-stale_fish-1.1.2 Rakefile
jsmestad-stale_fish-1.1.3 Rakefile
jsmestad-stale_fish-1.2.1 Rakefile
stale_fish-1.2.3 Rakefile