Rakefile in yearbook-0.2.3 vs Rakefile in yearbook-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
# encoding: utf-8
-$:.unshift File.dirname(File.expand_path './lib', __FILE__)
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
@@ -21,10 +22,11 @@
gem.summary = %Q{Easy face-cropping}
gem.description = %Q{Easy face-cropping}
gem.email = "dansonguyen@gmail.com"
gem.authors = ["dannguyen"]
gem.files.exclude 'spec/fixtures/images/*.jpg' # exclude temporary directory
+ gem.executables << 'yearbook'
# dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
@@ -34,9 +36,8 @@
spec.pattern = FileList['spec/**/*_spec.rb']
end
RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
end
task :default => :spec