Permalink
Browse files

work with the latest version of gitjour

  • Loading branch information...
1 parent 7982a10 commit c92c168e815bd1063fef8ace4cb5b3e7e48ad940 @technomancy committed Jul 23, 2008
Showing with 4 additions and 3 deletions.
  1. +2 −1 Rakefile
  2. +1 −1 lib/conspire.rb
  3. +1 −1 lib/conspire/support/conspire.el
View
@@ -8,7 +8,8 @@ Hoe.new('conspire', Conspire::VERSION) do |p|
p.developer('Phil Hagelberg', 'technomancy@gmail.com')
# Get these from github:
- p.extra_deps << 'nogoth-gitjour'
+ # TODO: currently have to build manually; no gem built
+ p.extra_deps << 'chad-gitjour'
end
# vim: syntax=Ruby
View
@@ -34,7 +34,7 @@ def start(options = {})
# This should be called periodically
def discover(wait = DISCOVER_INTERVAL)
- Gitjour::Application.discover('_git._tcp', wait) do |service|
+ Gitjour::Application.discover(wait) do |service|
next if service.name !~ Regexp.new(SERVICE_NAME)
next if service.port.to_i == @options[:port].to_i # TODO: and local
# No-op if we've got it already, since @conspirators is a Set
@@ -58,7 +58,7 @@
(save-buffer)
(shell-command (format "git add %s && git commit -m \"conspire\""
buffer-file-name)))
- (revert-buffer nil t))b
+ (revert-buffer nil t))
;;; conspire.el ends here

0 comments on commit c92c168

Please sign in to comment.