public
Description: A SSB OSX application, which at some point will be able to create a new application which wraps a specific web application, (Think Campfire, Twitter etc) and allows the user to use Ruby to create event handlers to be able support things like Growl or whatever you would like.
Clone URL: git://github.com/alloy/webapp-app.git
Search Repo:
Added Shiira's SRAutoFillManager for users and passwords and other 
refactors.
alloy (author)
Tue Feb 26 06:26:16 -0800 2008
commit  04fff97b07eee7a2fdce73e1bc85aef877321a5c
tree    47cc9e4563d7df0c64be4ed40f2ed2eb8e11ce63
parent  66f35f79dbb40c8e75954a826224d2b257c2d044
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,15 +0,0 @@
0
-0000000000000003000000000000856b dbe8a706e636442c82ececf39ed1578e ffffffffffffffffffffffffffffffff 72604 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/CTGradient.o
0
-0000000047c81ab2000000000000217f 775118a1f92df6f8b16bb61e9b8e4f76 ffffffffffffffffffffffffffffffff 36732 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/CTBadge.o
0
-0000000047c0b9660000000000000121 52c36e6cede0392004ca37fae306be44 ffffffffffffffffffffffffffffffff 4892 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/main.o
0
-08ab3b59e784b3ef98a03e541a0a2b69 f515544ebe04aa8e1057d5e47fea4621 ffffffffffffffffffffffffffffffff 102 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app
0
-fe7ad1cbb479e573374d6d17e6537089 1d3d7b541731478b34b5d830b025e835 ffffffffffffffffffffffffffffffff 56008 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/MacOS/CampfireTest
0
-00000000000000000000000000000000 d93c7f0df632ba59dc1967dafbeb8c61 ffffffffffffffffffffffffffffffff 170 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/English.lproj/MainMenu.nib
0
-00000000000000000000000000000000 74cb6a885a9fe61d4731a9a1dfbf2a13 ffffffffffffffffffffffffffffffff 102 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/vendor
0
-00000000000000000000000000000000 e989e3159e7891c424356813297b5332 ffffffffffffffffffffffffffffffff 204 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/test
0
-00000000000000000000000000000000 acb413c87dc8cba08768bcec2e91f1ef ffffffffffffffffffffffffffffffff 170 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/misc
0
-00000000000000000000000000000000 a17d5361dd5e66afd6369c57c25345dd ffffffffffffffffffffffffffffffff 272 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/config
0
-00000000000000000000000000000000 a0b7f1254a25a29d3453e52cb550efac ffffffffffffffffffffffffffffffff 204 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/app
0
-00000000000000000000000000000000 0f38deadd2f6f0ee7c42504ea3dcb42c ffffffffffffffffffffffffffffffff 215 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/rb_main.rb
0
-00000000000000000000000000000000 0dd408774e5c23eb3d0ab8c2bb1da927 ffffffffffffffffffffffffffffffff 165 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/English.lproj/InfoPlist.strings
0
-0000000047c0b9660000000000000355 d510963539fe357e7795e3fa6c24a418 ffffffffffffffffffffffffffffffff 8 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/PkgInfo
0
-0000000047c0b9660000000000000355 d510963539fe357e7795e3fa6c24a418 ffffffffffffffffffffffffffffffff 796 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Info.plist
...
1
2
3
4
5
6
7
8
9
10
11
12
13
...
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,13 +0,0 @@
0
-a41284febf570903ab2764b91f5596b8 f515544ebe04aa8e1057d5e47fea4621 ffffffffffffffffffffffffffffffff 102 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app
0
-52c36e6cecaa5f9f04ca37fae30ccd58 1d3d7b541731478b34b5d830b025e835 ffffffffffffffffffffffffffffffff 17016 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/MacOS/CampfireTest
0
-00000000000000000000000000000000 d93c7f0df632ba59dc1967dafbeb8c61 ffffffffffffffffffffffffffffffff 170 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/English.lproj/MainMenu.nib
0
-00000000000000000000000000000000 74cb6a885a9fe61d4731a9a1dfbf2a13 ffffffffffffffffffffffffffffffff 102 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/vendor
0
-00000000000000000000000000000000 e989e3159e7891c424356813297b5332 ffffffffffffffffffffffffffffffff 204 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/test
0
-00000000000000000000000000000000 acb413c87dc8cba08768bcec2e91f1ef ffffffffffffffffffffffffffffffff 170 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/misc
0
-00000000000000000000000000000000 a17d5361dd5e66afd6369c57c25345dd ffffffffffffffffffffffffffffffff 272 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/config
0
-00000000000000000000000000000000 a0b7f1254a25a29d3453e52cb550efac ffffffffffffffffffffffffffffffff 204 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/app
0
-00000000000000000000000000000000 0f38deadd2f6f0ee7c42504ea3dcb42c ffffffffffffffffffffffffffffffff 215 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/rb_main.rb
0
-00000000000000000000000000000000 0dd408774e5c23eb3d0ab8c2bb1da927 ffffffffffffffffffffffffffffffff 165 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Resources/English.lproj/InfoPlist.strings
0
-0000000047c0b9660000000000000355 d510963539fe357e7795e3fa6c24a418 ffffffffffffffffffffffffffffffff 8 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/PkgInfo
0
-0000000047c0b9660000000000000355 d510963539fe357e7795e3fa6c24a418 ffffffffffffffffffffffffffffffff 796 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/Debug/CampfireTest.app/Contents/Info.plist
0
-0000000047c0b9660000000000000121 52c36e6cede0392004ca37fae306be44 ffffffffffffffffffffffffffffffff 4892 /Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/main.o
...
1
2
3
...
 
 
 
