Rakefile in mate-1.1.1.1 vs Rakefile in mate-1.1.1.2

- old
+ new

@@ -1,27 +1,18 @@ -begin - require 'jeweler' +require 'rake' +require 'jeweler' +require 'rake/gem_ghost_task' - name = 'mate' +name = 'mate' - Jeweler::Tasks.new do |gem| - gem.name = name - gem.summary = %Q{TextMate project builder using git ignores for exclusions} - gem.homepage = "http://github.com/toy/#{name}" - gem.authors = ['Boba Fat'] - gem.add_dependency 'plist' - end - - Jeweler::GemcutterTasks.new - - require 'pathname' - desc "Replace system gem with symlink to this folder" - task 'ghost' do - gem_path = Pathname(Gem.searcher.find(name).full_gem_path) - current_path = Pathname('.').expand_path - system('rm', '-r', gem_path) - system('ln', '-s', current_path, gem_path) - end - -rescue LoadError - puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" +Jeweler::Tasks.new do |gem| + gem.name = name + gem.summary = %Q{TextMate project builder using git ignores for exclusions} + gem.homepage = "http://github.com/toy/#{name}" + gem.license = 'MIT' + gem.authors = ['Ivan Kuchin'] + gem.add_runtime_dependency 'plist' + gem.add_development_dependency 'jeweler', '~> 1.5.1' + gem.add_development_dependency 'rake-gem-ghost' end +Jeweler::RubygemsDotOrgTasks.new +Rake::GemGhostTask.new