diff --git a/Rakefile b/Rakefile index 2995527..6a147b2 100644 --- a/Rakefile +++ b/Rakefile @@ -1 +1,3 @@ require "bundler/gem_tasks" + +Dir.glob('tasks/**/*.rake').each(&method(:import)) \ No newline at end of file diff --git a/gem_example.gemspec b/gem_example.gemspec index afe320c..5e2775f 100644 --- a/gem_example.gemspec +++ b/gem_example.gemspec @@ -29,4 +29,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.9" spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "rspec", "~> 2.14" end diff --git a/tasks/rspec.rake b/tasks/rspec.rake new file mode 100644 index 0000000..b8ac6d5 --- /dev/null +++ b/tasks/rspec.rake @@ -0,0 +1,3 @@ +require 'rspec/core/rake_task' + +RSpec::Core::RakeTask.new(:spec) \ No newline at end of file