Skip to content

Commit

Permalink
Update for guard 2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Libin Pan committed Apr 16, 2015
1 parent 964d4b6 commit f78c971
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/guard/pusher.rb
@@ -1,10 +1,10 @@
require 'guard'
require 'guard/guard'
require 'guard/plugin'
require 'pusher'
require 'erb'

module Guard
class Pusher < Guard
class Pusher < Plugin

def self.configure(options)
%w{app_id key secret}.inject(Hash.new) { |hash, key|
Expand All @@ -19,7 +19,7 @@ def self.configure(options)
rescue ::Pusher::ConfigurationError
end

def initialize(watchers = [], options = {})
def initialize(options = {})
super

@options = options
Expand Down
2 changes: 1 addition & 1 deletion lib/guard/pusher/version.rb
@@ -1,5 +1,5 @@
module Guard
module PusherVersion
VERSION = "0.0.3"
VERSION = "0.0.4"
end
end

0 comments on commit f78c971

Please sign in to comment.