0
@@ -1,3 +0,0 @@
0
-/Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/main.o
0
-/Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/CTBadge.o
0
-/Users/eloy/Documents/DEVELOPMENT/RubyCocoa/WebApp/CampfireTest/build/CampfireTest.build/Debug/CampfireTest.build/Objects-normal/i386/CTGradient.o
...
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
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,26 +0,0 @@
0
-<?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
-<plist version="1.0">
0
-<dict>
0
-  <key>CFBundleDevelopmentRegion</key>
0
-  <string>English</string>
0
-  <key>CFBundleExecutable</key>
0
-  <string>CampfireTest</string>
0
-  <key>CFBundleIdentifier</key>
0
-  <string>com.apple.rubycocoa.CampfireTestApp</string>
0
-  <key>CFBundleInfoDictionaryVersion</key>
0
-  <string>6.0</string>
0
-  <key>CFBundlePackageType</key>
0
-  <string>APPL</string>
0
-  <key>CFBundleShortVersionString</key>
0
-  <string>1.0</string>
0
-  <key>CFBundleSignature</key>
0
-  <string>????</string>
0
-  <key>CFBundleVersion</key>
0
-  <string>1.0</string>
0
-  <key>NSMainNibFile</key>
0
-  <string>MainMenu</string>
0
-  <key>NSPrincipalClass</key>
0
-  <string>NSApplication</string>
0
-</dict>
0
-</plist>
...
1
2
...
 
0
0
@@ -1 +0,0 @@
0
-APPL????
0
\ No newline at end of file
...
1
2
3
4
...
 
 
 
