Sha256: 687b7550323960ab884ef3220537669ac5e5a9534779d2f1586e91ccecc144fe
Contents?: true
Size: 1.36 KB
Versions: 4
Compression:
Stored size: 1.36 KB
Contents
#!/usr/bin/env ruby require 'rubygems' begin require 'cucumber/rake/task' Cucumber::Rake::Task.new do |t| t.binary = "bin/cucumber" t.cucumber_opts = "--require features/ features/" end rescue LoadError end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "visage-app" gemspec.summary = "a web (interface | service) for viewing collectd statistics" gemspec.description = "Visage is a web interface for viewing collectd statistics. It also provides a JSON interface onto collectd's RRD data, giving you an easy way to mash up the data." gemspec.email = "lindsay@holmwood.id.au" gemspec.homepage = "http://auxesis.github.com/visage" gemspec.authors = ["Lindsay Holmwood"] gemspec.add_dependency "sinatra", "1.0" gemspec.add_dependency "tilt", "1.0.1" gemspec.add_dependency "haml", "3.0.13" gemspec.add_dependency "errand", "0.7.2" gemspec.add_dependency "yajl-ruby", "0.7.6" end rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end desc "push gem" task :push do filenames = Dir.glob("pkg/*.gem") filenames_with_times = filenames.map do |filename| [filename, File.mtime(filename)] end newest = filenames_with_times.sort_by { |tuple| tuple.last }.last newest_filename = newest.first command = "gem push #{newest_filename}" system(command) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
visage-app-0.2.2 | Rakefile |
visage-app-0.2.1 | Rakefile |
visage-app-0.2.0 | Rakefile |
visage-app-0.1.8 | Rakefile |