Sha256: d6529a2374f841100906d295742d74c45cedb23f1c451865d04110fea0efaf74

Contents?: true

Size: 1.53 KB

Versions: 15

Compression:

Stored size: 1.53 KB

Contents

require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'

begin
  AUTHOR   = "Michael Deering"
  EMAIL    = "mdeering@mdeering.com"
  GEM      = "gravatar_image_tag"
  HOMEPAGE = "http://github.com/mdeering/gravatar_image_tag"
  SUMMARY  = "A configurable and documented Rails view helper for adding gravatars into your Rails application."

  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.author       = AUTHOR
    s.email        = EMAIL
    s.files        = %w(install.rb install.txt MIT-LICENSE README.textile Rakefile) + Dir.glob("{rails,lib,spec}/**/*")
    s.homepage     = HOMEPAGE
    s.name         = GEM
    s.require_path = 'lib'
    s.summary      = SUMMARY
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
end

desc 'Default: spec tests.'
task :default => :spec

desc 'Test the gravatar_image_tag gem.'
Spec::Rake::SpecTask.new('spec') do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = ["-c"]
end

desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('examples_with_rcov') do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = ['--exclude', '/opt,spec,Library']
end

desc 'Generate documentation for the gravatar_image_tag plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'GravatarImageTag'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.textile')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.13.2 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.12.3 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.12.2 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.13.1 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.12.1 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.13.0 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.12.0 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.11.4 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.11.3 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.11.2 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.11.1 lib/plugins/gravatar_image_tag/Rakefile
fat_free_crm-0.11.0 lib/gravatar_image_tag/Rakefile
gravatar_image_tag-1.0.0 Rakefile
gravatar_image_tag-1.0.0.pre2 Rakefile
gravatar_image_tag-1.0.0.pre1 Rakefile