Rakefile in zilla-0.1.5 vs Rakefile in zilla-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
# frozen_string_literal: true
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+require 'bundler/gem_tasks'
-RSpec::Core::RakeTask.new(:spec)
+begin
+ require 'rspec/core/rake_task'
-require "rubocop/rake_task"
-
-RuboCop::RakeTask.new
-
-task default: [:spec, :rubocop]
+ RSpec::Core::RakeTask.new(:spec)
+ task default: :spec
+rescue LoadError
+ # no rspec available
+end