Sha256: 057959e5afc2bac03e982025e7ed3782ab124dbe9b48252e0d65144af2efade3
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 KB
Contents
begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "zelda" s.author = "Bart Zonneveld" s.email = "loop" + "@" + "superinfinite.com" s.homepage = "http://github.com/bartzon/zelda" s.summary = " " s.description = " " s.rubyforge_project = "zelda" s.extra_rdoc_files = %w[README.rdoc MIT-LICENSE.txt History.txt] # Dependencies s.add_dependency "httparty", ">= 0.4.4" # TODO: Add development dependencies end Jeweler::RubyforgeTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end # require 'spec' require 'spec/rake/spectask' require 'spec/rake/verify_rcov' desc "Run specs" Spec::Rake::SpecTask.new do |t| t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""] t.spec_files = FileList['spec/**/*_spec.rb'] end desc "Run all specs in spec directory with RCov" Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""] t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_opts = lambda do IO.readlines(File.dirname(__FILE__) + "/spec/rcov.opts").map {|l| l.chomp.split " "}.flatten end end if defined?(Jeweler) task :spec => :check_dependencies end task :default => :spec
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
bartzon-zelda-0.0.0 | Rakefile |
bartzon-zelda-0.0.1 | Rakefile |
bartzon-zelda-0.0.2 | Rakefile |
bartzon-zelda-0.0.3 | Rakefile |
bartzon-zelda-0.0.5 | Rakefile |