lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.3 vs lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.4
- old
+ new
@@ -1,14 +1,23 @@
require 'rake'
require 'rake/tasklib'
+class Rake::Application
+ attr_accessor :jeweler_tasks
+
+ def jeweler
+ jeweler_tasks.jeweler
+ end
+end
+
+
class HerokuDeploy
class Tasks < ::Rake::TaskLib
attr_accessor :heroku_deploy
def initialize
- Rake.application.heroku_deploy = self
+ Rake.application.heroku_deploy_tasks = self
define
end
def define
\ No newline at end of file