picnic 0.8.1.1 → 0.8.1.20100201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
data/Rakefile CHANGED
@@ -21,9 +21,8 @@ HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
21
21
  ENV['NODOT'] = '1'
22
22
 
23
23
  NAME = "picnic"
24
- REV = 1
25
- #REV = nil
26
- #REV = Time.now.strftime('%Y%m%d%H%M')
24
+ REV = nil
25
+ REV = Time.now.strftime('%Y%m%d%H%M')
27
26
  #REV = `svn info`[/Revision: (\d+)/, 1] rescue nil
28
27
  VERS = ENV['VERSION'] || (Picnic::VERSION::STRING + (REV ? ".#{REV}" : ""))
29
28
  CLEAN.include ['**/.*.sw?', '*.gem', '.config']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picnic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1.1
4
+ version: 0.8.1.20100201
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Zukowski
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-06 00:00:00 -04:00
12
+ date: 2010-02-01 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -63,13 +63,13 @@ extra_rdoc_files:
63
63
  - History.txt
64
64
  - LICENSE.txt
65
65
  - Manifest.txt
66
- - README.txt
66
+ - README.rdoc
67
67
  files:
68
68
  - CHANGELOG.txt
69
69
  - History.txt
70
70
  - LICENSE.txt
71
71
  - Manifest.txt
72
- - README.txt
72
+ - README.rdoc
73
73
  - Rakefile
74
74
  - lib/picnic.rb
75
75
  - lib/picnic/authentication.rb
@@ -80,7 +80,6 @@ files:
80
80
  - lib/picnic/server.rb
81
81
  - lib/picnic/service_control.rb
82
82
  - lib/picnic/version.rb
83
- - picnic.gemspec
84
83
  - setup.rb
85
84
  - test/picnic_test.rb
86
85
  - test/test_helper.rb
@@ -95,7 +94,6 @@ files:
95
94
  - vendor/zuk-camping-2.0.20090429/examples/campsh.rb
96
95
  - vendor/zuk-camping-2.0.20090429/examples/tepee.rb
97
96
  - vendor/zuk-camping-2.0.20090429/extras/Camping.gif
98
- - vendor/zuk-camping-2.0.20090429/extras/flipbook.rb
99
97
  - vendor/zuk-camping-2.0.20090429/extras/permalink.gif
100
98
  - vendor/zuk-camping-2.0.20090429/lib/camping-unabridged.rb
101
99
  - vendor/zuk-camping-2.0.20090429/lib/camping.rb
@@ -113,6 +111,8 @@ files:
113
111
  - vendor/zuk-camping-2.0.20090429/test/test_camping.rb
114
112
  has_rdoc: true
115
113
  homepage: http://picnic.rubyforge.org
114
+ licenses: []
115
+
116
116
  post_install_message:
117
117
  rdoc_options:
118
118
  - --main
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  requirements: []
135
135
 
136
136
  rubyforge_project: picnic
137
- rubygems_version: 1.3.1
137
+ rubygems_version: 1.3.5
138
138
  signing_key:
139
139
  specification_version: 2
140
140
  summary: Camping for sissies