0
0
@@ -1,3 +0,0 @@
0
-CFBundleName = "CampfireTest";
0
-CFBundleGetInfoString = "CampfireTest version 0.1, Copyright 2008 YOUR NAME.";
0
-NSHumanReadableCopyright = "Copyright 2008 YOUR NAME.";
0
\ No newline at end of file
...
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,42 +0,0 @@
0
-<?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
-<plist version="1.0">
0
-<dict>
0
-  <key>IBClasses</key>
0
-  <array>
0
-    <dict>
0
-      <key>CLASS</key>
0
-      <string>FirstResponder</string>
0
-      <key>LANGUAGE</key>
0
-      <string>ObjC</string>
0
-      <key>SUPERCLASS</key>
0
-      <string>NSObject</string>
0
-    </dict>
0
-    <dict>
0
-      <key>CLASS</key>
0
-      <string>ApplicationController</string>
0
-      <key>LANGUAGE</key>
0
-      <string>ObjC</string>
0
-      <key>OUTLETS</key>
0
-      <dict>
0
-        <key>main_window</key>
0
-        <string>id</string>
0
-        <key>webview</key>
0
-        <string>id</string>
0
-      </dict>
0
-      <key>SUPERCLASS</key>
0
-      <string>RCController</string>
0
-    </dict>
0
-    <dict>
0
-      <key>CLASS</key>
0
-      <string>RCController</string>
0
-      <key>LANGUAGE</key>
0
-      <string>ObjC</string>
0
-      <key>SUPERCLASS</key>
0
-      <string>NSObject</string>
0
-    </dict>
0
-  </array>
0
-  <key>IBVersion</key>
0
-  <string>1</string>
0
-</dict>
0
-</plist>
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,20 +0,0 @@
0
-<?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
-<plist version="1.0">
0
-<dict>
0
-  <key>IBFramework Version</key>
0
-  <string>629</string>
0
-  <key>IBLastKnownRelativeProjectPath</key>
0
-  <string>../../../CampfireTest.xcodeproj</string>
0
-  <key>IBOldestOS</key>
0
-  <integer>5</integer>
0
-  <key>IBOpenObjects</key>
0
-  <array>
0
-    <integer>2</integer>
0
-  </array>
0
-  <key>IBSystem Version</key>
0
-  <string>9C31</string>
0
-  <key>targetFramework</key>
0
-  <string>IBCocoaFramework</string>
0
-</dict>
0
-</plist>
...
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
0
@@ -1,120 +0,0 @@
0
-# module WebApp
0
-# class Plugin
0
-# def webView_didFinishLoadForFrame(webview, frame)
0
-# register_dom_observers(webview.mainFrame)
0
-# end
0
-#
0
-# class << self
0
-# def on_event(name, options = {}, &block)
0
-# options[:multiple_times] ||= false
0
-#
0
-# (@events ||= []).push({ :name => name, :options => options, :block => block})
0
-# end
0
-# end
0
-#
0
-# private
0
-#
0
-# def register_dom_observers(frame)
0
-# doc = frame.DOMDocument
0
-# self.class.instance_variable_get(:@events).each { |event| doc.addEventListener___(event[:name], self, true) }
0
-# end
0
-#
0
-# def handleEvent(event)
0
-# self.class.instance_variable_get(:@events).each do |event_handler|
0
-# next unless event_matches_handler?(event, event_handler)
0
-# # FIXME: need to make sure we don't call multiple times for the same node
0
-# event_handler[:block].call(event, Hpricot(event.relatedNode.outerHTML.to_s)) # hpricot
0
-# end
0
-# end
0
-#
0
-# def event_matches_handler?(event, handler)
0
-# attributes = event.relatedNode.attributes
0
-# event.objc_send(:type) == handler[:name] and handler[:options][:conditions].all? { |key, value| attributes.getNamedItem(key.to_s).value == value }
0
-# end
0
-#
0
-# def growl(name, message)
0
-# puts "Growl: #{name}: #{message}"
0
-# end
0
-#
0
-# def increase_badge_counter!
0
-# # whatever
0
-# end
0
-# end
0
-# end
0
-#
0
-# class CampFire < WebApp::Plugin
0
-#
0
-# on_event('DOMNodeInserted', :conditions => { :id => 'chat' }) do |event, node|
0
-# last_row = (node/'tr').last
0
-# unless last_row.nil?
0
-# name, message = (last_row/'td').map { |element| element.inner_text }
0
-# growl(name, message)
0
-# increase_badge_counter!
0
-# end
0
-# end
0
-#
0
-# end
0
-
0
-class ApplicationController < Rucola::RCController
0
- ### IMPLEMENTATION
0
-
0
- ib_outlet :main_window
0
- ib_outlet :webview
0
-
0
- def awakeFromNib
0
- # All the application delegate methods will be called on this object.
0
- OSX::NSApp.delegate = self
0
-
0
- @growl = GrowlController.alloc.init
0
- p @growl
0
-
0
- @webview.frameLoadDelegate = self
0
-
0
- url = 'http://fingertips.campfirenow.com'
0
- @webview.mainFrame.loadRequest OSX::NSURLRequest.requestWithURL(OSX::NSURL.URLWithString(url))
0
- end
0
-
0
- def webView_didFinishLoadForFrame(webview, frame)
0
- __register_dom_observers(webview.mainFrame)
0
- end
0
-
0
- class << self
0
- def on_event(name, options = {}, &block)
0
- options[:multiple_times] ||= false
0
-
0
- (@events ||= []).push({ :name => name, :options => options, :block => block})
0
- end
0
- end
0
-
0
- def __register_dom_observers(frame)
0
- doc = frame.DOMDocument
0
- self.class.instance_variable_get(:@events).each { |event| doc.addEventListener___(event[:name], self, true) }
0
- end
0
-
0
- def handleEvent(event)
0
- self.class.instance_variable_get(:@events).each do |event_handler|
0
- next unless __event_matches_handler?(event, event_handler)
0
- # FIXME: need to make sure we don't call multiple times for the same node
0
- event_handler[:block].call(event, Hpricot(event.relatedNode.outerHTML.to_s)) # hpricot
0
- end
0
- end
0
-
0
- def __event_matches_handler?(event, handler)
0
- attributes = event.relatedNode.attributes
0
- event.objc_send(:type) == handler[:name] and handler[:options][:conditions].all? { |key, value| attributes.getNamedItem(key.to_s).value == value }
0
- end
0
-
0
- def growl(name, message)
0
- puts "Growl: #{name}: #{message}"
0
- end
0
-
0
- #### WHAT IT WOULD LOOK LIKE:
0
-
0
- on_event('DOMNodeInserted', :conditions => { :id => 'chat' }) do |event, node|
0
- last_row = (node/'tr').last
0
- unless last_row.nil?
0
- name, message = (last_row/'td').map { |element| element.inner_text }
0
- growl(name, message)
0
- end
0
- end
0
-end
0
\ No newline at end of file
...
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
0
@@ -1,41 +0,0 @@
0
-class GrowlController < Rucola::RCController
0
- def after_init
0
- #@growl = Growl::Notifier.alloc.initWithDelegate(self)
0
- @growl = Growl::Notifier.alloc.initWithDelegate(self)
0
- p @growl
0
-
0
- @growl.start(:Campfire, NOTIFICATIONS, NOTIFICATIONS)
0
-
0
- growl('TITEL!', 'WAT EEN OMSCHRIJVING JOH!')
0
- end
0
-
0
- # NOTIFICATIONS = [{
0
- # 'GROWL_NOTIFICATION_NAME' => 'A new channel message was received.',
0
- # 'GROWL_NOTIFICATION_TITLE' => 'New channel message',
0
- # 'GROWL_NOTIFICATION_DESCRIPTION' =>
0
- # }]
0
- NOTIFICATION_NAME = 'Received a new channel message.'
0
- NOTIFICATIONS = [NOTIFICATION_NAME]
0
-
0
- def growl(title, description)
0
- # GrowlApplicationBridge
0
- # notifyWithTitle:(NSString *)title
0
- # description:(NSString *)description
0
- # notificationName:(NSString *)notificationName
0
- # iconData:(NSData *)iconData
0
- # priority:(signed int)priority
0
- # isSticky:(BOOL)isSticky
0
- # clickContext:(id)clickContext
0
-
0
- # OSX::GrowlApplicationBridge.objc_send(
0
- # :notifyWithTitle, title,
0
- # :description, description,
0
- # :notificationName, NOTIFICATION_NAME,
0
- # :iconData, nil,
0
- # :priority, nil,
0
- # :isSticky, false,
0
- # :clickContext, nil
0
- # )
0
- @growl.notify(NOTIFICATION_NAME, title, description)
0
- end
0
-end
0
\ No newline at end of file
...
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
27
28
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,28 +0,0 @@
0
-<?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
-<plist version="1.0">
0
-<dict>
0
-  <key>CFBundleDevelopmentRegion</key>
0
-  <string>English</string>
0
-  <key>CFBundleExecutable</key>
0
-  <string>CampfireTest</string>
0
-  <key>CFBundleIconFile</key>
0
-  <string></string>
0
-  <key>CFBundleInfoDictionaryVersion</key>
0
-  <string>6.0</string>
0
-  <key>CFBundlePackageType</key>
0
-  <string>APPL</string>
0
-  <key>CFBundleSignature</key>
0
-  <string>????</string>
0
-  <key>CFBundleVersion</key>
0
-  <string>1.0</string>
0
-  <key>NSMainNibFile</key>
0
-  <string>MainMenu</string>
0
-  <key>NSPrincipalClass</key>
0
-  <string>NSApplication</string>
0
-  <key>CFBundleIdentifier</key>
0
-  <string>com.apple.rubycocoa.CampfireTestApp</string>
0
-  <key>CFBundleShortVersionString</key>
0
-  <string>1.0</string>
0
-</dict>
0
-</plist>
...
1
2
...
 
 
0
@@ -1,2 +0,0 @@
0
-require File.dirname(__FILE__) + '/environment.rb'
0
-Rucola::Initializer.run(:set_load_path)
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
 
 
 
 
 
 
 
 
 
 
 
 
 
