Rakefile in aigu-0.2.1 vs Rakefile in aigu-0.3
- old
+ new
@@ -1,5 +1,15 @@
-require "bundler/gem_tasks"
+require 'bundler'
+require 'rake'
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+
+task default: :spec
+
+desc 'Run all specs'
+RSpec::Core::RakeTask.new(:spec) do |task|
+ task.pattern = 'spec/**/*_spec.rb'
+end
desc 'Start an IRB session with the gem'
task :console do
$:.unshift File.expand_path('..', __FILE__)
require 'aigu'