Rakefile in doorkeeper_sso-0.0.3 vs Rakefile in doorkeeper_sso-0.0.4

- old
+ new

@@ -1,26 +1,27 @@ +#!/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end +Bundler.require :default, :test -require 'rdoc/task' - -RDoc::Task.new(:rdoc) do |rdoc| - rdoc.rdoc_dir = 'rdoc' - rdoc.title = 'Sso' - rdoc.options << '--line-numbers' - rdoc.rdoc_files.include('README.rdoc') - rdoc.rdoc_files.include('lib/**/*.rb') +require 'rake' +task :environment do + Combustion.initialize! end +Combustion::Application.load_tasks APP_RAKEFILE = File.expand_path("../spec/test_app/Rakefile", __FILE__) load 'rails/tasks/engine.rake' +require "rspec/core/rake_task" +Bundler::GemHelper.install_tasks -load 'rails/tasks/statistics.rake' +task :default => :spec - - -Bundler::GemHelper.install_tasks +# RSpec::Core::RakeTask.new(:spec) do |spec| +# spec.pattern = 'spec/**/*_spec.rb' +# # spec.rspec_opts = ['-cfs --backtrace'] +# end