Rakefile in applix-0.2.2 vs Rakefile in applix-0.3.0

- old
+ new

@@ -1,6 +1,14 @@ require 'rubygems' +require 'bundler' +begin + Bundler.setup(:default, :development) +rescue Bundler::BundlerError => e + $stderr.puts e.message + $stderr.puts "Run `bundle install` to install missing gems" + exit e.status_code +end require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| @@ -40,11 +48,12 @@ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end +Jeweler::RubygemsDotOrgTasks.new - +require 'rspec/core' require "rspec/core/rake_task" namespace :test do desc "Run all specs." RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb'