Rakefile in sidekiq-statsd-0.1.2 vs Rakefile in sidekiq-statsd-0.1.3
- old
+ new
@@ -1,18 +1,9 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+require "sidekiq/statsd/version"
-require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = FileList["spec/**/*_spec.rb"]
+ spec.pattern = FileList['spec/**/*_spec.rb']
end
-task :default => :spec
-
-require "yard"
-YARD::Rake::YardocTask.new
-
-desc "Start Pry with runtime dependencies loaded"
-task :console, :script do |t, args|
- command = "bundle exec pry"
- command += "-r #{args[:script]}" if args[:script]
- sh command
-end
+task default: :spec