0
0
@@ -1,13 +0,0 @@
0
-Rucola::Dependencies.run do
0
- # Specify dependencies of your application.
0
- # Eg:
0
- #
0
- # dependency 'net/http'
0
- #
0
- # Or if it's a gem you can also specify a specific version. (See the gem documentation about the possibilities).
0
- # Eg:
0
- #
0
- # dependency 'daemons', '1.0.7'
0
-
0
- dependency 'hpricot'
0
-end
0
\ No newline at end of file
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
0
@@ -1,14 +0,0 @@
0
-Rucola::Initializer.run do |config|
0
- # Settings specified in environment/release.rb and environment/debug.rb take precident
0
- # over these settings.
0
- #
0
- # Load any custom Objective-C frameworks
0
- config.objc_frameworks = %w(webkit)
0
- #
0
- # Use active_record bindings
0
- # config.use_active_record = true
0
- #
0
- # In debug mode the Reloader will be used,
0
- # if you want to turn it off/on explicitely use:
0
- # config.use_reloader = false OR true
0
-end
0
\ No newline at end of file
...
1
2
3
4
...
 
 
 
0
0
@@ -1,3 +0,0 @@
0
-# Perform any debug specific task here.
0
-
0
-puts 'Debugging'
0
\ No newline at end of file
...
1
2
3
4
...
 
 
 
