public
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/Caged/gitnub.git
Search Repo:
Click here to lend your support to: gitnub and make a donation at www.pledgie.com !
swap handling of lighthouse config.   *now* it should build and run
Caged (author)
Sun Apr 27 17:28:26 -0700 2008
commit  edc1379638847f09d2637509e8ed29bb9ba7621c
tree    60a76aa7fd57152fb4347017958385e19158aa6f
parent  cdcb846dfba626604facfd1e69c368facabb02ed
...
7
8
9
10
 
 
11
12
13
14
15
16
...
47
48
49
50
51
52
 
 
53
 
54
55
56
...
7
8
9
 
10
11
12
 
13
14
15
16
...
47
48
49
 
 
 
50
51
52
53
54
55
56
0
@@ -7,9 +7,9 @@
0
   def awakeFromNib
0
     @project_url = "http://%s.lighthouseapp.com/projects/%i"
0
     @repo = @application_controller.repo
0
- unless @repo.nil?
0
+ unless @repo.nil?
0
+ return unless setup_api_credentials
0
       setup_lighthouse_view
0
- setup_api_credentials
0
       begin_loading_tickets
0
     end
0
   end
0
0
@@ -47,10 +47,10 @@
0
       :project => @repo.config["lighthouse.project"],
0
       :account => @repo.config["lighthouse.account"]
0
     }
0
-
0
- if @lighthouse[:key].empty? || @lighthouse[:project].empty? || @lighthouse[:account].empty?
0
- raise "Lighthouse key, project, or account was not specified"
0
+ if @lighthouse[:key].nil? || @lighthouse[:project].nil? || @lighthouse[:account].nil?
0
+ return false
0
     end
0
+ return true
0
   end
0
   
0
   def begin_loading_tickets

Comments

    No one has commented yet.