sparkleology 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ desc 'Release the website and new gem version'
2
+ task :deploy => [:check_version, :website, :release] do
3
+ puts "Remember to create SVN tag:"
4
+ puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
5
+ "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
6
+ puts "Suggested comment:"
7
+ puts "Tagging release #{CHANGES}"
8
+ end
9
+
10
+ desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
11
+ task :local_deploy => [:website_generate, :install_gem]
12
+
13
+ task :check_version do
14
+ unless ENV['VERSION']
15
+ puts 'Must pass a VERSION=x.y.z release version'
16
+ exit
17
+ end
18
+ unless ENV['VERSION'] == VERS
19
+ puts "Please update your version.rb to match the release version, currently #{VERS}"
20
+ exit
21
+ end
22
+ end
23
+
24
+ desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
25
+ task :install_gem_no_doc => [:clean, :package] do
26
+ sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
27
+ end
28
+
29
+ namespace :manifest do
30
+ desc 'Recreate Manifest.txt to include ALL files'
31
+ task :refresh do
32
+ `rake check_manifest | patch -p0 > Manifest.txt`
33
+ end
34
+ end
@@ -0,0 +1,7 @@
1
+ task :ruby_env do
2
+ RUBY_APP = if RUBY_PLATFORM =~ /java/
3
+ "jruby"
4
+ else
5
+ "ruby"
6
+ end unless defined? RUBY_APP
7
+ end
@@ -0,0 +1,17 @@
1
+ desc 'Generate website files'
2
+ task :website_generate => :ruby_env do
3
+ (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
4
+ sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
5
+ end
6
+ end
7
+
8
+ desc 'Upload website files to rubyforge'
9
+ task :website_upload do
10
+ host = "#{rubyforge_username}@rubyforge.org"
11
+ remote_dir = "/var/www/gforge-projects/#{PATH}/"
12
+ local_dir = 'website'
13
+ sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
14
+ end
15
+
16
+ desc 'Generate and upload website files'
17
+ task :website => [:website_generate, :website_upload, :publish_docs]
@@ -0,0 +1,218 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>English</string>
7
+ <key>CFBundleDocumentTypes</key>
8
+ <array>
9
+ <dict>
10
+ <key>CFBundleTypeExtensions</key>
11
+ <array>
12
+ <string>skitch</string>
13
+ </array>
14
+ <key>CFBundleTypeMIMETypes</key>
15
+ <array>
16
+ <string>*</string>
17
+ </array>
18
+ <key>CFBundleTypeName</key>
19
+ <string>Skitch File</string>
20
+ <key>CFBundleTypeOSTypes</key>
21
+ <array>
22
+ <string>SKIT</string>
23
+ </array>
24
+ <key>CFBundleTypeRole</key>
25
+ <string>Editor</string>
26
+ <key>LSTypeIsPackage</key>
27
+ <false/>
28
+ <key>NSPersistentStoreTypeKey</key>
29
+ <string>XML</string>
30
+ </dict>
31
+ <dict>
32
+ <key>CFBundleTypeExtensions</key>
33
+ <array>
34
+ <string>*</string>
35
+ </array>
36
+ <key>CFBundleTypeMIMETypes</key>
37
+ <array>
38
+ <string>*</string>
39
+ </array>
40
+ <key>CFBundleTypeName</key>
41
+ <string>Image file</string>
42
+ <key>CFBundleTypeOSTypes</key>
43
+ <array>
44
+ <string>****</string>
45
+ </array>
46
+ <key>CFBundleTypeRole</key>
47
+ <string>Viewer</string>
48
+ <key>LSItemContentTypes</key>
49
+ <array>
50
+ <string>public.image</string>
51
+ </array>
52
+ <key>LSTypeIsPackage</key>
53
+ <false/>
54
+ <key>NSPersistentStoreTypeKey</key>
55
+ <string>XML</string>
56
+ </dict>
57
+ <dict>
58
+ <key>CFBundleTypeExtensions</key>
59
+ <array>
60
+ <string>svg</string>
61
+ </array>
62
+ <key>CFBundleTypeMIMETypes</key>
63
+ <array>
64
+ <string>image/svg+xml</string>
65
+ </array>
66
+ <key>CFBundleTypeName</key>
67
+ <string>SVG File</string>
68
+ <key>CFBundleTypeOSTypes</key>
69
+ <array>
70
+ <string>SVG</string>
71
+ </array>
72
+ <key>CFBundleTypeRole</key>
73
+ <string>Viewer</string>
74
+ <key>LSTypeIsPackage</key>
75
+ <false/>
76
+ <key>NSPersistentStoreTypeKey</key>
77
+ <string>XML</string>
78
+ </dict>
79
+ <dict>
80
+ <key>CFBundleTypeExtensions</key>
81
+ <array>
82
+ <string>png</string>
83
+ </array>
84
+ <key>CFBundleTypeMIMETypes</key>
85
+ <array>
86
+ <string>image/png</string>
87
+ </array>
88
+ <key>CFBundleTypeName</key>
89
+ <string>PNG File</string>
90
+ <key>CFBundleTypeOSTypes</key>
91
+ <array>
92
+ <string>PNG</string>
93
+ </array>
94
+ <key>CFBundleTypeRole</key>
95
+ <string>Viewer</string>
96
+ <key>LSTypeIsPackage</key>
97
+ <false/>
98
+ <key>NSPersistentStoreTypeKey</key>
99
+ <string>XML</string>
100
+ </dict>
101
+ <dict>
102
+ <key>CFBundleTypeExtensions</key>
103
+ <array>
104
+ <string>tiff</string>
105
+ <string>tif</string>
106
+ </array>
107
+ <key>CFBundleTypeMIMETypes</key>
108
+ <array>
109
+ <string>image/tiff</string>
110
+ </array>
111
+ <key>CFBundleTypeName</key>
112
+ <string>TIFF File</string>
113
+ <key>CFBundleTypeOSTypes</key>
114
+ <array>
115
+ <string>TIFF</string>
116
+ </array>
117
+ <key>CFBundleTypeRole</key>
118
+ <string>Viewer</string>
119
+ <key>LSTypeIsPackage</key>
120
+ <false/>
121
+ <key>NSPersistentStoreTypeKey</key>
122
+ <string>XML</string>
123
+ </dict>
124
+ <dict>
125
+ <key>CFBundleTypeExtensions</key>
126
+ <array>
127
+ <string>jpeg</string>
128
+ <string>jpg</string>
129
+ <string>jpe</string>
130
+ <string>jfif</string>
131
+ <string>pjpeg</string>
132
+ <string>pjp</string>
133
+ </array>
134
+ <key>CFBundleTypeMIMETypes</key>
135
+ <array>
136
+ <string>image/jpg</string>
137
+ </array>
138
+ <key>CFBundleTypeName</key>
139
+ <string>JPEG File</string>
140
+ <key>CFBundleTypeOSTypes</key>
141
+ <array>
142
+ <string>JPEG</string>
143
+ </array>
144
+ <key>CFBundleTypeRole</key>
145
+ <string>Viewer</string>
146
+ <key>LSTypeIsPackage</key>
147
+ <false/>
148
+ <key>NSPersistentStoreTypeKey</key>
149
+ <string>XML</string>
150
+ </dict>
151
+ <dict>
152
+ <key>CFBundleTypeExtensions</key>
153
+ <array>
154
+ <string>pdf</string>
155
+ </array>
156
+ <key>CFBundleTypeMIMETypes</key>
157
+ <array>
158
+ <string>application/pdf</string>
159
+ </array>
160
+ <key>CFBundleTypeName</key>
161
+ <string>PDF File</string>
162
+ <key>CFBundleTypeOSTypes</key>
163
+ <array>
164
+ <string>PDF</string>
165
+ </array>
166
+ <key>CFBundleTypeRole</key>
167
+ <string>Viewer</string>
168
+ <key>LSItemContentTypes</key>
169
+ <array>
170
+ <string>com.adobe.pdf</string>
171
+ </array>
172
+ <key>LSTypeIsPackage</key>
173
+ <false/>
174
+ <key>NSPersistentStoreTypeKey</key>
175
+ <string>XML</string>
176
+ </dict>
177
+ </array>
178
+ <key>CFBundleExecutable</key>
179
+ <string>Skitch</string>
180
+ <key>CFBundleGetInfoString</key>
181
+ <string>Skitch 1.0b6.2 (v10678), Copyright 2006-2008 plasq LLC</string>
182
+ <key>CFBundleHelpBookFolder</key>
183
+ <string>skitchHelp</string>
184
+ <key>CFBundleHelpBookName</key>
185
+ <string>Skitch Help</string>
186
+ <key>CFBundleIconFile</key>
187
+ <string>SkitchMac</string>
188
+ <key>CFBundleIdentifier</key>
189
+ <string>com.plasq.skitch</string>
190
+ <key>CFBundleInfoDictionaryVersion</key>
191
+ <string>6.0</string>
192
+ <key>CFBundleName</key>
193
+ <string>Skitch</string>
194
+ <key>CFBundlePackageType</key>
195
+ <string>APPL</string>
196
+ <key>CFBundleSignature</key>
197
+ <string>Sktc</string>
198
+ <key>CFBundleURLTypes</key>
199
+ <array>
200
+ <dict>
201
+ <key>CFBundleURLName</key>
202
+ <string>myskitch URL</string>
203
+ <key>CFBundleURLSchemes</key>
204
+ <array>
205
+ <string>skitch</string>
206
+ </array>
207
+ </dict>
208
+ </array>
209
+ <key>CFBundleVersion</key>
210
+ <string>1.0b6.2 (v10678)</string>
211
+ <key>LSUIElement</key>
212
+ <string>0</string>
213
+ <key>NSMainNibFile</key>
214
+ <string>MainMenu</string>
215
+ <key>NSPrincipalClass</key>
216
+ <string>TabletApplication</string>
217
+ </dict>
218
+ </plist>
@@ -0,0 +1,220 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>English</string>
7
+ <key>CFBundleDocumentTypes</key>
8
+ <array>
9
+ <dict>
10
+ <key>CFBundleTypeExtensions</key>
11
+ <array>
12
+ <string>skitch</string>
13
+ </array>
14
+ <key>CFBundleTypeMIMETypes</key>
15
+ <array>
16
+ <string>*</string>
17
+ </array>
18
+ <key>CFBundleTypeName</key>
19
+ <string>Skitch File</string>
20
+ <key>CFBundleTypeOSTypes</key>
21
+ <array>
22
+ <string>SKIT</string>
23
+ </array>
24
+ <key>CFBundleTypeRole</key>
25
+ <string>Editor</string>
26
+ <key>LSTypeIsPackage</key>
27
+ <false/>
28
+ <key>NSPersistentStoreTypeKey</key>
29
+ <string>XML</string>
30
+ </dict>
31
+ <dict>
32
+ <key>CFBundleTypeExtensions</key>
33
+ <array>
34
+ <string>*</string>
35
+ </array>
36
+ <key>CFBundleTypeMIMETypes</key>
37
+ <array>
38
+ <string>*</string>
39
+ </array>
40
+ <key>CFBundleTypeName</key>
41
+ <string>Image file</string>
42
+ <key>CFBundleTypeOSTypes</key>
43
+ <array>
44
+ <string>****</string>
45
+ </array>
46
+ <key>CFBundleTypeRole</key>
47
+ <string>Viewer</string>
48
+ <key>LSItemContentTypes</key>
49
+ <array>
50
+ <string>public.image</string>
51
+ </array>
52
+ <key>LSTypeIsPackage</key>
53
+ <false/>
54
+ <key>NSPersistentStoreTypeKey</key>
55
+ <string>XML</string>
56
+ </dict>
57
+ <dict>
58
+ <key>CFBundleTypeExtensions</key>
59
+ <array>
60
+ <string>svg</string>
61
+ </array>
62
+ <key>CFBundleTypeMIMETypes</key>
63
+ <array>
64
+ <string>image/svg+xml</string>
65
+ </array>
66
+ <key>CFBundleTypeName</key>
67
+ <string>SVG File</string>
68
+ <key>CFBundleTypeOSTypes</key>
69
+ <array>
70
+ <string>SVG</string>
71
+ </array>
72
+ <key>CFBundleTypeRole</key>
73
+ <string>Viewer</string>
74
+ <key>LSTypeIsPackage</key>
75
+ <false/>
76
+ <key>NSPersistentStoreTypeKey</key>
77
+ <string>XML</string>
78
+ </dict>
79
+ <dict>
80
+ <key>CFBundleTypeExtensions</key>
81
+ <array>
82
+ <string>png</string>
83
+ </array>
84
+ <key>CFBundleTypeMIMETypes</key>
85
+ <array>
86
+ <string>image/png</string>
87
+ </array>
88
+ <key>CFBundleTypeName</key>
89
+ <string>PNG File</string>
90
+ <key>CFBundleTypeOSTypes</key>
91
+ <array>
92
+ <string>PNG</string>
93
+ </array>
94
+ <key>CFBundleTypeRole</key>
95
+ <string>Viewer</string>
96
+ <key>LSTypeIsPackage</key>
97
+ <false/>
98
+ <key>NSPersistentStoreTypeKey</key>
99
+ <string>XML</string>
100
+ </dict>
101
+ <dict>
102
+ <key>CFBundleTypeExtensions</key>
103
+ <array>
104
+ <string>tiff</string>
105
+ <string>tif</string>
106
+ </array>
107
+ <key>CFBundleTypeMIMETypes</key>
108
+ <array>
109
+ <string>image/tiff</string>
110
+ </array>
111
+ <key>CFBundleTypeName</key>
112
+ <string>TIFF File</string>
113
+ <key>CFBundleTypeOSTypes</key>
114
+ <array>
115
+ <string>TIFF</string>
116
+ </array>
117
+ <key>CFBundleTypeRole</key>
118
+ <string>Viewer</string>
119
+ <key>LSTypeIsPackage</key>
120
+ <false/>
121
+ <key>NSPersistentStoreTypeKey</key>
122
+ <string>XML</string>
123
+ </dict>
124
+ <dict>
125
+ <key>CFBundleTypeExtensions</key>
126
+ <array>
127
+ <string>jpeg</string>
128
+ <string>jpg</string>
129
+ <string>jpe</string>
130
+ <string>jfif</string>
131
+ <string>pjpeg</string>
132
+ <string>pjp</string>
133
+ </array>
134
+ <key>CFBundleTypeMIMETypes</key>
135
+ <array>
136
+ <string>image/jpg</string>
137
+ </array>
138
+ <key>CFBundleTypeName</key>
139
+ <string>JPEG File</string>
140
+ <key>CFBundleTypeOSTypes</key>
141
+ <array>
142
+ <string>JPEG</string>
143
+ </array>
144
+ <key>CFBundleTypeRole</key>
145
+ <string>Viewer</string>
146
+ <key>LSTypeIsPackage</key>
147
+ <false/>
148
+ <key>NSPersistentStoreTypeKey</key>
149
+ <string>XML</string>
150
+ </dict>
151
+ <dict>
152
+ <key>CFBundleTypeExtensions</key>
153
+ <array>
154
+ <string>pdf</string>
155
+ </array>
156
+ <key>CFBundleTypeMIMETypes</key>
157
+ <array>
158
+ <string>application/pdf</string>
159
+ </array>
160
+ <key>CFBundleTypeName</key>
161
+ <string>PDF File</string>
162
+ <key>CFBundleTypeOSTypes</key>
163
+ <array>
164
+ <string>PDF</string>
165
+ </array>
166
+ <key>CFBundleTypeRole</key>
167
+ <string>Viewer</string>
168
+ <key>LSItemContentTypes</key>
169
+ <array>
170
+ <string>com.adobe.pdf</string>
171
+ </array>
172
+ <key>LSTypeIsPackage</key>
173
+ <false/>
174
+ <key>NSPersistentStoreTypeKey</key>
175
+ <string>XML</string>
176
+ </dict>
177
+ </array>
178
+ <key>CFBundleExecutable</key>
179
+ <string>Skitch</string>
180
+ <key>CFBundleGetInfoString</key>
181
+ <string>Skitch 1.0b6.2 (v10678), Copyright 2006-2008 plasq LLC</string>
182
+ <key>CFBundleHelpBookFolder</key>
183
+ <string>skitchHelp</string>
184
+ <key>CFBundleHelpBookName</key>
185
+ <string>Skitch Help</string>
186
+ <key>CFBundleIconFile</key>
187
+ <string>SkitchMac</string>
188
+ <key>CFBundleIdentifier</key>
189
+ <string>com.plasq.skitch</string>
190
+ <key>CFBundleInfoDictionaryVersion</key>
191
+ <string>6.0</string>
192
+ <key>CFBundleName</key>
193
+ <string>Skitch</string>
194
+ <key>CFBundlePackageType</key>
195
+ <string>APPL</string>
196
+ <key>CFBundleSignature</key>
197
+ <string>Sktc</string>
198
+ <key>CFBundleURLTypes</key>
199
+ <array>
200
+ <dict>
201
+ <key>CFBundleURLName</key>
202
+ <string>myskitch URL</string>
203
+ <key>CFBundleURLSchemes</key>
204
+ <array>
205
+ <string>skitch</string>
206
+ </array>
207
+ </dict>
208
+ </array>
209
+ <key>CFBundleVersion</key>
210
+ <string>1.0b6.2 (v10678)</string>
211
+ <key>LSUIElement</key>
212
+ <string>0</string>
213
+ <key>NSMainNibFile</key>
214
+ <string>MainMenu</string>
215
+ <key>NSPrincipalClass</key>
216
+ <string>TabletApplication</string>
217
+ <key>SUFeedURL</key>
218
+ <string>http://update.plasq.com/skitch-appcast.xml</string>
219
+ </dict>
220
+ </plist>