Rakefile in edl-0.1.6 vs Rakefile in edl-0.1.7
- old
+ new
@@ -1,15 +1,11 @@
# frozen_string_literal: true
require 'rubygems'
-require 'bundler/gem_tasks'
+require './lib/edl.rb'
require 'rake/testtask'
+require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
-begin
- require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
- RSpec::Core::RakeTask.new(:spec)
-
- task default: :spec
-rescue LoadError
- # no rspec available
-end
+task default: :spec