Skip to content

Commit

Permalink
simplify rakefile and remove unused gem
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Feb 3, 2018
1 parent a9600b4 commit 3f6eaff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
17 changes: 5 additions & 12 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rake/testtask'
require 'bundler'
require 'yard'

task :default => :spec

Rake::TestTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.loader = :direct
spec.pattern = './spec/statsd_spec.rb'
spec.verbose = true
end

begin
require 'yard'
rescue LoadError
else
namespace :build do
YARD::Rake::YardocTask.new :doc
end
namespace :build do
YARD::Rake::YardocTask.new :doc
end

Bundler::GemHelper.install_tasks
1 change: 0 additions & 1 deletion dogstatsd-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Gem::Specification.new do |s|

s.add_development_dependency(%q<minitest>, [">= 0"])
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
s.add_development_dependency(%q<simplecov>, [">= 0"])
end

0 comments on commit 3f6eaff

Please sign in to comment.