Rakefile in telegram-bot-ruby-0.4.1 vs Rakefile in telegram-bot-ruby-0.4.2
- old
+ new
@@ -1,11 +1,15 @@
require 'bundler/gem_tasks'
require 'bundler/setup'
require 'rubocop/rake_task'
+require 'rspec/core/rake_task'
RuboCop::RakeTask.new(:rubocop) do |task|
task.fail_on_error = false
task.options = %w(--force-exclusion)
task.patterns = %w(lib/**/*.rb)
+ task.requires << 'rubocop-rspec'
end
-task default: :rubocop
+RSpec::Core::RakeTask.new(:spec)
+
+task default: :spec