Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed up the Rake file to run again.

  • Loading branch information...
commit e65b897fdd7eae1fd99a0edb701518d9608d07ac 1 parent e033c5c
@mdeering authored
Showing with 4 additions and 17 deletions.
  1. +3 −16 Rakefile
  2. +1 −1  gravatar_image_tag.gemspec
View
19 Rakefile
@@ -1,6 +1,5 @@
require 'rake'
-require 'rake/rdoctask'
-require 'spec/rake/spectask'
+require 'rspec/core/rake_task'
begin
AUTHOR = "Michael Deering"
@@ -28,23 +27,11 @@ 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"]
+RSpec::Core::RakeTask.new do |t|
end
desc "Run all examples with RCov"
-Spec::Rake::SpecTask.new('examples_with_rcov') do |t|
- t.spec_files = FileList['spec/**/*_spec.rb']
+RSpec::Core::RakeTask.new(:coverage) do |t|
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
View
2  gravatar_image_tag.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{gravatar_image_tag}
- s.version = "1.0.0"
+ s.version = "1.1.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Michael Deering"]
Please sign in to comment.
Something went wrong with that request. Please try again.