ramaze 0.1.1 → 0.1.2
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/Rakefile +14 -29
- data/bin/ramaze +2 -3
- data/doc/AUTHORS +5 -2
- data/doc/CHANGELOG +262 -9
- data/doc/FAQ +6 -6
- data/doc/meta/announcement.txt +5 -19
- data/doc/tutorial/todolist.html +47 -57
- data/doc/tutorial/todolist.mkd +47 -55
- data/examples/memleak_detector.rb +31 -0
- data/examples/todolist/src/controller/main.rb +14 -13
- data/examples/todolist/src/element/page.rb +2 -2
- data/examples/todolist/src/model.rb +2 -2
- data/examples/todolist/todolist.db +0 -4
- data/examples/whywiki/main.rb +2 -2
- data/examples/whywiki/template/edit.xhtml +1 -1
- data/examples/whywiki/template/show.xhtml +3 -3
- data/lib/proto/src/controller/main.rb +18 -1
- data/lib/proto/template/index.xhtml +11 -2
- data/lib/ramaze.rb +1 -1
- data/lib/ramaze/action.rb +104 -5
- data/lib/ramaze/action/render.rb +54 -0
- data/lib/ramaze/adapter.rb +2 -1
- data/lib/ramaze/adapter/mongrel.rb +13 -4
- data/lib/ramaze/cache.rb +17 -8
- data/lib/ramaze/cache/memcached.rb +1 -5
- data/lib/ramaze/controller.rb +51 -18
- data/lib/ramaze/controller/resolve.rb +19 -14
- data/lib/ramaze/dispatcher.rb +13 -16
- data/lib/ramaze/dispatcher/action.rb +2 -3
- data/lib/ramaze/dispatcher/error.rb +8 -3
- data/lib/ramaze/dispatcher/file.rb +1 -4
- data/lib/ramaze/error.rb +5 -5
- data/lib/ramaze/global.rb +7 -1
- data/lib/ramaze/global/globalstruct.rb +1 -3
- data/lib/ramaze/helper/aspect.rb +8 -10
- data/lib/ramaze/helper/cgi.rb +21 -3
- data/lib/ramaze/helper/identity.rb +4 -6
- data/lib/ramaze/helper/link.rb +4 -4
- data/lib/ramaze/helper/pager.rb +316 -0
- data/lib/ramaze/helper/partial.rb +37 -0
- data/lib/ramaze/helper/stack.rb +1 -1
- data/lib/ramaze/inform.rb +9 -0
- data/lib/ramaze/inform/hub.rb +5 -0
- data/lib/ramaze/inform/informer.rb +12 -6
- data/lib/ramaze/inform/informing.rb +32 -7
- data/lib/ramaze/inform/knotify.rb +21 -0
- data/lib/ramaze/inform/xosd.rb +58 -24
- data/lib/ramaze/sourcereload.rb +30 -1
- data/lib/ramaze/template.rb +33 -12
- data/lib/ramaze/template/amrita2.rb +21 -20
- data/lib/ramaze/template/erubis.rb +18 -14
- data/lib/ramaze/template/ezamar.rb +15 -26
- data/lib/ramaze/template/ezamar/element.rb +1 -1
- data/lib/ramaze/template/ezamar/engine.rb +45 -36
- data/lib/ramaze/template/ezamar/morpher.rb +3 -3
- data/lib/ramaze/template/ezamar/render_partial.rb +26 -0
- data/lib/ramaze/template/haml.rb +23 -18
- data/lib/ramaze/template/liquid.rb +5 -3
- data/lib/ramaze/template/markaby.rb +14 -11
- data/lib/ramaze/template/remarkably.rb +11 -5
- data/lib/ramaze/tool/localize.rb +12 -4
- data/lib/ramaze/tool/tidy.rb +26 -23
- data/lib/ramaze/trinity/request.rb +11 -7
- data/lib/ramaze/trinity/session.rb +24 -8
- data/lib/ramaze/version.rb +1 -1
- data/rake_tasks/maintaince.rake +136 -11
- data/spec/examples/templates/template_liquid.rb +6 -3
- data/spec/examples/todolist.rb +1 -2
- data/spec/helper/minimal.rb +7 -7
- data/spec/ramaze/action/basics.rb +19 -0
- data/spec/ramaze/action/render.rb +18 -0
- data/spec/ramaze/controller.rb +1 -1
- data/spec/ramaze/controller/template_resolving.rb +1 -1
- data/spec/ramaze/dispatcher/file.rb +24 -0
- data/spec/ramaze/error.rb +28 -29
- data/spec/ramaze/helper/cgi.rb +43 -0
- data/spec/ramaze/helper/pager.rb +27 -0
- data/spec/ramaze/helper/partial.rb +38 -0
- data/spec/ramaze/helper/template/partial.xhtml +1 -0
- data/spec/ramaze/inform/informer.rb +1 -1
- data/spec/ramaze/localize.rb +1 -1
- data/spec/ramaze/morpher.rb +3 -3
- data/spec/ramaze/request.rb +1 -3
- data/spec/ramaze/template.rb +9 -7
- data/spec/ramaze/template/haml.rb +2 -1
- metadata +21 -7
- data/examples/todolist/public/404.jpg +0 -0
- data/examples/todolist/public/error.xhtml +0 -74
- data/lib/ramaze/controller/render.rb +0 -90
data/Rakefile
CHANGED
@@ -88,35 +88,6 @@ task :distribute => :gem do
|
|
88
88
|
sh "rm -rf pkg/ramaze-#{VERS}"
|
89
89
|
end
|
90
90
|
|
91
|
-
|
92
|
-
desc "list all still undocumented methods"
|
93
|
-
task :undocumented do
|
94
|
-
files = Dir[File.join('lib', '**', '*.rb')]
|
95
|
-
|
96
|
-
files.each do |file|
|
97
|
-
puts file
|
98
|
-
lines_till_here = []
|
99
|
-
lines = File.readlines(file).map{|line| line.chomp}
|
100
|
-
|
101
|
-
lines.each do |line|
|
102
|
-
if line =~ /def /
|
103
|
-
indent = line =~ /[^\s]/
|
104
|
-
e = lines_till_here.reverse.find{|l| l =~ /end/}
|
105
|
-
i = lines_till_here.reverse.index(e)
|
106
|
-
lines_till_here = lines_till_here[-(i + 1)..-1] if i
|
107
|
-
unless lines_till_here.any?{|l| l =~ /^\s*#/} or lines_till_here.empty?
|
108
|
-
puts lines_till_here
|
109
|
-
puts line
|
110
|
-
puts "#{' ' * indent}..."
|
111
|
-
puts e
|
112
|
-
end
|
113
|
-
lines_till_here.clear
|
114
|
-
end
|
115
|
-
lines_till_here << line
|
116
|
-
end
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
91
|
desc "show a todolist from all the TODO tags in the source"
|
121
92
|
task :todo do
|
122
93
|
files = Dir[File.join(BASEDIR, '{lib,spec}', '**/*.rb')]
|
@@ -179,3 +150,17 @@ task 'request' do
|
|
179
150
|
end
|
180
151
|
end
|
181
152
|
end
|
153
|
+
|
154
|
+
desc "runs all the testdocs (not functional yet)"
|
155
|
+
task "testdoc" do
|
156
|
+
require '../testdoc/lib/testdoc'
|
157
|
+
Dir['lib/ramaze/helper/*.rb'].each do |file|
|
158
|
+
p file
|
159
|
+
begin
|
160
|
+
require file
|
161
|
+
TestDoc.rspec_run(file)
|
162
|
+
rescue Object => ex
|
163
|
+
puts ex
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
data/bin/ramaze
CHANGED
@@ -80,8 +80,7 @@ if project = options.delete(:create)
|
|
80
80
|
end
|
81
81
|
|
82
82
|
if ARGV.empty? and not runner
|
83
|
-
|
84
|
-
exit
|
83
|
+
abort(opts)
|
85
84
|
end
|
86
85
|
|
87
86
|
begin
|
@@ -105,7 +104,7 @@ if options.delete(:console)
|
|
105
104
|
require 'irb'
|
106
105
|
require 'irb/completion'
|
107
106
|
|
108
|
-
def exit
|
107
|
+
def exit() Ramaze.shutdown end
|
109
108
|
|
110
109
|
ENV['IRBRC'] = ".irbrc" if File.exists? ".irbrc"
|
111
110
|
IRB.start
|
data/doc/AUTHORS
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
Following persons have contributed to Ramaze:
|
1
|
+
Following persons (in alphabetical order) have contributed to Ramaze:
|
2
2
|
|
3
3
|
Christian Neukirchen - chneukirchen@gmail.com
|
4
|
-
Clive
|
4
|
+
Clive Crous - clive@crous.co.za
|
5
|
+
Gabriele Renzi - rff.rff@gmail.com
|
5
6
|
Jonathan Buch - jo@helloit.fi
|
7
|
+
Martin Hilbig - blueonyx@dev-area.net
|
6
8
|
Michael Fellinger - manveru@weez-int.com
|
9
|
+
zenix - comp.lang.zenix+ramaze@gmail.com
|
data/doc/CHANGELOG
CHANGED
@@ -1,3 +1,256 @@
|
|
1
|
+
Sun Jun 17 06:50:08 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
2
|
+
* Version 0.1.2
|
3
|
+
|
4
|
+
Sun Jun 17 06:49:59 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
5
|
+
* Update announcement
|
6
|
+
|
7
|
+
Sun Jun 17 06:49:35 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
8
|
+
* Update AUTHORS
|
9
|
+
|
10
|
+
Fri Jun 15 15:13:17 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
11
|
+
* Revision of tutorial
|
12
|
+
|
13
|
+
Thu Jun 14 13:15:50 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
14
|
+
* Replace Action::fill by Action::create to avoid clash with our custom Struct::fill (eventually we should solve that otherwise) - also fix the problem that params were not unescaped properly
|
15
|
+
|
16
|
+
Thu Jun 14 14:16:16 JST 2007 comp.lang.zenix+ramaze@gmail.com
|
17
|
+
* Added verbosity control to 'undocumented'. Run `rake undocumented-verbose' for the 'updated' version
|
18
|
+
|
19
|
+
Thu Jun 14 14:13:28 JST 2007 comp.lang.zenix+ramaze@gmail.com
|
20
|
+
* Documentation of main.rb & ezamar.rb
|
21
|
+
Rough documentation of lib/proto/src/controller/main.rb and lib/ramaze/template/ezamar.rb
|
22
|
+
|
23
|
+
Thu Jun 14 11:55:28 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
24
|
+
* add additional information about the colors for the `rake undocumented` task
|
25
|
+
|
26
|
+
Wed Jun 13 18:08:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
27
|
+
* add ramaze/inform/knotify over Inform::Knotify
|
28
|
+
|
29
|
+
Wed Jun 13 20:52:26 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
30
|
+
* total rewrite of the undocumented task, better matching using StringScanner and nicer output using colors.
|
31
|
+
|
32
|
+
Wed Jun 13 19:53:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
33
|
+
* docs for the templating-engines, Template, Session and Tidy
|
34
|
+
|
35
|
+
Wed Jun 13 19:35:39 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
36
|
+
* Add a couple of docs for Action and Dispatcher
|
37
|
+
|
38
|
+
Wed Jun 13 13:42:47 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
39
|
+
* experimental compiling of templates, don't use it yet unless you are in serious demand of large speed-increase for mostly static templates.
|
40
|
+
|
41
|
+
Wed Jun 13 13:32:47 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
42
|
+
* Xosd should be able to display multiple lines at once.
|
43
|
+
|
44
|
+
Wed Jun 13 02:41:59 JST 2007 Clive Crous <clive@crous.co.za>
|
45
|
+
* Optional dynamic font size for XOSD
|
46
|
+
|
47
|
+
Mon Jun 11 20:08:08 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
48
|
+
* simplify the template handling again, removing the (for now) unused Global.compile option
|
49
|
+
|
50
|
+
Mon Jun 11 20:00:05 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
51
|
+
* add a Cache::startup for bulk initialization, clear the Cache.compiled and Cache.resolved on SourceReloadHooks#after_safe_load_succeed
|
52
|
+
|
53
|
+
Mon Jun 11 19:37:42 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
54
|
+
* Improve performance by caching path lookups (need to add invalidation on SourceReload).
|
55
|
+
|
56
|
+
Tue Jun 12 01:27:51 JST 2007 Jonathan Buch <jo@helloit.fi>
|
57
|
+
* change @template_root of controller when not given
|
58
|
+
|
59
|
+
Mon Jun 11 08:35:12 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
60
|
+
* add the example i use to find memory-leaks, might be useful for someone.
|
61
|
+
|
62
|
+
Mon Jun 11 08:27:13 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
63
|
+
* Fix memory-leak, Action should _never_ _ever_ use traits.
|
64
|
+
|
65
|
+
Mon Jun 11 07:54:05 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
66
|
+
* Fixing Controller.current
|
67
|
+
|
68
|
+
Mon Jun 11 00:51:19 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
69
|
+
* round up last patch, adding some files i overlooked and removing deprecated ones.
|
70
|
+
|
71
|
+
Mon Jun 11 00:46:23 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
72
|
+
* Huge refactoring, making Action the central part for rendering. Please take a look at the changes until I can write some comprehensive summary (or wait with applying).
|
73
|
+
|
74
|
+
Fri Jun 8 18:19:39 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
75
|
+
* Fix OpenID helper IdentityHelper
|
76
|
+
|
77
|
+
Fri Jun 8 17:19:43 JST 2007 Jonathan Buch <jo@helloit.fi>
|
78
|
+
* Pager doesn't need Og anymore, small comment about exit! in adapter
|
79
|
+
|
80
|
+
Thu Jun 7 20:47:04 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
81
|
+
* rather big change to Ezamar, fitting it to be able to compile before evaluation.
|
82
|
+
|
83
|
+
Thu Jun 7 20:16:50 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
84
|
+
* add usage of Global.compile for erubis
|
85
|
+
|
86
|
+
Thu Jun 7 20:14:02 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
87
|
+
* use tested doc in Controller::render
|
88
|
+
|
89
|
+
Thu Jun 7 13:44:28 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
90
|
+
* get rid of a warning about undefined @files/@paths in sourereload
|
91
|
+
|
92
|
+
Thu Jun 7 13:41:36 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
93
|
+
* Introducing experimental cached compilation (for HAML so far, and not ready for production, just a prototype) turn on Global.compile at your own risk ;)
|
94
|
+
|
95
|
+
Wed Jun 6 06:03:26 JST 2007 rff.rff@gmail.com
|
96
|
+
* As expected, adding tests shows bugs :)
|
97
|
+
|
98
|
+
|
99
|
+
Wed Jun 6 05:35:14 JST 2007 rff.rff@gmail.com
|
100
|
+
* CGI.rb has extremely bad names.
|
101
|
+
escape() does url_encode
|
102
|
+
unescape does url_decode
|
103
|
+
so renamed them to this.
|
104
|
+
Also added html_escape and html_unescape
|
105
|
+
and one-letter aliases h and u.
|
106
|
+
This behaviour comes for free by including ERb::Util but I don't know
|
107
|
+
if we want to load all that (I'd say yes).
|
108
|
+
All tests still pass, so the test suite is incomplete.
|
109
|
+
|
110
|
+
Wed Jun 6 04:33:43 JST 2007 rff.rff@gmail.com
|
111
|
+
* ramaze with no opts should return -1
|
112
|
+
|
113
|
+
Wed Jun 6 12:25:45 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
114
|
+
* ENV SWIFT and EVENT now trigger require of swiftiplied or evented mongrel
|
115
|
+
|
116
|
+
Tue Jun 5 20:08:56 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
117
|
+
* fixing all those annoying spaces on empty lines and adapt the add-copyright task not to add one automatically but just notice.
|
118
|
+
|
119
|
+
Tue Jun 5 19:58:58 JST 2007 rff.rff@gmail.com
|
120
|
+
* mapping explanation in proto
|
121
|
+
|
122
|
+
Tue Jun 5 19:56:08 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
123
|
+
* first TestDoc task
|
124
|
+
|
125
|
+
Tue Jun 5 19:53:22 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
126
|
+
* fix typo in LinkHelper doc
|
127
|
+
|
128
|
+
Tue Jun 5 19:50:03 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
129
|
+
* remove Base and Index as default mappings to '/'
|
130
|
+
|
131
|
+
Tue Jun 5 18:49:01 JST 2007 rff.rff@gmail.com
|
132
|
+
* proto enhancement
|
133
|
+
* integrated action-method, template and Page element
|
134
|
+
* added a template-less action
|
135
|
+
* changed index so that it gives slightly nicer informations
|
136
|
+
|
137
|
+
Tue Jun 5 12:40:48 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
138
|
+
* update the authors task and doc/AUTHORS
|
139
|
+
|
140
|
+
Tue Jun 5 12:31:55 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
141
|
+
* little clarification of code in Controller::render
|
142
|
+
|
143
|
+
Tue Jun 5 12:30:13 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
144
|
+
* extend PartialHelper with render_template
|
145
|
+
|
146
|
+
Wed Jun 6 00:06:20 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
147
|
+
* caching for our custom Request#params
|
148
|
+
|
149
|
+
Mon Jun 4 23:18:45 JST 2007 Jonathan Buch <jo@helloit.fi>
|
150
|
+
* Add :collect trait to Localize, disable collecting for more speed
|
151
|
+
|
152
|
+
Mon Jun 4 02:08:42 JST 2007 rff.rff@gmail.com
|
153
|
+
* pager need og/collection to run
|
154
|
+
|
155
|
+
Mon Jun 4 01:51:19 JST 2007 rff.rff@gmail.com
|
156
|
+
* use HAsh#fetch when getting trait or default in render.rb
|
157
|
+
|
158
|
+
Sun Jun 3 19:18:09 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
159
|
+
* Controller::cached? #=> Controller::should_cache?
|
160
|
+
|
161
|
+
Sun Jun 3 16:21:36 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
162
|
+
* remove the mostly static trait :transform_pipeline in Ezamar with a constant, watch out since that may affect your code if you added custom transformers.
|
163
|
+
|
164
|
+
Tue May 29 00:10:56 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
165
|
+
* add automatic require for win32console on windows (if installed) and sanitize @colorize/trait[:colorize] a bit
|
166
|
+
|
167
|
+
Sun Jun 3 03:44:01 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
168
|
+
* add docs for Controller::render
|
169
|
+
|
170
|
+
Sun Jun 3 03:38:02 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
171
|
+
* Controller::render gets a default empty array for params and params are each called .to_s upon to make escaping possible and unify the effects of calling internal against being called external.
|
172
|
+
|
173
|
+
Sat Jun 2 17:58:28 JST 2007 Jonathan Buch <jo@helloit.fi>
|
174
|
+
* Add render partial implementation + specs
|
175
|
+
|
176
|
+
Fri Jun 1 14:42:06 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
177
|
+
* constantize a couple of traits in Dispatcher, Dispatcher.trait[:handle_error] is now Dispatcher::Error::HANDLE_ERROR, Dispatcher::Action.trait[:filter] is now Dispatcher::Action::FILTER, sanitize error spec and add some docs.
|
178
|
+
|
179
|
+
Fri Jun 1 16:31:18 JST 2007 Jonathan Buch <jo@helloit.fi>
|
180
|
+
* Common error classes, tiny change to Global, StackHelper expects url instead of using R() itself
|
181
|
+
|
182
|
+
Thu May 31 20:51:06 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
183
|
+
* some santizing and docs for Session.
|
184
|
+
|
185
|
+
Thu May 31 20:29:14 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
186
|
+
* speed up path resolution a little bit by directly instantinating Action
|
187
|
+
|
188
|
+
Thu May 31 18:12:45 JST 2007 Martin Hilbig blueonyx@dev-area.net
|
189
|
+
* fixing link building of the whywiki example
|
190
|
+
|
191
|
+
Thu May 31 12:46:08 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
192
|
+
* document Informing and add some minor speed increase (increase will be smaller than most loggers would take to actual output)
|
193
|
+
|
194
|
+
Thu May 31 12:21:29 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
195
|
+
* DRY up template.rb and add some docs
|
196
|
+
|
197
|
+
Wed May 30 21:19:06 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
198
|
+
* docs for Action
|
199
|
+
|
200
|
+
Wed May 30 21:14:41 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
201
|
+
* a couple of docs for Controller
|
202
|
+
|
203
|
+
Wed May 30 17:37:19 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
204
|
+
* make the life for people who want to run specs without RUBYOPT easier
|
205
|
+
|
206
|
+
Wed May 30 14:00:31 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
207
|
+
* small update to the FAQ
|
208
|
+
|
209
|
+
Wed May 30 13:54:00 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
210
|
+
* add a Inform.ignored_tags so you can skip tags like :debug easily
|
211
|
+
|
212
|
+
Wed May 30 13:51:49 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
213
|
+
* split up SourceReloadHooks::after_safe_load into after_safe_load_failed and after_safe_load_succeed, you get additionally the error-object on failure (also fix the s/save/safe typo)
|
214
|
+
|
215
|
+
Wed May 30 13:42:41 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
216
|
+
* put the hooks into their own module SourceReloadHooks
|
217
|
+
|
218
|
+
Tue May 29 21:51:03 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
219
|
+
* another wrapper, this time around save_load, with file and status for after
|
220
|
+
|
221
|
+
Tue May 29 21:41:35 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
222
|
+
* SourceReload#before_reload/after_reload method stubs, to be filled by YOU :)
|
223
|
+
|
224
|
+
Tue May 29 17:49:46 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
225
|
+
* Controller.trait[:template_extensions] is now Controller:TEMPLATE_ENGINES and retains order of your engines as you require them, you can also change it afterwards easily (wasn't possible with the Hash we used before)
|
226
|
+
|
227
|
+
Tue May 29 16:13:31 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
228
|
+
* flatten atoms for R()
|
229
|
+
|
230
|
+
Tue May 29 16:10:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
231
|
+
* fix LinkHelper to use Controller.current instead of self
|
232
|
+
|
233
|
+
Mon May 28 23:18:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
234
|
+
* fixing memcached for multithreading
|
235
|
+
|
236
|
+
Mon May 28 22:02:02 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
237
|
+
* Global.public_root went Global.public_proto and Controller.public_root went Global.public_root
|
238
|
+
|
239
|
+
Mon May 28 22:01:05 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
240
|
+
* typo in LinkHelper docs
|
241
|
+
|
242
|
+
Mon May 28 20:39:53 JST 2007 Jonathan Buch <jo@helloit.fi>
|
243
|
+
* Add PagerHelper (port from Nitro)
|
244
|
+
|
245
|
+
Mon May 28 11:14:04 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
246
|
+
* add a release task
|
247
|
+
|
248
|
+
Sun May 27 05:47:52 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
249
|
+
tagged 0.1.1
|
250
|
+
|
251
|
+
Sun May 27 05:47:22 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
252
|
+
* update CHANGELOG
|
253
|
+
|
1
254
|
Sun May 27 05:47:01 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
2
255
|
* Version 0.1.1
|
3
256
|
|
@@ -16,6 +269,9 @@ Sun May 27 00:39:20 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
16
269
|
Sun May 27 00:38:45 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
17
270
|
* another update of tutorial
|
18
271
|
|
272
|
+
Sat May 26 21:35:09 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
273
|
+
* fix the precendence of startup-options: bin/ramaze > Ramaze.start > Global.option
|
274
|
+
|
19
275
|
Sat May 26 23:52:37 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
20
276
|
* some fixes to the tutorial
|
21
277
|
|
@@ -28,9 +284,6 @@ Fri May 25 20:38:59 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
28
284
|
Sat May 26 05:59:26 JST 2007 clive@crous.co.za
|
29
285
|
* Correct a minor typo/spelling error in shutdown message
|
30
286
|
|
31
|
-
Sat May 26 21:35:09 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
32
|
-
* fix the precendence of startup-options: bin/ramaze > Ramaze.start > Global.option
|
33
|
-
|
34
287
|
Sat May 26 02:18:38 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
35
288
|
* params assigned to Action should be unescaped automatically
|
36
289
|
|
@@ -116,9 +369,6 @@ Tue May 22 21:14:02 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
116
369
|
Tue May 22 18:04:14 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
117
370
|
* finally fix the localize spec, properly
|
118
371
|
|
119
|
-
Tue May 15 17:42:06 JST 2007 Jonathan Buch <jo@helloit.fi>
|
120
|
-
* Remove yaml files for localizations
|
121
|
-
|
122
372
|
Tue May 22 17:34:29 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
123
373
|
* speed up the examples/chaching spec
|
124
374
|
|
@@ -161,15 +411,15 @@ Mon May 21 20:15:04 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
161
411
|
Mon May 21 18:02:14 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
162
412
|
* add check for defined?(Action)
|
163
413
|
|
414
|
+
Mon May 21 20:10:34 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
415
|
+
* fixing some typos in tutorial
|
416
|
+
|
164
417
|
Mon May 21 14:11:20 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
165
418
|
* use the new functionality of Cache all over Ramaze, makes a ton of trait lookups unnessecary and the total caches available in a single place.
|
166
419
|
|
167
420
|
Mon May 21 14:07:34 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
168
421
|
* make Cache Enumerable, add #each, #has_key? and ::add to add new global caches that are easily accessable
|
169
422
|
|
170
|
-
Mon May 21 20:10:34 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
171
|
-
* fixing some typos in tutorial
|
172
|
-
|
173
423
|
Mon May 21 17:45:43 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
174
424
|
* fix Dispatcher::File and add spec for missing response-code due to an evil mix of racks status-code hash and rubys nil.to_i => 0
|
175
425
|
|
@@ -311,6 +561,9 @@ Thu May 17 01:29:19 JST 2007 clive@crous.co.za
|
|
311
561
|
Thu May 17 00:22:39 JST 2007 Jonathan Buch <jo@helloit.fi>
|
312
562
|
* Add small spec for template resolving of traits
|
313
563
|
|
564
|
+
Tue May 15 17:42:06 JST 2007 Jonathan Buch <jo@helloit.fi>
|
565
|
+
* Remove yaml files for localizations
|
566
|
+
|
314
567
|
Wed May 16 23:49:20 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
315
568
|
* add migration info for patch 1111
|
316
569
|
|
data/doc/FAQ
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
== FAQ, Frequently asked Questions
|
2
2
|
|
3
3
|
= How do you pronounce Ramaze?
|
4
|
-
|
4
|
+
|
5
5
|
There are two ways Ramaze is usually pronounced, the one that is most common
|
6
6
|
the moment is like the English `amaze` with a prefixed `r`.
|
7
7
|
|
@@ -65,13 +65,13 @@ always change the whole framework to fit your needs.
|
|
65
65
|
small wrapper around KirbyBase is in progress.
|
66
66
|
|
67
67
|
For the time being you can use anything you like, currently tested ORMs are
|
68
|
-
ActiveRecord and Og.
|
68
|
+
ActiveRecord, Kansas and Og.
|
69
69
|
|
70
70
|
- View
|
71
71
|
|
72
72
|
Ramaze offers a plethora of Templating-engines that you can use in your
|
73
|
-
View, including Amrita2, Erubis (ERB), HAML, Liquid, Markaby and
|
74
|
-
default, called Ezamar.
|
73
|
+
View, including Amrita2, Erubis (ERB), HAML, Liquid, Remarkably, Markaby and
|
74
|
+
the default, called Ezamar.
|
75
75
|
|
76
76
|
The View in Ramaze is tightly coupled with the Controller, that means that
|
77
77
|
your Controller is a subclass of the Templating you will use for the
|
@@ -80,7 +80,7 @@ always change the whole framework to fit your needs.
|
|
80
80
|
- Controller
|
81
81
|
|
82
82
|
That's the smallest but most central part of every Ramaze-application.
|
83
|
-
|
83
|
+
|
84
84
|
The Controllers act as small dispatcher for your View, by looking up which
|
85
85
|
templating-engine to use and by providing methods that in compound with
|
86
86
|
the templates are called actions.
|
@@ -89,4 +89,4 @@ always change the whole framework to fit your needs.
|
|
89
89
|
layout of your URLs.
|
90
90
|
|
91
91
|
Many helpers provide you pragmatic ways of adding
|
92
|
-
things like aspects, feeds, redirects and the like.
|
92
|
+
things like aspects, feeds, redirects and the like.
|
data/doc/meta/announcement.txt
CHANGED
@@ -13,7 +13,7 @@ Home page: http://ramaze.rubyforge.org
|
|
13
13
|
IRC: #ramaze on irc.freenode.net
|
14
14
|
|
15
15
|
|
16
|
-
New Features in Version 0.1.2:
|
16
|
+
New Features in Version 0.1.2:
|
17
17
|
|
18
18
|
- Restructuring of Ramaze internals, featuring a cleaner overall layout.
|
19
19
|
|
@@ -25,19 +25,11 @@ New Features in Version 0.1.2: ( review and remove unimportant stuff )
|
|
25
25
|
|
26
26
|
- Easier caching.
|
27
27
|
|
28
|
-
- replacing autoreload with
|
28
|
+
- replacing autoreload with a general SourceReload class.
|
29
29
|
|
30
30
|
- tiny DSL for settings.
|
31
31
|
|
32
|
-
-
|
33
|
-
|
34
|
-
- Default logger is now LogHub with Inform
|
35
|
-
|
36
|
-
- Lightweight error-page.
|
37
|
-
|
38
|
-
- Central API for caches.
|
39
|
-
|
40
|
-
- Reviewed and largely improved tutorial and examples.
|
32
|
+
- Reviewed and largely improved tutorial and tested examples.
|
41
33
|
|
42
34
|
- Even less patches to the Ruby core, mostly for compatibility with the
|
43
35
|
upcoming Ruby 1.9 and tested with older versions down to 1.8.2.
|
@@ -45,9 +37,9 @@ New Features in Version 0.1.2: ( review and remove unimportant stuff )
|
|
45
37
|
- Largely improved Spec-framework for any kind of web-application.
|
46
38
|
|
47
39
|
- Through some benchmarking and refactoring the overall speed has improved
|
48
|
-
around the factor 2.
|
40
|
+
around the factor 2-3.
|
49
41
|
|
50
|
-
A complete Changelog is available at
|
42
|
+
A complete Changelog is available at http://manveru.mine.nu/ramaze/doc/CHANGELOG
|
51
43
|
|
52
44
|
|
53
45
|
Features:
|
@@ -77,12 +69,6 @@ Features:
|
|
77
69
|
info.
|
78
70
|
|
79
71
|
|
80
|
-
Features planned:
|
81
|
-
- Unified FormHelper for ORMs, making the framework mostly independent of the
|
82
|
-
underlying model.
|
83
|
-
|
84
|
-
- Support for distributed deployment over DRb.
|
85
|
-
|
86
72
|
For more information please come to http://ramaze.rubyforge.org or ask directly
|
87
73
|
on IRC (irc://irc.freenode.net/#ramaze)
|
88
74
|
|