manveru-ramaze 2008.08 → 2008.09
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/ramaze +1 -0
- data/doc/CHANGELOG +966 -0
- data/doc/tutorial/todolist.html +421 -313
- data/doc/tutorial/todolist.mkd +26 -9
- 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/spec/main.rb +2 -1
- data/lib/proto/start.rb +3 -3
- data/lib/ramaze.rb +6 -1
- data/lib/ramaze/action.rb +2 -2
- data/lib/ramaze/adapter.rb +0 -5
- data/lib/ramaze/adapter/base.rb +24 -7
- 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/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/resolve.rb +1 -1
- data/lib/ramaze/current.rb +60 -20
- data/lib/ramaze/current/response.rb +15 -3
- data/lib/ramaze/dispatcher.rb +9 -3
- data/lib/ramaze/dispatcher/action.rb +2 -3
- data/lib/ramaze/dispatcher/directory.rb +1 -1
- data/lib/ramaze/dispatcher/error.rb +1 -1
- data/lib/ramaze/dispatcher/file.rb +1 -1
- data/lib/ramaze/helper/formatting.rb +33 -0
- data/lib/ramaze/helper/paginate.rb +234 -0
- data/lib/ramaze/option.rb +2 -2
- data/lib/ramaze/reloader.rb +2 -2
- 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/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 -56
- 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 +4 -0
- data/lib/ramaze/snippets/proc/locals.rb +17 -9
- 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 +17 -6
- data/lib/ramaze/snippets/string/esc.rb +26 -18
- 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 -6
- data/lib/ramaze/snippets/string/unindent.rb +23 -15
- data/lib/ramaze/snippets/thread/into.rb +3 -3
- data/lib/ramaze/spec/helper/snippets.rb +8 -0
- data/lib/ramaze/template/ezamar/textpow.syntax +34 -0
- data/lib/ramaze/tool/create.rb +27 -53
- data/lib/ramaze/tool/project_creator.rb +110 -0
- data/lib/ramaze/version.rb +1 -1
- data/rake_tasks/gem.rake +2 -1
- data/rake_tasks/maintenance.rake +38 -0
- data/rake_tasks/release.rake +6 -2
- data/rake_tasks/spec.rake +1 -2
- data/ramaze.gemspec +69 -78
- data/spec/examples/simple_auth.rb +2 -2
- data/spec/examples/templates/template_haml.rb +0 -2
- data/spec/ramaze/current/session.rb +1 -1
- data/spec/ramaze/dispatcher/file.rb +2 -2
- data/spec/ramaze/helper/formatting.rb +13 -0
- data/spec/ramaze/rewrite.rb +1 -1
- data/spec/ramaze/struct.rb +47 -0
- data/spec/ramaze/template/markaby.rb +1 -1
- data/spec/snippets/{kernel → object}/__dir__.rb +0 -0
- data/spec/snippets/{kernel → object}/acquire.rb +0 -0
- metadata +69 -78
- 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/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 -183
- 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
@@ -7,12 +7,12 @@ describe "SimpleAuth" do
|
|
7
7
|
|
8
8
|
it 'should show start page' do
|
9
9
|
Browser.new do
|
10
|
-
http.basic_authentication "
|
10
|
+
http.basic_authentication "jill", "password1"
|
11
11
|
get('/').should == "Secret Info"
|
12
12
|
end
|
13
13
|
|
14
14
|
Browser.new do
|
15
|
-
http.basic_authentication "
|
15
|
+
http.basic_authentication "jack", "password2"
|
16
16
|
get('/').should == "Secret Info"
|
17
17
|
end
|
18
18
|
end
|
@@ -37,7 +37,7 @@ describe 'Dispatcher::File' do
|
|
37
37
|
it 'should send Last-Modified' do
|
38
38
|
res = get '/test_download.css'
|
39
39
|
res.headers['Last-Modified'].should.not.be == nil
|
40
|
-
res.headers['Last-Modified'].should == File.
|
40
|
+
res.headers['Last-Modified'].should == File.mtime(@public_root/'test_download.css').httpdate
|
41
41
|
end
|
42
42
|
|
43
43
|
it 'should respect ETag with IF_NONE_MATCHES' do
|
@@ -57,4 +57,4 @@ describe 'Dispatcher::File' do
|
|
57
57
|
res.status.should == 304
|
58
58
|
res.body.should == ''
|
59
59
|
end
|
60
|
-
end
|
60
|
+
end
|
@@ -26,6 +26,11 @@ describe 'Helper::Formatting' do
|
|
26
26
|
"<a href=\"http://ramaze.net\" target='_blank'>http://ramaze.net</a>"
|
27
27
|
end
|
28
28
|
|
29
|
+
it 'should auto_link urls, setting the result of the given block as the link text' do
|
30
|
+
auto_link('http://ramaze.net rocks, so does http://rubyonrails.org.') { |url| url.sub!(%r{http://}, '') }.should ==
|
31
|
+
'<a href="http://ramaze.net">ramaze.net</a> rocks, so does <a href="http://rubyonrails.org">rubyonrails.org</a>.'
|
32
|
+
end
|
33
|
+
|
29
34
|
should 'ordinalize numbers' do
|
30
35
|
ordinal(1).should == '1st'
|
31
36
|
ordinal(2).should == '2nd'
|
@@ -38,4 +43,12 @@ describe 'Helper::Formatting' do
|
|
38
43
|
ordinal(100).should == '100th'
|
39
44
|
ordinal(133).should == '133rd'
|
40
45
|
end
|
46
|
+
|
47
|
+
should 'generate tagclouds' do
|
48
|
+
tags = %w[ruby ruby code ramaze]
|
49
|
+
tagcloud(tags).should ==
|
50
|
+
{"code"=>0.75, "ramaze"=>0.75, "ruby"=>1.0}
|
51
|
+
tagcloud(tags, 0.5, 2.0).should ==
|
52
|
+
{"code"=>0.875, "ramaze"=>0.875, "ruby"=>1.25}
|
53
|
+
end
|
41
54
|
end
|
data/spec/ramaze/rewrite.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
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manveru-ramaze
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "2008.
|
4
|
+
version: "2008.09"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael 'manveru' Fellinger
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-08-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,6 +30,8 @@ extensions: []
|
|
30
30
|
extra_rdoc_files: []
|
31
31
|
|
32
32
|
files:
|
33
|
+
- README.markdown
|
34
|
+
- Rakefile
|
33
35
|
- benchmark
|
34
36
|
- benchmark/results.txt
|
35
37
|
- benchmark/run.rb
|
@@ -60,6 +62,7 @@ files:
|
|
60
62
|
- doc/GPL
|
61
63
|
- doc/INSTALL
|
62
64
|
- doc/LEGAL
|
65
|
+
- doc/TODO
|
63
66
|
- doc/meta
|
64
67
|
- doc/meta/announcement.txt
|
65
68
|
- doc/meta/configuration.txt
|
@@ -75,7 +78,6 @@ files:
|
|
75
78
|
- doc/readme_chunks/introduction.txt
|
76
79
|
- doc/readme_chunks/principles.txt
|
77
80
|
- doc/readme_chunks/thanks.txt
|
78
|
-
- doc/TODO
|
79
81
|
- doc/tutorial
|
80
82
|
- doc/tutorial/todolist.html
|
81
83
|
- doc/tutorial/todolist.mkd
|
@@ -87,6 +89,7 @@ files:
|
|
87
89
|
- examples/app/auth/template/layout.haml
|
88
90
|
- examples/app/auth/template/login.haml
|
89
91
|
- examples/app/blog
|
92
|
+
- examples/app/blog/README
|
90
93
|
- examples/app/blog/controller
|
91
94
|
- examples/app/blog/controller/main.rb
|
92
95
|
- examples/app/blog/model
|
@@ -94,7 +97,6 @@ files:
|
|
94
97
|
- examples/app/blog/public
|
95
98
|
- examples/app/blog/public/styles
|
96
99
|
- examples/app/blog/public/styles/blog.css
|
97
|
-
- examples/app/blog/README
|
98
100
|
- examples/app/blog/spec
|
99
101
|
- examples/app/blog/spec/blog.rb
|
100
102
|
- examples/app/blog/start.rb
|
@@ -120,20 +122,8 @@ files:
|
|
120
122
|
- examples/app/chat/view/layout.xhtml
|
121
123
|
- examples/app/localization
|
122
124
|
- examples/app/localization/start.rb
|
123
|
-
- examples/app/rammit
|
124
|
-
- examples/app/rammit/spec
|
125
|
-
- examples/app/rammit/spec/rammit.rb
|
126
|
-
- examples/app/rammit/src
|
127
|
-
- examples/app/rammit/src/controller
|
128
|
-
- examples/app/rammit/src/controller/main.rb
|
129
|
-
- examples/app/rammit/src/controller/page.rb
|
130
|
-
- examples/app/rammit/src/model.rb
|
131
|
-
- examples/app/rammit/start.rb
|
132
|
-
- examples/app/rammit/template
|
133
|
-
- examples/app/rammit/template/index.xhtml
|
134
|
-
- examples/app/rammit/template/page
|
135
|
-
- examples/app/rammit/template/page/view.xhtml
|
136
125
|
- examples/app/rapaste
|
126
|
+
- examples/app/rapaste/Rakefile
|
137
127
|
- examples/app/rapaste/controller
|
138
128
|
- examples/app/rapaste/controller/paste.rb
|
139
129
|
- examples/app/rapaste/model
|
@@ -164,7 +154,6 @@ files:
|
|
164
154
|
- examples/app/rapaste/public/css/zenburnesque.css
|
165
155
|
- examples/app/rapaste/public/js
|
166
156
|
- examples/app/rapaste/public/js/jquery.js
|
167
|
-
- examples/app/rapaste/Rakefile
|
168
157
|
- examples/app/rapaste/spec
|
169
158
|
- examples/app/rapaste/spec/rapaste.rb
|
170
159
|
- examples/app/rapaste/start.rb
|
@@ -195,12 +184,12 @@ files:
|
|
195
184
|
- examples/app/sourceview/template
|
196
185
|
- examples/app/sourceview/template/index.haml
|
197
186
|
- examples/app/todolist
|
187
|
+
- examples/app/todolist/README
|
198
188
|
- examples/app/todolist/public
|
199
189
|
- examples/app/todolist/public/favicon.ico
|
200
190
|
- examples/app/todolist/public/js
|
201
191
|
- examples/app/todolist/public/js/jquery.js
|
202
192
|
- examples/app/todolist/public/ramaze.png
|
203
|
-
- examples/app/todolist/README
|
204
193
|
- examples/app/todolist/spec
|
205
194
|
- examples/app/todolist/spec/todolist.rb
|
206
195
|
- examples/app/todolist/src
|
@@ -234,6 +223,7 @@ files:
|
|
234
223
|
- examples/app/wikore/template
|
235
224
|
- examples/app/wikore/template/index.xhtml
|
236
225
|
- examples/app/wiktacular
|
226
|
+
- examples/app/wiktacular/README
|
237
227
|
- examples/app/wiktacular/mkd
|
238
228
|
- examples/app/wiktacular/mkd/link
|
239
229
|
- examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd
|
@@ -257,7 +247,6 @@ files:
|
|
257
247
|
- examples/app/wiktacular/public
|
258
248
|
- examples/app/wiktacular/public/favicon.ico
|
259
249
|
- examples/app/wiktacular/public/screen.css
|
260
|
-
- examples/app/wiktacular/README
|
261
250
|
- examples/app/wiktacular/spec
|
262
251
|
- examples/app/wiktacular/spec/wiktacular.rb
|
263
252
|
- examples/app/wiktacular/src
|
@@ -282,6 +271,7 @@ files:
|
|
282
271
|
- examples/helpers/httpdigest.rb
|
283
272
|
- examples/helpers/identity.rb
|
284
273
|
- examples/helpers/nitro_form.rb
|
274
|
+
- examples/helpers/paginate.rb
|
285
275
|
- examples/helpers/provide.rb
|
286
276
|
- examples/helpers/rest.rb
|
287
277
|
- examples/helpers/simple_captcha.rb
|
@@ -321,7 +311,10 @@ files:
|
|
321
311
|
- lib
|
322
312
|
- lib/proto
|
323
313
|
- lib/proto/controller
|
314
|
+
- lib/proto/controller/init.rb
|
324
315
|
- lib/proto/controller/main.rb
|
316
|
+
- lib/proto/model
|
317
|
+
- lib/proto/model/init.rb
|
325
318
|
- lib/proto/public
|
326
319
|
- lib/proto/public/css
|
327
320
|
- lib/proto/public/css/ramaze_error.css
|
@@ -339,10 +332,12 @@ files:
|
|
339
332
|
- lib/proto/view/index.xhtml
|
340
333
|
- lib/proto/view/page.xhtml
|
341
334
|
- lib/ramaze
|
335
|
+
- lib/ramaze.rb
|
342
336
|
- lib/ramaze/action
|
343
|
-
- lib/ramaze/action/render.rb
|
344
337
|
- lib/ramaze/action.rb
|
338
|
+
- lib/ramaze/action/render.rb
|
345
339
|
- lib/ramaze/adapter
|
340
|
+
- lib/ramaze/adapter.rb
|
346
341
|
- lib/ramaze/adapter/base.rb
|
347
342
|
- lib/ramaze/adapter/cgi.rb
|
348
343
|
- lib/ramaze/adapter/ebb.rb
|
@@ -355,56 +350,61 @@ files:
|
|
355
350
|
- lib/ramaze/adapter/swiftiplied_mongrel.rb
|
356
351
|
- lib/ramaze/adapter/thin.rb
|
357
352
|
- lib/ramaze/adapter/webrick.rb
|
358
|
-
- lib/ramaze/adapter.rb
|
359
353
|
- lib/ramaze/cache
|
354
|
+
- lib/ramaze/cache.rb
|
360
355
|
- lib/ramaze/cache/memcached.rb
|
361
356
|
- lib/ramaze/cache/memory.rb
|
362
357
|
- lib/ramaze/cache/yaml_store.rb
|
363
|
-
- lib/ramaze/cache.rb
|
364
358
|
- lib/ramaze/contrib
|
359
|
+
- lib/ramaze/contrib.rb
|
365
360
|
- lib/ramaze/contrib/auto_params
|
366
|
-
- lib/ramaze/contrib/auto_params/get_args.rb
|
367
361
|
- lib/ramaze/contrib/auto_params.rb
|
362
|
+
- lib/ramaze/contrib/auto_params/get_args.rb
|
368
363
|
- lib/ramaze/contrib/email.rb
|
369
364
|
- lib/ramaze/contrib/facebook
|
370
|
-
- lib/ramaze/contrib/facebook/facebook.rb
|
371
365
|
- lib/ramaze/contrib/facebook.rb
|
366
|
+
- lib/ramaze/contrib/facebook/facebook.rb
|
372
367
|
- lib/ramaze/contrib/file_cache.rb
|
373
368
|
- lib/ramaze/contrib/gems.rb
|
374
369
|
- lib/ramaze/contrib/gettext
|
370
|
+
- lib/ramaze/contrib/gettext.rb
|
375
371
|
- lib/ramaze/contrib/gettext/mo.rb
|
376
372
|
- lib/ramaze/contrib/gettext/parser.rb
|
377
373
|
- lib/ramaze/contrib/gettext/po.rb
|
378
|
-
- lib/ramaze/contrib/gettext.rb
|
379
374
|
- lib/ramaze/contrib/gzip_filter.rb
|
375
|
+
- lib/ramaze/contrib/maruku_uv.rb
|
380
376
|
- lib/ramaze/contrib/profiling.rb
|
381
377
|
- lib/ramaze/contrib/rest.rb
|
382
378
|
- lib/ramaze/contrib/sequel
|
379
|
+
- lib/ramaze/contrib/sequel/create_join.rb
|
383
380
|
- lib/ramaze/contrib/sequel/fill.rb
|
381
|
+
- lib/ramaze/contrib/sequel/form_field.rb
|
382
|
+
- lib/ramaze/contrib/sequel/image.rb
|
383
|
+
- lib/ramaze/contrib/sequel/relation.rb
|
384
384
|
- lib/ramaze/contrib/sequel_cache.rb
|
385
|
-
- lib/ramaze/contrib.rb
|
386
385
|
- lib/ramaze/controller
|
386
|
+
- lib/ramaze/controller.rb
|
387
387
|
- lib/ramaze/controller/error.rb
|
388
388
|
- lib/ramaze/controller/main.rb
|
389
389
|
- lib/ramaze/controller/resolve.rb
|
390
|
-
- lib/ramaze/controller.rb
|
391
390
|
- lib/ramaze/current
|
391
|
+
- lib/ramaze/current.rb
|
392
392
|
- lib/ramaze/current/request.rb
|
393
393
|
- lib/ramaze/current/response.rb
|
394
394
|
- lib/ramaze/current/session
|
395
|
+
- lib/ramaze/current/session.rb
|
395
396
|
- lib/ramaze/current/session/flash.rb
|
396
397
|
- lib/ramaze/current/session/hash.rb
|
397
|
-
- lib/ramaze/current/session.rb
|
398
|
-
- lib/ramaze/current.rb
|
399
398
|
- lib/ramaze/dispatcher
|
399
|
+
- lib/ramaze/dispatcher.rb
|
400
400
|
- lib/ramaze/dispatcher/action.rb
|
401
401
|
- lib/ramaze/dispatcher/directory.rb
|
402
402
|
- lib/ramaze/dispatcher/error.rb
|
403
403
|
- lib/ramaze/dispatcher/file.rb
|
404
|
-
- lib/ramaze/dispatcher.rb
|
405
404
|
- lib/ramaze/error.rb
|
406
405
|
- lib/ramaze/gestalt.rb
|
407
406
|
- lib/ramaze/helper
|
407
|
+
- lib/ramaze/helper.rb
|
408
408
|
- lib/ramaze/helper/aspect.rb
|
409
409
|
- lib/ramaze/helper/auth.rb
|
410
410
|
- lib/ramaze/helper/cache.rb
|
@@ -421,6 +421,7 @@ files:
|
|
421
421
|
- lib/ramaze/helper/maruku.rb
|
422
422
|
- lib/ramaze/helper/nitroform.rb
|
423
423
|
- lib/ramaze/helper/pager.rb
|
424
|
+
- lib/ramaze/helper/paginate.rb
|
424
425
|
- lib/ramaze/helper/partial.rb
|
425
426
|
- lib/ramaze/helper/redirect.rb
|
426
427
|
- lib/ramaze/helper/rest.rb
|
@@ -433,8 +434,8 @@ files:
|
|
433
434
|
- lib/ramaze/helper/ultraviolet.rb
|
434
435
|
- lib/ramaze/helper/user.rb
|
435
436
|
- lib/ramaze/helper/xhtml.rb
|
436
|
-
- lib/ramaze/helper.rb
|
437
437
|
- lib/ramaze/log
|
438
|
+
- lib/ramaze/log.rb
|
438
439
|
- lib/ramaze/log/analogger.rb
|
439
440
|
- lib/ramaze/log/growl.rb
|
440
441
|
- lib/ramaze/log/hub.rb
|
@@ -444,16 +445,16 @@ files:
|
|
444
445
|
- lib/ramaze/log/logging.rb
|
445
446
|
- lib/ramaze/log/syslog.rb
|
446
447
|
- lib/ramaze/log/xosd.rb
|
447
|
-
- lib/ramaze/log.rb
|
448
448
|
- lib/ramaze/option
|
449
|
+
- lib/ramaze/option.rb
|
449
450
|
- lib/ramaze/option/dsl.rb
|
450
451
|
- lib/ramaze/option/holder.rb
|
451
452
|
- lib/ramaze/option/merger.rb
|
452
|
-
- lib/ramaze/option.rb
|
453
453
|
- lib/ramaze/reloader.rb
|
454
454
|
- lib/ramaze/route.rb
|
455
455
|
- lib/ramaze/setup.rb
|
456
456
|
- lib/ramaze/snippets
|
457
|
+
- lib/ramaze/snippets.rb
|
457
458
|
- lib/ramaze/snippets/array
|
458
459
|
- lib/ramaze/snippets/array/put_within.rb
|
459
460
|
- lib/ramaze/snippets/binding
|
@@ -463,8 +464,6 @@ files:
|
|
463
464
|
- lib/ramaze/snippets/divide.rb
|
464
465
|
- lib/ramaze/snippets/fiber.rb
|
465
466
|
- lib/ramaze/snippets/kernel
|
466
|
-
- lib/ramaze/snippets/kernel/__dir__.rb
|
467
|
-
- lib/ramaze/snippets/kernel/acquire.rb
|
468
467
|
- lib/ramaze/snippets/kernel/constant.rb
|
469
468
|
- lib/ramaze/snippets/kernel/pretty_inspect.rb
|
470
469
|
- lib/ramaze/snippets/metaid.rb
|
@@ -472,6 +471,8 @@ files:
|
|
472
471
|
- lib/ramaze/snippets/numeric/filesize_format.rb
|
473
472
|
- lib/ramaze/snippets/numeric/time.rb
|
474
473
|
- lib/ramaze/snippets/object
|
474
|
+
- lib/ramaze/snippets/object/__dir__.rb
|
475
|
+
- lib/ramaze/snippets/object/acquire.rb
|
475
476
|
- lib/ramaze/snippets/object/instance_variable_defined.rb
|
476
477
|
- lib/ramaze/snippets/object/pretty.rb
|
477
478
|
- lib/ramaze/snippets/object/scope.rb
|
@@ -485,6 +486,7 @@ files:
|
|
485
486
|
- lib/ramaze/snippets/ramaze/deprecated.rb
|
486
487
|
- lib/ramaze/snippets/ramaze/fiber.rb
|
487
488
|
- lib/ramaze/snippets/ramaze/state.rb
|
489
|
+
- lib/ramaze/snippets/ramaze/struct.rb
|
488
490
|
- lib/ramaze/snippets/string
|
489
491
|
- lib/ramaze/snippets/string/camel_case.rb
|
490
492
|
- lib/ramaze/snippets/string/color.rb
|
@@ -495,17 +497,12 @@ files:
|
|
495
497
|
- lib/ramaze/snippets/string/snake_case.rb
|
496
498
|
- lib/ramaze/snippets/string/start_with.rb
|
497
499
|
- lib/ramaze/snippets/string/unindent.rb
|
498
|
-
- lib/ramaze/snippets/struct
|
499
|
-
- lib/ramaze/snippets/struct/fill.rb
|
500
|
-
- lib/ramaze/snippets/struct/values_at.rb
|
501
|
-
- lib/ramaze/snippets/symbol
|
502
|
-
- lib/ramaze/snippets/symbol/to_proc.rb
|
503
500
|
- lib/ramaze/snippets/thread
|
504
501
|
- lib/ramaze/snippets/thread/into.rb
|
505
|
-
- lib/ramaze/snippets.rb
|
506
|
-
- lib/ramaze/sourcereload.rb
|
507
502
|
- lib/ramaze/spec
|
503
|
+
- lib/ramaze/spec.rb
|
508
504
|
- lib/ramaze/spec/helper
|
505
|
+
- lib/ramaze/spec/helper.rb
|
509
506
|
- lib/ramaze/spec/helper/bacon.rb
|
510
507
|
- lib/ramaze/spec/helper/browser.rb
|
511
508
|
- lib/ramaze/spec/helper/mock_http.rb
|
@@ -513,20 +510,20 @@ files:
|
|
513
510
|
- lib/ramaze/spec/helper/requester.rb
|
514
511
|
- lib/ramaze/spec/helper/simple_http.rb
|
515
512
|
- lib/ramaze/spec/helper/snippets.rb
|
516
|
-
- lib/ramaze/spec/helper.rb
|
517
|
-
- lib/ramaze/spec.rb
|
518
513
|
- lib/ramaze/store
|
519
514
|
- lib/ramaze/store/default.rb
|
520
515
|
- lib/ramaze/template
|
516
|
+
- lib/ramaze/template.rb
|
521
517
|
- lib/ramaze/template/amrita2.rb
|
522
518
|
- lib/ramaze/template/builder.rb
|
523
519
|
- lib/ramaze/template/erubis.rb
|
524
520
|
- lib/ramaze/template/ezamar
|
521
|
+
- lib/ramaze/template/ezamar.rb
|
525
522
|
- lib/ramaze/template/ezamar/element.rb
|
526
523
|
- lib/ramaze/template/ezamar/engine.rb
|
527
524
|
- lib/ramaze/template/ezamar/morpher.rb
|
528
525
|
- lib/ramaze/template/ezamar/render_partial.rb
|
529
|
-
- lib/ramaze/template/ezamar.
|
526
|
+
- lib/ramaze/template/ezamar/textpow.syntax
|
530
527
|
- lib/ramaze/template/haml.rb
|
531
528
|
- lib/ramaze/template/liquid.rb
|
532
529
|
- lib/ramaze/template/markaby.rb
|
@@ -539,18 +536,17 @@ files:
|
|
539
536
|
- lib/ramaze/template/tagz.rb
|
540
537
|
- lib/ramaze/template/tenjin.rb
|
541
538
|
- lib/ramaze/template/xslt.rb
|
542
|
-
- lib/ramaze/template.rb
|
543
539
|
- lib/ramaze/tool
|
540
|
+
- lib/ramaze/tool.rb
|
544
541
|
- lib/ramaze/tool/create.rb
|
545
542
|
- lib/ramaze/tool/daemonize.rb
|
546
543
|
- lib/ramaze/tool/localize.rb
|
547
544
|
- lib/ramaze/tool/mime.rb
|
548
545
|
- lib/ramaze/tool/mime_types.yaml
|
546
|
+
- lib/ramaze/tool/project_creator.rb
|
549
547
|
- lib/ramaze/tool/record.rb
|
550
|
-
- lib/ramaze/tool.rb
|
551
548
|
- lib/ramaze/trinity.rb
|
552
549
|
- lib/ramaze/version.rb
|
553
|
-
- lib/ramaze.rb
|
554
550
|
- lib/vendor
|
555
551
|
- lib/vendor/bacon.rb
|
556
552
|
- rake_tasks
|
@@ -562,9 +558,7 @@ files:
|
|
562
558
|
- rake_tasks/metric.rake
|
563
559
|
- rake_tasks/release.rake
|
564
560
|
- rake_tasks/spec.rake
|
565
|
-
- Rakefile
|
566
561
|
- ramaze.gemspec
|
567
|
-
- README.markdown
|
568
562
|
- spec
|
569
563
|
- spec/contrib
|
570
564
|
- spec/contrib/auto_params.rb
|
@@ -606,13 +600,14 @@ files:
|
|
606
600
|
- spec/ramaze/action/view/sub
|
607
601
|
- spec/ramaze/action/view/sub/sub_wrapper.xhtml
|
608
602
|
- spec/ramaze/adapter
|
603
|
+
- spec/ramaze/adapter.rb
|
609
604
|
- spec/ramaze/adapter/ebb.rb
|
610
605
|
- spec/ramaze/adapter/mongrel.rb
|
611
606
|
- spec/ramaze/adapter/record.rb
|
612
607
|
- spec/ramaze/adapter/webrick.rb
|
613
|
-
- spec/ramaze/adapter.rb
|
614
608
|
- spec/ramaze/cache.rb
|
615
609
|
- spec/ramaze/controller
|
610
|
+
- spec/ramaze/controller.rb
|
616
611
|
- spec/ramaze/controller/actionless_templates.rb
|
617
612
|
- spec/ramaze/controller/resolve.rb
|
618
613
|
- spec/ramaze/controller/subclass.rb
|
@@ -627,18 +622,17 @@ files:
|
|
627
622
|
- spec/ramaze/controller/view/other/greet
|
628
623
|
- spec/ramaze/controller/view/other/greet/other.xhtml
|
629
624
|
- spec/ramaze/controller/view/other_wrapper.xhtml
|
630
|
-
- spec/ramaze/controller.rb
|
631
625
|
- spec/ramaze/current
|
632
626
|
- spec/ramaze/current/request.rb
|
633
627
|
- spec/ramaze/current/session.rb
|
634
628
|
- spec/ramaze/dispatcher
|
629
|
+
- spec/ramaze/dispatcher.rb
|
635
630
|
- spec/ramaze/dispatcher/directory.rb
|
636
631
|
- spec/ramaze/dispatcher/file.rb
|
637
632
|
- spec/ramaze/dispatcher/public
|
638
633
|
- spec/ramaze/dispatcher/public/favicon.ico
|
639
634
|
- spec/ramaze/dispatcher/public/file name.txt
|
640
635
|
- spec/ramaze/dispatcher/public/test_download.css
|
641
|
-
- spec/ramaze/dispatcher.rb
|
642
636
|
- spec/ramaze/element.rb
|
643
637
|
- spec/ramaze/error.rb
|
644
638
|
- spec/ramaze/gestalt.rb
|
@@ -679,30 +673,33 @@ files:
|
|
679
673
|
- spec/ramaze/public/ramaze.png
|
680
674
|
- spec/ramaze/public/test_download.css
|
681
675
|
- spec/ramaze/request
|
676
|
+
- spec/ramaze/request.rb
|
682
677
|
- spec/ramaze/request/ebb.rb
|
683
678
|
- spec/ramaze/request/mongrel.rb
|
684
679
|
- spec/ramaze/request/thin.rb
|
685
680
|
- spec/ramaze/request/webrick.rb
|
686
|
-
- spec/ramaze/request.rb
|
687
681
|
- spec/ramaze/rewrite
|
688
|
-
- spec/ramaze/rewrite/file.css
|
689
682
|
- spec/ramaze/rewrite.rb
|
683
|
+
- spec/ramaze/rewrite/file.css
|
690
684
|
- spec/ramaze/route.rb
|
691
685
|
- spec/ramaze/session.rb
|
692
686
|
- spec/ramaze/store
|
693
687
|
- spec/ramaze/store/default.rb
|
688
|
+
- spec/ramaze/struct.rb
|
694
689
|
- spec/ramaze/template
|
690
|
+
- spec/ramaze/template.rb
|
695
691
|
- spec/ramaze/template/amrita2
|
692
|
+
- spec/ramaze/template/amrita2.rb
|
696
693
|
- spec/ramaze/template/amrita2/external.amrita
|
697
694
|
- spec/ramaze/template/amrita2/sum.amrita
|
698
|
-
- spec/ramaze/template/amrita2.rb
|
699
695
|
- spec/ramaze/template/builder
|
700
|
-
- spec/ramaze/template/builder/external.rxml
|
701
696
|
- spec/ramaze/template/builder.rb
|
697
|
+
- spec/ramaze/template/builder/external.rxml
|
702
698
|
- spec/ramaze/template/erubis
|
703
|
-
- spec/ramaze/template/erubis/sum.rhtml
|
704
699
|
- spec/ramaze/template/erubis.rb
|
700
|
+
- spec/ramaze/template/erubis/sum.rhtml
|
705
701
|
- spec/ramaze/template/ezamar
|
702
|
+
- spec/ramaze/template/ezamar.rb
|
706
703
|
- spec/ramaze/template/ezamar/another
|
707
704
|
- spec/ramaze/template/ezamar/another/long
|
708
705
|
- spec/ramaze/template/ezamar/another/long/action.zmr
|
@@ -713,21 +710,21 @@ files:
|
|
713
710
|
- spec/ramaze/template/ezamar/other__index.xhtml
|
714
711
|
- spec/ramaze/template/ezamar/some__long__action.zmr
|
715
712
|
- spec/ramaze/template/ezamar/sum.zmr
|
716
|
-
- spec/ramaze/template/ezamar.rb
|
717
713
|
- spec/ramaze/template/haml
|
714
|
+
- spec/ramaze/template/haml.rb
|
718
715
|
- spec/ramaze/template/haml/index.haml
|
719
716
|
- spec/ramaze/template/haml/locals.haml
|
720
717
|
- spec/ramaze/template/haml/with_vars.haml
|
721
|
-
- spec/ramaze/template/haml.rb
|
722
718
|
- spec/ramaze/template/liquid
|
719
|
+
- spec/ramaze/template/liquid.rb
|
723
720
|
- spec/ramaze/template/liquid/index.liquid
|
724
721
|
- spec/ramaze/template/liquid/products.liquid
|
725
|
-
- spec/ramaze/template/liquid.rb
|
726
722
|
- spec/ramaze/template/markaby
|
723
|
+
- spec/ramaze/template/markaby.rb
|
727
724
|
- spec/ramaze/template/markaby/external.mab
|
728
725
|
- spec/ramaze/template/markaby/sum.mab
|
729
|
-
- spec/ramaze/template/markaby.rb
|
730
726
|
- spec/ramaze/template/nagoro
|
727
|
+
- spec/ramaze/template/nagoro.rb
|
731
728
|
- spec/ramaze/template/nagoro/another
|
732
729
|
- spec/ramaze/template/nagoro/another/long
|
733
730
|
- spec/ramaze/template/nagoro/another/long/action.nag
|
@@ -737,33 +734,31 @@ files:
|
|
737
734
|
- spec/ramaze/template/nagoro/nested.nag
|
738
735
|
- spec/ramaze/template/nagoro/some__long__action.nag
|
739
736
|
- spec/ramaze/template/nagoro/sum.nag
|
740
|
-
- spec/ramaze/template/nagoro.rb
|
741
737
|
- spec/ramaze/template/ramaze
|
742
738
|
- spec/ramaze/template/ramaze/external.test
|
743
739
|
- spec/ramaze/template/redcloth
|
744
|
-
- spec/ramaze/template/redcloth/external.redcloth
|
745
740
|
- spec/ramaze/template/redcloth.rb
|
741
|
+
- spec/ramaze/template/redcloth/external.redcloth
|
746
742
|
- spec/ramaze/template/remarkably
|
743
|
+
- spec/ramaze/template/remarkably.rb
|
747
744
|
- spec/ramaze/template/remarkably/external.rem
|
748
745
|
- spec/ramaze/template/remarkably/sum.rem
|
749
|
-
- spec/ramaze/template/remarkably.rb
|
750
746
|
- spec/ramaze/template/sass
|
751
|
-
- spec/ramaze/template/sass/file.css.sass
|
752
747
|
- spec/ramaze/template/sass.rb
|
748
|
+
- spec/ramaze/template/sass/file.css.sass
|
753
749
|
- spec/ramaze/template/tagz
|
750
|
+
- spec/ramaze/template/tagz.rb
|
754
751
|
- spec/ramaze/template/tagz/external.tagz
|
755
752
|
- spec/ramaze/template/tagz/sum.tagz
|
756
|
-
- spec/ramaze/template/tagz.rb
|
757
753
|
- spec/ramaze/template/tenjin
|
758
|
-
- spec/ramaze/template/tenjin/external.tenjin
|
759
754
|
- spec/ramaze/template/tenjin.rb
|
755
|
+
- spec/ramaze/template/tenjin/external.tenjin
|
760
756
|
- spec/ramaze/template/xslt
|
757
|
+
- spec/ramaze/template/xslt.rb
|
761
758
|
- spec/ramaze/template/xslt/concat_words.xsl
|
762
759
|
- spec/ramaze/template/xslt/index.xsl
|
763
760
|
- spec/ramaze/template/xslt/products.xsl
|
764
761
|
- spec/ramaze/template/xslt/ruby_version.xsl
|
765
|
-
- spec/ramaze/template/xslt.rb
|
766
|
-
- spec/ramaze/template.rb
|
767
762
|
- spec/snippets
|
768
763
|
- spec/snippets/array
|
769
764
|
- spec/snippets/array/put_within.rb
|
@@ -771,12 +766,13 @@ files:
|
|
771
766
|
- spec/snippets/binding/locals.rb
|
772
767
|
- spec/snippets/divide.rb
|
773
768
|
- spec/snippets/kernel
|
774
|
-
- spec/snippets/kernel/__dir__.rb
|
775
|
-
- spec/snippets/kernel/acquire.rb
|
776
769
|
- spec/snippets/kernel/constant.rb
|
777
770
|
- spec/snippets/numeric
|
778
771
|
- spec/snippets/numeric/filesize_format.rb
|
779
772
|
- spec/snippets/numeric/time.rb
|
773
|
+
- spec/snippets/object
|
774
|
+
- spec/snippets/object/__dir__.rb
|
775
|
+
- spec/snippets/object/acquire.rb
|
780
776
|
- spec/snippets/ordered_set.rb
|
781
777
|
- spec/snippets/ramaze
|
782
778
|
- spec/snippets/ramaze/caller_info.rb
|
@@ -786,11 +782,6 @@ files:
|
|
786
782
|
- spec/snippets/string/color.rb
|
787
783
|
- spec/snippets/string/snake_case.rb
|
788
784
|
- spec/snippets/string/unindent.rb
|
789
|
-
- spec/snippets/struct
|
790
|
-
- spec/snippets/struct/fill.rb
|
791
|
-
- spec/snippets/struct/values_at.rb
|
792
|
-
- spec/snippets/symbol
|
793
|
-
- spec/snippets/symbol/to_proc.rb
|
794
785
|
- spec/snippets/thread
|
795
786
|
- spec/snippets/thread/into.rb
|
796
787
|
has_rdoc: true
|