From ee2a45ad4495d6ec6c668c9b36a24be6095c84a3 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Fri, 12 May 2017 09:51:21 -0400 Subject: [PATCH] Re-add yard; remove use of metric_fu The yard dependency is required in order to run 'rake test' as the yard tasks are imported. Remove metric_fu from the Rakefile as the gem is no-longer installed. --- Gemfile.lock | 2 ++ Rakefile | 2 -- ruby-rtf.gemspec | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8af6f90..246890a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -20,6 +20,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.6.0) rspec-support (3.6.0) + yard (0.9.9) PLATFORMS ruby @@ -27,6 +28,7 @@ PLATFORMS DEPENDENCIES rspec (> 2.0) ruby-rtf! + yard BUNDLED WITH 1.14.6 diff --git a/Rakefile b/Rakefile index 8dd1722..0856b97 100644 --- a/Rakefile +++ b/Rakefile @@ -4,8 +4,6 @@ Bundler::GemHelper.install_tasks require 'yard' require 'rspec/core/rake_task' -require 'metric_fu' - task :default => [:spec] desc "run spec tests" diff --git a/ruby-rtf.gemspec b/ruby-rtf.gemspec index ffc5d6f..48cc306 100644 --- a/ruby-rtf.gemspec +++ b/ruby-rtf.gemspec @@ -14,6 +14,7 @@ Gem::Specification.new do |s| s.description = s.summary s.add_development_dependency 'rspec', '>2.0' + s.add_development_dependency 'yard' s.bindir = 'bin' s.executables << 'rtf_parse'