Sha256: 2d877497838053511633c9a07467ca8cdba15f6ff79e9e9a59ac98be7de26ba8
Contents?: true
Size: 870 Bytes
Versions: 5
Compression:
Stored size: 870 Bytes
Contents
begin require 'jeweler' name = 'progress' summary = 'Show progress of long running tasks' jewel = Jeweler::Tasks.new do |j| j.name = name j.summary = summary j.homepage = "http://github.com/toy/#{name}" j.authors = ["Boba Fat"] 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" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end task :default => :spec
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
progress-1.1.0 | Rakefile |
progress-1.0.1 | Rakefile |
progress-1.0.0 | Rakefile |
progress-0.4.1 | Rakefile |
progress-0.3.0 | Rakefile |