ramaze 2008.06 → 2008.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +6 -6
- data/Rakefile +33 -3
- data/bin/ramaze +18 -0
- data/doc/CHANGELOG +960 -0
- data/doc/LEGAL +5 -1
- data/doc/meta/announcement.txt +20 -36
- data/doc/tutorial/todolist.html +421 -313
- data/doc/tutorial/todolist.mkd +33 -16
- data/examples/app/blog/spec/blog.rb +3 -3
- data/examples/app/rapaste/controller/paste.rb +8 -1
- data/examples/app/rapaste/model/paste.rb +3 -0
- data/examples/app/rapaste/spec/rapaste.rb +3 -1
- data/examples/app/rapaste/start.rb +3 -2
- data/examples/app/sourceview/public/sourceview.js +2 -2
- data/examples/app/todolist/spec/todolist.rb +6 -6
- data/examples/app/todolist/template/index.xhtml +1 -1
- data/examples/app/whywiki/spec/whywiki.rb +2 -2
- data/examples/app/wikore/spec/wikore.rb +2 -2
- data/examples/app/wikore/src/model.rb +4 -3
- data/examples/app/wiktacular/spec/wiktacular.rb +7 -7
- data/examples/basic/simple.rb +2 -2
- data/examples/helpers/paginate.rb +71 -0
- data/examples/misc/simple_auth.rb +20 -8
- data/lib/proto/controller/init.rb +10 -0
- data/lib/proto/controller/main.rb +1 -3
- data/lib/proto/model/init.rb +4 -0
- data/lib/proto/public/dispatch.fcgi +1 -1
- data/lib/proto/spec/main.rb +2 -1
- data/lib/proto/start.rb +3 -3
- data/lib/proto/start.ru +1 -1
- data/lib/proto/view/error.xhtml +4 -4
- data/lib/ramaze.rb +8 -3
- data/lib/ramaze/action.rb +6 -6
- data/lib/ramaze/adapter.rb +1 -6
- data/lib/ramaze/adapter/base.rb +30 -27
- data/lib/ramaze/adapter/cgi.rb +1 -0
- data/lib/ramaze/cache.rb +1 -3
- data/lib/ramaze/cache/memcached.rb +3 -5
- data/lib/ramaze/contrib/auto_params.rb +2 -2
- data/lib/ramaze/contrib/auto_params/get_args.rb +2 -1
- data/lib/ramaze/contrib/gems.rb +17 -18
- data/lib/ramaze/contrib/gzip_filter.rb +22 -9
- data/lib/ramaze/contrib/maruku_uv.rb +59 -0
- data/lib/ramaze/contrib/profiling.rb +1 -1
- data/lib/ramaze/contrib/rest.rb +16 -13
- data/lib/ramaze/contrib/sequel/create_join.rb +25 -0
- data/lib/ramaze/contrib/sequel/form_field.rb +129 -0
- data/lib/ramaze/contrib/sequel/image.rb +198 -0
- data/lib/ramaze/contrib/sequel/relation.rb +82 -0
- data/lib/ramaze/controller.rb +33 -34
- data/lib/ramaze/controller/resolve.rb +29 -9
- data/lib/ramaze/current.rb +60 -20
- data/lib/ramaze/current/request.rb +8 -7
- data/lib/ramaze/current/response.rb +15 -3
- data/lib/ramaze/current/session/flash.rb +8 -0
- data/lib/ramaze/dispatcher.rb +17 -9
- data/lib/ramaze/dispatcher/action.rb +4 -5
- data/lib/ramaze/dispatcher/directory.rb +1 -1
- data/lib/ramaze/dispatcher/error.rb +4 -4
- data/lib/ramaze/dispatcher/file.rb +4 -4
- data/lib/ramaze/gestalt.rb +15 -20
- data/lib/ramaze/helper/cgi.rb +7 -15
- data/lib/ramaze/helper/formatting.rb +41 -1
- data/lib/ramaze/helper/httpdigest.rb +20 -7
- data/lib/ramaze/helper/link.rb +4 -6
- data/lib/ramaze/helper/paginate.rb +233 -0
- data/lib/ramaze/helper/redirect.rb +1 -1
- data/lib/ramaze/helper/rest.rb +1 -1
- data/lib/ramaze/helper/thread.rb +17 -0
- data/lib/ramaze/helper/ultraviolet.rb +44 -0
- data/lib/ramaze/helper/user.rb +4 -9
- data/lib/ramaze/log.rb +2 -2
- data/lib/ramaze/log/analogger.rb +21 -23
- data/lib/ramaze/log/growl.rb +21 -23
- data/lib/ramaze/log/hub.rb +1 -1
- data/lib/ramaze/log/informer.rb +97 -99
- data/lib/ramaze/log/knotify.rb +14 -16
- data/lib/ramaze/log/logger.rb +11 -13
- data/lib/ramaze/log/logging.rb +61 -63
- data/lib/ramaze/log/rotatinginformer.rb +168 -0
- data/lib/ramaze/log/syslog.rb +41 -31
- data/lib/ramaze/log/xosd.rb +70 -72
- data/lib/ramaze/option.rb +9 -6
- data/lib/ramaze/option/holder.rb +5 -27
- data/lib/ramaze/reloader.rb +186 -0
- data/lib/ramaze/setup.rb +1 -1
- data/lib/ramaze/snippets.rb +13 -0
- data/lib/ramaze/snippets/array/put_within.rb +31 -24
- data/lib/ramaze/snippets/binding/locals.rb +23 -11
- data/lib/ramaze/snippets/dictionary.rb +2 -2
- data/lib/ramaze/snippets/fiber.rb +63 -0
- data/lib/ramaze/snippets/kernel/constant.rb +36 -21
- data/lib/ramaze/snippets/kernel/pretty_inspect.rb +12 -6
- data/lib/ramaze/snippets/numeric/filesize_format.rb +24 -17
- data/lib/ramaze/snippets/numeric/time.rb +63 -0
- data/lib/ramaze/snippets/object/__dir__.rb +29 -0
- data/lib/ramaze/snippets/object/acquire.rb +40 -0
- data/lib/ramaze/snippets/object/instance_variable_defined.rb +16 -5
- data/lib/ramaze/snippets/object/pretty.rb +14 -4
- data/lib/ramaze/snippets/object/scope.rb +14 -7
- data/lib/ramaze/snippets/ordered_set.rb +25 -14
- data/lib/ramaze/snippets/proc/locals.rb +17 -9
- data/lib/ramaze/snippets/ramaze/deprecated.rb +13 -0
- data/lib/ramaze/snippets/ramaze/fiber.rb +24 -0
- data/lib/ramaze/snippets/ramaze/state.rb +86 -0
- data/lib/ramaze/snippets/ramaze/struct.rb +45 -0
- data/lib/ramaze/snippets/string/camel_case.rb +13 -8
- data/lib/ramaze/snippets/string/color.rb +24 -20
- data/lib/ramaze/snippets/string/each.rb +14 -3
- data/lib/ramaze/snippets/string/end_with.rb +20 -0
- data/lib/ramaze/snippets/string/esc.rb +26 -21
- data/lib/ramaze/snippets/string/ord.rb +12 -6
- data/lib/ramaze/snippets/string/snake_case.rb +13 -7
- data/lib/ramaze/snippets/string/start_with.rb +16 -5
- data/lib/ramaze/snippets/string/unindent.rb +23 -15
- data/lib/ramaze/snippets/thread/into.rb +3 -3
- data/lib/ramaze/spec/helper/bacon.rb +5 -5
- data/lib/ramaze/spec/helper/mock_http.rb +1 -1
- data/lib/ramaze/spec/helper/pretty_output.rb +2 -2
- data/lib/ramaze/spec/helper/snippets.rb +8 -0
- data/lib/ramaze/template.rb +4 -1
- data/lib/ramaze/template/ezamar/textpow.syntax +34 -0
- data/lib/ramaze/template/maruku.rb +34 -0
- data/lib/ramaze/template/tagz.rb +2 -2
- data/lib/ramaze/template/xslt.rb +2 -2
- data/lib/ramaze/tool/create.rb +27 -53
- data/lib/ramaze/tool/localize.rb +8 -4
- data/lib/ramaze/tool/mime.rb +11 -1
- data/lib/ramaze/tool/project_creator.rb +110 -0
- data/lib/ramaze/trinity.rb +4 -1
- data/lib/ramaze/version.rb +1 -1
- data/lib/vendor/bacon.rb +323 -0
- data/rake_tasks/gem.rake +10 -1
- data/rake_tasks/maintenance.rake +40 -2
- data/rake_tasks/metric.rake +24 -0
- data/rake_tasks/release.rake +17 -4
- data/rake_tasks/spec.rake +1 -2
- data/ramaze.gemspec +549 -495
- data/spec/contrib/auto_params.rb +3 -3
- data/spec/contrib/profiling.rb +2 -2
- data/spec/examples/simple_auth.rb +2 -2
- data/spec/examples/templates/template_haml.rb +0 -2
- data/spec/ramaze/action/file_cache.rb +22 -0
- data/spec/ramaze/adapter.rb +2 -2
- data/spec/ramaze/controller/actionless_templates.rb +1 -1
- data/spec/ramaze/controller/subclass.rb +15 -0
- data/spec/ramaze/controller/template_resolving.rb +1 -1
- data/spec/ramaze/controller/view/bar.xhtml +1 -0
- data/spec/ramaze/controller/view/base/another.xhtml +1 -0
- data/spec/ramaze/current/session.rb +1 -1
- data/spec/ramaze/dispatcher/file.rb +2 -2
- data/spec/ramaze/helper/aspect.rb +26 -17
- data/spec/ramaze/helper/formatting.rb +13 -0
- data/spec/ramaze/log/informer.rb +10 -10
- data/spec/ramaze/log/syslog.rb +67 -4
- data/spec/ramaze/rewrite.rb +1 -1
- data/spec/ramaze/route.rb +1 -1
- data/spec/ramaze/struct.rb +47 -0
- data/spec/ramaze/template/markaby.rb +1 -1
- data/spec/ramaze/template/tagz.rb +1 -1
- data/spec/snippets/binding/locals.rb +9 -0
- data/spec/snippets/numeric/time.rb +12 -0
- data/spec/snippets/{kernel → object}/__dir__.rb +0 -0
- data/spec/snippets/{kernel → object}/acquire.rb +0 -0
- metadata +90 -81
- data/cache.yaml +0 -7
- data/examples/app/rammit/spec/rammit.rb +0 -31
- data/examples/app/rammit/src/controller/main.rb +0 -3
- data/examples/app/rammit/src/controller/page.rb +0 -16
- data/examples/app/rammit/src/model.rb +0 -33
- data/examples/app/rammit/start.rb +0 -8
- data/examples/app/rammit/template/index.xhtml +0 -14
- data/examples/app/rammit/template/page/view.xhtml +0 -4
- data/lib/ramaze/snippets/kernel/__dir__.rb +0 -23
- data/lib/ramaze/snippets/kernel/acquire.rb +0 -34
- data/lib/ramaze/snippets/object/thread_accessor.rb +0 -5
- data/lib/ramaze/snippets/ramaze/thread_accessor.rb +0 -58
- data/lib/ramaze/snippets/struct/fill.rb +0 -23
- data/lib/ramaze/snippets/struct/values_at.rb +0 -39
- data/lib/ramaze/snippets/symbol/to_proc.rb +0 -24
- data/lib/ramaze/sourcereload.rb +0 -176
- data/spec/snippets/struct/fill.rb +0 -26
- data/spec/snippets/struct/values_at.rb +0 -52
- data/spec/snippets/symbol/to_proc.rb +0 -13
data/spec/ramaze/route.rb
CHANGED
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'spec/helper'
|
2
|
+
|
3
|
+
Point = Ramaze::Struct.new(:x,:y)
|
4
|
+
|
5
|
+
describe "Ramaze::Struct" do
|
6
|
+
describe '#values_at' do
|
7
|
+
@point = Point.new(1,2)
|
8
|
+
|
9
|
+
it "should access a single value" do
|
10
|
+
@point.values_at(:x).should == [1]
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should access multiple values" do
|
14
|
+
@point.values_at(:x,:y).should == [1,2]
|
15
|
+
end
|
16
|
+
|
17
|
+
it "should access values regardless of order" do
|
18
|
+
@point.values_at(:y,:x).should == [2,1]
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should get same value twice" do
|
22
|
+
@point.values_at(:x,:x).should == [1,1]
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should raise on wrong value" do
|
26
|
+
should.raise(NameError){
|
27
|
+
@point.values_at(:k)
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
it "should work with strings" do
|
32
|
+
@point.values_at('x').should == [1]
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should work with numbers (ruby compat)" do
|
36
|
+
@point.values_at(0).should == [1]
|
37
|
+
end
|
38
|
+
|
39
|
+
should 'work with ranges' do
|
40
|
+
@point.values_at(0..1).should == [1,2]
|
41
|
+
end
|
42
|
+
|
43
|
+
should 'work with multiple ranges' do
|
44
|
+
@point.values_at(0..1, 0..1).should == [1,2,1,2]
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'lib/ramaze/spec/helper/snippets'
|
2
|
+
|
3
|
+
describe "Numeric time extensions" do
|
4
|
+
it 'should provide times in the past' do
|
5
|
+
3.days.ago.to_i.should == (Time.now - 3*24*60*60).to_i
|
6
|
+
2.months.ago.to_i.should == (Time.now - 2*30*24*60*60).to_i
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should provide times in the future' do
|
10
|
+
2.weeks.from_now.to_i.should == (Time.now + 2*7*24*60*60).to_i
|
11
|
+
end
|
12
|
+
end
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ramaze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "2008.
|
4
|
+
version: "2008.11"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael 'manveru' Fellinger
|
@@ -9,11 +9,12 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-11-09 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
17
|
+
type: :runtime
|
17
18
|
version_requirement:
|
18
19
|
version_requirements: !ruby/object:Gem::Requirement
|
19
20
|
requirements:
|
@@ -54,7 +55,6 @@ files:
|
|
54
55
|
- benchmark/test.rb
|
55
56
|
- bin
|
56
57
|
- bin/ramaze
|
57
|
-
- cache.yaml
|
58
58
|
- doc
|
59
59
|
- doc/AUTHORS
|
60
60
|
- doc/CHANGELOG
|
@@ -123,19 +123,6 @@ files:
|
|
123
123
|
- examples/app/chat/view/layout.xhtml
|
124
124
|
- examples/app/localization
|
125
125
|
- examples/app/localization/start.rb
|
126
|
-
- examples/app/rammit
|
127
|
-
- examples/app/rammit/spec
|
128
|
-
- examples/app/rammit/spec/rammit.rb
|
129
|
-
- examples/app/rammit/src
|
130
|
-
- examples/app/rammit/src/controller
|
131
|
-
- examples/app/rammit/src/controller/main.rb
|
132
|
-
- examples/app/rammit/src/controller/page.rb
|
133
|
-
- examples/app/rammit/src/model.rb
|
134
|
-
- examples/app/rammit/start.rb
|
135
|
-
- examples/app/rammit/template
|
136
|
-
- examples/app/rammit/template/index.xhtml
|
137
|
-
- examples/app/rammit/template/page
|
138
|
-
- examples/app/rammit/template/page/view.xhtml
|
139
126
|
- examples/app/rapaste
|
140
127
|
- examples/app/rapaste/Rakefile
|
141
128
|
- examples/app/rapaste/controller
|
@@ -285,6 +272,7 @@ files:
|
|
285
272
|
- examples/helpers/httpdigest.rb
|
286
273
|
- examples/helpers/identity.rb
|
287
274
|
- examples/helpers/nitro_form.rb
|
275
|
+
- examples/helpers/paginate.rb
|
288
276
|
- examples/helpers/provide.rb
|
289
277
|
- examples/helpers/rest.rb
|
290
278
|
- examples/helpers/simple_captcha.rb
|
@@ -324,7 +312,10 @@ files:
|
|
324
312
|
- lib
|
325
313
|
- lib/proto
|
326
314
|
- lib/proto/controller
|
315
|
+
- lib/proto/controller/init.rb
|
327
316
|
- lib/proto/controller/main.rb
|
317
|
+
- lib/proto/model
|
318
|
+
- lib/proto/model/init.rb
|
328
319
|
- lib/proto/public
|
329
320
|
- lib/proto/public/css
|
330
321
|
- lib/proto/public/css/ramaze_error.css
|
@@ -342,10 +333,12 @@ files:
|
|
342
333
|
- lib/proto/view/index.xhtml
|
343
334
|
- lib/proto/view/page.xhtml
|
344
335
|
- lib/ramaze
|
336
|
+
- lib/ramaze.rb
|
345
337
|
- lib/ramaze/action
|
346
|
-
- lib/ramaze/action/render.rb
|
347
338
|
- lib/ramaze/action.rb
|
339
|
+
- lib/ramaze/action/render.rb
|
348
340
|
- lib/ramaze/adapter
|
341
|
+
- lib/ramaze/adapter.rb
|
349
342
|
- lib/ramaze/adapter/base.rb
|
350
343
|
- lib/ramaze/adapter/cgi.rb
|
351
344
|
- lib/ramaze/adapter/ebb.rb
|
@@ -358,56 +351,61 @@ files:
|
|
358
351
|
- lib/ramaze/adapter/swiftiplied_mongrel.rb
|
359
352
|
- lib/ramaze/adapter/thin.rb
|
360
353
|
- lib/ramaze/adapter/webrick.rb
|
361
|
-
- lib/ramaze/adapter.rb
|
362
354
|
- lib/ramaze/cache
|
355
|
+
- lib/ramaze/cache.rb
|
363
356
|
- lib/ramaze/cache/memcached.rb
|
364
357
|
- lib/ramaze/cache/memory.rb
|
365
358
|
- lib/ramaze/cache/yaml_store.rb
|
366
|
-
- lib/ramaze/cache.rb
|
367
359
|
- lib/ramaze/contrib
|
360
|
+
- lib/ramaze/contrib.rb
|
368
361
|
- lib/ramaze/contrib/auto_params
|
369
|
-
- lib/ramaze/contrib/auto_params/get_args.rb
|
370
362
|
- lib/ramaze/contrib/auto_params.rb
|
363
|
+
- lib/ramaze/contrib/auto_params/get_args.rb
|
371
364
|
- lib/ramaze/contrib/email.rb
|
372
365
|
- lib/ramaze/contrib/facebook
|
373
|
-
- lib/ramaze/contrib/facebook/facebook.rb
|
374
366
|
- lib/ramaze/contrib/facebook.rb
|
367
|
+
- lib/ramaze/contrib/facebook/facebook.rb
|
375
368
|
- lib/ramaze/contrib/file_cache.rb
|
376
369
|
- lib/ramaze/contrib/gems.rb
|
377
370
|
- lib/ramaze/contrib/gettext
|
371
|
+
- lib/ramaze/contrib/gettext.rb
|
378
372
|
- lib/ramaze/contrib/gettext/mo.rb
|
379
373
|
- lib/ramaze/contrib/gettext/parser.rb
|
380
374
|
- lib/ramaze/contrib/gettext/po.rb
|
381
|
-
- lib/ramaze/contrib/gettext.rb
|
382
375
|
- lib/ramaze/contrib/gzip_filter.rb
|
376
|
+
- lib/ramaze/contrib/maruku_uv.rb
|
383
377
|
- lib/ramaze/contrib/profiling.rb
|
384
378
|
- lib/ramaze/contrib/rest.rb
|
385
379
|
- lib/ramaze/contrib/sequel
|
380
|
+
- lib/ramaze/contrib/sequel/create_join.rb
|
386
381
|
- lib/ramaze/contrib/sequel/fill.rb
|
382
|
+
- lib/ramaze/contrib/sequel/form_field.rb
|
383
|
+
- lib/ramaze/contrib/sequel/image.rb
|
384
|
+
- lib/ramaze/contrib/sequel/relation.rb
|
387
385
|
- lib/ramaze/contrib/sequel_cache.rb
|
388
|
-
- lib/ramaze/contrib.rb
|
389
386
|
- lib/ramaze/controller
|
387
|
+
- lib/ramaze/controller.rb
|
390
388
|
- lib/ramaze/controller/error.rb
|
391
389
|
- lib/ramaze/controller/main.rb
|
392
390
|
- lib/ramaze/controller/resolve.rb
|
393
|
-
- lib/ramaze/controller.rb
|
394
391
|
- lib/ramaze/current
|
392
|
+
- lib/ramaze/current.rb
|
395
393
|
- lib/ramaze/current/request.rb
|
396
394
|
- lib/ramaze/current/response.rb
|
397
395
|
- lib/ramaze/current/session
|
396
|
+
- lib/ramaze/current/session.rb
|
398
397
|
- lib/ramaze/current/session/flash.rb
|
399
398
|
- lib/ramaze/current/session/hash.rb
|
400
|
-
- lib/ramaze/current/session.rb
|
401
|
-
- lib/ramaze/current.rb
|
402
399
|
- lib/ramaze/dispatcher
|
400
|
+
- lib/ramaze/dispatcher.rb
|
403
401
|
- lib/ramaze/dispatcher/action.rb
|
404
402
|
- lib/ramaze/dispatcher/directory.rb
|
405
403
|
- lib/ramaze/dispatcher/error.rb
|
406
404
|
- lib/ramaze/dispatcher/file.rb
|
407
|
-
- lib/ramaze/dispatcher.rb
|
408
405
|
- lib/ramaze/error.rb
|
409
406
|
- lib/ramaze/gestalt.rb
|
410
407
|
- lib/ramaze/helper
|
408
|
+
- lib/ramaze/helper.rb
|
411
409
|
- lib/ramaze/helper/aspect.rb
|
412
410
|
- lib/ramaze/helper/auth.rb
|
413
411
|
- lib/ramaze/helper/cache.rb
|
@@ -424,6 +422,7 @@ files:
|
|
424
422
|
- lib/ramaze/helper/maruku.rb
|
425
423
|
- lib/ramaze/helper/nitroform.rb
|
426
424
|
- lib/ramaze/helper/pager.rb
|
425
|
+
- lib/ramaze/helper/paginate.rb
|
427
426
|
- lib/ramaze/helper/partial.rb
|
428
427
|
- lib/ramaze/helper/redirect.rb
|
429
428
|
- lib/ramaze/helper/rest.rb
|
@@ -432,10 +431,12 @@ files:
|
|
432
431
|
- lib/ramaze/helper/simple_captcha.rb
|
433
432
|
- lib/ramaze/helper/stack.rb
|
434
433
|
- lib/ramaze/helper/tagz.rb
|
434
|
+
- lib/ramaze/helper/thread.rb
|
435
|
+
- lib/ramaze/helper/ultraviolet.rb
|
435
436
|
- lib/ramaze/helper/user.rb
|
436
437
|
- lib/ramaze/helper/xhtml.rb
|
437
|
-
- lib/ramaze/helper.rb
|
438
438
|
- lib/ramaze/log
|
439
|
+
- lib/ramaze/log.rb
|
439
440
|
- lib/ramaze/log/analogger.rb
|
440
441
|
- lib/ramaze/log/growl.rb
|
441
442
|
- lib/ramaze/log/hub.rb
|
@@ -443,17 +444,19 @@ files:
|
|
443
444
|
- lib/ramaze/log/knotify.rb
|
444
445
|
- lib/ramaze/log/logger.rb
|
445
446
|
- lib/ramaze/log/logging.rb
|
447
|
+
- lib/ramaze/log/rotatinginformer.rb
|
446
448
|
- lib/ramaze/log/syslog.rb
|
447
449
|
- lib/ramaze/log/xosd.rb
|
448
|
-
- lib/ramaze/log.rb
|
449
450
|
- lib/ramaze/option
|
451
|
+
- lib/ramaze/option.rb
|
450
452
|
- lib/ramaze/option/dsl.rb
|
451
453
|
- lib/ramaze/option/holder.rb
|
452
454
|
- lib/ramaze/option/merger.rb
|
453
|
-
- lib/ramaze/
|
455
|
+
- lib/ramaze/reloader.rb
|
454
456
|
- lib/ramaze/route.rb
|
455
457
|
- lib/ramaze/setup.rb
|
456
458
|
- lib/ramaze/snippets
|
459
|
+
- lib/ramaze/snippets.rb
|
457
460
|
- lib/ramaze/snippets/array
|
458
461
|
- lib/ramaze/snippets/array/put_within.rb
|
459
462
|
- lib/ramaze/snippets/binding
|
@@ -461,19 +464,20 @@ files:
|
|
461
464
|
- lib/ramaze/snippets/blankslate.rb
|
462
465
|
- lib/ramaze/snippets/dictionary.rb
|
463
466
|
- lib/ramaze/snippets/divide.rb
|
467
|
+
- lib/ramaze/snippets/fiber.rb
|
464
468
|
- lib/ramaze/snippets/kernel
|
465
|
-
- lib/ramaze/snippets/kernel/__dir__.rb
|
466
|
-
- lib/ramaze/snippets/kernel/acquire.rb
|
467
469
|
- lib/ramaze/snippets/kernel/constant.rb
|
468
470
|
- lib/ramaze/snippets/kernel/pretty_inspect.rb
|
469
471
|
- lib/ramaze/snippets/metaid.rb
|
470
472
|
- lib/ramaze/snippets/numeric
|
471
473
|
- lib/ramaze/snippets/numeric/filesize_format.rb
|
474
|
+
- lib/ramaze/snippets/numeric/time.rb
|
472
475
|
- lib/ramaze/snippets/object
|
476
|
+
- lib/ramaze/snippets/object/__dir__.rb
|
477
|
+
- lib/ramaze/snippets/object/acquire.rb
|
473
478
|
- lib/ramaze/snippets/object/instance_variable_defined.rb
|
474
479
|
- lib/ramaze/snippets/object/pretty.rb
|
475
480
|
- lib/ramaze/snippets/object/scope.rb
|
476
|
-
- lib/ramaze/snippets/object/thread_accessor.rb
|
477
481
|
- lib/ramaze/snippets/object/traits.rb
|
478
482
|
- lib/ramaze/snippets/ordered_set.rb
|
479
483
|
- lib/ramaze/snippets/proc
|
@@ -482,27 +486,25 @@ files:
|
|
482
486
|
- lib/ramaze/snippets/ramaze/caller_info.rb
|
483
487
|
- lib/ramaze/snippets/ramaze/caller_lines.rb
|
484
488
|
- lib/ramaze/snippets/ramaze/deprecated.rb
|
485
|
-
- lib/ramaze/snippets/ramaze/
|
489
|
+
- lib/ramaze/snippets/ramaze/fiber.rb
|
490
|
+
- lib/ramaze/snippets/ramaze/state.rb
|
491
|
+
- lib/ramaze/snippets/ramaze/struct.rb
|
486
492
|
- lib/ramaze/snippets/string
|
487
493
|
- lib/ramaze/snippets/string/camel_case.rb
|
488
494
|
- lib/ramaze/snippets/string/color.rb
|
489
495
|
- lib/ramaze/snippets/string/each.rb
|
496
|
+
- lib/ramaze/snippets/string/end_with.rb
|
490
497
|
- lib/ramaze/snippets/string/esc.rb
|
491
498
|
- lib/ramaze/snippets/string/ord.rb
|
492
499
|
- lib/ramaze/snippets/string/snake_case.rb
|
493
500
|
- lib/ramaze/snippets/string/start_with.rb
|
494
501
|
- lib/ramaze/snippets/string/unindent.rb
|
495
|
-
- lib/ramaze/snippets/struct
|
496
|
-
- lib/ramaze/snippets/struct/fill.rb
|
497
|
-
- lib/ramaze/snippets/struct/values_at.rb
|
498
|
-
- lib/ramaze/snippets/symbol
|
499
|
-
- lib/ramaze/snippets/symbol/to_proc.rb
|
500
502
|
- lib/ramaze/snippets/thread
|
501
503
|
- lib/ramaze/snippets/thread/into.rb
|
502
|
-
- lib/ramaze/snippets.rb
|
503
|
-
- lib/ramaze/sourcereload.rb
|
504
504
|
- lib/ramaze/spec
|
505
|
+
- lib/ramaze/spec.rb
|
505
506
|
- lib/ramaze/spec/helper
|
507
|
+
- lib/ramaze/spec/helper.rb
|
506
508
|
- lib/ramaze/spec/helper/bacon.rb
|
507
509
|
- lib/ramaze/spec/helper/browser.rb
|
508
510
|
- lib/ramaze/spec/helper/mock_http.rb
|
@@ -510,23 +512,24 @@ files:
|
|
510
512
|
- lib/ramaze/spec/helper/requester.rb
|
511
513
|
- lib/ramaze/spec/helper/simple_http.rb
|
512
514
|
- lib/ramaze/spec/helper/snippets.rb
|
513
|
-
- lib/ramaze/spec/helper.rb
|
514
|
-
- lib/ramaze/spec.rb
|
515
515
|
- lib/ramaze/store
|
516
516
|
- lib/ramaze/store/default.rb
|
517
517
|
- lib/ramaze/template
|
518
|
+
- lib/ramaze/template.rb
|
518
519
|
- lib/ramaze/template/amrita2.rb
|
519
520
|
- lib/ramaze/template/builder.rb
|
520
521
|
- lib/ramaze/template/erubis.rb
|
521
522
|
- lib/ramaze/template/ezamar
|
523
|
+
- lib/ramaze/template/ezamar.rb
|
522
524
|
- lib/ramaze/template/ezamar/element.rb
|
523
525
|
- lib/ramaze/template/ezamar/engine.rb
|
524
526
|
- lib/ramaze/template/ezamar/morpher.rb
|
525
527
|
- lib/ramaze/template/ezamar/render_partial.rb
|
526
|
-
- lib/ramaze/template/ezamar.
|
528
|
+
- lib/ramaze/template/ezamar/textpow.syntax
|
527
529
|
- lib/ramaze/template/haml.rb
|
528
530
|
- lib/ramaze/template/liquid.rb
|
529
531
|
- lib/ramaze/template/markaby.rb
|
532
|
+
- lib/ramaze/template/maruku.rb
|
530
533
|
- lib/ramaze/template/nagoro.rb
|
531
534
|
- lib/ramaze/template/none.rb
|
532
535
|
- lib/ramaze/template/redcloth.rb
|
@@ -535,25 +538,26 @@ files:
|
|
535
538
|
- lib/ramaze/template/tagz.rb
|
536
539
|
- lib/ramaze/template/tenjin.rb
|
537
540
|
- lib/ramaze/template/xslt.rb
|
538
|
-
- lib/ramaze/template.rb
|
539
541
|
- lib/ramaze/tool
|
542
|
+
- lib/ramaze/tool.rb
|
540
543
|
- lib/ramaze/tool/create.rb
|
541
544
|
- lib/ramaze/tool/daemonize.rb
|
542
545
|
- lib/ramaze/tool/localize.rb
|
543
546
|
- lib/ramaze/tool/mime.rb
|
544
547
|
- lib/ramaze/tool/mime_types.yaml
|
548
|
+
- lib/ramaze/tool/project_creator.rb
|
545
549
|
- lib/ramaze/tool/record.rb
|
546
|
-
- lib/ramaze/tool.rb
|
547
550
|
- lib/ramaze/trinity.rb
|
548
551
|
- lib/ramaze/version.rb
|
549
|
-
- lib/
|
550
|
-
-
|
552
|
+
- lib/vendor
|
553
|
+
- lib/vendor/bacon.rb
|
551
554
|
- rake_tasks
|
552
555
|
- rake_tasks/conf.rake
|
553
556
|
- rake_tasks/coverage.rake
|
554
557
|
- rake_tasks/gem.rake
|
555
558
|
- rake_tasks/git.rake
|
556
559
|
- rake_tasks/maintenance.rake
|
560
|
+
- rake_tasks/metric.rake
|
557
561
|
- rake_tasks/release.rake
|
558
562
|
- rake_tasks/spec.rake
|
559
563
|
- ramaze.gemspec
|
@@ -598,36 +602,39 @@ files:
|
|
598
602
|
- spec/ramaze/action/view/sub
|
599
603
|
- spec/ramaze/action/view/sub/sub_wrapper.xhtml
|
600
604
|
- spec/ramaze/adapter
|
605
|
+
- spec/ramaze/adapter.rb
|
601
606
|
- spec/ramaze/adapter/ebb.rb
|
602
607
|
- spec/ramaze/adapter/mongrel.rb
|
603
608
|
- spec/ramaze/adapter/record.rb
|
604
609
|
- spec/ramaze/adapter/webrick.rb
|
605
|
-
- spec/ramaze/adapter.rb
|
606
610
|
- spec/ramaze/cache.rb
|
607
611
|
- spec/ramaze/controller
|
612
|
+
- spec/ramaze/controller.rb
|
608
613
|
- spec/ramaze/controller/actionless_templates.rb
|
609
614
|
- spec/ramaze/controller/resolve.rb
|
610
615
|
- spec/ramaze/controller/subclass.rb
|
611
616
|
- spec/ramaze/controller/template_resolving.rb
|
612
617
|
- spec/ramaze/controller/view
|
618
|
+
- spec/ramaze/controller/view/bar.xhtml
|
619
|
+
- spec/ramaze/controller/view/base
|
620
|
+
- spec/ramaze/controller/view/base/another.xhtml
|
613
621
|
- spec/ramaze/controller/view/greet.xhtml
|
614
622
|
- spec/ramaze/controller/view/list.xhtml
|
615
623
|
- spec/ramaze/controller/view/other
|
616
624
|
- spec/ramaze/controller/view/other/greet
|
617
625
|
- spec/ramaze/controller/view/other/greet/other.xhtml
|
618
626
|
- spec/ramaze/controller/view/other_wrapper.xhtml
|
619
|
-
- spec/ramaze/controller.rb
|
620
627
|
- spec/ramaze/current
|
621
628
|
- spec/ramaze/current/request.rb
|
622
629
|
- spec/ramaze/current/session.rb
|
623
630
|
- spec/ramaze/dispatcher
|
631
|
+
- spec/ramaze/dispatcher.rb
|
624
632
|
- spec/ramaze/dispatcher/directory.rb
|
625
633
|
- spec/ramaze/dispatcher/file.rb
|
626
634
|
- spec/ramaze/dispatcher/public
|
627
635
|
- spec/ramaze/dispatcher/public/favicon.ico
|
628
636
|
- spec/ramaze/dispatcher/public/file name.txt
|
629
637
|
- spec/ramaze/dispatcher/public/test_download.css
|
630
|
-
- spec/ramaze/dispatcher.rb
|
631
638
|
- spec/ramaze/element.rb
|
632
639
|
- spec/ramaze/error.rb
|
633
640
|
- spec/ramaze/gestalt.rb
|
@@ -668,30 +675,33 @@ files:
|
|
668
675
|
- spec/ramaze/public/ramaze.png
|
669
676
|
- spec/ramaze/public/test_download.css
|
670
677
|
- spec/ramaze/request
|
678
|
+
- spec/ramaze/request.rb
|
671
679
|
- spec/ramaze/request/ebb.rb
|
672
680
|
- spec/ramaze/request/mongrel.rb
|
673
681
|
- spec/ramaze/request/thin.rb
|
674
682
|
- spec/ramaze/request/webrick.rb
|
675
|
-
- spec/ramaze/request.rb
|
676
683
|
- spec/ramaze/rewrite
|
677
|
-
- spec/ramaze/rewrite/file.css
|
678
684
|
- spec/ramaze/rewrite.rb
|
685
|
+
- spec/ramaze/rewrite/file.css
|
679
686
|
- spec/ramaze/route.rb
|
680
687
|
- spec/ramaze/session.rb
|
681
688
|
- spec/ramaze/store
|
682
689
|
- spec/ramaze/store/default.rb
|
690
|
+
- spec/ramaze/struct.rb
|
683
691
|
- spec/ramaze/template
|
692
|
+
- spec/ramaze/template.rb
|
684
693
|
- spec/ramaze/template/amrita2
|
694
|
+
- spec/ramaze/template/amrita2.rb
|
685
695
|
- spec/ramaze/template/amrita2/external.amrita
|
686
696
|
- spec/ramaze/template/amrita2/sum.amrita
|
687
|
-
- spec/ramaze/template/amrita2.rb
|
688
697
|
- spec/ramaze/template/builder
|
689
|
-
- spec/ramaze/template/builder/external.rxml
|
690
698
|
- spec/ramaze/template/builder.rb
|
699
|
+
- spec/ramaze/template/builder/external.rxml
|
691
700
|
- spec/ramaze/template/erubis
|
692
|
-
- spec/ramaze/template/erubis/sum.rhtml
|
693
701
|
- spec/ramaze/template/erubis.rb
|
702
|
+
- spec/ramaze/template/erubis/sum.rhtml
|
694
703
|
- spec/ramaze/template/ezamar
|
704
|
+
- spec/ramaze/template/ezamar.rb
|
695
705
|
- spec/ramaze/template/ezamar/another
|
696
706
|
- spec/ramaze/template/ezamar/another/long
|
697
707
|
- spec/ramaze/template/ezamar/another/long/action.zmr
|
@@ -702,21 +712,21 @@ files:
|
|
702
712
|
- spec/ramaze/template/ezamar/other__index.xhtml
|
703
713
|
- spec/ramaze/template/ezamar/some__long__action.zmr
|
704
714
|
- spec/ramaze/template/ezamar/sum.zmr
|
705
|
-
- spec/ramaze/template/ezamar.rb
|
706
715
|
- spec/ramaze/template/haml
|
716
|
+
- spec/ramaze/template/haml.rb
|
707
717
|
- spec/ramaze/template/haml/index.haml
|
708
718
|
- spec/ramaze/template/haml/locals.haml
|
709
719
|
- spec/ramaze/template/haml/with_vars.haml
|
710
|
-
- spec/ramaze/template/haml.rb
|
711
720
|
- spec/ramaze/template/liquid
|
721
|
+
- spec/ramaze/template/liquid.rb
|
712
722
|
- spec/ramaze/template/liquid/index.liquid
|
713
723
|
- spec/ramaze/template/liquid/products.liquid
|
714
|
-
- spec/ramaze/template/liquid.rb
|
715
724
|
- spec/ramaze/template/markaby
|
725
|
+
- spec/ramaze/template/markaby.rb
|
716
726
|
- spec/ramaze/template/markaby/external.mab
|
717
727
|
- spec/ramaze/template/markaby/sum.mab
|
718
|
-
- spec/ramaze/template/markaby.rb
|
719
728
|
- spec/ramaze/template/nagoro
|
729
|
+
- spec/ramaze/template/nagoro.rb
|
720
730
|
- spec/ramaze/template/nagoro/another
|
721
731
|
- spec/ramaze/template/nagoro/another/long
|
722
732
|
- spec/ramaze/template/nagoro/another/long/action.nag
|
@@ -726,43 +736,45 @@ files:
|
|
726
736
|
- spec/ramaze/template/nagoro/nested.nag
|
727
737
|
- spec/ramaze/template/nagoro/some__long__action.nag
|
728
738
|
- spec/ramaze/template/nagoro/sum.nag
|
729
|
-
- spec/ramaze/template/nagoro.rb
|
730
739
|
- spec/ramaze/template/ramaze
|
731
740
|
- spec/ramaze/template/ramaze/external.test
|
732
741
|
- spec/ramaze/template/redcloth
|
733
|
-
- spec/ramaze/template/redcloth/external.redcloth
|
734
742
|
- spec/ramaze/template/redcloth.rb
|
743
|
+
- spec/ramaze/template/redcloth/external.redcloth
|
735
744
|
- spec/ramaze/template/remarkably
|
745
|
+
- spec/ramaze/template/remarkably.rb
|
736
746
|
- spec/ramaze/template/remarkably/external.rem
|
737
747
|
- spec/ramaze/template/remarkably/sum.rem
|
738
|
-
- spec/ramaze/template/remarkably.rb
|
739
748
|
- spec/ramaze/template/sass
|
740
|
-
- spec/ramaze/template/sass/file.css.sass
|
741
749
|
- spec/ramaze/template/sass.rb
|
750
|
+
- spec/ramaze/template/sass/file.css.sass
|
742
751
|
- spec/ramaze/template/tagz
|
752
|
+
- spec/ramaze/template/tagz.rb
|
743
753
|
- spec/ramaze/template/tagz/external.tagz
|
744
754
|
- spec/ramaze/template/tagz/sum.tagz
|
745
|
-
- spec/ramaze/template/tagz.rb
|
746
755
|
- spec/ramaze/template/tenjin
|
747
|
-
- spec/ramaze/template/tenjin/external.tenjin
|
748
756
|
- spec/ramaze/template/tenjin.rb
|
757
|
+
- spec/ramaze/template/tenjin/external.tenjin
|
749
758
|
- spec/ramaze/template/xslt
|
759
|
+
- spec/ramaze/template/xslt.rb
|
750
760
|
- spec/ramaze/template/xslt/concat_words.xsl
|
751
761
|
- spec/ramaze/template/xslt/index.xsl
|
752
762
|
- spec/ramaze/template/xslt/products.xsl
|
753
763
|
- spec/ramaze/template/xslt/ruby_version.xsl
|
754
|
-
- spec/ramaze/template/xslt.rb
|
755
|
-
- spec/ramaze/template.rb
|
756
764
|
- spec/snippets
|
757
765
|
- spec/snippets/array
|
758
766
|
- spec/snippets/array/put_within.rb
|
767
|
+
- spec/snippets/binding
|
768
|
+
- spec/snippets/binding/locals.rb
|
759
769
|
- spec/snippets/divide.rb
|
760
770
|
- spec/snippets/kernel
|
761
|
-
- spec/snippets/kernel/__dir__.rb
|
762
|
-
- spec/snippets/kernel/acquire.rb
|
763
771
|
- spec/snippets/kernel/constant.rb
|
764
772
|
- spec/snippets/numeric
|
765
773
|
- spec/snippets/numeric/filesize_format.rb
|
774
|
+
- spec/snippets/numeric/time.rb
|
775
|
+
- spec/snippets/object
|
776
|
+
- spec/snippets/object/__dir__.rb
|
777
|
+
- spec/snippets/object/acquire.rb
|
766
778
|
- spec/snippets/ordered_set.rb
|
767
779
|
- spec/snippets/ramaze
|
768
780
|
- spec/snippets/ramaze/caller_info.rb
|
@@ -772,24 +784,21 @@ files:
|
|
772
784
|
- spec/snippets/string/color.rb
|
773
785
|
- spec/snippets/string/snake_case.rb
|
774
786
|
- spec/snippets/string/unindent.rb
|
775
|
-
- spec/snippets/struct
|
776
|
-
- spec/snippets/struct/fill.rb
|
777
|
-
- spec/snippets/struct/values_at.rb
|
778
|
-
- spec/snippets/symbol
|
779
|
-
- spec/snippets/symbol/to_proc.rb
|
780
787
|
- spec/snippets/thread
|
781
788
|
- spec/snippets/thread/into.rb
|
782
789
|
has_rdoc: true
|
783
790
|
homepage: http://ramaze.rubyforge.org
|
784
791
|
post_install_message: |-
|
785
|
-
============================================================
|
786
792
|
|
793
|
+
============================================================
|
794
|
+
|
787
795
|
Thank you for installing Ramaze!
|
788
|
-
|
789
|
-
|
790
|
-
* Create a new project using the `ramaze' command:
|
791
|
-
ramaze --create yourproject
|
796
|
+
The main website is http://ramaze.net .
|
792
797
|
|
798
|
+
Feel free to ask questions in our IRC channel:
|
799
|
+
irc.freenode.net #ramaze
|
800
|
+
http://mibbit.com/?server=irc.freenode.net&channel=%23ramaze
|
801
|
+
|
793
802
|
============================================================
|
794
803
|
rdoc_options: []
|
795
804
|
|
@@ -810,7 +819,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
810
819
|
requirements: []
|
811
820
|
|
812
821
|
rubyforge_project: ramaze
|
813
|
-
rubygems_version: 1.
|
822
|
+
rubygems_version: 1.2.0
|
814
823
|
signing_key:
|
815
824
|
specification_version: 2
|
816
825
|
summary: Ramaze is a simple and modular web framework
|