quamen / starjour forked from lachie/starjour

Watches the ether for the handy *jour scripts.

This URL has Read+Write access

starjour / GemJour.rb
100644 26 lines (19 sloc) 0.39 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# GemJour.rb
# starjour
#
# Created by Lachie Cox on 21/06/08.
# Copyright (c) 2008 __MyCompanyName__. All rights reserved.
#
 
require 'osx/cocoa'
require 'Jour'
 
class GemJour < OSX::NSObject
  include Jour
  
  service_name 'gem'
  
  def setup
    @text = @service.name
  end
  
  
  # def resolved!
    # system "gem list -r --source=http://#{host.host}:#{host.port}"
  # end
end