ramaze 2009.06.12 → 2009.07
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.
- data/MANIFEST +10 -0
- data/README.md +4 -9
- data/Rakefile +30 -21
- data/doc/AUTHORS +1 -1
- data/doc/CHANGELOG +144 -0
- data/doc/meta/announcement.txt +47 -76
- data/examples/misc/css.rb +6 -12
- data/lib/proto/app.rb +4 -5
- data/lib/proto/controller/init.rb +1 -1
- data/lib/proto/spec/main.rb +3 -4
- data/lib/ramaze.rb +0 -2
- data/lib/ramaze/app.rb +4 -3
- data/lib/ramaze/cache.rb +1 -0
- data/lib/ramaze/cache/lru.rb +42 -0
- data/lib/ramaze/contrib/addressable_route.rb +10 -9
- data/lib/ramaze/controller.rb +1 -3
- data/lib/ramaze/helper/blue_form.rb +214 -0
- data/lib/ramaze/helper/cache.rb +44 -9
- data/lib/ramaze/helper/formatting.rb +5 -2
- data/lib/ramaze/helper/layout.rb +2 -2
- data/lib/ramaze/helper/paginate.rb +28 -33
- data/lib/ramaze/request.rb +1 -1
- data/lib/ramaze/snippets/ramaze/lru_hash.rb +248 -0
- data/lib/ramaze/spec/bacon.rb +5 -0
- data/lib/ramaze/spec/helper/template_examples.rb +4 -1
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze/view.rb +4 -3
- data/lib/ramaze/view/less.rb +12 -0
- data/ramaze.gemspec +27 -24
- data/spec/contrib/addressable_route.rb +3 -5
- data/spec/contrib/rest.rb +1 -1
- data/spec/examples/caching.rb +2 -2
- data/spec/examples/css.rb +2 -2
- data/spec/examples/element.rb +2 -2
- data/spec/examples/hello.rb +2 -2
- data/spec/examples/helpers/httpdigest.rb +2 -2
- data/spec/examples/linking.rb +2 -2
- data/spec/examples/simple.rb +2 -2
- data/spec/examples/templates/template_erubis.rb +5 -2
- data/spec/examples/templates/template_ezamar.rb +5 -2
- data/spec/examples/templates/template_haml.rb +5 -2
- data/spec/examples/templates/template_liquid.rb +5 -2
- data/spec/examples/templates/template_markaby.rb +5 -2
- data/spec/examples/templates/template_nagoro.rb +5 -2
- data/spec/examples/templates/template_redcloth.rb +5 -2
- data/spec/examples/templates/template_remarkably.rb +5 -2
- data/spec/examples/templates/template_tenjin.rb +5 -2
- data/spec/ramaze/action/render.rb +4 -1
- data/spec/ramaze/app.rb +4 -1
- data/spec/ramaze/app/location.rb +43 -0
- data/spec/ramaze/bin/ramaze.rb +7 -2
- data/spec/ramaze/cache/localmemcache.rb +1 -1
- data/spec/ramaze/cache/lru.rb +48 -0
- data/spec/ramaze/cache/memcache.rb +1 -1
- data/spec/ramaze/cache/sequel.rb +1 -1
- data/spec/ramaze/controller/actionless_templates.rb +1 -1
- data/spec/ramaze/controller/lonely_mapping.rb +3 -1
- data/spec/ramaze/controller/mapping.rb +4 -1
- data/spec/ramaze/controller/provide_inheritance.rb +4 -1
- data/spec/ramaze/controller/resolve.rb +1 -1
- data/spec/ramaze/controller/subclass.rb +1 -1
- data/spec/ramaze/controller/template_resolving.rb +1 -1
- data/spec/ramaze/dispatcher/directory.rb +4 -1
- data/spec/ramaze/dispatcher/file.rb +8 -8
- data/spec/ramaze/error.rb +1 -1
- data/spec/ramaze/files.rb +4 -1
- data/spec/ramaze/gestalt.rb +4 -1
- data/spec/ramaze/helper/auth.rb +1 -1
- data/spec/ramaze/helper/bench.rb +4 -1
- data/spec/ramaze/helper/blue_form.rb +433 -0
- data/spec/ramaze/helper/cache.rb +2 -2
- data/spec/ramaze/helper/flash.rb +1 -1
- data/spec/ramaze/helper/form.rb +4 -1
- data/spec/ramaze/helper/formatting.rb +4 -1
- data/spec/ramaze/helper/gestalt.rb +4 -1
- data/spec/ramaze/helper/gravatar.rb +4 -1
- data/spec/ramaze/helper/httpdigest.rb +4 -1
- data/spec/ramaze/helper/layout.rb +1 -1
- data/spec/ramaze/helper/link.rb +1 -1
- data/spec/ramaze/helper/localize.rb +4 -1
- data/spec/ramaze/helper/maruku.rb +4 -1
- data/spec/ramaze/helper/pager.rb +1 -1
- data/spec/ramaze/helper/paginate.rb +4 -1
- data/spec/ramaze/helper/request_accessor.rb +4 -1
- data/spec/ramaze/helper/sequel_form.rb +4 -1
- data/spec/ramaze/helper/simple_captcha.rb +1 -1
- data/spec/ramaze/helper/stack.rb +1 -1
- data/spec/ramaze/helper/user.rb +4 -1
- data/spec/ramaze/helper/xhtml.rb +4 -1
- data/spec/ramaze/log/informer.rb +1 -1
- data/spec/ramaze/log/logging.rb +4 -1
- data/spec/ramaze/log/syslog.rb +6 -6
- data/spec/ramaze/params.rb +1 -1
- data/spec/ramaze/request.rb +4 -1
- data/spec/ramaze/session/memcache.rb +1 -1
- data/spec/ramaze/struct.rb +4 -1
- data/spec/ramaze/view.rb +1 -1
- data/spec/ramaze/view/erubis.rb +1 -1
- data/spec/ramaze/view/ezamar.rb +1 -1
- data/spec/ramaze/view/gestalt.rb +2 -2
- data/spec/ramaze/view/haml.rb +1 -1
- data/spec/ramaze/view/less.rb +60 -0
- data/spec/ramaze/view/less/file.css.less +8 -0
- data/spec/ramaze/view/liquid.rb +1 -1
- data/spec/ramaze/view/nagoro.rb +1 -1
- data/spec/ramaze/view/redcloth.rb +1 -1
- data/spec/ramaze/view/remarkably.rb +1 -1
- data/spec/ramaze/view/sass.rb +1 -1
- data/spec/ramaze/view/tagz.rb +1 -1
- data/spec/ramaze/view/tenjin.rb +1 -1
- data/spec/snippets/array/put_within.rb +30 -25
- data/spec/snippets/binding/locals.rb +4 -1
- data/spec/snippets/numeric/filesize_format.rb +4 -1
- data/spec/snippets/numeric/time.rb +5 -2
- data/spec/snippets/object/__dir__.rb +4 -1
- data/spec/snippets/ordered_set.rb +4 -1
- data/spec/snippets/ramaze/acquire.rb +4 -1
- data/spec/snippets/ramaze/dictionary.rb +4 -1
- data/spec/snippets/ramaze/lru_hash.rb +88 -0
- data/spec/snippets/ramaze/struct.rb +4 -1
- data/spec/snippets/string/camel_case.rb +4 -1
- data/spec/snippets/string/color.rb +4 -1
- data/spec/snippets/string/snake_case.rb +4 -1
- data/spec/snippets/string/unindent.rb +4 -1
- data/spec/snippets/thread/into.rb +4 -1
- data/tasks/bacon.rake +8 -2
- data/tasks/gem_setup.rake +21 -8
- data/tasks/setup.rake +8 -2
- metadata +29 -9
data/MANIFEST
CHANGED
|
@@ -209,6 +209,7 @@ lib/ramaze.rb
|
|
|
209
209
|
lib/ramaze/app.rb
|
|
210
210
|
lib/ramaze/cache.rb
|
|
211
211
|
lib/ramaze/cache/localmemcache.rb
|
|
212
|
+
lib/ramaze/cache/lru.rb
|
|
212
213
|
lib/ramaze/cache/memcache.rb
|
|
213
214
|
lib/ramaze/cache/sequel.rb
|
|
214
215
|
lib/ramaze/contrib/addressable_route.rb
|
|
@@ -236,6 +237,7 @@ lib/ramaze/gestalt.rb
|
|
|
236
237
|
lib/ramaze/helper.rb
|
|
237
238
|
lib/ramaze/helper/auth.rb
|
|
238
239
|
lib/ramaze/helper/bench.rb
|
|
240
|
+
lib/ramaze/helper/blue_form.rb
|
|
239
241
|
lib/ramaze/helper/cache.rb
|
|
240
242
|
lib/ramaze/helper/disqus.rb
|
|
241
243
|
lib/ramaze/helper/flash.rb
|
|
@@ -303,6 +305,7 @@ lib/ramaze/snippets/ramaze/acquire.rb
|
|
|
303
305
|
lib/ramaze/snippets/ramaze/deprecated.rb
|
|
304
306
|
lib/ramaze/snippets/ramaze/dictionary.rb
|
|
305
307
|
lib/ramaze/snippets/ramaze/fiber.rb
|
|
308
|
+
lib/ramaze/snippets/ramaze/lru_hash.rb
|
|
306
309
|
lib/ramaze/snippets/ramaze/struct.rb
|
|
307
310
|
lib/ramaze/snippets/string/camel_case.rb
|
|
308
311
|
lib/ramaze/snippets/string/color.rb
|
|
@@ -328,6 +331,7 @@ lib/ramaze/view/erubis.rb
|
|
|
328
331
|
lib/ramaze/view/ezamar.rb
|
|
329
332
|
lib/ramaze/view/gestalt.rb
|
|
330
333
|
lib/ramaze/view/haml.rb
|
|
334
|
+
lib/ramaze/view/less.rb
|
|
331
335
|
lib/ramaze/view/liquid.rb
|
|
332
336
|
lib/ramaze/view/maruku.rb
|
|
333
337
|
lib/ramaze/view/nagoro.rb
|
|
@@ -368,8 +372,10 @@ spec/ramaze/action/view/single_wrapper.xhtml
|
|
|
368
372
|
spec/ramaze/action/view/sub/sub_wrapper.erb
|
|
369
373
|
spec/ramaze/action/view/sub/sub_wrapper.xhtml
|
|
370
374
|
spec/ramaze/app.rb
|
|
375
|
+
spec/ramaze/app/location.rb
|
|
371
376
|
spec/ramaze/bin/ramaze.rb
|
|
372
377
|
spec/ramaze/cache/localmemcache.rb
|
|
378
|
+
spec/ramaze/cache/lru.rb
|
|
373
379
|
spec/ramaze/cache/memcache.rb
|
|
374
380
|
spec/ramaze/cache/sequel.rb
|
|
375
381
|
spec/ramaze/controller/actionless_templates.rb
|
|
@@ -397,6 +403,7 @@ spec/ramaze/files/public_2/rich.txt
|
|
|
397
403
|
spec/ramaze/gestalt.rb
|
|
398
404
|
spec/ramaze/helper/auth.rb
|
|
399
405
|
spec/ramaze/helper/bench.rb
|
|
406
|
+
spec/ramaze/helper/blue_form.rb
|
|
400
407
|
spec/ramaze/helper/cache.rb
|
|
401
408
|
spec/ramaze/helper/flash.rb
|
|
402
409
|
spec/ramaze/helper/form.rb
|
|
@@ -449,6 +456,8 @@ spec/ramaze/view/gestalt/external.ges
|
|
|
449
456
|
spec/ramaze/view/haml.rb
|
|
450
457
|
spec/ramaze/view/haml/external.haml
|
|
451
458
|
spec/ramaze/view/haml/sum.haml
|
|
459
|
+
spec/ramaze/view/less.rb
|
|
460
|
+
spec/ramaze/view/less/file.css.less
|
|
452
461
|
spec/ramaze/view/liquid.rb
|
|
453
462
|
spec/ramaze/view/liquid/external.liquid
|
|
454
463
|
spec/ramaze/view/liquid/sum.liquid
|
|
@@ -476,6 +485,7 @@ spec/snippets/object/__dir__.rb
|
|
|
476
485
|
spec/snippets/ordered_set.rb
|
|
477
486
|
spec/snippets/ramaze/acquire.rb
|
|
478
487
|
spec/snippets/ramaze/dictionary.rb
|
|
488
|
+
spec/snippets/ramaze/lru_hash.rb
|
|
479
489
|
spec/snippets/ramaze/struct.rb
|
|
480
490
|
spec/snippets/string/camel_case.rb
|
|
481
491
|
spec/snippets/string/color.rb
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ give you the ultimate tools, but you have to use them yourself to achieve
|
|
|
13
13
|
perfect custom-tailored results.
|
|
14
14
|
|
|
15
15
|
Another one of the goals during development of Ramaze was to make every part as
|
|
16
|
-
modular and therefor
|
|
16
|
+
modular and therefor reusable as possible, not only to provide a basic
|
|
17
17
|
understanding after the first glance, but also to make it as simple as possible
|
|
18
18
|
to reuse parts of the code.
|
|
19
19
|
|
|
@@ -136,11 +136,6 @@ Ramaze offers following features at the moment:
|
|
|
136
136
|
|
|
137
137
|
Wrapping the functionality of Ramazes logging facilities.
|
|
138
138
|
|
|
139
|
-
* Markaby
|
|
140
|
-
|
|
141
|
-
Allows you to use Markaby in your Controller without having it as the
|
|
142
|
-
default templating engine.
|
|
143
|
-
|
|
144
139
|
* Nitroform
|
|
145
140
|
|
|
146
141
|
Hooks up on nitros form builder to help you creating forms from Og
|
|
@@ -241,7 +236,7 @@ There are some basic principles that Ramaze tries to follow:
|
|
|
241
236
|
|
|
242
237
|
$ gem install ramaze
|
|
243
238
|
|
|
244
|
-
Versions are made as we see fit and get an
|
|
239
|
+
Versions are made as we see fit and get an announcement out (usually that's
|
|
245
240
|
the major obstacle as there is a lot to announce).
|
|
246
241
|
|
|
247
242
|
If you want to install the nightly gem of Ramaze you can do this with:
|
|
@@ -279,7 +274,7 @@ There are some basic principles that Ramaze tries to follow:
|
|
|
279
274
|
|
|
280
275
|
$ export RUBYLIB="$HOME/ruby/ramaze/lib:$HOME/.site_ruby:$HOME/ruby/bacon/lib"
|
|
281
276
|
|
|
282
|
-
* use `require 'ramaze'`
|
|
277
|
+
* use `require 'ramaze'` system wide from everywhere
|
|
283
278
|
|
|
284
279
|
add a file to your `site_ruby` directory named 'ramaze.rb'
|
|
285
280
|
the content should be: `require '/path/to/git/repo/ramaze/lib/ramaze'`
|
|
@@ -401,7 +396,7 @@ For help you can:
|
|
|
401
396
|
|
|
402
397
|
# And thanks to...
|
|
403
398
|
|
|
404
|
-
There is a large number of people who made Ramaze
|
|
399
|
+
There is a large number of people who made Ramaze possible by their ongoing
|
|
405
400
|
efforts in the world of open source and by encouraging and helping me.
|
|
406
401
|
|
|
407
402
|
This list is by no means a full listing of all these people, but I try to
|
data/Rakefile
CHANGED
|
@@ -20,8 +20,28 @@ PROJECT_COPYRIGHT = [
|
|
|
20
20
|
"# All files in this distribution are subject to the terms of the Ruby license."
|
|
21
21
|
]
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
DEPENDENCIES = {
|
|
24
|
+
'innate' => {:version => '= 2009.07'},
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
DEVELOPMENT_DEPENDENCIES = {
|
|
28
|
+
'Remarkably' => {:version => '~> 0.5.2', :lib => 'remarkably'},
|
|
29
|
+
'bacon' => {:version => '>= 1.1.0'},
|
|
30
|
+
'erubis' => {:version => '>= 2.6.4'},
|
|
31
|
+
'ezamar' => {:version => '>= 2009.06'},
|
|
32
|
+
'haml' => {:version => '~> 2.2.1'},
|
|
33
|
+
'hpricot' => {:version => '>= 0.8.1'},
|
|
34
|
+
'json' => {:version => '>= 1.1.7'},
|
|
35
|
+
'liquid' => {:version => '~> 2.0.0'},
|
|
36
|
+
'localmemcache' => {:version => '~> 0.4.1'},
|
|
37
|
+
'memcache-client' => {:version => '~> 1.7.4', :lib => 'memcache'},
|
|
38
|
+
'nagoro' => {:version => '>= 2009.05'},
|
|
39
|
+
'rack-test' => {:version => '>= 0.4.0', :lib => 'rack/test'},
|
|
40
|
+
'rack-contrib' => {:version => '>= 0.9.2', :lib => 'rack/contrib'},
|
|
41
|
+
'sequel' => {:version => '= 3.2.0'},
|
|
42
|
+
'tagz' => {:version => '>= 5.0.1'},
|
|
43
|
+
'tenjin' => {:version => '~> 0.6.1'},
|
|
44
|
+
}
|
|
25
45
|
|
|
26
46
|
GEMSPEC = Gem::Specification.new{|s|
|
|
27
47
|
s.name = 'ramaze'
|
|
@@ -40,25 +60,6 @@ GEMSPEC = Gem::Specification.new{|s|
|
|
|
40
60
|
s.rubyforge_project = "ramaze"
|
|
41
61
|
s.required_rubygems_version = '>= 1.3.1'
|
|
42
62
|
|
|
43
|
-
s.add_dependency('innate', '= 2009.06.12')
|
|
44
|
-
|
|
45
|
-
# rip those out if they cause you trouble
|
|
46
|
-
s.add_development_dependency('Remarkably', '~> 0.5.2')
|
|
47
|
-
s.add_development_dependency('bacon', '>= 1.1.0')
|
|
48
|
-
s.add_development_dependency('erubis', '>= 2.6.4')
|
|
49
|
-
s.add_development_dependency('ezamar', '>= 2009.06')
|
|
50
|
-
s.add_development_dependency('haml', '~> 2.0.9')
|
|
51
|
-
s.add_development_dependency('hpricot', '>= 0.8.1')
|
|
52
|
-
s.add_development_dependency('json', '>= 1.1.6')
|
|
53
|
-
s.add_development_dependency('liquid', '~> 2.0.0')
|
|
54
|
-
s.add_development_dependency('localmemcache', '~> 0.4.0')
|
|
55
|
-
s.add_development_dependency('memcache-client', '~> 1.7.2')
|
|
56
|
-
s.add_development_dependency('nagoro', '>= 2009.05')
|
|
57
|
-
s.add_development_dependency('rack-test', '>= 0.3.0')
|
|
58
|
-
s.add_development_dependency('sequel', '= 3.1.0')
|
|
59
|
-
s.add_development_dependency('tagz', '>= 5.0.1')
|
|
60
|
-
s.add_development_dependency('tenjin', '~> 0.6.1')
|
|
61
|
-
|
|
62
63
|
s.post_install_message = <<MESSAGE.strip
|
|
63
64
|
============================================================
|
|
64
65
|
|
|
@@ -70,6 +71,14 @@ You can now do create a new project:
|
|
|
70
71
|
MESSAGE
|
|
71
72
|
}
|
|
72
73
|
|
|
74
|
+
DEPENDENCIES.each do |name, options|
|
|
75
|
+
GEMSPEC.add_dependency(name, options[:version])
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
DEVELOPMENT_DEPENDENCIES.each do |name, options|
|
|
79
|
+
GEMSPEC.add_development_dependency(name, options[:version])
|
|
80
|
+
end
|
|
81
|
+
|
|
73
82
|
Dir['tasks/*.rake'].each{|f| import(f) }
|
|
74
83
|
|
|
75
84
|
task :default => [:bacon]
|
data/doc/AUTHORS
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Following persons have contributed to ramaze.
|
|
2
2
|
(Sorted by number of submitted patches, then alphabetically)
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
2641 Michael Fellinger <m.fellinger@gmail.com>
|
|
5
5
|
216 Aman Gupta <aman@ramaze.net>
|
|
6
6
|
87 Jonathan Buch <john@oxyliquit.de>
|
|
7
7
|
75 Pistos <gitsomegrace.5.pistos@geoshell.com>
|
data/doc/CHANGELOG
CHANGED
|
@@ -1,3 +1,147 @@
|
|
|
1
|
+
[d0267ff | Fri Jul 24 18:56:44 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
2
|
+
|
|
3
|
+
* Version 2009.07
|
|
4
|
+
|
|
5
|
+
[e802979 | Sun Jul 19 03:16:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
6
|
+
|
|
7
|
+
* Update versions for Rakefile
|
|
8
|
+
|
|
9
|
+
[311b372 | Sun Jul 19 01:39:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
10
|
+
|
|
11
|
+
* Fix marshal size for 1.8
|
|
12
|
+
|
|
13
|
+
[42516be | Fri Jul 17 10:02:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
14
|
+
|
|
15
|
+
* Raise correct exception depending on existence of KeyError
|
|
16
|
+
|
|
17
|
+
[90d49ee | Fri Jul 17 09:40:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
18
|
+
|
|
19
|
+
* Fix some more 1.8 incompatibilities
|
|
20
|
+
|
|
21
|
+
[5121688 | Fri Jul 17 09:21:25 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
22
|
+
|
|
23
|
+
* Don't require nokogiri
|
|
24
|
+
|
|
25
|
+
[17c4aa6 | Fri Jul 17 09:21:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
26
|
+
|
|
27
|
+
* Forgot using 1.8 syntax
|
|
28
|
+
|
|
29
|
+
[9fd07cb | Fri Jul 17 09:16:29 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
30
|
+
|
|
31
|
+
* Try to make the blue_form spec nicer
|
|
32
|
+
|
|
33
|
+
[6bb2c79 | Fri Jul 17 09:07:45 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
34
|
+
|
|
35
|
+
* Fix syntax error in LRU cache
|
|
36
|
+
|
|
37
|
+
[2cc4309 | Fri Jul 17 08:09:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
38
|
+
|
|
39
|
+
* Adding Helper::BlueForm and spec
|
|
40
|
+
|
|
41
|
+
[cd77929 | Fri Jul 17 07:59:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
42
|
+
|
|
43
|
+
* Adding LRU cache
|
|
44
|
+
|
|
45
|
+
[252dda0 | Thu Jul 16 03:04:47 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
46
|
+
|
|
47
|
+
* Rely on Gestalt to make proper markup for paginate
|
|
48
|
+
|
|
49
|
+
[fe6c09f | Tue Jul 14 07:01:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
50
|
+
|
|
51
|
+
* Fix Request#to_instance_variables
|
|
52
|
+
|
|
53
|
+
[b8d016b | Thu Jul 02 12:28:05 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
54
|
+
|
|
55
|
+
* Increase the time we wait for the cache ttl to expire
|
|
56
|
+
|
|
57
|
+
[eb63517 | Thu Jul 02 12:20:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
58
|
+
|
|
59
|
+
* Recognize Spec precondition and Spec require in bacon task
|
|
60
|
+
|
|
61
|
+
[552ae84 | Thu Jul 02 11:48:04 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
62
|
+
|
|
63
|
+
* Add the ramaze/lib directory to -I on bacon task
|
|
64
|
+
|
|
65
|
+
[0333e52 | Thu Jul 02 11:34:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
66
|
+
|
|
67
|
+
* Clean up the spec middleware mess, it's _always_ m.run(Ramaze::AppMap)
|
|
68
|
+
|
|
69
|
+
[02a7c0b | Thu Jul 02 10:43:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
70
|
+
|
|
71
|
+
* Add missing rack-contrib development dependency
|
|
72
|
+
|
|
73
|
+
[5d14456 | Thu Jul 02 10:35:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
74
|
+
|
|
75
|
+
* Now even obfuscate_mail should work on 1.8 again
|
|
76
|
+
|
|
77
|
+
[6547065 | Thu Jul 02 10:13:22 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
78
|
+
|
|
79
|
+
* Layout helper asks for #to_hash, so it should use it. Also don't rely on Enumerable#first, not in 1.8.6
|
|
80
|
+
|
|
81
|
+
[21e47bb | Thu Jul 02 10:12:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
82
|
+
|
|
83
|
+
* Don't rely on order in less spec
|
|
84
|
+
|
|
85
|
+
[1389dd8 | Thu Jul 02 09:28:12 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
86
|
+
|
|
87
|
+
* Improve gem_setup task
|
|
88
|
+
|
|
89
|
+
[dd9d838 | Thu Jul 02 07:02:57 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
90
|
+
|
|
91
|
+
* Update announcement
|
|
92
|
+
|
|
93
|
+
[158ae0f | Tue Jun 30 10:50:13 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
94
|
+
|
|
95
|
+
* Let the bacon task pass -I with the root directory
|
|
96
|
+
|
|
97
|
+
[4747ef4 | Tue Jun 30 10:49:34 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
98
|
+
|
|
99
|
+
* Fix the require path for bin/ramaze spec
|
|
100
|
+
|
|
101
|
+
[1667e7f | Tue Jun 30 10:48:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
102
|
+
|
|
103
|
+
* Refactor AddressableRoute, use instance variable instead of constant
|
|
104
|
+
|
|
105
|
+
[a41c4ac | Tue Jun 30 10:47:22 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
106
|
+
|
|
107
|
+
* Fix annoying behaviour when '/' location is assigned to an app earlier loaded, apps after it would overwrite the location. Now only :pristine uses it by default
|
|
108
|
+
|
|
109
|
+
[2e7a643 | Tue Jun 30 10:45:44 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
110
|
+
|
|
111
|
+
* Remove ContentLength middleware from default stacks, all Rack handlers do that already
|
|
112
|
+
|
|
113
|
+
[cfef249 | Tue Jun 30 10:45:19 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
114
|
+
|
|
115
|
+
* Fix the misc/css example
|
|
116
|
+
|
|
117
|
+
[4dcc77d | Tue Jun 30 10:43:50 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
118
|
+
|
|
119
|
+
* Use absolute path when spec requires spec/helper, '.' will be removed from the load path in 1.9.2
|
|
120
|
+
|
|
121
|
+
[03bd5bb | Sun Jun 28 05:43:57 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
122
|
+
|
|
123
|
+
* Remove deprecated cache method, add basic doc for cache_action
|
|
124
|
+
|
|
125
|
+
[b2ae4dd | Thu Jun 25 11:18:58 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
126
|
+
|
|
127
|
+
* Improve the cache_value method of the cache helper, rename the cache used to cache_helper_value, and add some docs describing the new behaviour
|
|
128
|
+
|
|
129
|
+
[0a4cbaf | Thu Jun 18 04:14:26 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
130
|
+
|
|
131
|
+
* Remove cruft from less
|
|
132
|
+
|
|
133
|
+
[de61a32 | Thu Jun 18 04:09:15 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
134
|
+
|
|
135
|
+
* Add support for the less css templating engine
|
|
136
|
+
|
|
137
|
+
[529681e | Thu Jun 18 04:08:18 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
138
|
+
|
|
139
|
+
* Fix some spelling mistakes in the readme
|
|
140
|
+
|
|
141
|
+
[f90b76e | Sat Jun 13 12:22:10 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
142
|
+
|
|
143
|
+
* The spec mode was flawed, fix it and give proto better defaults
|
|
144
|
+
|
|
1
145
|
[3aa5bfb | Fri Jun 12 12:54:51 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
|
|
2
146
|
|
|
3
147
|
* Version 2009.06.12
|
data/doc/meta/announcement.txt
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
The Ramaze development team is happy to announce version 2009.
|
|
1
|
+
The Ramaze development team is happy to announce version 2009.07 of Ramaze, the
|
|
2
2
|
light and modular open source web framework that tries to stay out of your way.
|
|
3
3
|
|
|
4
|
-
This release
|
|
5
|
-
really greatful for everybody who helped in testing, patching and contributing
|
|
6
|
-
exciting new features.
|
|
4
|
+
This release contains mostly bug fixes and compatibility improvements.
|
|
7
5
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
and
|
|
6
|
+
Also, thanks to the work of Jeremy Evans, Scaffolding Extensions works with the
|
|
7
|
+
current version of Ramaze again, giving you a powerful and simple way to
|
|
8
|
+
provide CRUD and admin interfaces for Sequel and ActiveRecord.
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
I also would like to take this opportunity to ask for volunteers that are
|
|
11
|
+
running on Windows, we are currently working on a major overhaul of the ramaze
|
|
12
|
+
executable and would like to make sure it behaves correctly.
|
|
13
|
+
If you are interested, check out the modular-bin branch and report any issues
|
|
14
|
+
on the bug tracker or hang out on IRC.
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
== Metadata
|
|
@@ -19,6 +20,7 @@ Home page: http://ramaze.net
|
|
|
19
20
|
Wiki: http://wiki.ramaze.net
|
|
20
21
|
|
|
21
22
|
Repository: http://github.com/manveru/ramaze
|
|
23
|
+
Bug tracker: http://github.com/manveru/ramaze/issues
|
|
22
24
|
|
|
23
25
|
Git clone: git://github.com/manveru/ramaze
|
|
24
26
|
Current tarball: http://github.com/manveru/ramaze/tarball/master
|
|
@@ -30,7 +32,7 @@ Simple example:
|
|
|
30
32
|
|
|
31
33
|
require 'ramaze'
|
|
32
34
|
|
|
33
|
-
class MainController
|
|
35
|
+
class MainController < Ramaze::Controller
|
|
34
36
|
def index
|
|
35
37
|
'Hello, World!'
|
|
36
38
|
end
|
|
@@ -39,66 +41,33 @@ Simple example:
|
|
|
39
41
|
Ramaze.start
|
|
40
42
|
|
|
41
43
|
|
|
42
|
-
== Around 80 commits since 2009.05
|
|
43
|
-
|
|
44
|
-
- Improved bin/ramaze with lots of specs, should work now even on windows.
|
|
45
|
-
- Middleware order has been inverted.
|
|
46
|
-
- Support for Webrat out of the box.
|
|
47
|
-
- Fixed MemCache caching and sessions.
|
|
48
|
-
- Removed a whole lot of methods that were marked deprecated.
|
|
49
|
-
- New default Layout helper
|
|
50
|
-
|
|
51
|
-
|
|
52
44
|
== Summarized changes with their respective commits
|
|
53
45
|
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
|
|
46
|
+
- Aaron Müller
|
|
47
|
+
- Update identity helper with new link helper
|
|
48
|
+
|
|
49
|
+
- Masahiro Nakagawa
|
|
50
|
+
- Rewrite localization example
|
|
57
51
|
|
|
58
52
|
- Michael Fellinger (manveru)
|
|
59
|
-
-
|
|
60
|
-
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
- Fix
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
-
|
|
76
|
-
|
|
77
|
-
- Avoid useless iteration and fix ambigous linking in helper/paginate
|
|
78
|
-
[ 6fb74df | 9b73450 ]
|
|
79
|
-
- Respect preset options for port/adapter on ramaze start [ 6efaaaa ]
|
|
80
|
-
- Preserve file permissions during `ramaze create` [ 3e3bc0a ]
|
|
81
|
-
- Implement and spec the lonely controller rule [ fdfe5b9 | 4dd866b ]
|
|
82
|
-
- Fix "bug" pointed out by druby [ 796627a ]
|
|
83
|
-
- Output to logger in ramaze/setup if Log is available, don't output the
|
|
84
|
-
require exception twice. Avoid infinite recursion when a
|
|
85
|
-
gem name does not match it's lib name [ b9fa0c4 | 7bc9d65 | e6b4996 ]
|
|
86
|
-
- Put a notice into config.ru making clear that the handler cannot be set
|
|
87
|
-
inside [ b4bad57 ]
|
|
88
|
-
- Some mods to contrib, fix facebook.rb syntax for ruby 1.9 and adding
|
|
89
|
-
Ramaze::AddressableRoute for great profit! [ c7fbf0c | cafe657 ]
|
|
90
|
-
- Don't write a file to /tmp during the bin/ramaze spec [ eb5e4ef ]
|
|
91
|
-
|
|
92
|
-
- Pistos
|
|
93
|
-
- Explicitly state top-level namespace for ::File in config.ru, since
|
|
94
|
-
otherwise it is confused for Rack::File.
|
|
95
|
-
[ 5509950 ]
|
|
96
|
-
- Added Layout helper with specs and documentation
|
|
97
|
-
[ a84f675 | 41ad023 | 4f23d16 ]
|
|
98
|
-
|
|
99
|
-
- TJ Vanderpoel (bougyman)
|
|
100
|
-
- Added some specs for ramaze/bin, correcting a require bug already in
|
|
101
|
-
bin/ramaze. [ 8bbb8e8 | 9a3edf3 | 33fa3aa ]
|
|
53
|
+
- Adding support for the less CSS templating engine
|
|
54
|
+
- Better defaults for proto specs
|
|
55
|
+
- The Helper::Cache#cache_value optionally takes a block now
|
|
56
|
+
- Make sure proto/config.ru points to correct location
|
|
57
|
+
- Fix annoying behaviour when '/' location is assigned to an app loaded
|
|
58
|
+
earlier, apps loaded afterwards would overwrite the mapping. This caused
|
|
59
|
+
some very annoying and hard to debug behaviour.
|
|
60
|
+
- Fix bacon task dependency
|
|
61
|
+
- Fix Controller to work properly on Ruby 1.8.6
|
|
62
|
+
- Fix bug when using localmemcache on Ruby 1.9
|
|
63
|
+
- Fix the misc/css example
|
|
64
|
+
- Remove Helper::Cache#cache method
|
|
65
|
+
- Use absolute paths for requires in all ramaze specs, $LOAD_PATH in Ruby
|
|
66
|
+
1.9.2 will not include '.'
|
|
67
|
+
- Remove ContentLength middleware from :live and :dev modes. Rack handlers
|
|
68
|
+
use it already.
|
|
69
|
+
- Refactor contrib/addressable_route, it now uses instance variables and can
|
|
70
|
+
take a mapping on initialize.
|
|
102
71
|
|
|
103
72
|
A complete Changelog is available at
|
|
104
73
|
http://github.com/manveru/ramaze/tree/master/doc/CHANGELOG?raw=true
|
|
@@ -106,19 +75,22 @@ http://github.com/manveru/ramaze/tree/master/doc/CHANGELOG?raw=true
|
|
|
106
75
|
|
|
107
76
|
== Known issues
|
|
108
77
|
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
78
|
+
- When running on Ruby 1.9.x, Rack 1.0.0 has problems with the encoding, it is
|
|
79
|
+
recommended to use master HEAD from http://github.com/rack/rack until the
|
|
80
|
+
next release of Rack.
|
|
81
|
+
- When running on Ruby 1.9.2dev (ruby trunk), using the thin handler can lead
|
|
82
|
+
to memory leaks. The cause is yet unknown, please use Ruby 1.9.1 or another
|
|
83
|
+
handler (mongrel, webrick, and fcgi are known to work well)
|
|
112
84
|
|
|
113
85
|
|
|
114
86
|
== Ramaze Features
|
|
115
87
|
|
|
116
88
|
- Builds on top of the Rack library, which provides easy use of adapters like
|
|
117
|
-
Mongrel, WEBrick, LiteSpeed, Thin, CGI or FCGI.
|
|
89
|
+
Mongrel, WEBrick, LiteSpeed, Thin, CGI, SCGI, or FCGI.
|
|
118
90
|
|
|
119
|
-
- Supports a wide range of templating-engines like: ERB, Erubis, Haml,
|
|
120
|
-
Maruku, Redcloth, Remarkably, Sass, Tagz, Tenjin. And its own engines
|
|
121
|
-
Etanni, Ezamar, Gestalt, and Nagoro.
|
|
91
|
+
- Supports a wide range of templating-engines like: ERB, Erubis, Haml, Less,
|
|
92
|
+
Liquid, Maruku, Redcloth, Remarkably, Sass, Tagz, Tenjin. And its own engines
|
|
93
|
+
called Etanni, Ezamar, Gestalt, and Nagoro.
|
|
122
94
|
|
|
123
95
|
- Highly modular structure: you can just use the parts you like. This also
|
|
124
96
|
means that it's very simple to add your own customizations.
|
|
@@ -128,8 +100,7 @@ http://github.com/manveru/ramaze/tree/master/doc/CHANGELOG?raw=true
|
|
|
128
100
|
controllers.
|
|
129
101
|
|
|
130
102
|
- It is possible to use the ORM you like, be it Sequel, DataMapper,
|
|
131
|
-
ActiveRecord, Og, Kansas or something more simplistic like
|
|
132
|
-
around YAML::Store.
|
|
103
|
+
ActiveRecord, Og, Kansas or something more simplistic like M4DBI.
|
|
133
104
|
|
|
134
105
|
- Good documentation: although we don't have 100% documentation right now (dcov
|
|
135
106
|
says around 75%), just about every part of Ramaze is covered with basic and
|
|
@@ -137,7 +108,7 @@ http://github.com/manveru/ramaze/tree/master/doc/CHANGELOG?raw=true
|
|
|
137
108
|
available.
|
|
138
109
|
|
|
139
110
|
- Friendly community: there are people from all over the world using Ramaze, so
|
|
140
|
-
you can get
|
|
111
|
+
you can get plenty of help and information around the clock.
|
|
141
112
|
|
|
142
113
|
|
|
143
114
|
For more information please come to http://ramaze.net or ask directly on IRC
|