Rakefile in easy_admin_ui-0.6.0 vs Rakefile in easy_admin_ui-0.6.1

- old
+ new

@@ -1,30 +1,6 @@ -require 'rubygems' -require 'rake' +require "bundler/gem_tasks" +require "rspec/core/rake_task" -begin - require 'jeweler' - Jeweler::Tasks.new do |gem| - gem.name = "easy_admin_ui" - gem.summary = "Easy Admin UI." - gem.description = "Very simple DRY admin UI." - gem.email = "martin@wulffeld.org" - gem.homepage = "http://github.com/wulffeld/easy_admin_ui" - gem.authors = ["Martin Moen Wulffeld"] - gem.add_dependency(%q<kaminari>, ">= 0.12.4") - gem.add_dependency(%q<formtastic>, ">= 2.2.1") - end - Jeweler::GemcutterTasks.new -rescue LoadError - puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" -end - -desc "New release" -task :new_release do |t| - `rake version:bump:patch` - `rake gemspec` - `git commit -am "Preparing new release."` - `rm -f pkg/*` - `rake build` - `rake release` - `cat VERSION` +RSpec::Core::RakeTask.new(:spec) do |spec| + spec.pattern = FileList['spec/**/*_spec.rb'] end