ramaze 2010.06.18 → 2011.01
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/MANIFEST +9 -16
- data/README.md +37 -30
- data/Rakefile +5 -1
- data/TODO.md +19 -0
- data/doc/AUTHORS +5 -1
- data/doc/CHANGELOG +3553 -3272
- data/doc/tutorial/todolist.html +1512 -1512
- data/examples/app/blog/app.rb +2 -0
- data/examples/app/todolist/controller/init.rb +1 -2
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd +1 -1
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd +1 -1
- data/examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd +1 -1
- data/examples/app/wiktacular/mkd/main/current.mkd +1 -1
- data/examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd +1 -1
- data/examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd +2 -2
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd +16 -16
- data/examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd +16 -16
- data/examples/app/wiktacular/mkd/testing/current.mkd +16 -16
- data/lib/proto/model/init.rb +1 -1
- data/lib/proto/public/js/jquery.js +2034 -1095
- data/lib/proto/start.rb +2 -0
- data/lib/proto/view/index.xhtml +3 -3
- data/lib/ramaze.rb +1 -2
- data/lib/ramaze/cache.rb +1 -0
- data/lib/ramaze/cache/sequel.rb +131 -37
- data/lib/ramaze/controller.rb +1 -0
- data/lib/ramaze/gestalt.rb +75 -46
- data/lib/ramaze/helper.rb +1 -0
- data/lib/ramaze/helper/auth.rb +38 -4
- data/lib/ramaze/helper/blue_form.rb +498 -78
- data/lib/ramaze/helper/cache.rb +2 -2
- data/lib/ramaze/helper/csrf.rb +225 -0
- data/lib/ramaze/helper/erector.rb +67 -9
- data/lib/ramaze/helper/flash.rb +4 -2
- data/lib/ramaze/helper/gestalt.rb +2 -0
- data/lib/ramaze/helper/gravatar.rb +1 -1
- data/lib/ramaze/helper/localize.rb +4 -0
- data/lib/ramaze/helper/send_file.rb +30 -0
- data/lib/ramaze/helper/thread.rb +5 -0
- data/lib/ramaze/helper/user.rb +4 -3
- data/lib/ramaze/helper/xhtml.rb +87 -8
- data/lib/ramaze/log.rb +13 -0
- data/lib/ramaze/log/analogger.rb +15 -5
- data/lib/ramaze/log/growl.rb +28 -13
- data/lib/ramaze/log/hub.rb +12 -4
- data/lib/ramaze/log/informer.rb +28 -11
- data/lib/ramaze/log/knotify.rb +7 -2
- data/lib/ramaze/log/logger.rb +12 -4
- data/lib/ramaze/log/logging.rb +40 -14
- data/lib/ramaze/log/rotatinginformer.rb +47 -23
- data/lib/ramaze/log/syslog.rb +37 -31
- data/lib/ramaze/log/xosd.rb +7 -4
- data/lib/ramaze/middleware_compiler.rb +2 -2
- data/lib/ramaze/snippets/fiber.rb +63 -63
- data/lib/ramaze/snippets/ramaze/lru_hash.rb +1 -1
- data/lib/ramaze/tool/bin.rb +1 -1
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze/view.rb +4 -4
- data/lib/ramaze/view/erector.rb +88 -13
- data/ramaze.gemspec +65 -65
- data/spec/ramaze/bin/ramaze.rb +1 -1
- data/spec/ramaze/cache/localmemcache.rb +20 -12
- data/spec/ramaze/cache/sequel.rb +19 -19
- data/spec/ramaze/helper/blue_form.rb +549 -257
- data/spec/ramaze/helper/csrf.rb +109 -0
- data/spec/ramaze/helper/httpdigest.rb +31 -29
- data/spec/ramaze/helper/user.rb +1 -1
- data/spec/ramaze/helper/xhtml.rb +17 -0
- data/spec/ramaze/log/growl.rb +34 -0
- data/spec/ramaze/log/informer.rb +1 -0
- data/spec/ramaze/view/erector.rb +49 -71
- data/spec/ramaze/view/erector/external_view.erector +5 -0
- data/spec/ramaze/view/erector/index.erector +5 -0
- data/spec/ramaze/view/erector/layout.erector +13 -3
- data/spec/ramaze/view/erector/tables.erector +23 -0
- data/spec/ramaze/view/erector/view.erector +6 -0
- data/tasks/git.rake +2 -2
- metadata +133 -176
- data/examples/helpers/form_with_sequel.rb +0 -24
- data/examples/helpers/nitro_form.rb +0 -23
- data/lib/ramaze/helper/form.rb +0 -133
- data/lib/ramaze/helper/nitroform.rb +0 -14
- data/lib/ramaze/helper/pager.rb +0 -367
- data/lib/ramaze/helper/partial.rb +0 -100
- data/lib/ramaze/helper/sequel.rb +0 -55
- data/lib/ramaze/helper/sequel_form.rb +0 -284
- data/lib/vendor/etag.rb +0 -22
- data/spec/ramaze/helper/form.rb +0 -360
- data/spec/ramaze/helper/pager.rb +0 -96
- data/spec/ramaze/helper/sequel_form.rb +0 -94
- data/spec/ramaze/view/erector/external.erector +0 -1
- data/spec/ramaze/view/erector/invoke_helper_method.erector +0 -1
- data/spec/ramaze/view/erector/strict_xhtml.erector +0 -3
- data/spec/ramaze/view/erector/sum.erector +0 -1
@@ -198,7 +198,7 @@ module Ramaze
|
|
198
198
|
# given default instead. Optionally it also takes a block, the return value
|
199
199
|
# of the block is then stored and returned.
|
200
200
|
#
|
201
|
-
# @
|
201
|
+
# @example
|
202
202
|
#
|
203
203
|
# lru = LRUHash.new
|
204
204
|
# lru.fetch(:a) # => KeyError: key not found: :a
|
data/lib/ramaze/tool/bin.rb
CHANGED
data/lib/ramaze/version.rb
CHANGED
data/lib/ramaze/view.rb
CHANGED
@@ -22,20 +22,20 @@ module Ramaze
|
|
22
22
|
# Engines provided by Innate are:
|
23
23
|
# ERB, Etanni, None
|
24
24
|
|
25
|
-
auto_register :Erector, :erector
|
26
|
-
auto_register :Erubis, :erubis,
|
25
|
+
auto_register :Erector, :erector
|
26
|
+
auto_register :Erubis, :erubis, :rhtml
|
27
27
|
auto_register :Ezamar, :zmr
|
28
28
|
auto_register :Gestalt, :ges
|
29
29
|
auto_register :Haml, :haml
|
30
30
|
auto_register :Less, :lss, :less
|
31
31
|
auto_register :Liquid, :liquid
|
32
|
-
|
32
|
+
auto_register :Lokar, :lok
|
33
33
|
auto_register :Maruku, :mkd, :md
|
34
34
|
auto_register :Nagoro, :nag
|
35
35
|
auto_register :RedCloth, :redcloth
|
36
36
|
auto_register :Remarkably, :rem
|
37
37
|
auto_register :Sass, :sass
|
38
|
-
auto_register :Tagz, :
|
38
|
+
auto_register :Tagz, :tagz
|
39
39
|
auto_register :Tenjin, :rbhtml, :tenjin
|
40
40
|
auto_register :Slippers, :st
|
41
41
|
auto_register :Mustache, :mt
|
data/lib/ramaze/view/erector.rb
CHANGED
@@ -1,24 +1,99 @@
|
|
1
1
|
require 'erector'
|
2
2
|
|
3
|
-
module Ramaze
|
3
|
+
module Ramaze
|
4
4
|
module View
|
5
|
+
##
|
6
|
+
# Adapter for Erector. Erector is a view engine that works a bit like Markably but offers
|
7
|
+
# a much more pleasant way of building your views. By creating classes in plain ruby you can generate
|
8
|
+
# layouts and views without having to write a single line of HTML.
|
9
|
+
#
|
10
|
+
# Each layout or view is a simple class that matches the filename. A layout named "default.erector" would result in
|
11
|
+
# a class with the name "Default". It's *very* important to know that you should ALWAYS extend Ramaze::View::Erector.
|
12
|
+
# Without extending this class you won't be able to use Erector at all.
|
13
|
+
#
|
14
|
+
# When working with the Erector adapter there are a few things you'll need to know. First all your views and layouts should be classes
|
15
|
+
# as explained earlier on. Each class should have at least a single method named "content". This method is executed by Erector and
|
16
|
+
# the HTML it produces will either be stored in the @content instance variable (if it's a view) or sent to the browser if it's a layout.
|
17
|
+
# The @content variable can be displayed by calling the rawtext() method and passing the variable as it's parameter.
|
18
|
+
#
|
19
|
+
# Using helper methods, such as the render_* methods is also possible although slightly different than you're used to. Due to the way
|
20
|
+
# the Erector adapter works it isn't possible to directly call a helper method. As a workaround you can access these methods from the
|
21
|
+
# "@controller" instance variable. Don't forget to render the output of these helpers using rawtext(). Feel free to submit any patches if you
|
22
|
+
# think you have a better solution so that developers don't have to use the @controller instance variable.
|
23
|
+
#
|
24
|
+
# @example
|
25
|
+
#
|
26
|
+
# # This is the code for the layout
|
27
|
+
# class Default < Erector::Widget
|
28
|
+
# html do
|
29
|
+
# head do
|
30
|
+
# title 'Erector Layout'
|
31
|
+
# end
|
32
|
+
#
|
33
|
+
# body do
|
34
|
+
# rawtext @content
|
35
|
+
# end
|
36
|
+
#
|
37
|
+
# end
|
38
|
+
# end
|
39
|
+
#
|
40
|
+
# # And here's the view
|
41
|
+
# class Index < Erector::Widget
|
42
|
+
# def content
|
43
|
+
# h2 'This is the view'
|
44
|
+
# end
|
45
|
+
# end
|
46
|
+
#
|
47
|
+
# # Render an extra view
|
48
|
+
# class ExtraView < Erector::Widget
|
49
|
+
# def content
|
50
|
+
# rawtext @controller.render_view :some_extra_view
|
51
|
+
# end
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
# @author Yorick Peterse
|
55
|
+
#
|
5
56
|
module Erector
|
6
|
-
|
57
|
+
# Include the Erector gem. By doing this Erector views can extend the Erector gem without
|
58
|
+
# causing any namespace errors.
|
59
|
+
include ::Erector
|
60
|
+
|
61
|
+
##
|
62
|
+
# The call method is called whenever a view is loaded. A view can either be a layout or an actual view
|
63
|
+
# since they're treated the same way. First the view is loaded, followed by the layout.
|
64
|
+
#
|
65
|
+
# @author Yorick Peterse
|
66
|
+
# @param [Object] action Object containing a copy of the current Action class data.
|
67
|
+
# @param [String] string The content of the currently loaded layout. This variable isn't used by the Erector adapter
|
68
|
+
# but is required since Ramaze expects 2 parameters. Usually this string is used to inline load (or evaluate) the content
|
69
|
+
# of a view.
|
70
|
+
# @return [String] The generated HTML.
|
71
|
+
#
|
72
|
+
def self.call action, string
|
73
|
+
# Return the contents unless a view has been defined
|
7
74
|
return string, 'text/html' unless action.view
|
75
|
+
|
76
|
+
# Evaluate the class so we can use it. The content of "string"
|
77
|
+
# is a full blown class that should always have a "content" method.
|
78
|
+
#eval string, action.binding
|
79
|
+
eval string
|
8
80
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
EOS
|
81
|
+
# Generate the class name based on the filename.
|
82
|
+
# Class names are a CamelCased version of the filename (without the extension).
|
83
|
+
klass = File.basename action.view, '.erector'
|
84
|
+
klass = klass.camel_case
|
85
|
+
view_obj = self.const_get(klass)
|
86
|
+
|
87
|
+
# Synchronize the methods of action.instance with the view. These methods can be accessed
|
88
|
+
# by calling @controller.METHOD
|
89
|
+
action.variables[:controller] = action.instance
|
19
90
|
|
20
|
-
|
91
|
+
# Now that we have all the data we can start rendering the HTML.
|
92
|
+
# Note that we pass the action.variables hash to the new() method. This is done to give the view access to all existing
|
93
|
+
# (instance) variables. Syncing them using action.copy_variables didn't seem to do the trick.
|
94
|
+
html = view_obj.new(action.variables).to_html
|
21
95
|
|
96
|
+
# All done
|
22
97
|
return html, 'text/html'
|
23
98
|
end
|
24
99
|
end
|
data/ramaze.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ramaze}
|
5
|
-
s.version = "
|
5
|
+
s.version = "2011.01"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Michael 'manveru' Fellinger"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2011-01-26}
|
10
10
|
s.default_executable = %q{ramaze}
|
11
11
|
s.description = %q{Ramaze is a simple and modular web framework}
|
12
12
|
s.email = %q{m.fellinger@gmail.com}
|
13
13
|
s.executables = ["ramaze"]
|
14
|
-
s.files = [".gitignore", ".mailmap", "MANIFEST", "README.md", "Rakefile", "benchmark/bench_templates/bench.rb", "benchmark/bench_templates/view/large.erb", "benchmark/bench_templates/view/large.haml", "benchmark/bench_templates/view/large.lok", "benchmark/bench_templates/view/large.xhtml", "benchmark/bench_templates/view/small.erb", "benchmark/bench_templates/view/small.haml", "benchmark/bench_templates/view/small.lok", "benchmark/bench_templates/view/small.xhtml", "benchmark/results.txt", "benchmark/run.rb", "benchmark/suite/minimal.rb", "benchmark/suite/no_informer.rb", "benchmark/suite/no_sessions.rb", "benchmark/suite/no_template.rb", "benchmark/suite/simple.rb", "benchmark/suite/template_erubis.rb", "benchmark/suite/template_etanni.rb", "benchmark/suite/template_ezamar.rb", "benchmark/suite/template_haml.rb", "benchmark/suite/template_liquid.rb", "benchmark/suite/template_markaby.rb", "benchmark/suite/template_nagoro.rb", "benchmark/suite/template_redcloth.rb", "benchmark/suite/template_tenjin.rb", "benchmark/test.rb", "bin/ramaze", "doc/AUTHORS", "doc/CHANGELOG", "doc/COPYING", "doc/FAQ", "doc/GPL", "doc/INSTALL", "doc/LEGAL", "doc/TODO", "doc/meta/announcement.txt", "doc/meta/configuration.txt", "doc/meta/internals.txt", "doc/meta/users.kml", "doc/tutorial/todolist.html", "doc/tutorial/todolist.txt", "examples/app/auth/layout/auth.xhtml", "examples/app/auth/start.rb", "examples/app/auth/view/index.xhtml", "examples/app/auth/view/login.xhtml", "examples/app/auth/view/secret.xhtml", "examples/app/blog/README", "examples/app/blog/app.rb", "examples/app/blog/config.ru", "examples/app/blog/controller/comment.rb", "examples/app/blog/controller/entry.rb", "examples/app/blog/controller/init.rb", "examples/app/blog/controller/main.rb", "examples/app/blog/controller/tag.rb", "examples/app/blog/layout/default.nag", "examples/app/blog/model/comment.rb", "examples/app/blog/model/entry.rb", "examples/app/blog/model/init.rb", "examples/app/blog/model/tag.rb", "examples/app/blog/public/css/screen.css", "examples/app/blog/spec/blog.rb", "examples/app/blog/start.rb", "examples/app/blog/view/comment/form.nag", "examples/app/blog/view/comment/show.nag", "examples/app/blog/view/entry/edit.nag", "examples/app/blog/view/entry/feed.atom.nag", "examples/app/blog/view/entry/feed.rss.nag", "examples/app/blog/view/entry/index.nag", "examples/app/blog/view/entry/new.nag", "examples/app/blog/view/entry/show.nag", "examples/app/blog/view/feed.atom.nag", "examples/app/blog/view/feed.rss.nag", "examples/app/blog/view/index.nag", "examples/app/blog/view/tag/index.nag", "examples/app/chat/layout/default.xhtml", "examples/app/chat/model/history.rb", "examples/app/chat/model/message.rb", "examples/app/chat/public/css/chat.css", "examples/app/chat/public/js/chat.js", "examples/app/chat/public/js/jquery.js", "examples/app/chat/start.rb", "examples/app/chat/view/chat.xhtml", "examples/app/chat/view/index.xhtml", "examples/app/localization/locale/de.yaml", "examples/app/localization/locale/en.yaml", "examples/app/localization/locale/ja.yaml", "examples/app/localization/start.rb", "examples/app/sourceview/public/coderay.css", "examples/app/sourceview/public/images/file.gif", "examples/app/sourceview/public/images/folder.gif", "examples/app/sourceview/public/images/tv-collapsable-last.gif", "examples/app/sourceview/public/images/tv-collapsable.gif", "examples/app/sourceview/public/images/tv-expandable-last.gif", "examples/app/sourceview/public/images/tv-expandable.gif", "examples/app/sourceview/public/images/tv-item-last.gif", "examples/app/sourceview/public/images/tv-item.gif", "examples/app/sourceview/public/jquery.js", "examples/app/sourceview/public/jquery.treeview.css", "examples/app/sourceview/public/jquery.treeview.js", "examples/app/sourceview/public/sourceview.js", "examples/app/sourceview/start.rb", "examples/app/sourceview/view/index.haml", "examples/app/todolist/controller/init.rb", "examples/app/todolist/controller/task.rb", "examples/app/todolist/layout/default.xhtml", "examples/app/todolist/model/init.rb", "examples/app/todolist/model/task.rb", "examples/app/todolist/public/css/screen.css", "examples/app/todolist/public/favicon.ico", "examples/app/todolist/start.rb", "examples/app/todolist/view/index.xhtml", "examples/app/upload/start.rb", "examples/app/upload/view/index.xhtml", "examples/app/whywiki/spec/whywiki.rb", "examples/app/whywiki/start.rb", "examples/app/whywiki/template/edit.xhtml", "examples/app/whywiki/template/show.xhtml", "examples/app/wikore/spec/wikore.rb", "examples/app/wikore/src/controller.rb", "examples/app/wikore/src/model.rb", "examples/app/wikore/start.rb", "examples/app/wikore/view/index.xhtml", "examples/app/wiktacular/README", "examples/app/wiktacular/layout/application.xhtml", "examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd", "examples/app/wiktacular/mkd/link/current.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd", "examples/app/wiktacular/mkd/main/current.mkd", "examples/app/wiktacular/mkd/markdown/current.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd", "examples/app/wiktacular/mkd/testing/current.mkd", "examples/app/wiktacular/public/favicon.ico", "examples/app/wiktacular/public/screen.css", "examples/app/wiktacular/spec/wiktacular.rb", "examples/app/wiktacular/src/controller.rb", "examples/app/wiktacular/src/model.rb", "examples/app/wiktacular/start.rb", "examples/app/wiktacular/view/edit.xhtml", "examples/app/wiktacular/view/index.xhtml", "examples/app/wiktacular/view/new.xhtml", "examples/basic/element.rb", "examples/basic/gestalt.rb", "examples/basic/hello.rb", "examples/basic/layout.rb", "examples/basic/linking.rb", "examples/basic/partial.rb", "examples/basic/simple.rb", "examples/helpers/cache.rb", "examples/helpers/form_with_sequel.rb", "examples/helpers/httpdigest.rb", "examples/helpers/identity.rb", "examples/helpers/nitro_form.rb", "examples/helpers/paginate.rb", "examples/helpers/rest.rb", "examples/helpers/simple_captcha.rb", "examples/misc/css.rb", "examples/misc/facebook.rb", "examples/misc/memleak_detector.rb", "examples/misc/nagoro_element.rb", "examples/misc/ramaise.rb", "examples/misc/rapp.rb", "examples/misc/sequel_scaffolding.rb", "examples/misc/serve_directory.rb", "examples/templates/template_erubis.rb", "examples/templates/template_ezamar.rb", "examples/templates/template_haml.rb", "examples/templates/template_liquid.rb", "examples/templates/template_markaby.rb", "examples/templates/template_mustache.rb", "examples/templates/template_nagoro.rb", "examples/templates/template_redcloth.rb", "examples/templates/template_remarkably.rb", "examples/templates/template_tenjin.rb", "examples/templates/view/external.haml", "examples/templates/view/external.liquid", "examples/templates/view/external.mab", "examples/templates/view/external.mt", "examples/templates/view/external.nag", "examples/templates/view/external.redcloth", "examples/templates/view/external.rem", "examples/templates/view/external.rhtml", "examples/templates/view/external.tenjin", "examples/templates/view/external.zmr", "lib/proto/app.rb", "lib/proto/config.ru", "lib/proto/controller/init.rb", "lib/proto/controller/main.rb", "lib/proto/layout/default.xhtml", "lib/proto/model/init.rb", "lib/proto/public/.htaccess", "lib/proto/public/css/screen.css", "lib/proto/public/dispatch.fcgi", "lib/proto/public/favicon.ico", "lib/proto/public/js/jquery.js", "lib/proto/public/ramaze.png", "lib/proto/spec/main.rb", "lib/proto/start.rb", "lib/proto/view/index.xhtml", "lib/ramaze.rb", "lib/ramaze/app.rb", "lib/ramaze/cache.rb", "lib/ramaze/cache/localmemcache.rb", "lib/ramaze/cache/lru.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/addressable_route.rb", "lib/ramaze/contrib/app_graph.rb", "lib/ramaze/contrib/email.rb", "lib/ramaze/contrib/facebook.rb", "lib/ramaze/contrib/facebook/facebook.rb", "lib/ramaze/contrib/gettext.rb", "lib/ramaze/contrib/gettext/mo.rb", "lib/ramaze/contrib/gettext/parser.rb", "lib/ramaze/contrib/gettext/po.rb", "lib/ramaze/contrib/gzip_filter.rb", "lib/ramaze/contrib/maruku_uv.rb", "lib/ramaze/contrib/profiling.rb", "lib/ramaze/contrib/rest.rb", "lib/ramaze/contrib/sequel/create_join.rb", "lib/ramaze/contrib/sequel/form_field.rb", "lib/ramaze/contrib/sequel/image.rb", "lib/ramaze/contrib/sequel/relation.rb", "lib/ramaze/controller.rb", "lib/ramaze/controller/default.rb", "lib/ramaze/current.rb", "lib/ramaze/files.rb", "lib/ramaze/gestalt.rb", "lib/ramaze/helper.rb", "lib/ramaze/helper/auth.rb", "lib/ramaze/helper/bench.rb", "lib/ramaze/helper/blue_form.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/erector.rb", "lib/ramaze/helper/flash.rb", "lib/ramaze/helper/form.rb", "lib/ramaze/helper/formatting.rb", "lib/ramaze/helper/gestalt.rb", "lib/ramaze/helper/gravatar.rb", "lib/ramaze/helper/httpdigest.rb", "lib/ramaze/helper/identity.rb", "lib/ramaze/helper/layout.rb", "lib/ramaze/helper/link.rb", "lib/ramaze/helper/localize.rb", "lib/ramaze/helper/markaby.rb", "lib/ramaze/helper/maruku.rb", "lib/ramaze/helper/nitroform.rb", "lib/ramaze/helper/pager.rb", "lib/ramaze/helper/paginate.rb", "lib/ramaze/helper/partial.rb", "lib/ramaze/helper/remarkably.rb", "lib/ramaze/helper/request_accessor.rb", "lib/ramaze/helper/sequel.rb", "lib/ramaze/helper/sequel_form.rb", "lib/ramaze/helper/simple_captcha.rb", "lib/ramaze/helper/stack.rb", "lib/ramaze/helper/tagz.rb", "lib/ramaze/helper/thread.rb", "lib/ramaze/helper/ultraviolet.rb", "lib/ramaze/helper/user.rb", "lib/ramaze/helper/xhtml.rb", "lib/ramaze/log.rb", "lib/ramaze/log/analogger.rb", "lib/ramaze/log/growl.rb", "lib/ramaze/log/hub.rb", "lib/ramaze/log/informer.rb", "lib/ramaze/log/knotify.rb", "lib/ramaze/log/logger.rb", "lib/ramaze/log/logging.rb", "lib/ramaze/log/rotatinginformer.rb", "lib/ramaze/log/syslog.rb", "lib/ramaze/log/xosd.rb", "lib/ramaze/middleware_compiler.rb", "lib/ramaze/plugin.rb", "lib/ramaze/reloader.rb", "lib/ramaze/reloader/watch_inotify.rb", "lib/ramaze/reloader/watch_stat.rb", "lib/ramaze/request.rb", "lib/ramaze/response.rb", "lib/ramaze/setup.rb", "lib/ramaze/snippets.rb", "lib/ramaze/snippets/array/put_within.rb", "lib/ramaze/snippets/binding/locals.rb", "lib/ramaze/snippets/blankslate.rb", "lib/ramaze/snippets/fiber.rb", "lib/ramaze/snippets/kernel/pretty_inspect.rb", "lib/ramaze/snippets/metaid.rb", "lib/ramaze/snippets/numeric/filesize_format.rb", "lib/ramaze/snippets/numeric/time.rb", "lib/ramaze/snippets/object/__dir__.rb", "lib/ramaze/snippets/object/instance_variable_defined.rb", "lib/ramaze/snippets/object/pretty.rb", "lib/ramaze/snippets/object/scope.rb", "lib/ramaze/snippets/ordered_set.rb", "lib/ramaze/snippets/proc/locals.rb", "lib/ramaze/snippets/ramaze/acquire.rb", "lib/ramaze/snippets/ramaze/deprecated.rb", "lib/ramaze/snippets/ramaze/dictionary.rb", "lib/ramaze/snippets/ramaze/fiber.rb", "lib/ramaze/snippets/ramaze/lru_hash.rb", "lib/ramaze/snippets/ramaze/struct.rb", "lib/ramaze/snippets/string/camel_case.rb", "lib/ramaze/snippets/string/color.rb", "lib/ramaze/snippets/string/end_with.rb", "lib/ramaze/snippets/string/esc.rb", "lib/ramaze/snippets/string/ord.rb", "lib/ramaze/snippets/string/snake_case.rb", "lib/ramaze/snippets/string/start_with.rb", "lib/ramaze/snippets/string/unindent.rb", "lib/ramaze/snippets/thread/into.rb", "lib/ramaze/spec.rb", "lib/ramaze/spec/bacon.rb", "lib/ramaze/spec/helper/bacon.rb", "lib/ramaze/spec/helper/pretty_output.rb", "lib/ramaze/spec/helper/snippets.rb", "lib/ramaze/spec/helper/template_examples.rb", "lib/ramaze/tool/bin.rb", "lib/ramaze/tool/create.rb", "lib/ramaze/tool/project_creator.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erector.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/gestalt.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/less.rb", "lib/ramaze/view/liquid.rb", "lib/ramaze/view/lokar.rb", "lib/ramaze/view/maruku.rb", "lib/ramaze/view/mustache.rb", "lib/ramaze/view/nagoro.rb", "lib/ramaze/view/nagoro/render_partial.rb", "lib/ramaze/view/redcloth.rb", "lib/ramaze/view/remarkably.rb", "lib/ramaze/view/sass.rb", "lib/ramaze/view/slippers.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/etag.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/addressable_route.rb", "spec/contrib/rest.rb", "spec/examples/caching.rb", "spec/examples/css.rb", "spec/examples/element.rb", "spec/examples/hello.rb", "spec/examples/helpers/httpdigest.rb", "spec/examples/linking.rb", "spec/examples/misc/sequel_scaffolding.rb", "spec/examples/simple.rb", "spec/examples/templates/template_erubis.rb", "spec/examples/templates/template_ezamar.rb", "spec/examples/templates/template_haml.rb", "spec/examples/templates/template_liquid.rb", "spec/examples/templates/template_markaby.rb", "spec/examples/templates/template_mustache.rb", "spec/examples/templates/template_nagoro.rb", "spec/examples/templates/template_redcloth.rb", "spec/examples/templates/template_remarkably.rb", "spec/examples/templates/template_tenjin.rb", "spec/examples/todolist.rb", "spec/helper.rb", "spec/ramaze/action/render.rb", "spec/ramaze/action/view/bar.xhtml", "spec/ramaze/action/view/instancevars/layout.xhtml", "spec/ramaze/action/view/other_wrapper.erb", "spec/ramaze/action/view/other_wrapper.xhtml", "spec/ramaze/action/view/single_wrapper.xhtml", "spec/ramaze/action/view/sub/sub_wrapper.erb", "spec/ramaze/action/view/sub/sub_wrapper.xhtml", "spec/ramaze/app.rb", "spec/ramaze/app/location.rb", "spec/ramaze/bin/ramaze.rb", "spec/ramaze/cache/localmemcache.rb", "spec/ramaze/cache/lru.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/lonely_mapping.rb", "spec/ramaze/controller/mapping.rb", "spec/ramaze/controller/provide_inheritance.rb", "spec/ramaze/controller/resolve.rb", "spec/ramaze/controller/subclass.rb", "spec/ramaze/controller/template_resolving.rb", "spec/ramaze/controller/view/bar.xhtml", "spec/ramaze/controller/view/base/another.xhtml", "spec/ramaze/controller/view/greet.xhtml", "spec/ramaze/controller/view/list.xhtml", "spec/ramaze/controller/view/other/greet/other.xhtml", "spec/ramaze/controller/view/other_wrapper.xhtml", "spec/ramaze/dispatcher/directory.rb", "spec/ramaze/dispatcher/file.rb", "spec/ramaze/dispatcher/public/favicon.ico", "spec/ramaze/dispatcher/public/file name.txt", "spec/ramaze/dispatcher/public/test_download.css", "spec/ramaze/error.rb", "spec/ramaze/files.rb", "spec/ramaze/files/public_1/plain.txt", "spec/ramaze/files/public_2/rich.txt", "spec/ramaze/gestalt.rb", "spec/ramaze/helper/auth.rb", "spec/ramaze/helper/bench.rb", "spec/ramaze/helper/blue_form.rb", "spec/ramaze/helper/cache.rb", "spec/ramaze/helper/flash.rb", "spec/ramaze/helper/form.rb", "spec/ramaze/helper/formatting.rb", "spec/ramaze/helper/gestalt.rb", "spec/ramaze/helper/gravatar.rb", "spec/ramaze/helper/httpdigest.rb", "spec/ramaze/helper/layout.rb", "spec/ramaze/helper/layout/default.xhtml", "spec/ramaze/helper/link.rb", "spec/ramaze/helper/localize.rb", "spec/ramaze/helper/maruku.rb", "spec/ramaze/helper/pager.rb", "spec/ramaze/helper/paginate.rb", "spec/ramaze/helper/request_accessor.rb", "spec/ramaze/helper/sequel_form.rb", "spec/ramaze/helper/simple_captcha.rb", "spec/ramaze/helper/stack.rb", "spec/ramaze/helper/user.rb", "spec/ramaze/helper/view/locals.xhtml", "spec/ramaze/helper/view/loop.xhtml", "spec/ramaze/helper/view/num.xhtml", "spec/ramaze/helper/view/partial.xhtml", "spec/ramaze/helper/view/recursive.xhtml", "spec/ramaze/helper/view/recursive_local_ivars.xhtml", "spec/ramaze/helper/view/recursive_locals.xhtml", "spec/ramaze/helper/view/test_template.xhtml", "spec/ramaze/helper/xhtml.rb", "spec/ramaze/log/informer.rb", "spec/ramaze/log/logging.rb", "spec/ramaze/log/syslog.rb", "spec/ramaze/params.rb", "spec/ramaze/public/favicon.ico", "spec/ramaze/public/ramaze.png", "spec/ramaze/public/test_download.css", "spec/ramaze/request.rb", "spec/ramaze/rewrite/file.css", "spec/ramaze/session/memcache.rb", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erector.rb", "spec/ramaze/view/erector/external.erector", "spec/ramaze/view/erector/invoke_helper_method.erector", "spec/ramaze/view/erector/layout.erector", "spec/ramaze/view/erector/strict_xhtml.erector", "spec/ramaze/view/erector/sum.erector", "spec/ramaze/view/erubis.rb", "spec/ramaze/view/erubis/external.rhtml", "spec/ramaze/view/erubis/sum.rhtml", "spec/ramaze/view/ezamar.rb", "spec/ramaze/view/ezamar/external.zmr", "spec/ramaze/view/ezamar/sum.zmr", "spec/ramaze/view/gestalt.rb", "spec/ramaze/view/gestalt/external.ges", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/less.rb", "spec/ramaze/view/less/file.css.less", "spec/ramaze/view/liquid.rb", "spec/ramaze/view/liquid/external.liquid", "spec/ramaze/view/liquid/sum.liquid", "spec/ramaze/view/lokar.rb", "spec/ramaze/view/lokar/external.lok", "spec/ramaze/view/lokar/sum.lok", "spec/ramaze/view/mustache.rb", "spec/ramaze/view/mustache/external.mt", "spec/ramaze/view/mustache/sum.mt", "spec/ramaze/view/nagoro.rb", "spec/ramaze/view/nagoro/external.nag", "spec/ramaze/view/nagoro/sum.nag", "spec/ramaze/view/redcloth.rb", "spec/ramaze/view/redcloth/external.redcloth", "spec/ramaze/view/remarkably.rb", "spec/ramaze/view/remarkably/external.rem", "spec/ramaze/view/remarkably/sum.rem", "spec/ramaze/view/sass.rb", "spec/ramaze/view/sass/file.css.sass", "spec/ramaze/view/slippers.rb", "spec/ramaze/view/slippers/external.st", "spec/ramaze/view/slippers/sum.st", "spec/ramaze/view/tagz.rb", "spec/ramaze/view/tagz/external.tagz", "spec/ramaze/view/tagz/sum.tagz", "spec/ramaze/view/tenjin.rb", "spec/ramaze/view/tenjin/external.rbhtml", "spec/ramaze/view/tenjin/sum.rbhtml", "spec/snippets/array/put_within.rb", "spec/snippets/binding/locals.rb", "spec/snippets/numeric/filesize_format.rb", "spec/snippets/numeric/time.rb", "spec/snippets/object/__dir__.rb", "spec/snippets/ordered_set.rb", "spec/snippets/ramaze/acquire.rb", "spec/snippets/ramaze/dictionary.rb", "spec/snippets/ramaze/lru_hash.rb", "spec/snippets/ramaze/struct.rb", "spec/snippets/string/camel_case.rb", "spec/snippets/string/color.rb", "spec/snippets/string/snake_case.rb", "spec/snippets/string/unindent.rb", "spec/snippets/thread/into.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/copyright.rake", "tasks/gem.rake", "tasks/gem_setup.rake", "tasks/git.rake", "tasks/grancher.rake", "tasks/jquery.rake", "tasks/manifest.rake", "tasks/metric_changes.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/todo.rake", "tasks/traits.rake", "tasks/yard.rake"]
|
14
|
+
s.files = [".gitignore", ".mailmap", "MANIFEST", "README.md", "Rakefile", "TODO.md", "benchmark/bench_templates/bench.rb", "benchmark/bench_templates/view/large.erb", "benchmark/bench_templates/view/large.haml", "benchmark/bench_templates/view/large.lok", "benchmark/bench_templates/view/large.xhtml", "benchmark/bench_templates/view/small.erb", "benchmark/bench_templates/view/small.haml", "benchmark/bench_templates/view/small.lok", "benchmark/bench_templates/view/small.xhtml", "benchmark/results.txt", "benchmark/run.rb", "benchmark/suite/minimal.rb", "benchmark/suite/no_informer.rb", "benchmark/suite/no_sessions.rb", "benchmark/suite/no_template.rb", "benchmark/suite/simple.rb", "benchmark/suite/template_erubis.rb", "benchmark/suite/template_etanni.rb", "benchmark/suite/template_ezamar.rb", "benchmark/suite/template_haml.rb", "benchmark/suite/template_liquid.rb", "benchmark/suite/template_markaby.rb", "benchmark/suite/template_nagoro.rb", "benchmark/suite/template_redcloth.rb", "benchmark/suite/template_tenjin.rb", "benchmark/test.rb", "bin/ramaze", "doc/AUTHORS", "doc/CHANGELOG", "doc/COPYING", "doc/FAQ", "doc/GPL", "doc/INSTALL", "doc/LEGAL", "doc/TODO", "doc/meta/announcement.txt", "doc/meta/configuration.txt", "doc/meta/internals.txt", "doc/meta/users.kml", "doc/tutorial/todolist.html", "doc/tutorial/todolist.txt", "examples/app/auth/layout/auth.xhtml", "examples/app/auth/start.rb", "examples/app/auth/view/index.xhtml", "examples/app/auth/view/login.xhtml", "examples/app/auth/view/secret.xhtml", "examples/app/blog/README", "examples/app/blog/app.rb", "examples/app/blog/config.ru", "examples/app/blog/controller/comment.rb", "examples/app/blog/controller/entry.rb", "examples/app/blog/controller/init.rb", "examples/app/blog/controller/main.rb", "examples/app/blog/controller/tag.rb", "examples/app/blog/layout/default.nag", "examples/app/blog/model/comment.rb", "examples/app/blog/model/entry.rb", "examples/app/blog/model/init.rb", "examples/app/blog/model/tag.rb", "examples/app/blog/public/css/screen.css", "examples/app/blog/spec/blog.rb", "examples/app/blog/start.rb", "examples/app/blog/view/comment/form.nag", "examples/app/blog/view/comment/show.nag", "examples/app/blog/view/entry/edit.nag", "examples/app/blog/view/entry/feed.atom.nag", "examples/app/blog/view/entry/feed.rss.nag", "examples/app/blog/view/entry/index.nag", "examples/app/blog/view/entry/new.nag", "examples/app/blog/view/entry/show.nag", "examples/app/blog/view/feed.atom.nag", "examples/app/blog/view/feed.rss.nag", "examples/app/blog/view/index.nag", "examples/app/blog/view/tag/index.nag", "examples/app/chat/layout/default.xhtml", "examples/app/chat/model/history.rb", "examples/app/chat/model/message.rb", "examples/app/chat/public/css/chat.css", "examples/app/chat/public/js/chat.js", "examples/app/chat/public/js/jquery.js", "examples/app/chat/start.rb", "examples/app/chat/view/chat.xhtml", "examples/app/chat/view/index.xhtml", "examples/app/localization/locale/de.yaml", "examples/app/localization/locale/en.yaml", "examples/app/localization/locale/ja.yaml", "examples/app/localization/start.rb", "examples/app/sourceview/public/coderay.css", "examples/app/sourceview/public/images/file.gif", "examples/app/sourceview/public/images/folder.gif", "examples/app/sourceview/public/images/tv-collapsable-last.gif", "examples/app/sourceview/public/images/tv-collapsable.gif", "examples/app/sourceview/public/images/tv-expandable-last.gif", "examples/app/sourceview/public/images/tv-expandable.gif", "examples/app/sourceview/public/images/tv-item-last.gif", "examples/app/sourceview/public/images/tv-item.gif", "examples/app/sourceview/public/jquery.js", "examples/app/sourceview/public/jquery.treeview.css", "examples/app/sourceview/public/jquery.treeview.js", "examples/app/sourceview/public/sourceview.js", "examples/app/sourceview/start.rb", "examples/app/sourceview/view/index.haml", "examples/app/todolist/controller/init.rb", "examples/app/todolist/controller/task.rb", "examples/app/todolist/layout/default.xhtml", "examples/app/todolist/model/init.rb", "examples/app/todolist/model/task.rb", "examples/app/todolist/public/css/screen.css", "examples/app/todolist/public/favicon.ico", "examples/app/todolist/start.rb", "examples/app/todolist/view/index.xhtml", "examples/app/upload/start.rb", "examples/app/upload/view/index.xhtml", "examples/app/whywiki/spec/whywiki.rb", "examples/app/whywiki/start.rb", "examples/app/whywiki/template/edit.xhtml", "examples/app/whywiki/template/show.xhtml", "examples/app/wikore/spec/wikore.rb", "examples/app/wikore/src/controller.rb", "examples/app/wikore/src/model.rb", "examples/app/wikore/start.rb", "examples/app/wikore/view/index.xhtml", "examples/app/wiktacular/README", "examples/app/wiktacular/layout/application.xhtml", "examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd", "examples/app/wiktacular/mkd/link/current.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_16-31-33.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-21-12.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-23-10.mkd", "examples/app/wiktacular/mkd/main/2007-07-20_19-45-07.mkd", "examples/app/wiktacular/mkd/main/current.mkd", "examples/app/wiktacular/mkd/markdown/current.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_16-43-46.mkd", "examples/app/wiktacular/mkd/testing/2007-07-20_19-43-50.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-01.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-46-32.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-08.mkd", "examples/app/wiktacular/mkd/testing/2007-07-21_18-47-54.mkd", "examples/app/wiktacular/mkd/testing/current.mkd", "examples/app/wiktacular/public/favicon.ico", "examples/app/wiktacular/public/screen.css", "examples/app/wiktacular/spec/wiktacular.rb", "examples/app/wiktacular/src/controller.rb", "examples/app/wiktacular/src/model.rb", "examples/app/wiktacular/start.rb", "examples/app/wiktacular/view/edit.xhtml", "examples/app/wiktacular/view/index.xhtml", "examples/app/wiktacular/view/new.xhtml", "examples/basic/element.rb", "examples/basic/gestalt.rb", "examples/basic/hello.rb", "examples/basic/layout.rb", "examples/basic/linking.rb", "examples/basic/partial.rb", "examples/basic/simple.rb", "examples/helpers/cache.rb", "examples/helpers/httpdigest.rb", "examples/helpers/identity.rb", "examples/helpers/paginate.rb", "examples/helpers/rest.rb", "examples/helpers/simple_captcha.rb", "examples/misc/css.rb", "examples/misc/facebook.rb", "examples/misc/memleak_detector.rb", "examples/misc/nagoro_element.rb", "examples/misc/ramaise.rb", "examples/misc/rapp.rb", "examples/misc/sequel_scaffolding.rb", "examples/misc/serve_directory.rb", "examples/templates/template_erubis.rb", "examples/templates/template_ezamar.rb", "examples/templates/template_haml.rb", "examples/templates/template_liquid.rb", "examples/templates/template_markaby.rb", "examples/templates/template_mustache.rb", "examples/templates/template_nagoro.rb", "examples/templates/template_redcloth.rb", "examples/templates/template_remarkably.rb", "examples/templates/template_tenjin.rb", "examples/templates/view/external.haml", "examples/templates/view/external.liquid", "examples/templates/view/external.mab", "examples/templates/view/external.mt", "examples/templates/view/external.nag", "examples/templates/view/external.redcloth", "examples/templates/view/external.rem", "examples/templates/view/external.rhtml", "examples/templates/view/external.tenjin", "examples/templates/view/external.zmr", "lib/proto/app.rb", "lib/proto/config.ru", "lib/proto/controller/init.rb", "lib/proto/controller/main.rb", "lib/proto/layout/default.xhtml", "lib/proto/model/init.rb", "lib/proto/public/.htaccess", "lib/proto/public/css/screen.css", "lib/proto/public/dispatch.fcgi", "lib/proto/public/favicon.ico", "lib/proto/public/js/jquery.js", "lib/proto/public/ramaze.png", "lib/proto/spec/main.rb", "lib/proto/start.rb", "lib/proto/view/index.xhtml", "lib/ramaze.rb", "lib/ramaze/app.rb", "lib/ramaze/cache.rb", "lib/ramaze/cache/localmemcache.rb", "lib/ramaze/cache/lru.rb", "lib/ramaze/cache/memcache.rb", "lib/ramaze/cache/sequel.rb", "lib/ramaze/contrib/addressable_route.rb", "lib/ramaze/contrib/app_graph.rb", "lib/ramaze/contrib/email.rb", "lib/ramaze/contrib/facebook.rb", "lib/ramaze/contrib/facebook/facebook.rb", "lib/ramaze/contrib/gettext.rb", "lib/ramaze/contrib/gettext/mo.rb", "lib/ramaze/contrib/gettext/parser.rb", "lib/ramaze/contrib/gettext/po.rb", "lib/ramaze/contrib/gzip_filter.rb", "lib/ramaze/contrib/maruku_uv.rb", "lib/ramaze/contrib/profiling.rb", "lib/ramaze/contrib/rest.rb", "lib/ramaze/contrib/sequel/create_join.rb", "lib/ramaze/contrib/sequel/form_field.rb", "lib/ramaze/contrib/sequel/image.rb", "lib/ramaze/contrib/sequel/relation.rb", "lib/ramaze/controller.rb", "lib/ramaze/controller/default.rb", "lib/ramaze/current.rb", "lib/ramaze/files.rb", "lib/ramaze/gestalt.rb", "lib/ramaze/helper.rb", "lib/ramaze/helper/auth.rb", "lib/ramaze/helper/bench.rb", "lib/ramaze/helper/blue_form.rb", "lib/ramaze/helper/cache.rb", "lib/ramaze/helper/csrf.rb", "lib/ramaze/helper/disqus.rb", "lib/ramaze/helper/erector.rb", "lib/ramaze/helper/flash.rb", "lib/ramaze/helper/formatting.rb", "lib/ramaze/helper/gestalt.rb", "lib/ramaze/helper/gravatar.rb", "lib/ramaze/helper/httpdigest.rb", "lib/ramaze/helper/identity.rb", "lib/ramaze/helper/layout.rb", "lib/ramaze/helper/link.rb", "lib/ramaze/helper/localize.rb", "lib/ramaze/helper/markaby.rb", "lib/ramaze/helper/maruku.rb", "lib/ramaze/helper/paginate.rb", "lib/ramaze/helper/remarkably.rb", "lib/ramaze/helper/request_accessor.rb", "lib/ramaze/helper/send_file.rb", "lib/ramaze/helper/simple_captcha.rb", "lib/ramaze/helper/stack.rb", "lib/ramaze/helper/tagz.rb", "lib/ramaze/helper/thread.rb", "lib/ramaze/helper/ultraviolet.rb", "lib/ramaze/helper/user.rb", "lib/ramaze/helper/xhtml.rb", "lib/ramaze/log.rb", "lib/ramaze/log/analogger.rb", "lib/ramaze/log/growl.rb", "lib/ramaze/log/hub.rb", "lib/ramaze/log/informer.rb", "lib/ramaze/log/knotify.rb", "lib/ramaze/log/logger.rb", "lib/ramaze/log/logging.rb", "lib/ramaze/log/rotatinginformer.rb", "lib/ramaze/log/syslog.rb", "lib/ramaze/log/xosd.rb", "lib/ramaze/middleware_compiler.rb", "lib/ramaze/plugin.rb", "lib/ramaze/reloader.rb", "lib/ramaze/reloader/watch_inotify.rb", "lib/ramaze/reloader/watch_stat.rb", "lib/ramaze/request.rb", "lib/ramaze/response.rb", "lib/ramaze/setup.rb", "lib/ramaze/snippets.rb", "lib/ramaze/snippets/array/put_within.rb", "lib/ramaze/snippets/binding/locals.rb", "lib/ramaze/snippets/blankslate.rb", "lib/ramaze/snippets/fiber.rb", "lib/ramaze/snippets/kernel/pretty_inspect.rb", "lib/ramaze/snippets/metaid.rb", "lib/ramaze/snippets/numeric/filesize_format.rb", "lib/ramaze/snippets/numeric/time.rb", "lib/ramaze/snippets/object/__dir__.rb", "lib/ramaze/snippets/object/instance_variable_defined.rb", "lib/ramaze/snippets/object/pretty.rb", "lib/ramaze/snippets/object/scope.rb", "lib/ramaze/snippets/ordered_set.rb", "lib/ramaze/snippets/proc/locals.rb", "lib/ramaze/snippets/ramaze/acquire.rb", "lib/ramaze/snippets/ramaze/deprecated.rb", "lib/ramaze/snippets/ramaze/dictionary.rb", "lib/ramaze/snippets/ramaze/fiber.rb", "lib/ramaze/snippets/ramaze/lru_hash.rb", "lib/ramaze/snippets/ramaze/struct.rb", "lib/ramaze/snippets/string/camel_case.rb", "lib/ramaze/snippets/string/color.rb", "lib/ramaze/snippets/string/end_with.rb", "lib/ramaze/snippets/string/esc.rb", "lib/ramaze/snippets/string/ord.rb", "lib/ramaze/snippets/string/snake_case.rb", "lib/ramaze/snippets/string/start_with.rb", "lib/ramaze/snippets/string/unindent.rb", "lib/ramaze/snippets/thread/into.rb", "lib/ramaze/spec.rb", "lib/ramaze/spec/bacon.rb", "lib/ramaze/spec/helper/bacon.rb", "lib/ramaze/spec/helper/pretty_output.rb", "lib/ramaze/spec/helper/snippets.rb", "lib/ramaze/spec/helper/template_examples.rb", "lib/ramaze/tool/bin.rb", "lib/ramaze/tool/create.rb", "lib/ramaze/tool/project_creator.rb", "lib/ramaze/version.rb", "lib/ramaze/view.rb", "lib/ramaze/view/erector.rb", "lib/ramaze/view/erubis.rb", "lib/ramaze/view/ezamar.rb", "lib/ramaze/view/gestalt.rb", "lib/ramaze/view/haml.rb", "lib/ramaze/view/less.rb", "lib/ramaze/view/liquid.rb", "lib/ramaze/view/lokar.rb", "lib/ramaze/view/maruku.rb", "lib/ramaze/view/mustache.rb", "lib/ramaze/view/nagoro.rb", "lib/ramaze/view/nagoro/render_partial.rb", "lib/ramaze/view/redcloth.rb", "lib/ramaze/view/remarkably.rb", "lib/ramaze/view/sass.rb", "lib/ramaze/view/slippers.rb", "lib/ramaze/view/tagz.rb", "lib/ramaze/view/tenjin.rb", "lib/vendor/route_exceptions.rb", "ramaze.gemspec", "spec/contrib/addressable_route.rb", "spec/contrib/rest.rb", "spec/examples/caching.rb", "spec/examples/css.rb", "spec/examples/element.rb", "spec/examples/hello.rb", "spec/examples/helpers/httpdigest.rb", "spec/examples/linking.rb", "spec/examples/misc/sequel_scaffolding.rb", "spec/examples/simple.rb", "spec/examples/templates/template_erubis.rb", "spec/examples/templates/template_ezamar.rb", "spec/examples/templates/template_haml.rb", "spec/examples/templates/template_liquid.rb", "spec/examples/templates/template_markaby.rb", "spec/examples/templates/template_mustache.rb", "spec/examples/templates/template_nagoro.rb", "spec/examples/templates/template_redcloth.rb", "spec/examples/templates/template_remarkably.rb", "spec/examples/templates/template_tenjin.rb", "spec/examples/todolist.rb", "spec/helper.rb", "spec/ramaze/action/render.rb", "spec/ramaze/action/view/bar.xhtml", "spec/ramaze/action/view/instancevars/layout.xhtml", "spec/ramaze/action/view/other_wrapper.erb", "spec/ramaze/action/view/other_wrapper.xhtml", "spec/ramaze/action/view/single_wrapper.xhtml", "spec/ramaze/action/view/sub/sub_wrapper.erb", "spec/ramaze/action/view/sub/sub_wrapper.xhtml", "spec/ramaze/app.rb", "spec/ramaze/app/location.rb", "spec/ramaze/bin/ramaze.rb", "spec/ramaze/cache/localmemcache.rb", "spec/ramaze/cache/lru.rb", "spec/ramaze/cache/memcache.rb", "spec/ramaze/cache/sequel.rb", "spec/ramaze/controller/actionless_templates.rb", "spec/ramaze/controller/lonely_mapping.rb", "spec/ramaze/controller/mapping.rb", "spec/ramaze/controller/provide_inheritance.rb", "spec/ramaze/controller/resolve.rb", "spec/ramaze/controller/subclass.rb", "spec/ramaze/controller/template_resolving.rb", "spec/ramaze/controller/view/bar.xhtml", "spec/ramaze/controller/view/base/another.xhtml", "spec/ramaze/controller/view/greet.xhtml", "spec/ramaze/controller/view/list.xhtml", "spec/ramaze/controller/view/other/greet/other.xhtml", "spec/ramaze/controller/view/other_wrapper.xhtml", "spec/ramaze/dispatcher/directory.rb", "spec/ramaze/dispatcher/file.rb", "spec/ramaze/dispatcher/public/favicon.ico", "spec/ramaze/dispatcher/public/file name.txt", "spec/ramaze/dispatcher/public/test_download.css", "spec/ramaze/error.rb", "spec/ramaze/files.rb", "spec/ramaze/files/public_1/plain.txt", "spec/ramaze/files/public_2/rich.txt", "spec/ramaze/gestalt.rb", "spec/ramaze/helper/auth.rb", "spec/ramaze/helper/bench.rb", "spec/ramaze/helper/blue_form.rb", "spec/ramaze/helper/cache.rb", "spec/ramaze/helper/csrf.rb", "spec/ramaze/helper/flash.rb", "spec/ramaze/helper/formatting.rb", "spec/ramaze/helper/gestalt.rb", "spec/ramaze/helper/gravatar.rb", "spec/ramaze/helper/httpdigest.rb", "spec/ramaze/helper/layout.rb", "spec/ramaze/helper/layout/default.xhtml", "spec/ramaze/helper/link.rb", "spec/ramaze/helper/localize.rb", "spec/ramaze/helper/maruku.rb", "spec/ramaze/helper/paginate.rb", "spec/ramaze/helper/request_accessor.rb", "spec/ramaze/helper/simple_captcha.rb", "spec/ramaze/helper/stack.rb", "spec/ramaze/helper/user.rb", "spec/ramaze/helper/view/locals.xhtml", "spec/ramaze/helper/view/loop.xhtml", "spec/ramaze/helper/view/num.xhtml", "spec/ramaze/helper/view/partial.xhtml", "spec/ramaze/helper/view/recursive.xhtml", "spec/ramaze/helper/view/recursive_local_ivars.xhtml", "spec/ramaze/helper/view/recursive_locals.xhtml", "spec/ramaze/helper/view/test_template.xhtml", "spec/ramaze/helper/xhtml.rb", "spec/ramaze/log/growl.rb", "spec/ramaze/log/informer.rb", "spec/ramaze/log/logging.rb", "spec/ramaze/log/syslog.rb", "spec/ramaze/params.rb", "spec/ramaze/public/favicon.ico", "spec/ramaze/public/ramaze.png", "spec/ramaze/public/test_download.css", "spec/ramaze/request.rb", "spec/ramaze/rewrite/file.css", "spec/ramaze/session/memcache.rb", "spec/ramaze/struct.rb", "spec/ramaze/template/ramaze/external.test", "spec/ramaze/view.rb", "spec/ramaze/view/erector.rb", "spec/ramaze/view/erector/external_view.erector", "spec/ramaze/view/erector/index.erector", "spec/ramaze/view/erector/layout.erector", "spec/ramaze/view/erector/tables.erector", "spec/ramaze/view/erector/view.erector", "spec/ramaze/view/erubis.rb", "spec/ramaze/view/erubis/external.rhtml", "spec/ramaze/view/erubis/sum.rhtml", "spec/ramaze/view/ezamar.rb", "spec/ramaze/view/ezamar/external.zmr", "spec/ramaze/view/ezamar/sum.zmr", "spec/ramaze/view/gestalt.rb", "spec/ramaze/view/gestalt/external.ges", "spec/ramaze/view/haml.rb", "spec/ramaze/view/haml/external.haml", "spec/ramaze/view/haml/sum.haml", "spec/ramaze/view/less.rb", "spec/ramaze/view/less/file.css.less", "spec/ramaze/view/liquid.rb", "spec/ramaze/view/liquid/external.liquid", "spec/ramaze/view/liquid/sum.liquid", "spec/ramaze/view/lokar.rb", "spec/ramaze/view/lokar/external.lok", "spec/ramaze/view/lokar/sum.lok", "spec/ramaze/view/mustache.rb", "spec/ramaze/view/mustache/external.mt", "spec/ramaze/view/mustache/sum.mt", "spec/ramaze/view/nagoro.rb", "spec/ramaze/view/nagoro/external.nag", "spec/ramaze/view/nagoro/sum.nag", "spec/ramaze/view/redcloth.rb", "spec/ramaze/view/redcloth/external.redcloth", "spec/ramaze/view/remarkably.rb", "spec/ramaze/view/remarkably/external.rem", "spec/ramaze/view/remarkably/sum.rem", "spec/ramaze/view/sass.rb", "spec/ramaze/view/sass/file.css.sass", "spec/ramaze/view/slippers.rb", "spec/ramaze/view/slippers/external.st", "spec/ramaze/view/slippers/sum.st", "spec/ramaze/view/tagz.rb", "spec/ramaze/view/tagz/external.tagz", "spec/ramaze/view/tagz/sum.tagz", "spec/ramaze/view/tenjin.rb", "spec/ramaze/view/tenjin/external.rbhtml", "spec/ramaze/view/tenjin/sum.rbhtml", "spec/snippets/array/put_within.rb", "spec/snippets/binding/locals.rb", "spec/snippets/numeric/filesize_format.rb", "spec/snippets/numeric/time.rb", "spec/snippets/object/__dir__.rb", "spec/snippets/ordered_set.rb", "spec/snippets/ramaze/acquire.rb", "spec/snippets/ramaze/dictionary.rb", "spec/snippets/ramaze/lru_hash.rb", "spec/snippets/ramaze/struct.rb", "spec/snippets/string/camel_case.rb", "spec/snippets/string/color.rb", "spec/snippets/string/snake_case.rb", "spec/snippets/string/unindent.rb", "spec/snippets/thread/into.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/copyright.rake", "tasks/gem.rake", "tasks/gem_setup.rake", "tasks/git.rake", "tasks/grancher.rake", "tasks/jquery.rake", "tasks/manifest.rake", "tasks/metric_changes.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/todo.rake", "tasks/traits.rake", "tasks/yard.rake"]
|
15
15
|
s.homepage = %q{http://ramaze.net}
|
16
16
|
s.post_install_message = %q{============================================================
|
17
17
|
|
@@ -22,112 +22,112 @@ $ ramaze create yourproject
|
|
22
22
|
============================================================}
|
23
23
|
s.require_paths = ["lib"]
|
24
24
|
s.rubyforge_project = %q{ramaze}
|
25
|
-
s.rubygems_version = %q{1.3.
|
25
|
+
s.rubygems_version = %q{1.3.7}
|
26
26
|
s.summary = %q{Ramaze is a simple and modular web framework}
|
27
27
|
|
28
28
|
if s.respond_to? :specification_version then
|
29
29
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
30
30
|
s.specification_version = 3
|
31
31
|
|
32
|
-
if Gem::Version.new(Gem::
|
32
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
33
33
|
s.add_runtime_dependency(%q<innate>, [">= 2010.03"])
|
34
|
+
s.add_development_dependency(%q<abstract>, ["= 1.0.0"])
|
35
|
+
s.add_development_dependency(%q<addressable>, ["= 2.1.1"])
|
36
|
+
s.add_development_dependency(%q<bacon>, ["= 1.1.0"])
|
37
|
+
s.add_development_dependency(%q<builder>, ["= 2.1.2"])
|
34
38
|
s.add_development_dependency(%q<erector>, ["= 0.7.2"])
|
39
|
+
s.add_development_dependency(%q<erubis>, ["= 2.6.5"])
|
35
40
|
s.add_development_dependency(%q<ezamar>, ["= 2009.06"])
|
36
41
|
s.add_development_dependency(%q<haml>, ["= 2.2.22"])
|
42
|
+
s.add_development_dependency(%q<hpricot>, ["= 0.8.2"])
|
37
43
|
s.add_development_dependency(%q<json>, ["= 1.2.3"])
|
38
|
-
s.add_development_dependency(%q<tagz>, ["= 7.2.3"])
|
39
|
-
s.add_development_dependency(%q<localmemcache>, ["= 0.4.4"])
|
40
|
-
s.add_development_dependency(%q<bacon>, ["= 1.1.0"])
|
41
|
-
s.add_development_dependency(%q<slippers>, ["= 0.0.14"])
|
42
|
-
s.add_development_dependency(%q<addressable>, ["= 2.1.1"])
|
43
|
-
s.add_development_dependency(%q<RubyInline>, ["= 3.8.4"])
|
44
|
-
s.add_development_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
45
|
-
s.add_development_dependency(%q<locale>, ["= 2.0.5"])
|
46
|
-
s.add_development_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
47
44
|
s.add_development_dependency(%q<less>, ["= 1.2.21"])
|
45
|
+
s.add_development_dependency(%q<liquid>, ["= 2.0.0"])
|
46
|
+
s.add_development_dependency(%q<locale>, ["= 2.0.5"])
|
48
47
|
s.add_development_dependency(%q<lokar>, ["= 0.1.0"])
|
49
|
-
s.add_development_dependency(%q<builder>, ["= 2.1.2"])
|
50
|
-
s.add_development_dependency(%q<nagoro>, ["= 2009.05"])
|
51
48
|
s.add_development_dependency(%q<maruku>, ["= 0.6.0"])
|
52
|
-
s.add_development_dependency(%q<
|
49
|
+
s.add_development_dependency(%q<memcache-client>, ["= 1.8.1"])
|
50
|
+
s.add_development_dependency(%q<mustache>, ["= 0.9.2"])
|
53
51
|
s.add_development_dependency(%q<mutter>, ["= 0.5.3"])
|
54
|
-
s.add_development_dependency(%q<
|
52
|
+
s.add_development_dependency(%q<nagoro>, ["= 2009.05"])
|
53
|
+
s.add_development_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
55
54
|
s.add_development_dependency(%q<rack-test>, ["= 0.5.3"])
|
56
|
-
s.add_development_dependency(%q<
|
57
|
-
s.add_development_dependency(%q<
|
55
|
+
s.add_development_dependency(%q<RedCloth>, ["= 4.2.3"])
|
56
|
+
s.add_development_dependency(%q<Remarkably>, ["= 0.5.2"])
|
57
|
+
s.add_development_dependency(%q<RubyInline>, ["= 3.8.4"])
|
58
58
|
s.add_development_dependency(%q<sequel>, ["= 3.9.0"])
|
59
59
|
s.add_development_dependency(%q<scaffolding_extensions>, ["= 1.4.0"])
|
60
|
-
s.add_development_dependency(%q<
|
61
|
-
s.add_development_dependency(%q<
|
62
|
-
s.add_development_dependency(%q<
|
63
|
-
s.add_development_dependency(%q<
|
64
|
-
s.add_development_dependency(%q<
|
60
|
+
s.add_development_dependency(%q<slippers>, ["= 0.0.14"])
|
61
|
+
s.add_development_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
62
|
+
s.add_development_dependency(%q<tagz>, ["= 7.2.3"])
|
63
|
+
s.add_development_dependency(%q<tenjin>, ["= 0.6.1"])
|
64
|
+
s.add_development_dependency(%q<localmemcache>, ["= 0.4.4"])
|
65
65
|
else
|
66
66
|
s.add_dependency(%q<innate>, [">= 2010.03"])
|
67
|
+
s.add_dependency(%q<abstract>, ["= 1.0.0"])
|
68
|
+
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
69
|
+
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
70
|
+
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
67
71
|
s.add_dependency(%q<erector>, ["= 0.7.2"])
|
72
|
+
s.add_dependency(%q<erubis>, ["= 2.6.5"])
|
68
73
|
s.add_dependency(%q<ezamar>, ["= 2009.06"])
|
69
74
|
s.add_dependency(%q<haml>, ["= 2.2.22"])
|
75
|
+
s.add_dependency(%q<hpricot>, ["= 0.8.2"])
|
70
76
|
s.add_dependency(%q<json>, ["= 1.2.3"])
|
71
|
-
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
72
|
-
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
73
|
-
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
74
|
-
s.add_dependency(%q<slippers>, ["= 0.0.14"])
|
75
|
-
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
76
|
-
s.add_dependency(%q<RubyInline>, ["= 3.8.4"])
|
77
|
-
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
78
|
-
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
79
|
-
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
80
77
|
s.add_dependency(%q<less>, ["= 1.2.21"])
|
78
|
+
s.add_dependency(%q<liquid>, ["= 2.0.0"])
|
79
|
+
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
81
80
|
s.add_dependency(%q<lokar>, ["= 0.1.0"])
|
82
|
-
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
83
|
-
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
84
81
|
s.add_dependency(%q<maruku>, ["= 0.6.0"])
|
85
|
-
s.add_dependency(%q<
|
82
|
+
s.add_dependency(%q<memcache-client>, ["= 1.8.1"])
|
83
|
+
s.add_dependency(%q<mustache>, ["= 0.9.2"])
|
86
84
|
s.add_dependency(%q<mutter>, ["= 0.5.3"])
|
87
|
-
s.add_dependency(%q<
|
85
|
+
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
86
|
+
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
88
87
|
s.add_dependency(%q<rack-test>, ["= 0.5.3"])
|
89
|
-
s.add_dependency(%q<
|
90
|
-
s.add_dependency(%q<
|
88
|
+
s.add_dependency(%q<RedCloth>, ["= 4.2.3"])
|
89
|
+
s.add_dependency(%q<Remarkably>, ["= 0.5.2"])
|
90
|
+
s.add_dependency(%q<RubyInline>, ["= 3.8.4"])
|
91
91
|
s.add_dependency(%q<sequel>, ["= 3.9.0"])
|
92
92
|
s.add_dependency(%q<scaffolding_extensions>, ["= 1.4.0"])
|
93
|
-
s.add_dependency(%q<
|
94
|
-
s.add_dependency(%q<
|
95
|
-
s.add_dependency(%q<
|
96
|
-
s.add_dependency(%q<
|
97
|
-
s.add_dependency(%q<
|
93
|
+
s.add_dependency(%q<slippers>, ["= 0.0.14"])
|
94
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
95
|
+
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
96
|
+
s.add_dependency(%q<tenjin>, ["= 0.6.1"])
|
97
|
+
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
98
98
|
end
|
99
99
|
else
|
100
100
|
s.add_dependency(%q<innate>, [">= 2010.03"])
|
101
|
+
s.add_dependency(%q<abstract>, ["= 1.0.0"])
|
102
|
+
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
103
|
+
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
104
|
+
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
101
105
|
s.add_dependency(%q<erector>, ["= 0.7.2"])
|
106
|
+
s.add_dependency(%q<erubis>, ["= 2.6.5"])
|
102
107
|
s.add_dependency(%q<ezamar>, ["= 2009.06"])
|
103
108
|
s.add_dependency(%q<haml>, ["= 2.2.22"])
|
109
|
+
s.add_dependency(%q<hpricot>, ["= 0.8.2"])
|
104
110
|
s.add_dependency(%q<json>, ["= 1.2.3"])
|
105
|
-
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
106
|
-
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
107
|
-
s.add_dependency(%q<bacon>, ["= 1.1.0"])
|
108
|
-
s.add_dependency(%q<slippers>, ["= 0.0.14"])
|
109
|
-
s.add_dependency(%q<addressable>, ["= 2.1.1"])
|
110
|
-
s.add_dependency(%q<RubyInline>, ["= 3.8.4"])
|
111
|
-
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
112
|
-
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
113
|
-
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
114
111
|
s.add_dependency(%q<less>, ["= 1.2.21"])
|
112
|
+
s.add_dependency(%q<liquid>, ["= 2.0.0"])
|
113
|
+
s.add_dependency(%q<locale>, ["= 2.0.5"])
|
115
114
|
s.add_dependency(%q<lokar>, ["= 0.1.0"])
|
116
|
-
s.add_dependency(%q<builder>, ["= 2.1.2"])
|
117
|
-
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
118
115
|
s.add_dependency(%q<maruku>, ["= 0.6.0"])
|
119
|
-
s.add_dependency(%q<
|
116
|
+
s.add_dependency(%q<memcache-client>, ["= 1.8.1"])
|
117
|
+
s.add_dependency(%q<mustache>, ["= 0.9.2"])
|
120
118
|
s.add_dependency(%q<mutter>, ["= 0.5.3"])
|
121
|
-
s.add_dependency(%q<
|
119
|
+
s.add_dependency(%q<nagoro>, ["= 2009.05"])
|
120
|
+
s.add_dependency(%q<rack-contrib>, ["= 0.9.2"])
|
122
121
|
s.add_dependency(%q<rack-test>, ["= 0.5.3"])
|
123
|
-
s.add_dependency(%q<
|
124
|
-
s.add_dependency(%q<
|
122
|
+
s.add_dependency(%q<RedCloth>, ["= 4.2.3"])
|
123
|
+
s.add_dependency(%q<Remarkably>, ["= 0.5.2"])
|
124
|
+
s.add_dependency(%q<RubyInline>, ["= 3.8.4"])
|
125
125
|
s.add_dependency(%q<sequel>, ["= 3.9.0"])
|
126
126
|
s.add_dependency(%q<scaffolding_extensions>, ["= 1.4.0"])
|
127
|
-
s.add_dependency(%q<
|
128
|
-
s.add_dependency(%q<
|
129
|
-
s.add_dependency(%q<
|
130
|
-
s.add_dependency(%q<
|
131
|
-
s.add_dependency(%q<
|
127
|
+
s.add_dependency(%q<slippers>, ["= 0.0.14"])
|
128
|
+
s.add_dependency(%q<sqlite3-ruby>, ["= 1.2.5"])
|
129
|
+
s.add_dependency(%q<tagz>, ["= 7.2.3"])
|
130
|
+
s.add_dependency(%q<tenjin>, ["= 0.6.1"])
|
131
|
+
s.add_dependency(%q<localmemcache>, ["= 0.4.4"])
|
132
132
|
end
|
133
133
|
end
|
data/spec/ramaze/bin/ramaze.rb
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
# All files in this distribution are subject to the terms of the Ruby license.
|
3
3
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
5
|
-
|
5
|
+
|
6
|
+
# Ignore this test on Mac OS X
|
7
|
+
spec_precondition 'User isn\'t running Mac OS X' do
|
8
|
+
if RUBY_PLATFORM.include? 'darwin'
|
9
|
+
should.flunk "Localmemcache doesn't work on Mac OS X and thus this test will be ignored."
|
10
|
+
else
|
11
|
+
spec_require 'localmemcache'
|
12
|
+
end
|
13
|
+
end
|
6
14
|
|
7
15
|
describe Ramaze::Cache::LocalMemCache do
|
8
16
|
Ramaze.options.cache.names = [:one, :two]
|
@@ -13,37 +21,37 @@ describe Ramaze::Cache::LocalMemCache do
|
|
13
21
|
hello = 'Hello, World!'
|
14
22
|
|
15
23
|
should 'store without ttl' do
|
16
|
-
cache.store(:hello, hello).should
|
24
|
+
cache.store(:hello, hello).should.equal hello
|
17
25
|
end
|
18
26
|
|
19
27
|
should 'fetch' do
|
20
|
-
cache.fetch(:hello).should
|
28
|
+
cache.fetch(:hello).should.equal hello
|
21
29
|
end
|
22
30
|
|
23
31
|
should 'delete' do
|
24
32
|
cache.delete(:hello)
|
25
|
-
cache.fetch(:hello).should
|
33
|
+
cache.fetch(:hello).should.equal nil
|
26
34
|
end
|
27
35
|
|
28
36
|
should 'delete two key/value pairs at once' do
|
29
|
-
cache.store(:hello, hello).should
|
30
|
-
cache.store(:ramaze, 'ramaze').should
|
37
|
+
cache.store(:hello, hello).should.equal hello
|
38
|
+
cache.store(:ramaze, 'ramaze').should.equal 'ramaze'
|
31
39
|
cache.delete(:hello, :ramaze)
|
32
|
-
cache.fetch(:hello).should
|
33
|
-
cache.fetch(:innate).should
|
40
|
+
cache.fetch(:hello).should.equal nil
|
41
|
+
cache.fetch(:innate).should.equal nil
|
34
42
|
end
|
35
43
|
|
36
44
|
should 'store with ttl' do
|
37
45
|
cache.store(:hello, @hello, :ttl => 0.2)
|
38
|
-
cache.fetch(:hello).should
|
46
|
+
cache.fetch(:hello).should.equal @hello
|
39
47
|
sleep 0.3
|
40
|
-
cache.fetch(:hello).should
|
48
|
+
cache.fetch(:hello).should.equal nil
|
41
49
|
end
|
42
50
|
|
43
51
|
should 'clear' do
|
44
52
|
cache.store(:hello, @hello)
|
45
|
-
cache.fetch(:hello).should
|
53
|
+
cache.fetch(:hello).should.equal @hello
|
46
54
|
cache.clear
|
47
|
-
cache.fetch(:hello).should
|
55
|
+
cache.fetch(:hello).should.equal nil
|
48
56
|
end
|
49
57
|
end
|
data/spec/ramaze/cache/sequel.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
5
5
|
spec_require 'sequel'
|
6
6
|
|
7
|
-
DB = Sequel.sqlite
|
7
|
+
DB = Sequel.sqlite(':memory:')
|
8
8
|
|
9
9
|
describe Ramaze::Cache::Sequel do
|
10
10
|
Ramaze.options.cache.names = [:one, :two]
|
@@ -14,38 +14,38 @@ describe Ramaze::Cache::Sequel do
|
|
14
14
|
cache = Ramaze::Cache.one
|
15
15
|
hello = 'Hello, World!'
|
16
16
|
|
17
|
-
should '
|
18
|
-
cache.store(:hello, hello).should
|
17
|
+
should 'Store some data without a TTL' do
|
18
|
+
cache.store(:hello, hello).should.equal hello
|
19
19
|
end
|
20
20
|
|
21
|
-
should '
|
22
|
-
cache.fetch(:hello).should
|
21
|
+
should 'Fetch a cache item' do
|
22
|
+
cache.fetch(:hello).should.equal hello
|
23
23
|
end
|
24
24
|
|
25
|
-
should '
|
25
|
+
should 'Delete a cache item' do
|
26
26
|
cache.delete(:hello)
|
27
27
|
cache.fetch(:hello).should == nil
|
28
28
|
end
|
29
29
|
|
30
|
-
should '
|
31
|
-
cache.store(:hello, hello).should
|
32
|
-
cache.store(:ramaze, 'ramaze').should
|
30
|
+
should 'Delete two key/value pairs at once' do
|
31
|
+
cache.store(:hello, hello).should.equal hello
|
32
|
+
cache.store(:ramaze, 'ramaze').should.equal 'ramaze'
|
33
33
|
cache.delete(:hello, :ramaze)
|
34
|
-
cache.fetch(:hello).should
|
35
|
-
cache.fetch(:innate).should
|
34
|
+
cache.fetch(:hello).should.equal nil
|
35
|
+
cache.fetch(:innate).should.equal nil
|
36
36
|
end
|
37
37
|
|
38
|
-
should '
|
39
|
-
cache.store(:hello, @hello, :ttl =>
|
40
|
-
cache.fetch(:hello).should
|
41
|
-
sleep
|
42
|
-
cache.fetch(:hello).should
|
38
|
+
should 'Store some data with a TTL' do
|
39
|
+
cache.store(:hello, @hello, :ttl => 1)
|
40
|
+
cache.fetch(:hello).should.equal @hello
|
41
|
+
sleep 2
|
42
|
+
cache.fetch(:hello).should.equal nil
|
43
43
|
end
|
44
44
|
|
45
|
-
should '
|
45
|
+
should 'Clear the cache' do
|
46
46
|
cache.store(:hello, @hello)
|
47
|
-
cache.fetch(:hello).should
|
47
|
+
cache.fetch(:hello).should.equal @hello
|
48
48
|
cache.clear
|
49
|
-
cache.fetch(:hello).should
|
49
|
+
cache.fetch(:hello).should.equal nil
|
50
50
|
end
|
51
51
|
end
|