ramaze 0.1.3 → 0.1.4
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/bin/ramaze +58 -26
- data/doc/AUTHORS +2 -0
- data/doc/CHANGELOG +401 -0
- data/doc/README +14 -9
- data/doc/README.html +737 -0
- data/doc/TODO +14 -14
- data/doc/changes.txt +401 -0
- data/doc/changes.xml +401 -0
- data/doc/meta/announcement.txt +28 -15
- data/doc/meta/configuration.txt +3 -3
- data/doc/meta/internals.txt +2 -2
- data/doc/meta/users.kml +62 -0
- data/doc/readme_chunks/examples.txt +1 -1
- data/doc/readme_chunks/features.txt +13 -8
- data/doc/tutorial/todolist.html +2 -2
- data/doc/tutorial/todolist.mkd +2 -2
- data/examples/blog/README +3 -0
- data/examples/blog/spec/blog.rb +101 -0
- data/examples/blog/{main.rb → start.rb} +0 -0
- data/examples/caching.rb +16 -5
- data/examples/layout.rb +41 -0
- data/examples/templates/template_amrita2.rb +1 -1
- data/examples/templates/template_erubis.rb +1 -1
- data/examples/templates/template_ezamar.rb +1 -1
- data/examples/templates/template_haml.rb +1 -1
- data/examples/templates/template_liquid.rb +1 -1
- data/examples/templates/template_markaby.rb +1 -1
- data/examples/templates/template_remarkably.rb +1 -1
- data/examples/todolist/README +1 -0
- data/{spec/examples → examples/todolist/spec}/todolist.rb +3 -3
- data/examples/todolist/{main.rb → start.rb} +0 -0
- data/examples/whywiki/{main.rb → start.rb} +0 -0
- data/examples/wiktacular/README +2 -0
- data/examples/wiktacular/spec/wiktacular.rb +146 -0
- data/examples/wiktacular/src/controller.rb +11 -0
- data/examples/wiktacular/src/model.rb +5 -1
- data/examples/wiktacular/{main.rb → start.rb} +0 -1
- data/examples/wiktacular/template/edit.xhtml +1 -2
- data/examples/wiktacular/template/html_layout.xhtml +27 -0
- data/examples/wiktacular/template/index.xhtml +8 -10
- data/examples/wiktacular/template/new.xhtml +1 -2
- data/lib/proto/{main.rb → start.rb} +0 -0
- data/lib/proto/template/index.xhtml +1 -1
- data/lib/ramaze/action/render.rb +58 -4
- data/lib/ramaze/action.rb +20 -0
- data/lib/ramaze/adapter/cgi.rb +7 -4
- data/lib/ramaze/adapter/fcgi.rb +6 -4
- data/lib/ramaze/adapter/mongrel.rb +4 -0
- data/lib/ramaze/adapter/webrick.rb +20 -9
- data/lib/ramaze/adapter.rb +3 -1
- data/lib/ramaze/cache/memcached.rb +2 -26
- data/lib/ramaze/cache.rb +8 -4
- data/lib/ramaze/controller/resolve.rb +26 -8
- data/lib/ramaze/controller.rb +44 -7
- data/lib/ramaze/dispatcher/action.rb +5 -1
- data/lib/ramaze/dispatcher/directory.rb +115 -0
- data/lib/ramaze/dispatcher/error.rb +19 -5
- data/lib/ramaze/dispatcher/file.rb +2 -2
- data/lib/ramaze/dispatcher.rb +52 -39
- data/lib/ramaze/global/dsl.rb +3 -2
- data/lib/ramaze/global/globalstruct.rb +26 -4
- data/lib/ramaze/global.rb +20 -11
- data/lib/ramaze/helper/aspect.rb +29 -11
- data/lib/ramaze/helper/auth.rb +2 -2
- data/lib/ramaze/helper/cache.rb +2 -0
- data/lib/ramaze/helper/identity.rb +21 -6
- data/lib/ramaze/helper/link.rb +1 -1
- data/lib/ramaze/helper/pager.rb +158 -100
- data/lib/ramaze/helper/partial.rb +22 -0
- data/lib/ramaze/helper/redirect.rb +1 -2
- data/lib/ramaze/helper/stack.rb +1 -1
- data/lib/ramaze/inform/informer.rb +20 -0
- data/lib/ramaze/inform/syslog.rb +5 -0
- data/lib/ramaze/snippets/kernel/__dir__.rb +21 -0
- data/lib/ramaze/snippets/kernel/aquire.rb +22 -12
- data/lib/ramaze/snippets/numeric/human_readable_filesize_format.rb +33 -0
- data/lib/ramaze/snippets/ramaze/caller_lines.rb +1 -1
- data/lib/ramaze/snippets/struct/values_at.rb +11 -4
- data/lib/ramaze/sourcereload.rb +29 -1
- data/{spec → lib/ramaze/spec}/helper/context.rb +0 -0
- data/{spec → lib/ramaze/spec}/helper/layout.rb +1 -1
- data/{spec → lib/ramaze/spec}/helper/minimal.rb +0 -0
- data/{spec → lib/ramaze/spec}/helper/mock_http.rb +0 -0
- data/{spec → lib/ramaze/spec}/helper/requester.rb +0 -0
- data/{spec → lib/ramaze/spec}/helper/simple_http.rb +0 -0
- data/{spec → lib/ramaze/spec}/helper/wrap.rb +0 -0
- data/lib/ramaze/spec/helper.rb +60 -0
- data/lib/ramaze/store/default.rb +3 -0
- data/lib/ramaze/template/ezamar/render_partial.rb +3 -0
- data/lib/ramaze/template/sass.rb +45 -0
- data/lib/ramaze/template.rb +1 -1
- data/lib/ramaze/tool/create.rb +5 -5
- data/lib/ramaze/tool/localize.rb +26 -5
- data/lib/ramaze/tool/mime.rb +7 -0
- data/lib/ramaze/trinity/response.rb +15 -0
- data/lib/ramaze/trinity/session.rb +1 -1
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze.rb +5 -0
- data/rake_tasks/conf.rake +4 -4
- data/rake_tasks/maintaince.rake +12 -7
- data/rake_tasks/spec.rake +7 -4
- data/spec/examples/caching.rb +6 -8
- data/spec/helper.rb +3 -60
- data/spec/ramaze/action/basics.rb +17 -0
- data/spec/ramaze/action/cache.rb +28 -0
- data/spec/ramaze/action/layout.rb +110 -0
- data/spec/ramaze/action/render.rb +14 -0
- data/spec/ramaze/action/template/bar.xhtml +1 -0
- data/spec/ramaze/action/template/other_wrapper.xhtml +1 -0
- data/spec/ramaze/action/template/single_wrapper.xhtml +1 -0
- data/spec/ramaze/controller/template/edit/content.xhtml +1 -0
- data/spec/ramaze/controller/template/edit.xhtml +1 -0
- data/spec/ramaze/controller/template_resolving.rb +2 -2
- data/spec/ramaze/dispatcher/directory.rb +53 -0
- data/spec/ramaze/dispatcher/file.rb +0 -3
- data/spec/ramaze/error.rb +17 -2
- data/spec/ramaze/helper/aspect.rb +14 -20
- data/spec/ramaze/helper/pager.rb +83 -1
- data/spec/ramaze/helper/partial.rb +1 -1
- data/spec/ramaze/helper/template/test_template.xhtml +1 -0
- data/spec/ramaze/inform/informer.rb +37 -5
- data/spec/ramaze/localize.rb +1 -1
- data/spec/ramaze/template/haml.rb +5 -5
- data/spec/ramaze/template/sass/file.css.sass +5 -0
- data/spec/ramaze/template/sass.rb +46 -0
- data/spec/ramaze/template.rb +1 -1
- data/spec/ramaze/trinity/session.rb +27 -0
- data/spec/snippets/kernel/__dir__.rb +8 -0
- data/spec/snippets/kernel/aquire.rb +71 -0
- data/spec/snippets/kernel/constant.rb +27 -0
- data/spec/snippets/numeric/human_readable_filesize_format.rb +11 -0
- data/spec/snippets/ramaze/caller_info.rb +39 -0
- data/spec/snippets/ramaze/caller_lines.rb +27 -0
- data/spec/snippets/string/DIVIDE.rb +18 -0
- data/spec/snippets/string/camel_case.rb +25 -0
- data/spec/snippets/string/color.rb +11 -0
- data/spec/snippets/string/snake_case.rb +17 -0
- data/spec/snippets/struct/fill.rb +27 -0
- data/spec/snippets/struct/values_at.rb +39 -0
- metadata +71 -31
- data/examples/todolist/todolist.db +0 -5
- data/examples/wiktacular/src/page.rb +0 -66
- data/lib/ramaze/helper/feed.rb +0 -135
- data/lib/ramaze/helper/form.rb +0 -204
- data/lib/ramaze/snippets/openstruct/temp.rb +0 -13
- data/lib/ramaze/store/yaml.rb +0 -170
- data/spec/ramaze/helper/feed.rb +0 -127
- data/spec/ramaze/helper/form.rb +0 -146
- data/spec/ramaze/store/yaml.rb +0 -76
data/bin/ramaze
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
|
|
3
|
+
begin
|
|
4
|
+
require 'rubygems'
|
|
5
|
+
rescue LoadError
|
|
6
|
+
end
|
|
7
|
+
|
|
3
8
|
require 'ramaze'
|
|
4
9
|
|
|
5
10
|
RAMAZE_VERSION = "Ramaze Version #{Ramaze::VERSION}"
|
|
@@ -11,40 +16,59 @@ require 'abbrev'
|
|
|
11
16
|
options = {:origin => :console, :create => false, :force => true}
|
|
12
17
|
cli_options = Ramaze::CLI_OPTIONS
|
|
13
18
|
cli_abbrevs = cli_options.map{|o| o.name.to_s}.abbrev
|
|
19
|
+
|
|
20
|
+
# options occupied by custom switches
|
|
21
|
+
%w[e h i].each{|key| cli_abbrevs.delete key}
|
|
14
22
|
cli_abbrevs = Hash[*cli_abbrevs.select{|k,v| k.size == 1}.flatten].invert
|
|
15
23
|
|
|
16
24
|
opts = OptionParser.new do |opt|
|
|
17
|
-
ruby_version = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
|
25
|
+
ruby_version = "ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
|
18
26
|
ramaze_version = "#{RAMAZE_VERSION}, on #{ruby_version}"
|
|
19
27
|
|
|
20
|
-
opt.banner = "Usage: ramaze
|
|
28
|
+
opt.banner = "Usage: ramaze start.rb [OPTIONS]"
|
|
21
29
|
opt.define_head ramaze_version
|
|
22
30
|
|
|
23
|
-
opt.
|
|
24
|
-
|
|
31
|
+
opt.separator ''
|
|
32
|
+
opt.separator 'Specialized options:'
|
|
33
|
+
|
|
34
|
+
opt.on('--create PROJECT', "A new application based on proto.") do |project_name|
|
|
35
|
+
options[:create] = project_name
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
opt.on('-eSTRING', '--execute STRING', String, "Execute string instead of a start.rb.") do |execute|
|
|
39
|
+
options[:execute] = execute
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
opt.on('-i', '--instant', "Start up with bare-bones Controller") do |instant|
|
|
43
|
+
options[:instant] = instant
|
|
25
44
|
end
|
|
26
45
|
|
|
46
|
+
opt.separator ''
|
|
47
|
+
opt.separator 'Global options, value in [] shows default.'
|
|
48
|
+
|
|
27
49
|
cli_options.each do |option|
|
|
28
50
|
cli_name = option.name.to_s.gsub('_', '-')
|
|
29
|
-
short_option = cli_abbrevs[option.name.to_s]
|
|
30
|
-
short_option =
|
|
51
|
+
short_option = (option.short || cli_abbrevs[option.name.to_s])
|
|
52
|
+
short_option = "-#{short_option}" if short_option
|
|
31
53
|
long_option = '--' + cli_name
|
|
54
|
+
doc = "[#{option.cli.inspect}] #{option.doc}"
|
|
32
55
|
|
|
33
56
|
case option.cli
|
|
34
57
|
when TrueClass
|
|
35
|
-
params = [short_option, "--[no-]#{cli_name}",
|
|
58
|
+
params = [short_option, "--[no-]#{cli_name}", doc]
|
|
36
59
|
when FalseClass
|
|
37
|
-
params = [short_option, long_option,
|
|
60
|
+
params = [short_option, long_option, doc]
|
|
38
61
|
when Numeric
|
|
39
|
-
params = [short_option, "#{long_option} NUM", Integer,
|
|
62
|
+
params = [short_option, "#{long_option} NUM", Integer, doc]
|
|
40
63
|
when String
|
|
41
|
-
params = [short_option, "#{long_option} STRING", String,
|
|
64
|
+
params = [short_option, "#{long_option} STRING", String, doc]
|
|
42
65
|
when Array
|
|
43
66
|
index = option.cli.map(&:to_s)
|
|
44
67
|
aliases = index.abbrev
|
|
45
68
|
list = " (#{index.join(', ')})"
|
|
69
|
+
doc = "[#{option.default.inspect}] #{option.doc}"
|
|
46
70
|
|
|
47
|
-
params = [short_option, "#{long_option} CHOICE", index, aliases,
|
|
71
|
+
params = [short_option, "#{long_option} CHOICE", index, aliases, doc, list]
|
|
48
72
|
else
|
|
49
73
|
pp option
|
|
50
74
|
next
|
|
@@ -58,8 +82,7 @@ opts = OptionParser.new do |opt|
|
|
|
58
82
|
opt.separator ''
|
|
59
83
|
opt.separator 'Common options:'
|
|
60
84
|
|
|
61
|
-
|
|
62
|
-
opt.on_tail('-?', '--help', 'Show this message') do
|
|
85
|
+
opt.on_tail('-h', '--help', 'Show this message') do
|
|
63
86
|
puts opts
|
|
64
87
|
exit
|
|
65
88
|
end
|
|
@@ -71,7 +94,9 @@ opts = OptionParser.new do |opt|
|
|
|
71
94
|
end
|
|
72
95
|
|
|
73
96
|
opts.parse!(ARGV)
|
|
74
|
-
runner = (ARGV + ['
|
|
97
|
+
runner = (ARGV + ['start.rb']).find{|f| File.exists?(f)}
|
|
98
|
+
execute = options.delete :execute
|
|
99
|
+
instant = options.delete :instant
|
|
75
100
|
|
|
76
101
|
if project = options.delete(:create)
|
|
77
102
|
require 'ramaze/tool/create'
|
|
@@ -79,20 +104,27 @@ if project = options.delete(:create)
|
|
|
79
104
|
exit
|
|
80
105
|
end
|
|
81
106
|
|
|
82
|
-
|
|
83
|
-
abort(opts)
|
|
107
|
+
unless ARGV.any? or [runner, execute, instant].any?
|
|
108
|
+
abort(opts.to_s)
|
|
84
109
|
end
|
|
85
110
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
111
|
+
if execute
|
|
112
|
+
eval execute
|
|
113
|
+
elsif instant
|
|
114
|
+
class MainController < Ramaze::Controller
|
|
115
|
+
end
|
|
116
|
+
else
|
|
117
|
+
begin
|
|
118
|
+
puts "running `#{runner}'"
|
|
119
|
+
require runner.to_s
|
|
120
|
+
rescue LoadError => ex
|
|
121
|
+
puts ex
|
|
122
|
+
puts ex.backtrace
|
|
123
|
+
puts "Maybe i cannot find `#{runner}'"
|
|
124
|
+
puts "You could provide a file to execute like:"
|
|
125
|
+
puts "$ ramaze myapp.rb"
|
|
126
|
+
exit
|
|
127
|
+
end
|
|
96
128
|
end
|
|
97
129
|
|
|
98
130
|
if options.delete(:console)
|
data/doc/AUTHORS
CHANGED
|
@@ -3,9 +3,11 @@ Following persons (in alphabetical order) have contributed to Ramaze:
|
|
|
3
3
|
Aman Gupta - ramaze@tmm1.net
|
|
4
4
|
Christian Neukirchen - chneukirchen@gmail.com
|
|
5
5
|
Clive Crous - clive@crous.co.za
|
|
6
|
+
Fabian Buch - fabian.buch@fabian-buch.de
|
|
6
7
|
Gabriele Renzi - rff.rff@gmail.com
|
|
7
8
|
Jonathan Buch - jo@helloit.fi
|
|
8
9
|
Lars Olsson - lasso@lassoweb.se
|
|
9
10
|
Martin Hilbig - blueonyx@dev-area.net
|
|
10
11
|
Michael Fellinger - manveru@weez-int.com
|
|
12
|
+
Pistos - jesuswasramazing.10.pistos@geoshell.com
|
|
11
13
|
zenix - comp.lang.zenix+ramaze@gmail.com
|
data/doc/CHANGELOG
CHANGED
|
@@ -1,3 +1,404 @@
|
|
|
1
|
+
Thu Sep 6 21:24:53 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
2
|
+
* Update doc/AUTHORS
|
|
3
|
+
|
|
4
|
+
Thu Sep 6 21:21:25 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
5
|
+
* Update announcement
|
|
6
|
+
|
|
7
|
+
Thu Sep 6 14:28:18 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
8
|
+
* Fixing some more spaces.
|
|
9
|
+
|
|
10
|
+
Thu Sep 6 14:28:01 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
11
|
+
* Adding (c) to Numeric#human_readable_filesize_format
|
|
12
|
+
|
|
13
|
+
Thu Sep 6 14:27:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
14
|
+
* Adding --instant option to start bin/ramaze with an empty controller.
|
|
15
|
+
|
|
16
|
+
Thu Sep 6 14:23:36 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
17
|
+
* Adding Numeric#human_readable_filesize_format and using it in the directory-listing.
|
|
18
|
+
|
|
19
|
+
Thu Sep 6 01:10:41 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
20
|
+
* remove some useless debugging-information
|
|
21
|
+
|
|
22
|
+
Thu Sep 6 00:57:47 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
23
|
+
* remove deprecated spec from dispatcher/file
|
|
24
|
+
|
|
25
|
+
Thu Sep 6 00:52:29 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
26
|
+
* Remove the now useless controller/directory
|
|
27
|
+
|
|
28
|
+
Thu Sep 6 00:50:24 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
29
|
+
* Minor fix to Action#extended_path
|
|
30
|
+
|
|
31
|
+
Thu Sep 6 00:46:38 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
32
|
+
* Medium refactoring of bin/ramaze, adding better functionality in Global for it and adding some niceties for Global.public_root/template_root
|
|
33
|
+
|
|
34
|
+
Thu Sep 6 00:41:47 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
35
|
+
* Fixing directory listing and adding spec
|
|
36
|
+
|
|
37
|
+
Wed Sep 5 19:52:59 JST 2007 rff.rff@gmail.com
|
|
38
|
+
* spec for Informer case statement in initialize
|
|
39
|
+
|
|
40
|
+
Wed Sep 5 19:07:09 JST 2007 rff.rff@gmail.com
|
|
41
|
+
* spec for Action#to_hash
|
|
42
|
+
|
|
43
|
+
Wed Sep 5 18:36:22 JST 2007 rff.rff@gmail.com
|
|
44
|
+
* spec for Struct#values_at
|
|
45
|
+
|
|
46
|
+
Wed Sep 5 18:34:39 JST 2007 rff.rff@gmail.com
|
|
47
|
+
* spec for Struct#fill
|
|
48
|
+
|
|
49
|
+
Wed Sep 5 18:32:13 JST 2007 rff.rff@gmail.com
|
|
50
|
+
* make snippets/struct/values_at behaviour compatible with standard ruby
|
|
51
|
+
|
|
52
|
+
Wed Sep 5 13:14:24 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
53
|
+
* The usual, fixing some end-spaces.
|
|
54
|
+
|
|
55
|
+
Tue Sep 4 21:10:56 JST 2007 rff.rff@gmail.com
|
|
56
|
+
* doc fix for caller_lines
|
|
57
|
+
|
|
58
|
+
Tue Sep 4 21:07:59 JST 2007 rff.rff@gmail.com
|
|
59
|
+
* spec for Ramaze#caller_lines
|
|
60
|
+
|
|
61
|
+
Tue Sep 4 20:54:14 JST 2007 rff.rff@gmail.com
|
|
62
|
+
* spec for Ramaze#caller_info
|
|
63
|
+
|
|
64
|
+
Mon Sep 3 19:56:07 JST 2007 rff.rff@gmail.com
|
|
65
|
+
* remove useless snippets/openstruct
|
|
66
|
+
|
|
67
|
+
Mon Sep 3 19:41:57 JST 2007 rff.rff@gmail.com
|
|
68
|
+
* spec for String#snake_case
|
|
69
|
+
|
|
70
|
+
Mon Sep 3 19:35:56 JST 2007 rff.rff@gmail.com
|
|
71
|
+
* spec for String#DIVIDE
|
|
72
|
+
|
|
73
|
+
Mon Sep 3 19:31:55 JST 2007 rff.rff@gmail.com
|
|
74
|
+
* spec for String#color
|
|
75
|
+
|
|
76
|
+
Mon Sep 3 19:24:05 JST 2007 rff.rff@gmail.com
|
|
77
|
+
* tests for snippet/string/camel_case
|
|
78
|
+
|
|
79
|
+
Mon Sep 3 17:59:38 JST 2007 rff.rff@gmail.com
|
|
80
|
+
* small spec for __DIR__ snippet
|
|
81
|
+
|
|
82
|
+
Mon Sep 3 17:55:32 JST 2007 rff.rff@gmail.com
|
|
83
|
+
* snippets specs for aquire,constant
|
|
84
|
+
|
|
85
|
+
Mon Sep 3 18:13:49 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
86
|
+
* Fixing rake_tasks/spec for example specs
|
|
87
|
+
|
|
88
|
+
Mon Sep 3 16:37:46 JST 2007 rff.rff@gmail.com
|
|
89
|
+
* more minimal READMES
|
|
90
|
+
|
|
91
|
+
Mon Sep 3 16:19:39 JST 2007 rff.rff@gmail.com
|
|
92
|
+
* README for examples/blog
|
|
93
|
+
|
|
94
|
+
Mon Sep 3 05:41:40 JST 2007 rff.rff@gmail.com
|
|
95
|
+
* Og's logger will write to STDERR which means that even if all tests pass
|
|
96
|
+
SpecWrapper will show it in red and show the error report.
|
|
97
|
+
It seems that using Ramaze::Inform as the default logger for it works,
|
|
98
|
+
but maybe it should be done in start.rb, or we should use Logger.set(STDOUT)
|
|
99
|
+
|
|
100
|
+
Mon Sep 3 02:41:20 JST 2007 rff.rff@gmail.com
|
|
101
|
+
* removed require ramaze from wiktacular specs )
|
|
102
|
+
|
|
103
|
+
Mon Sep 3 02:35:51 JST 2007 rff.rff@gmail.com
|
|
104
|
+
* these are just simple specs for example/blog, again more useful to
|
|
105
|
+
show users how to write tests than to test the ramaze infrastructure.
|
|
106
|
+
|
|
107
|
+
Strangely, all test pass but it is shown with a red bar from ramaze's rake.
|
|
108
|
+
|
|
109
|
+
Mon Sep 3 01:56:03 JST 2007 rff.rff@gmail.com
|
|
110
|
+
* specs for wiktacular/{revert/unrevert} + refactoring
|
|
111
|
+
|
|
112
|
+
Mon Sep 3 16:52:43 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
113
|
+
* Rewrite of Kernel#aquire
|
|
114
|
+
|
|
115
|
+
Mon Sep 3 21:39:02 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
116
|
+
* Make Struct#values_at backwards-compatible but remove Symbol#to_int (deprecated by ruby1.9)
|
|
117
|
+
|
|
118
|
+
Sun Sep 2 17:51:10 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
119
|
+
* Changing implementation of __DIR__ a bit.
|
|
120
|
+
|
|
121
|
+
Fri Aug 31 21:49:04 JST 2007 rff.rff@gmail.com
|
|
122
|
+
* more tests for wiktacular to show post() usage
|
|
123
|
+
|
|
124
|
+
Thu Aug 30 18:09:25 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
125
|
+
* Adding the filecache meta structure and renaming Global.action_file_cached to Global.file_cache, adding Global.file_cache_meta_dir
|
|
126
|
+
|
|
127
|
+
Fri Aug 31 08:37:48 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
128
|
+
* Fixing typo in StackHelper docs.
|
|
129
|
+
|
|
130
|
+
Tue Aug 28 23:15:40 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
131
|
+
* Make the wiktacular spec work standalone and fix its dependence on hash-order
|
|
132
|
+
|
|
133
|
+
Tue Aug 28 23:00:07 JST 2007 rff.rff@gmail.com
|
|
134
|
+
* added __DIR__ snippet and change wiktacular to use it
|
|
135
|
+
|
|
136
|
+
Tue Aug 28 22:25:48 JST 2007 rff.rff@gmail.com
|
|
137
|
+
* last __DIR__ usage in spec
|
|
138
|
+
|
|
139
|
+
Tue Aug 28 22:24:04 JST 2007 rff.rff@gmail.com
|
|
140
|
+
* __DIR__ usage in examples
|
|
141
|
+
|
|
142
|
+
Tue Aug 28 22:17:03 JST 2007 rff.rff@gmail.com
|
|
143
|
+
* more __DIR__ usage in specs
|
|
144
|
+
|
|
145
|
+
Tue Aug 28 22:11:52 JST 2007 rff.rff@gmail.com
|
|
146
|
+
* changed todolist's spec to use __DIR__
|
|
147
|
+
|
|
148
|
+
Tue Aug 28 22:09:56 JST 2007 rff.rff@gmail.com
|
|
149
|
+
* use __DIR__ in specs
|
|
150
|
+
|
|
151
|
+
Tue Aug 28 20:30:04 JST 2007 rff.rff@gmail.com
|
|
152
|
+
* refactor controller/model to hide path handling
|
|
153
|
+
|
|
154
|
+
Tue Aug 28 20:22:02 JST 2007 rff.rff@gmail.com
|
|
155
|
+
* make wiktacular test work
|
|
156
|
+
the dummy specs for wiktacular are now runnable standalone or from rake.
|
|
157
|
+
It was a path problem. Needs consolidation in the model.
|
|
158
|
+
|
|
159
|
+
Tue Aug 28 21:08:00 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
160
|
+
* Remove restriction on Haml, version 1.7.0 fixed the activesupport issue.
|
|
161
|
+
|
|
162
|
+
Tue Aug 28 19:07:46 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
163
|
+
* Make executing spec-files directly work again.
|
|
164
|
+
|
|
165
|
+
Tue Aug 28 19:06:32 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
166
|
+
* Update memcached, remove our flush_all hack, since this is supported by the latest version, add alias from #clear to #flush_all
|
|
167
|
+
|
|
168
|
+
Mon Aug 27 00:37:48 JST 2007 rff.rff@gmail.com
|
|
169
|
+
* fixed todolist.rb so that spec run fine both from ramaze's rakefile and standalone
|
|
170
|
+
|
|
171
|
+
Mon Aug 27 00:26:12 JST 2007 rff.rff@gmail.com
|
|
172
|
+
* re-added a commodity spec/helper to avoid changing all spec files
|
|
173
|
+
|
|
174
|
+
Mon Aug 27 00:23:16 JST 2007 rff.rff@gmail.com
|
|
175
|
+
* example/todolist's db will be deleted at each test run, so we remay
|
|
176
|
+
|
|
177
|
+
Mon Aug 27 00:09:50 JST 2007 rff.rff@gmail.com
|
|
178
|
+
* move todolist's test in example/todolist/spec
|
|
179
|
+
|
|
180
|
+
Mon Aug 27 00:06:23 JST 2007 rff.rff@gmail.com
|
|
181
|
+
* mv spec/helper -> ramaze/spec/helper and accomodated requires.
|
|
182
|
+
|
|
183
|
+
This means that end-users can use it for their own proijects by requiring
|
|
184
|
+
ramaze/spec/helper, and we can add tests to the examples instead of leaving them
|
|
185
|
+
in ramaze's spec directory.
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
Mon Aug 27 00:04:19 JST 2007 rff.rff@gmail.com
|
|
189
|
+
* add cancel links to wiktacular templates
|
|
190
|
+
|
|
191
|
+
Sun Aug 26 22:48:25 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
192
|
+
* Add missing html_layout.xhtml for wiktacular example.
|
|
193
|
+
|
|
194
|
+
Tue Aug 21 14:15:23 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
195
|
+
* Fixing and improving filebased caching. '/' should be transformed to '/index' in Dispatcher::File.
|
|
196
|
+
|
|
197
|
+
Sat Aug 18 20:54:11 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
198
|
+
* adding some path related methods to Action
|
|
199
|
+
|
|
200
|
+
Sat Aug 18 20:13:29 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
201
|
+
* Adding filebased cache of actions... very alpha so please try it and suggest improvments (code donations more than welcome)
|
|
202
|
+
|
|
203
|
+
Sun Aug 12 18:02:49 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
204
|
+
* Add Action#fullpath
|
|
205
|
+
|
|
206
|
+
Sun Aug 12 14:22:14 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
207
|
+
* Create new Action for requests, modifying the cached one is dangerous.
|
|
208
|
+
|
|
209
|
+
Sat Aug 11 20:24:27 JST 2007 Fabian Buch <fabian.buch@fabian-buch.de>
|
|
210
|
+
* changed Adapter to circumvent JRubys TCPServer bug (http://jira.codehaus.org/browse/JRUBY-1266)
|
|
211
|
+
Ramaze now works in JRuby with Webrick, tested on a PPC-Mac with JRuby 1.0
|
|
212
|
+
|
|
213
|
+
Wed Aug 8 20:12:39 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
214
|
+
* Add detailed error-message if haml 1.7.0 is installed but no activesupport.
|
|
215
|
+
|
|
216
|
+
Wed Aug 8 19:50:20 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
217
|
+
* Improve text for redirection.
|
|
218
|
+
|
|
219
|
+
Wed Aug 8 19:49:11 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
220
|
+
* Make examples/caching not based on computation, that is very error-prone and slow, use rand instead.
|
|
221
|
+
|
|
222
|
+
Wed Aug 8 19:47:57 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
223
|
+
* More robust spec for informer
|
|
224
|
+
|
|
225
|
+
Fri Aug 3 14:56:15 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
226
|
+
* Fixing multiple actions per layout.
|
|
227
|
+
|
|
228
|
+
Fri Aug 3 00:13:01 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
229
|
+
* Remove references to FeedHelper/FormHelper from the features readme chunk.
|
|
230
|
+
|
|
231
|
+
Fri Aug 3 00:08:40 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
232
|
+
* Update doc/meta/configuration.txt to reflect cookies => sessions.
|
|
233
|
+
|
|
234
|
+
Fri Aug 3 00:03:13 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
235
|
+
* Global.cookies is now Global.sessions and actually works ;)
|
|
236
|
+
|
|
237
|
+
Thu Aug 2 13:42:18 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
238
|
+
* Add examples/layout.rb
|
|
239
|
+
|
|
240
|
+
Tue Jul 31 21:16:29 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
241
|
+
* Making layouts more flexible but not yet stackable.
|
|
242
|
+
|
|
243
|
+
Mon Jul 30 20:48:41 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
244
|
+
* Fix aspect spec and aspects for template-only actions.
|
|
245
|
+
|
|
246
|
+
Mon Jul 30 18:11:16 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
247
|
+
* Harmonize Fcgi documentation and code
|
|
248
|
+
|
|
249
|
+
Mon Jul 30 09:06:20 JST 2007 Aman Gupta <ramaze@tmm1.net>
|
|
250
|
+
* Updated spec for aspect helper
|
|
251
|
+
|
|
252
|
+
Mon Jul 30 11:02:25 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
253
|
+
* Update description of gem
|
|
254
|
+
|
|
255
|
+
Sat Aug 11 15:04:13 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
256
|
+
* Remove the faulty path from the post_install message on installing a gem.
|
|
257
|
+
|
|
258
|
+
Sun Jul 29 22:11:07 JST 2007 comp.lang.zenix+ramaze@gmail.com
|
|
259
|
+
* Added directory listing & another option
|
|
260
|
+
|
|
261
|
+
Sun Jul 29 02:18:34 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
262
|
+
* move Dispatcher::build_response to Response#build
|
|
263
|
+
|
|
264
|
+
Sat Jul 28 21:56:41 JST 2007 Jonathan Buch <jo@helloit.fi>
|
|
265
|
+
* partial helper module docs, pager add docs for private methods too
|
|
266
|
+
|
|
267
|
+
Sat Jul 28 19:59:45 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
268
|
+
* Docs for Dispatcher::Action and RenderPartial, improving docs a bit concerning aspects *_all
|
|
269
|
+
|
|
270
|
+
Sat Jul 28 19:46:45 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
271
|
+
* Full docs for Cache
|
|
272
|
+
|
|
273
|
+
Sat Jul 28 19:44:49 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
274
|
+
* Full docs for CacheHelper
|
|
275
|
+
|
|
276
|
+
Sat Jul 28 19:43:16 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
277
|
+
* A bit of meta-docs for IdentityHelper.
|
|
278
|
+
|
|
279
|
+
Sat Jul 28 19:30:05 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
280
|
+
* finalize docs for controller/resolve
|
|
281
|
+
|
|
282
|
+
Sat Jul 28 19:26:35 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
283
|
+
* document Localize class
|
|
284
|
+
|
|
285
|
+
Sat Jul 28 19:24:38 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
286
|
+
* Remove FormHelper and specs
|
|
287
|
+
|
|
288
|
+
Sat Jul 28 19:22:52 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
289
|
+
* Remove ReFeed/FeedHelper and Store::YAML and their specs
|
|
290
|
+
|
|
291
|
+
Sat Jul 28 20:22:41 JST 2007 Jonathan Buch <jo@helloit.fi>
|
|
292
|
+
* Pager: documentation, major spec update
|
|
293
|
+
|
|
294
|
+
Sat Jul 28 06:27:35 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
295
|
+
* Fix typos in AuthHelper
|
|
296
|
+
|
|
297
|
+
Sat Jul 28 06:06:26 JST 2007 Aman Gupta <ramaze@tmm1.net>
|
|
298
|
+
* Haml/Sass spec cleanup
|
|
299
|
+
|
|
300
|
+
Fri Jul 27 13:42:23 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
301
|
+
* Documentation for mongrel/fcgi/cgi and sourcereload, reduces some overhead in the Cgi and Fcgi adapters.
|
|
302
|
+
|
|
303
|
+
Fri Jul 27 13:35:26 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
304
|
+
* update docs concerning FeedHelper and ReFeed.
|
|
305
|
+
|
|
306
|
+
Fri Jul 27 13:28:36 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
307
|
+
* Change wiktacular so it uses layout instead of Page.
|
|
308
|
+
|
|
309
|
+
Fri Jul 27 13:26:08 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
310
|
+
* Put initial mapping into Controller::inherited so layout can work with it. Controller::startup is too late. Also introduces a change to delete any old mapping on usage of Controller::map.
|
|
311
|
+
|
|
312
|
+
Fri Jul 27 08:54:25 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
313
|
+
* Add default content-type text/css for Sass and update specs for it
|
|
314
|
+
|
|
315
|
+
Fri Jul 27 08:48:35 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
316
|
+
* Add autoload for Sass
|
|
317
|
+
|
|
318
|
+
Fri Jul 27 08:34:04 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
319
|
+
* Fix typo in proto/template/index.xhtml
|
|
320
|
+
|
|
321
|
+
Fri Jul 27 04:48:23 JST 2007 Aman Gupta <ramaze@tmm1.net>
|
|
322
|
+
* initial support for Sass CSS templates
|
|
323
|
+
|
|
324
|
+
Thu Jul 26 20:45:57 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
325
|
+
* Implementing layouts, view this patch to find out more as it also adds docs and specs
|
|
326
|
+
|
|
327
|
+
Thu Jul 26 17:35:47 JST 2007 Jonathan Buch <jo@helloit.fi>
|
|
328
|
+
* Documentation for tool/localize
|
|
329
|
+
|
|
330
|
+
Thu Jul 26 19:09:58 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
331
|
+
* Add another spec for Action()
|
|
332
|
+
|
|
333
|
+
Thu Jul 26 01:37:17 JST 2007 comp.lang.zenix+ramaze@gmail.com
|
|
334
|
+
* Added capitalization to Ramaze::Tool::Create output
|
|
335
|
+
|
|
336
|
+
Wed Jul 25 18:29:41 JST 2007 comp.lang.zenix+ramaze@gmail.com
|
|
337
|
+
* Updated user map information, added riffraff
|
|
338
|
+
|
|
339
|
+
Wed Jul 25 15:51:41 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
340
|
+
* minor beautification and docs for controller/resolve
|
|
341
|
+
|
|
342
|
+
Wed Jul 25 15:42:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
343
|
+
* fix a end-space
|
|
344
|
+
|
|
345
|
+
Wed Jul 25 15:41:07 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
346
|
+
* Further improvment on error-handling on exception during render
|
|
347
|
+
|
|
348
|
+
Wed Jul 25 16:15:51 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
349
|
+
* Add tries to require rubygems
|
|
350
|
+
|
|
351
|
+
Wed Jul 25 13:55:21 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
352
|
+
* fix typo in bin/ramaze
|
|
353
|
+
|
|
354
|
+
Tue Jul 24 20:47:31 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
355
|
+
* Documentation for Dispatcher, GlobalStruct, Dispatcher::Error, Tool::MIME, Response, Store::Default (adds some beautification in Dispatcher)
|
|
356
|
+
|
|
357
|
+
Tue Jul 24 14:15:36 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
358
|
+
* document AspectHelper and Syslog
|
|
359
|
+
|
|
360
|
+
Tue Jul 24 14:00:58 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
361
|
+
* document some raketasks
|
|
362
|
+
|
|
363
|
+
Tue Jul 24 14:00:30 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
364
|
+
* move error-message in sourcereload into the failed hook
|
|
365
|
+
|
|
366
|
+
Tue Jul 24 14:00:17 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
367
|
+
* full docs for sourcereload
|
|
368
|
+
|
|
369
|
+
Tue Jul 24 13:59:57 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
370
|
+
* docs for informer
|
|
371
|
+
|
|
372
|
+
Tue Jul 24 13:59:15 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
373
|
+
* main.rb is now start.rb
|
|
374
|
+
|
|
375
|
+
Tue Jul 24 08:16:25 JST 2007 Aman Gupta <ramaze@tmm1.net>
|
|
376
|
+
* tmm1's location on the ramaze users map
|
|
377
|
+
|
|
378
|
+
Tue Jul 24 01:48:24 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
379
|
+
* add placemark for zenix
|
|
380
|
+
|
|
381
|
+
Tue Jul 24 01:30:54 JST 2007 jesuswasramazing.10.pistos@geoshell.com
|
|
382
|
+
* Added Pistos avatar.
|
|
383
|
+
|
|
384
|
+
Tue Jul 24 01:03:54 JST 2007 jesuswasramazing.10.pistos@geoshell.com
|
|
385
|
+
* Update of Pistos' description on Google Map.
|
|
386
|
+
|
|
387
|
+
Tue Jul 24 01:03:12 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
388
|
+
* update users.kml
|
|
389
|
+
|
|
390
|
+
Tue Jul 24 00:46:03 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
391
|
+
* add doc/meta/users.kml
|
|
392
|
+
|
|
393
|
+
Sun Jul 22 03:24:06 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
394
|
+
* fix abort for bin/ramaze
|
|
395
|
+
|
|
396
|
+
Sat Jul 21 22:20:17 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
397
|
+
* Add desc to release task
|
|
398
|
+
|
|
399
|
+
Sat Jul 21 22:09:12 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
400
|
+
* Update CHANGELOG and AUTHORS
|
|
401
|
+
|
|
1
402
|
Sat Jul 21 22:08:06 JST 2007 Michael Fellinger <m.fellinger@gmail.com>
|
|
2
403
|
tagged 0.1.3
|
|
3
404
|
|