0
0
@@ -1,3 +0,0 @@
0
-# Perform any release specific tasks here.
0
-
0
-puts 'Releasing'
0
\ No newline at end of file
...
1
2
3
4
...
 
 
 
0
0
@@ -1,3 +0,0 @@
0
-# Perform any test specific task here.
0
-
0
-puts 'Testing'
0
\ No newline at end of file
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
 
 
 
 
 
 
 
 
 
 
 
 
 
0
0
@@ -1,13 +0,0 @@
0
-# Interface Builder Class Definitions
0
-#
0
-# Interface Builder doesn't detect your custom classes by default.
0
-# Identify class heirarchies here and make sure you run `rake ib:update`
0
-# to notice the changes in Interface Builder.
0
-#
0
-# NSObject:
0
-# - MyController
0
-# - MyOtherController
0
-# NSWindowController:
0
-# - SomeWindowController:
0
-# - SomeOtherController
0
-#
0
\ No newline at end of file
...
1
2
3
4
...
 
 
 
0
0
@@ -1,3 +0,0 @@
0
-CFBundleName = "CampfireTest";
0
-CFBundleGetInfoString = "CampfireTest version 0.1, Copyright 2008 YOUR NAME.";
0
-NSHumanReadableCopyright = "Copyright 2008 YOUR NAME.";
0
\ No newline at end of file
...
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,42 +0,0 @@
0
-<?xml version="1.0" encoding="UTF-8"?>
0
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
0
-<plist version="1.0">
0
-<dict>
0
-  <key>IBClasses</key>
0
-  <array>
0
-    <dict>
0
-      <key>CLASS</key>
0
-      <string>FirstResponder</string>
0
-      <key>LANGUAGE</key>
0
-      <string>ObjC</string>
0
-      <key>SUPERCLASS</key>
0
-      <string>NSObject</string>
0
-    </dict>