Rakefile in wordpress_tools-0.0.2 vs Rakefile in wordpress_tools-1.0.0
- old
+ new
@@ -1,7 +1,9 @@
-#!/usr/bin/env rake
-
require "bundler/gem_tasks"
-require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:spec)
+ task default: :spec
+rescue LoadError
+ # no rspec available
+end