Sha256: 267aa610ee911853cd3a6ee388429e90dfdb6c25ff4cac12986a87ef0d058bf2
Contents?: true
Size: 1.52 KB
Versions: 6
Compression:
Stored size: 1.52 KB
Contents
load 'tasks/resque_aps.rake' $LOAD_PATH.unshift 'lib' task :default => :test desc "Run tests" task :test do Dir['test/*_test.rb'].each do |f| require f end end desc "Build a gem" task :gem => [ :test, :gemspec, :build ] begin begin require 'jeweler' rescue LoadError puts "Jeweler not available. Install it with: " puts "gem install jeweler" end require 'resque_aps/version' Jeweler::Tasks.new do |gemspec| gemspec.name = "resque-aps" gemspec.summary = "Queuing system for Apple's Push Service on top of Resque" gemspec.description = %{Queuing system for Apple's Push Service on top of Resque. Adds methods enqueue_aps to queue a notification message. Also includes helper classes and methods to format JSON.} gemspec.email = "ashleym1972@gmail.com" gemspec.homepage = "http://github.com/ashleym1972/resque-aps" gemspec.authors = ["Ashley Martens"] gemspec.version = Resque::Plugins::Aps::Version gemspec.add_dependency "redis", ">= 1.0.7" gemspec.add_dependency "resque", ">= 1.5.0" gemspec.add_development_dependency "jeweler" gemspec.add_development_dependency "mocha" gemspec.add_development_dependency "rack-test" end end desc "Push a new version to Gemcutter" task :publish => [ :test, :gemspec, :build ] do system "git tag v#{Resque::Plugins::Aps::Version}" system "git push origin v#{Resque::Plugins::Aps::Version}" system "git push origin master" system "gem push pkg/resque-aps-#{Resque::Plugins::Aps::Version}.gem" system "git clean -fd" end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
resque-aps-0.9.14 | Rakefile |
resque-aps-0.9.13 | Rakefile |
resque-aps-0.9.12 | Rakefile |
resque-aps-0.9.11 | Rakefile |
resque-aps-0.9.10 | Rakefile |
resque-aps-0.9.9 | Rakefile |