Rakefile in renote-0.0.4 vs Rakefile in renote-0.0.5
- old
+ new
@@ -1,5 +1,11 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
-Dir.glob('lib/tasks/*.rake').each {|r| import r}
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:spec)
+ task :default => :spec
+rescue LoadError
+ # no rspec available
+end
-task :default => [:spec]
+# Dir.glob('lib/tasks/*.rake').each {|r| import r}
\ No newline at end of file