Sha256: eb19cc0480612f4abd41f479b1da596411ef1ee41cef8961e84d009c18351fb5
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
require 'bundler' require 'jeweler' begin Jeweler::Tasks.new do |gemspec| gemspec.name = "sappy" gemspec.summary = "Wrapping that shit!" gemspec.description = "A wrapper for the SiteUptime API" gemspec.email = ["dylanegan@gmail.com", "tim@spork.in"] gemspec.homepage = "http://github.com/abcde/sappy" gemspec.authors = ["Dylan Egan", "Tim Carey-Smith"] # reject people's local copies of credentials project_files = Dir.glob("{lib,spec}/**/*").reject { |file| file =~ %r!spec/credentials.rb! } gemspec.files = %w(README.markdown Rakefile VERSION) + project_files gemspec.rubyforge_project = 'abcde' bundle = Bundler::Definition.from_gemfile("Gemfile") bundle.dependencies. select { |d| d.groups.include?(:runtime) }. each { |d| gemspec.add_dependency(d.name, d.version_requirements.to_s) } end Jeweler::RubyforgeTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler" end require 'spec/rake/spectask' desc "Run specs" Spec::Rake::SpecTask.new do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = %w(-fs --color) t.rcov = ENV['RCOV'] == "true" t.rcov_opts << '--exclude' << 'spec' t.rcov_opts << '--text-summary' t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse' end desc 'Default: Runs rspec' task :default => :spec
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sappy-0.1.7 | Rakefile |
sappy-0.1.6 | Rakefile |