@@ -1,44 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{picnic}
5
- s.version = '0.8.1.' + Time.now.strftime('%Y%m%d')
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Matt Zukowski"]
9
- s.date = Time.now.strftime('%Y-%m-%d')
10
- s.description = %q{Camping for sissies}
11
- s.email = %q{matt@roughest.net}
12
- s.extra_rdoc_files = ["CHANGELOG.txt", "History.txt", "LICENSE.txt", "Manifest.txt", "README.rdoc"]
13
- s.files = ["CHANGELOG.txt", "History.txt", "LICENSE.txt", "Manifest.txt", "README.rdoc", "Rakefile", "lib/picnic.rb", "lib/picnic/authentication.rb", "lib/picnic/cli.rb", "lib/picnic/conf.rb", "lib/picnic/controllers.rb", "lib/picnic/logger.rb", "lib/picnic/server.rb", "lib/picnic/service_control.rb", "lib/picnic/version.rb", "setup.rb", "test/picnic_test.rb", "test/test_helper.rb", "vendor/zuk-camping-2.0.20090429/CHANGELOG", "vendor/zuk-camping-2.0.20090429/COPYING", "vendor/zuk-camping-2.0.20090429/README", "vendor/zuk-camping-2.0.20090429/Rakefile", "vendor/zuk-camping-2.0.20090429/bin/camping", "vendor/zuk-camping-2.0.20090429/doc/camping.1.gz", "vendor/zuk-camping-2.0.20090429/examples/README", "vendor/zuk-camping-2.0.20090429/examples/blog.rb", "vendor/zuk-camping-2.0.20090429/examples/campsh.rb", "vendor/zuk-camping-2.0.20090429/examples/tepee.rb", "vendor/zuk-camping-2.0.20090429/extras/Camping.gif", "vendor/zuk-camping-2.0.20090429/extras/permalink.gif", "vendor/zuk-camping-2.0.20090429/lib/camping-unabridged.rb", "vendor/zuk-camping-2.0.20090429/lib/camping.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/ar.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/ar/session.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/mab.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/reloader.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/server.rb", "vendor/zuk-camping-2.0.20090429/lib/camping/session.rb", "vendor/zuk-camping-2.0.20090429/setup.rb", "vendor/zuk-camping-2.0.20090429/test/apps/env_debug.rb", "vendor/zuk-camping-2.0.20090429/test/apps/forms.rb", "vendor/zuk-camping-2.0.20090429/test/apps/misc.rb", "vendor/zuk-camping-2.0.20090429/test/apps/sessions.rb", "vendor/zuk-camping-2.0.20090429/test/test_camping.rb"]
14
- s.has_rdoc = true
15
- s.homepage = %q{http://picnic.rubyforge.org}
16
- s.rdoc_options = ["--main", "README.txt"]
17
- s.require_paths = ["lib"]
18
- s.rubyforge_project = %q{picnic}
19
- s.rubygems_version = %q{1.3.1}
20
- s.summary = %q{Camping for sissies}
21
- s.test_files = ["test/picnic_test.rb"]
22
-
23
- if s.respond_to? :specification_version then
24
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25
- s.specification_version = 2
26
-
27
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<rack>, [">= 0"])
29
- s.add_runtime_dependency(%q<markaby>, [">= 0"])
30
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
31
- s.add_development_dependency(%q<hoe>, [">= 1.8.2"])
32
- else
33
- s.add_dependency(%q<rack>, [">= 0"])
34
- s.add_dependency(%q<markaby>, [">= 0"])
35
- s.add_dependency(%q<activesupport>, [">= 0"])
36
- s.add_dependency(%q<hoe>, [">= 1.8.2"])
37
- end
38
- else
39
- s.add_dependency(%q<rack>, [">= 0"])
40
- s.add_dependency(%q<markaby>, [">= 0"])
41
- s.add_dependency(%q<activesupport>, [">= 0"])
42
- s.add_dependency(%q<hoe>, [">= 1.8.2"])
43
- end
44
- end
@@ -1,357 +0,0 @@
1
- CAMPING_EXTRAS_DIR = File.expand_path(File.dirname(__FILE__))
2
- require 'rdoc/generator/html'
3
-
4
- module RDoc::Generator
5
- [Class, File].each do |klass|
6
- old = klass.instance_method(:value_hash)
7
- klass.send(:define_method, :value_hash) {
8
- old.bind(self).call
9
- @values['root'] = @path.split("/").map { ".." }[1..-1].join("/")
10
- @values
11
- }
12
- end
13
-
14
- module HTML::FLIPBOOK
15
- ######################################################################
16
- #
17
- # The following is used for the -1 option
18
- #
19
-
20
- FONTS = "verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif"
21
-
22
- STYLE = %{
23
- body, th, td {
24
- font: normal 14px verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
25
- line-height: 160%;
26
- padding: 0; margin: 0;
27
- margin-bottom: 30px;
28
- /* background-color: #402; */
29
- background-color: #694;
30
- }
31
- h1, h2, h3, h4 {
32
- font-family: Utopia, Georgia, serif;
33
- font-weight: bold;
34
- letter-spacing: -0.018em;
35
- }
36
- h1 { font-size: 24px; margin: .15em 1em 0 0 }
37
- h2 { font-size: 24px }
38
- h3 { font-size: 19px }
39
- h4 { font-size: 17px; font-weight: normal; }
40
- h4.ruled { border-bottom: solid 1px #CC9; }
41
- h2.ruled { padding-top: 35px; border-top: solid 1px #AA5; }
42
-
43
- /* Link styles */
44
- :link, :visited {
45
- color: #00b;
46
- }
47
- :link:hover, :visited:hover {
48
- background-color: #eee;
49
- color: #B22;
50
- }
51
- #fullpage {
52
- width: 720px;
53
- margin: 0 auto;
54
- }
55
- .page_shade, .page {
56
- padding: 0px 5px 5px 0px;
57
- background-color: #fcfcf9;
58
- border: solid 1px #983;
59
- }
60
- .page {
61
- margin-left: -5px;
62
- margin-top: -5px;
63
- padding: 20px 35px;
64
- }
65
- .page .header {
66
- float: right;
67
- color: #777;
68
- font-size: 10px;
69
- }
70
- .page h1, .page h2, .page h3 {
71
- clear: both;
72
- text-align: center;
73
- }
74
- #pager {
75
- padding: 10px 4px;
76
- color: white;
77
- font-size: 11px;
78
- }
79
- #pager :link, #pager :visited {
80
- color: #bfb;
81
- padding: 0px 5px;
82
- }
83
- #pager :link:hover, #pager :visited:hover {
84
- background-color: #262;
85
- color: white;
86
- }
87
- #logo { float: left; }
88
- #menu { background-color: #dfa; padding: 4px 12px; margin: 0; }
89
- #menu h3 { padding: 0; margin: 0; }
90
- #menu #links { float: right; }
91
- pre { font-weight: bold; color: #730; }
92
- tt { color: #703; font-size: 12pt; }
93
- .dyn-source { background-color: #775915; padding: 4px 8px; margin: 0; display: none; }
94
- .dyn-source pre { color: #DDDDDD; font-size: 8pt; }
95
- .source-link { text-align: right; font-size: 8pt; }
96
- .ruby-comment { color: green; font-style: italic }
97
- .ruby-constant { color: #CCDDFF; font-weight: bold; }
98
- .ruby-identifier { color: #CCCCCC; }
99
- .ruby-ivar { color: #BBCCFF; }
100
- .ruby-keyword { color: #EEEEFF; font-weight: bold }
101
- .ruby-node { color: #FFFFFF; }
102
- .ruby-operator { color: #CCCCCC; }
103
- .ruby-regexp { color: #DDFFDD; }
104
- .ruby-value { color: #FFAAAA; font-style: italic }
105
- .kw { color: #DDDDFF; font-weight: bold }
106
- .cmt { color: #CCFFCC; font-style: italic }
107
- .str { color: #EECCCC; font-style: italic }
108
- .re { color: #EECCCC; }
109
- }
110
-
111
- CONTENTS_XML = %q{
112
- <%= values['description'] if values['description'] %>
113
-
114
- <% if values['requires'] %>
115
- <h4>Requires:</h4>
116
- <ul>
117
- <% values['requires'].each do |req| %>
118
- <li><%= href(req['aref'], req['name']) %></li>
119
- <% end %>
120
- <% end %>
121
-
122
- <% if values['attributes'] %>
123
- <h4>Attributes</h4>
124
- <table>
125
- <% values['attribtes'].each do |attr| %>
126
- <tr><td><%= attr['name'] %></td><td><%= attr['rw'] %></td><td><%= attr['a_desc'] %></td></tr>
127
- <% end %>
128
- </table>
129
- <% end %>
130
-
131
- <% if values['includes'] %>
132
- <h4>Includes</h4>
133
- <ul>
134
- <% values['includes'].each do |i| %>
135
- <li><%= href i['aref'], i['name'] %></li>
136
- <% end %>
137
- </ul>
138
- <% end %>
139
-
140
- <% values['sections'].each do |sec| %>
141
- <% if sec['method_list'] %>
142
- <h2 class="ruled">Methods</h2>
143
- <% sec['method_list'].each do |ml| %>
144
- <% if ml['methods'] %>
145
- <% ml['methods'].each do |m| %>
146
- <h4 class="ruled"><%= m['type'] %> <%= m['category'] %> method:
147
- <% c = m['callseq'] %>
148
- <strong id="<%= m['aref'] %>"><%= c ? c : m['name'] + m['params'] %></strong>
149
- <a href="#<%= m['aref'] %>"><img src="<%= values['root'] %>/permalink.gif" border="0" title="Permalink to <%= c ? c : "#{m['type']} #{m['category']} method: #{m['name']}" %>" /></a></h4>
150
-
151
- <%= m['m_desc'] if m['m_desc'] %>
152
-
153
- <% if m['sourcecode'] %>
154
- <div class="sourcecode">
155
- <p class="source-link">[ <a href="javascript:toggleSource('<%= m['aref'] %>_source')" id="l_<%= m['aref'] %>_source">show source</a> ]</p>
156
- <div id="<%= m['aref'] %>_source" class="dyn-source">
157
- <pre>
158
- <%= m['sourcecode'] %>
159
- </pre>
160
- </div>
161
- </div>
162
- <% end %>
163
- <% end %>
164
- <% end %>
165
- <% end %>
166
- <% end %>
167
- <% end %>
168
- }
169
-
170
- ############################################################################
171
-
172
-
173
- BODY = %q{
174
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
175
- <html>
176
- <head>
177
- <title>
178
- <% if values['title'] %>
179
- <%= values['realtitle'] %> &raquo; <%= values['title'] %>
180
- <% else %>
181
- <%= values['realtitle'] %>
182
- <% end %>
183
- </title>
184
- <meta http-equiv="Content-Type" content="text/html; charset=<%= values['charset'] %>" />
185
- <link rel="stylesheet" href="<%= values['style_url'] %>" type="text/css" media="screen" />
186
- <script language="JavaScript" type="text/javascript">
187
- // <![CDATA[
188
-
189
- function toggleSource( id )
190
- {
191
- var elem
192
- var link
193
-
194
- if( document.getElementById )
195
- {
196
- elem = document.getElementById( id )
197
- link = document.getElementById( "l_" + id )
198
- }
199
- else if ( document.all )
200
- {
201
- elem = eval( "document.all." + id )
202
- link = eval( "document.all.l_" + id )
203
- }
204
- else
205
- return false;
206
-
207
- if( elem.style.display == "block" )
208
- {
209
- elem.style.display = "none"
210
- link.innerHTML = "show source"
211
- }
212
- else
213
- {
214
- elem.style.display = "block"
215
- link.innerHTML = "hide source"
216
- }
217
- }
218
-
219
- function openCode( url )
220
- {
221
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
222
- }
223
- // ]]>
224
- </script>
225
- </head>
226
- <body>
227
- <div id="menu">
228
- <div id="links">
229
- <a href="http://redhanded.hobix.com/bits/campingAMicroframework.html">backstory</a> |
230
- <a href="http://code.whytheluckystiff.net/camping/">wiki</a> |
231
- <a href="http://code.whytheluckystiff.net/camping/newticket">bugs</a> |
232
- <a href="http://code.whytheluckystiff.net/svn/camping/">svn</a>
233
- </div>
234
- <h3 class="title"><%= values['title'] %></h3>
235
- </div>
236
- <div id="fullpage">
237
- <div id="logo"><img src="<%= values['root'] %>/Camping.gif" /></div>
238
- <div id="pager">
239
- <strong>Files:</strong>
240
- <% values['file_list'].each do |file| %>
241
- <%= href "#{file['href']}", file['name'] %>
242
- <% end %>
243
- <% if values['class_list'] %>
244
- |
245
- <strong>classes:</strong>
246
- <% values['class_list'].each do |klass| %>
247
- <%= href "#{klass['href']}", klass['name'] %>
248
- <% end %>
249
- <% end %>
250
- </ul>
251
- </div>
252
-
253
- <%= template_include %>
254
-
255
- </div>
256
- </body>
257
- </html>
258
- }
259
-
260
- ###############################################################################
261
-
262
- FILE_PAGE = <<_FILE_PAGE_
263
- <div id="<%= values['full_path'] %>" class="page_shade">
264
- <div class="page">
265
- <div class="header">
266
- <div class="path"><%= values['full_path'] %> / <%= values['dtm_modified'] %></div>
267
- </div>
268
- #{CONTENTS_XML}
269
- </div>
270
- </div>
271
- _FILE_PAGE_
272
-
273
- ###################################################################
274
-
275
- CLASS_PAGE = %{
276
- <div id="<%= values['full_name'] %>" class="page_shade">
277
- <div class="page">
278
- <% if values['parent'] %>
279
- <h3><%= values['classmod'] %> <%= values['full_name'] %> &lt; <%= href values['par_url'], values['parent'] %></h3>
280
- <% else %>
281
- <h3><%= values['classmod'] %> <%= values['full_name'] %></h3>
282
- <% end %>
283
-
284
- <% if values['infiles'] %>
285
- (in files
286
- <% values['infiles'].each do |file| %>
287
- <%= href file['full_path_url'], file['full_path'] %>
288
- <% end %>
289
- )
290
- <% end %>
291
- } + CONTENTS_XML + %{
292
- </div>
293
- </div>
294
- }
295
-
296
- METHOD_LIST = ""
297
- ########################## Index ################################
298
-
299
- FR_INDEX_BODY = %{
300
- <%= template_include %>
301
- }
302
-
303
- FILE_INDEX = %{
304
- <html>
305
- <head>
306
- <meta http-equiv="Content-Type" content="text/html; charset=<%= values['charset'] %>">
307
- <style>
308
- <!--
309
- body {
310
- background-color: #ddddff;
311
- font-family: #{FONTS};
312
- font-size: 11px;
313
- font-style: normal;
314
- line-height: 14px;
315
- color: #000040;
316
- }
317
- div.banner {
318
- background: #0000aa;
319
- color: white;
320
- padding: 1;
321
- margin: 0;
322
- font-size: 90%;
323
- font-weight: bold;
324
- line-height: 1.1;
325
- text-align: center;
326
- width: 100%;
327
- }
328
-
329
- -->
330
- </style>
331
- <base target="docwin">
332
- </head>
333
- <body>
334
- <div class="banner"><%= values['list_title'] %></div>
335
- <% values['entries'].each do |entry| %>
336
- <%= href entry['href'], entry['name'] %><br>
337
- <% end %>
338
- </body></html>
339
- }
340
-
341
- CLASS_INDEX = FILE_INDEX
342
- METHOD_INDEX = FILE_INDEX
343
-
344
- INDEX = %{
345
- <HTML>
346
- <HEAD>
347
- <META HTTP-EQUIV="refresh" content="0;URL=<%= values['initial_page'] %>">
348
- <TITLE><%= values['realtitle'] %></TITLE>
349
- </HEAD>
350
- <BODY>
351
- Click <a href="<%= values['initial_page'] %>">here</a> to open the Camping docs.
352
- </BODY>
353
- </HTML>
354
- }
355
-
356
- end
357
- end