Release Name: 0.0.6
Notes:
= Readme for Ramaze
Ramaze is a very simple and straight-forward web-framework.
The philosophy of it could be expressed in a mix of KISS and POLS, trying to
make simple things simple and complex things possible.
This of course is nothing new to anyone who knows some ruby, but is often
forgotten in a chase for new functionality and features. Ramaze only tries to
give you the ultimate tools, but you have to use them yourself to achieve
perfect custom-tailored results.
Another interesting aspect is that Ramaze tries to provide as much reusable
code as possible, as to encourage the use of its code in similar projects and
to act as a single point of reference for projects using its components.
This tries to tackle the problem that everybody who wants/needs to create a
custom web framework always has to reimplement the most basic and common
functionality.
So when for example someone wants a basic example of how to build a comfortable
testing environment for a web framework it's hardly leading to the goal if this
first has to be reinvented before even the basic testing can start.
The same goes for the implementation of sessions or the request/response
objects which are collected under the module Trinity. Or all the examples
of real world-usage of the most popular templating-engines. Within a framework,
not to mention the basic need for a Dispatcher.
Of course most other frameworks will introduce their own paradigms and special
implementations, and this is the reason why it is not encouraged to directly
require files from Ramaze, they are one working entity together, but with a few
modifications it's your very own implementation and fits into your own project.
Not to mention that introducing another web framework for your own would be
quite odd ;)
== Basic Principles of Ramaze
There are some basic principles that Ramaze tries to follow:
* Test everything
What use is a wonderful application if it doesn't work?
* Document everything
Documentation is the glue between the code and the programmers brain
* Keep It Super Simple (KISS)
Most things should be understandable after reading them once
* Principle Of Least Surprise (POLS)
Going the way of ruby
* Modular design
Making it as simple as possible to extract parts
* Minimal dependencies
In case a dependency is not met use a simple fall-back instead
* Provide as many examples as possible
Examples are a superior way of getting a quick start into everything
* Open development
I happily accept all patches or feature-requests that you may have,
as long as they comply with these principles
== Quick features overview
Ramaze offers following features at the moment:
* Adapters
* Mongrel
http://mongrel.rubyforge.org/
Mongrel is a fast HTTP library and server for Ruby that is intended for
hosting Ruby web applications of any kind using plain HTTP rather than
FastCGI or SCGI.
* WEBrick
http://www.webrick.org/
WEBrick is a Ruby library program to build HTTP servers.
* Templates
* Amrita2
http://amrita2.rubyforge.org/
Amrita2 is a xml/xhtml template library for Ruby. It makes html documents
from a template and a model data.
* Erubis
http://rubyforge.org/projects/erubis
Erubis is a fast, secure, and very extensible implementation of eRuby.
* Haml
http://haml.hamptoncatlin.com/
Haml takes your gross, ugly templates and replaces them with veritable Haiku.
* Liquid
http://home.leetsoft.com/liquid
Liquid's syntax and parse model are inspired by Django templates, as well
as PHP's smarty.
* Markaby
http://code.whytheluckystiff.net/markaby/
Markaby means Markup as Ruby.
* Ramaze
A simple homage to Nitros templating. Please check out http://nitroproject.org
for more information.
* Cache
* Hash
* YAML::Store
* MemCache
* Helper
* Aspect
* Auth
* Cache
* Feed
* Form
* Link
* Redirect
* Stack
* Various
* Sessions
* Global configuration system
* Simple request/response handling
* Custom Error-handling
== Getting started
Now that you have a vague idea of what you're about to get into you might just
want to get a way to get up and running ASAP.
Please read below for more information about installation.
Depending on what you are planning to do you can either just go and start
reading the source or directly get some hands-on experience by trying some of
the examples.
Most things will require dependencies though. The basic functionality is
provided by the WEBrick adapter and the Template::Ramaze, which just run out
of the box. For more features you will have to install some templating-engines
and mongrel (_very_ recommended). Ramaze will inform you when it needs further
dependencies, so just go and try some things.
Some places to get started are:
- Read the documentation.
- Run and read the test cases.
- Look at the examples and run/modify them.
== Installation
* via RubyGems
The simplest way of installing Ramaze is via
$ gem install ramaze
in case you have RubyGems installed.
(this will work as soon as I have registered on RubyForge ;)
* via install.rb
Ramaze provides a basic install.rb that should take care of the installation
you can use it like
$ ruby install.rb
you may need root-privileges to do
that, depending on what options you provide.
(please note that I haven't tested the install.rb extensively yet, so if you
find some quirks, please send me patches or a simple note)
* via darcs
To get the latest and sweetest, you can just pull from the repository and run
Ramaze that way.
$ darcs get http://manveru.mine.nu/darcs/prog/projects/ramaze
Please read the man page or `darcs help` for more information about updating
and creating your own patches.
This is at the moment the premier way to use Ramaze, since it is the way I use
it.
== Ramaze Examples
There are some examples for your instant pleasure inside the examples-directory
in the Ramaze-distribution.
To start up an example, you can use the Ramaze binary located in bin/ramaze
for example:
$ ramaze examples/hello.rb
Or:
$ cd examples/blog
$ ramaze
Since ramaze uses the main.rb by default if you don't pass anything else.
For more information about the usage of ramaze try:
$ ramaze --help
Examples include:
* examples/hello.rb
Hello, World!
* examples/simple.rb
A bit more advanced than the hello-example, but still very basic.
* examples/blog
Not yet fully functional, but coming along.
* examples/whywiki
A basic examples of a minimalistic application, based on the Wiki of _why in
his camping-framework.
* examples/templates
examples of real usage of the templating-engines. Tries to implement the same
functionality in each template_*.rb file using a different engine.
== good to know
* Nicer Error-pages
* Install coderay (it's a gem)
* Performance
* Serving
For best performance you should consider using Mongrel to host your
application.
* Caching
You can easily cache your pages using the CacheHelper.
Also, using MemCache gives you high-end performance and security.
== Getting Help
For help you can just join #ramaze on irc.freenode.net.
Or mail me, at m [dot] fellinger [at] gmail [dot] com - I'm happy to provide
help on anything related to web-development.
Changes:
Wed Feb 7 19:02:15 JST 2007 m.fellinger@gmail.com
* this introduces a new startup/shutdown hook system
Wed Feb 7 19:00:52 JST 2007 m.fellinger@gmail.com
* update changelog, fixing Rakefile and making bin/ramaze a bit nicer.
Tue Feb 6 17:29:23 JST 2007 m.fellinger@gmail.com
* adding documentation for all traits.
Tue Feb 6 17:29:09 JST 2007 m.fellinger@gmail.com
* improving Hash#keys_to_sym
Tue Feb 6 17:28:42 JST 2007 m.fellinger@gmail.com
* adding the files for the allison-template
Tue Feb 6 17:28:25 JST 2007 m.fellinger@gmail.com
* add rake allison for the improved allison rdoc-template
Tue Feb 6 16:08:35 JST 2007 manveru@weez-int.com
* add a post install message for the gem and add documentation for Tool::Create
Tue Feb 6 13:51:17 JST 2007 manveru@weez-int.com
* handle referer for mongrel too
Tue Feb 6 13:50:29 JST 2007 manveru@weez-int.com
* remove the require coderay in error.rb main-body, this is done dynamically and with a proper rescue in the error-method instead, therefor removing the shown dependecy in rake dependencies
Tue Feb 6 13:49:03 JST 2007 manveru@weez-int.com
* fixing rake rdoc, adding rake readme2html and adding rake as dependency
Sun Feb 4 23:34:54 JST 2007 manveru@weez-int.com
* adding some more methods to Store::Default
Sun Feb 4 22:50:29 JST 2007 manveru@weez-int.com
* finally make ramaze --create project work
Tue Feb 6 12:42:37 JST 2007 m.fellinger@gmail.com
* fixing minor typos in the README, removing ramaze.xcf and fixing require hpricot in tc_helper_feed
Mon Feb 5 11:30:34 JST 2007 m.fellinger@gmail.com
* minor changes to README
Mon Feb 5 11:23:41 JST 2007 m.fellinger@gmail.com
* adding todo
Mon Feb 5 11:23:21 JST 2007 m.fellinger@gmail.com
* update documentation for Global
Mon Feb 5 11:23:13 JST 2007 m.fellinger@gmail.com
* update doc/TODO
Mon Feb 5 11:21:25 JST 2007 m.fellinger@gmail.com
* little patch to rake todolist
Sat Feb 3 08:45:15 JST 2007 manveru@weez-int.com
* adding testcase_requires in spec_helper to have a standard way of saying whether a testcase is supposed to pass at all, also fixing a little issue with require-path for ramaze and problematic lookup of Ramaze::Helper in haml (it's extended anyway)
Sat Feb 3 08:09:37 JST 2007 manveru@weez-int.com
* use proto/public for static lookup, not lib/public
Sat Feb 3 08:09:25 JST 2007 manveru@weez-int.com
* fixing logger for files
Sat Feb 3 08:07:46 JST 2007 manveru@weez-int.com
* adds the other stuff for lib/proto, just a very simple little hello-world app with most of the structure of a fully grown application and some example configurations.
Sat Feb 3 08:07:26 JST 2007 manveru@weez-int.com
* move lib/public to lib/proto/public
Sat Feb 3 08:06:33 JST 2007 manveru@weez-int.com
* add tool/create and change the bin/ramaze for ramaze --create myapp, which basically copies the proto-directory from lib/proto
Sat Feb 3 08:06:18 JST 2007 manveru@weez-int.com
* uh, forgot the source of these two files
Sat Feb 3 08:05:32 JST 2007 manveru@weez-int.com
* add the snippets for Hash and Symbol
Sat Feb 3 08:05:01 JST 2007 manveru@weez-int.com
* update Rakefile for testing and superior options for rdoc
Sat Feb 3 08:03:42 JST 2007 manveru@weez-int.com
* remove lib/test
Sat Feb 3 08:02:45 JST 2007 manveru@weez-int.com
* move lib/test/request_maker into the rake-task request
Sat Feb 3 08:02:03 JST 2007 manveru@weez-int.com
* patch the specs to work in the new directory
Sat Feb 3 08:01:21 JST 2007 manveru@weez-int.com
* move test_helper to spec/spec_helper and all_tests to spec_all
Sat Feb 3 08:00:50 JST 2007 manveru@weez-int.com
* move test to spec
Sat Feb 3 04:45:39 JST 2007 manveru@weez-int.com
* tons of little changes to make dispatcher work again, also adding support for defining your Global.inform_to in a YAML file ('stdout', 'stderr', :stdout, :stderr or a filename)
Fri Feb 2 21:14:46 JST 2007 m.fellinger@gmail.com
* yet another typo
Fri Feb 2 21:13:38 JST 2007 m.fellinger@gmail.com
* typo
Fri Feb 2 21:12:10 JST 2007 m.fellinger@gmail.com
* document String#snake_case
Fri Feb 2 21:11:03 JST 2007 m.fellinger@gmail.com
* docu for String#camel_case
Fri Feb 2 21:07:29 JST 2007 m.fellinger@gmail.com
* MAJOR update to README ;) - now it should be a lot more RDoc-able
Fri Feb 2 20:39:37 JST 2007 m.fellinger@gmail.com
* update docs for Template::Amrita2
Fri Feb 2 20:37:47 JST 2007 m.fellinger@gmail.com
* remove the Template::Stupid
Fri Feb 2 20:33:16 JST 2007 m.fellinger@gmail.com
* document some more snippets
Fri Feb 2 20:24:54 JST 2007 m.fellinger@gmail.com
* adding docs for OpenStruct#temp
Fri Feb 2 20:20:46 JST 2007 m.fellinger@gmail.com
* add the last bits of code and documentation for request/response/session (mostly the ::current method)
Fri Feb 2 20:20:07 JST 2007 m.fellinger@gmail.com
* a little bit nicer API in Dispatcher, but most importantly, fully documented!
Fri Feb 2 14:32:26 JST 2007 manveru@weez-int.com
* first draft of documentation for dispatcher
Fri Feb 2 14:24:48 JST 2007 manveru@weez-int.com
* completing documentation of ramaze.rb and lib/test/test_helper
Fri Feb 2 14:24:19 JST 2007 manveru@weez-int.com
* completing documentation for Ramaze::Template
Fri Feb 2 14:24:07 JST 2007 manveru@weez-int.com
* minor changes and full documenation for Gestalt
Fri Feb 2 14:23:42 JST 2007 manveru@weez-int.com
* completing documentation of adapter/mongrel adapter/webrick
Fri Feb 2 14:01:44 JST 2007 manveru@weez-int.com
* taking advantage of a custom external config-file... i won't build an automatic loading of that file since it's just a oneliner to load it. this is for the blog-example
Fri Feb 2 14:01:01 JST 2007 manveru@weez-int.com
* support for mapping controllers as symbols/strings, looking up the constants on startup.
Thu Feb 1 22:47:06 JST 2007 manveru@weez-int.com
* testing redirect_referer in tc_helper_redirect
Thu Feb 1 22:46:16 JST 2007 manveru@weez-int.com
* updating tc_helper_auth for the different ways to set the auth_table
Thu Feb 1 22:45:30 JST 2007 manveru@weez-int.com
* this adds the possibility to add a base url for the context (like path to a controller)... nasty, nasty stuff
Thu Feb 1 22:45:01 JST 2007 manveru@weez-int.com
* make rake all_tests compatible for tinderbox and a little bit prettier
Thu Feb 1 22:44:15 JST 2007 manveru@weez-int.com
* use request.referer and add request.local_net? from nitro
Thu Feb 1 22:43:32 JST 2007 manveru@weez-int.com
* restructuring and documenting AuthHelper
Thu Feb 1 22:43:11 JST 2007 manveru@weez-int.com
* use ancestral_trait for aspects
Thu Feb 1 22:42:53 JST 2007 manveru@weez-int.com
* add documentation for the Rakefile tasks
Thu Feb 1 20:40:42 JST 2007 manveru@weez-int.com
* remove a bit of debugging-info from AspectHelper
Thu Feb 1 20:39:36 JST 2007 manveru@weez-int.com
* adding stack functionality in the AuthHelper by default. So once you are logged in, you will be redirected back to the last known position.
Thu Feb 1 20:39:05 JST 2007 manveru@weez-int.com
* simplify the code in helper.rb a little bit
Thu Feb 1 17:26:41 JST 2007 m.fellinger@gmail.com
* something broke... now reading the template extra-early... this should give us better ways to do action-compiles later on...
Thu Feb 1 16:48:13 JST 2007 m.fellinger@gmail.com
* Ramaze::Template::Element => Ramaze::Element
Wed Jan 31 22:33:16 JST 2007 manveru@weez-int.com
* small updates to the README again, adding some links.
Wed Jan 31 22:22:35 JST 2007 manveru@weez-int.com
* adding the Liquid templating-engine (Template::Liquid) complete with tests and example.
Wed Jan 31 22:19:59 JST 2007 manveru@weez-int.com
* little fixes for Haml (examples/templates) and adding the option to pass your own haml_options or set a trait... also some docs for transform.
Wed Jan 31 13:35:06 JST 2007 manveru@weez-int.com
* another Inform => Informer for erubis and amrita2
Wed Jan 31 13:34:18 JST 2007 manveru@weez-int.com
* adding Haml example in examples/templates
Wed Jan 31 13:06:47 JST 2007 manveru@weez-int.com
* updating README
Wed Jan 31 13:05:26 JST 2007 manveru@weez-int.com
* adding Haml Templating-engine. (Template::Haml)
Wed Jan 31 01:09:22 JST 2007 manveru@weez-int.com
* add a tc_error
Wed Jan 31 01:06:50 JST 2007 manveru@weez-int.com
* fixing Element => Template::Element
Tue Jan 30 22:58:16 JST 2007 manveru@weez-int.com
* limiting the backtrace for the errorpage to 0..20 to make it speedier, requiring coderay
Tue Jan 30 22:57:28 JST 2007 manveru@weez-int.com
* putting Element and Morpher in the Ramaze::Template namespace, prefixing the Ramaze::BASEDIR
Tue Jan 30 22:57:00 JST 2007 manveru@weez-int.com
* fixing dispatcher errorhandling for webrick... was broken, as usual.
Tue Jan 30 22:56:26 JST 2007 manveru@weez-int.com
* adapt the errorpage and give it really neat new CodeRay highlighting, the old one was b0rken ages ago.
Tue Jan 30 21:42:15 JST 2007 manveru@weez-int.com
* use Informer in the templating to avoid confusion with the error method on the controller and of Inform (which will need to search for a new naming-scheme, i fear)
Tue Jan 30 21:41:06 JST 2007 manveru@weez-int.com
* template.rb gets a new trait, the :public which points per default to ramazes public directory, we extend the paths searched to this directory, some more general cleanup as well.
Tue Jan 30 21:39:13 JST 2007 manveru@weez-int.com
* just a little nicety ;)
Tue Jan 30 21:38:24 JST 2007 manveru@weez-int.com
* remove the old errorpage-cruft from the error.rb, it will in future serve for some general errors that Ramaze will use.
Tue Jan 30 21:37:52 JST 2007 manveru@weez-int.com
* make dispatcher aware of error-handling (not just that hardcoded errorpage-stuff
Tue Jan 30 21:37:00 JST 2007 manveru@weez-int.com
* create the new error.xhtml and error.css in order to finally get some sane structure in error-handling.
Tue Jan 30 20:00:37 JST 2007 manveru@weez-int.com
* show the error-message as well when Template.transform fails.
Tue Jan 30 20:00:10 JST 2007 manveru@weez-int.com
* remove Template from the pipeline again, just causing problems with multiple evaluation.
Tue Jan 30 19:59:15 JST 2007 manveru@weez-int.com
* splitting out Element.transform into multiple methods, this is the preparation to make it a bit more... itelligent :)
Mon Jan 29 23:59:38 JST 2007 manveru@weez-int.com
* _yet_ another way how webrick handles cookies... this is getting tiresome :P
Mon Jan 29 23:59:14 JST 2007 manveru@weez-int.com
* if the action is a symbol convert to string before escaping
Mon Jan 29 23:58:26 JST 2007 manveru@weez-int.com
* changes to morpher and rearranging the pipeline... evaluating twice should be avoided somehow...
Mon Jan 29 23:57:59 JST 2007 manveru@weez-int.com
* vast upgrade of AuthHelper
Mon Jan 29 23:57:30 JST 2007 manveru@weez-int.com
* support different arity for pre-aspects
Mon Jan 29 23:57:11 JST 2007 manveru@weez-int.com
* final version of the blog (for the time being, as always ;)
Mon Jan 29 22:32:00 JST 2007 manveru@weez-int.com
* remove the pointers to EntryController and remove the list.xhtml
Mon Jan 29 22:28:49 JST 2007 manveru@weez-int.com
* remove the EntryController and use MainController instead
Mon Jan 29 22:27:05 JST 2007 manveru@weez-int.com
* move the templates for the wiki to the root template-folder
Mon Jan 29 22:25:38 JST 2007 manveru@weez-int.com
* use the cleaner Global.setup instead of direct assignment
Mon Jan 29 22:25:20 JST 2007 manveru@weez-int.com
* fixing session for non-POST
Mon Jan 29 22:24:44 JST 2007 manveru@weez-int.com
* remove the old index of blog, we'll implement that more minimalistic
Mon Jan 29 22:17:27 JST 2007 manveru@weez-int.com
* remove miniwiki and move microwiki to whywiki
Mon Jan 29 21:22:46 JST 2007 m.fellinger@gmail.com
* huuge patch (kinda) to support cookies via POST with Net::HTTP to webrick, improves some tests and remove tc_helper_crud
Mon Jan 29 21:22:24 JST 2007 m.fellinger@gmail.com
* prevent stack from answering if the stack is empty
Mon Jan 29 21:22:06 JST 2007 m.fellinger@gmail.com
* little typo, forgot comma ;)
Mon Jan 29 20:14:42 JST 2007 m.fellinger@gmail.com
* uhm... remove model... again? :)
Mon Jan 29 20:13:57 JST 2007 m.fellinger@gmail.com
* removing the CrudHelper stuff again, it's just confusing and quite worthless in practice.
Mon Jan 29 20:10:02 JST 2007 m.fellinger@gmail.com
* little fix in tc_helper_form in case Og isn't there.
Mon Jan 29 20:09:27 JST 2007 m.fellinger@gmail.com
* as promised, using throw(:respond) now to do redirection properly
Mon Jan 29 20:07:39 JST 2007 m.fellinger@gmail.com
* adding a new option Global.cookies to turn sending cookies on and off... also we are now catching :respond to break out of a request/response cycle early (this will be used for redirection)
Mon Jan 29 20:06:36 JST 2007 m.fellinger@gmail.com
* alias Ramaze.start with Ramaze.new
Mon Jan 29 20:06:13 JST 2007 m.fellinger@gmail.com
* a little more explanation in the examples/hello
Mon Jan 29 20:05:39 JST 2007 m.fellinger@gmail.com
* adding ramaze --console for starting up an irb-session while the server runs in the background
Mon Jan 29 16:41:05 JST 2007 m.fellinger@gmail.com
* Ramaze.autoreload instead of Kernel.autoreload
Mon Jan 29 15:03:28 JST 2007 manveru@weez-int.com
* the adapter should return only one thread to watch...
Mon Jan 29 14:56:06 JST 2007 manveru@weez-int.com
* implement multiple ports for webrick + tests
Mon Jan 29 14:55:46 JST 2007 manveru@weez-int.com
* implement for mongrel + tests
Mon Jan 29 14:54:24 JST 2007 manveru@weez-int.com
* first step in supporting startup for multiple servers at once (ramaze -p 7000..7010) via a new Global.ports that is taken from Global.port (which loses in significance... but it's only of value before startup anyway
Mon Jan 29 07:49:46 JST 2007 manveru@weez-int.com
* small change to make ancestral_trait work for the current instance as well.
Sun Jan 28 15:46:11 JST 2007 manveru@weez-int.com
* add documentation and fix minor bugs in ramaze, ramaze/global and ramaze/inform
Sun Jan 28 15:34:08 JST 2007 manveru@weez-int.com
* document ramaze/template and remove the require of ramaze/model
Sun Jan 28 15:33:41 JST 2007 manveru@weez-int.com
* it should be :transform_pipeline, not :template_pipeline
Sun Jan 28 15:29:35 JST 2007 manveru@weez-int.com
* remove lib/ramaze/model.rb - nowhere used anyway :P
Sun Jan 28 15:27:30 JST 2007 manveru@weez-int.com
* documentation for adapter/mongrel, adapter/webrick, AuthHelper and CacheHelper
Sun Jan 28 15:22:24 JST 2007 manveru@weez-int.com
* set the default method for mongrels log-method to Informer#<<
Sun Jan 28 15:01:37 JST 2007 manveru@weez-int.com
* documentation for: FeedHelper, StackHelper and FormHelper
Sun Jan 28 14:28:00 JST 2007 manveru@weez-int.com
* remove #instance? was a nice hack but we don't use it anywhere
Sun Jan 28 14:27:03 JST 2007 manveru@weez-int.com
* fixing rake undocmented... missed out some methods and added some too much
Sun Jan 28 14:25:14 JST 2007 manveru@weez-int.com
* remove test/tc_helper, it was just a copy of test/tc_helper_redirect ... makes my autocomplete a little bit faster ;)
Sun Jan 28 14:24:53 JST 2007 manveru@weez-int.com
* use head instead of @head in the response
Sun Jan 28 14:24:00 JST 2007 manveru@weez-int.com
* template/ramaze uses render_action instead of render_method... another ancestral_trait
Sun Jan 28 14:23:43 JST 2007 manveru@weez-int.com
* docs for template/markaby
Sun Jan 28 14:23:14 JST 2007 manveru@weez-int.com
* replace the clumsy ancestors_trait by ancestral_trait
Sun Jan 28 14:22:28 JST 2007 manveru@weez-int.com
* a little bit of docs for store/default - still pondering about removing it since it's not used anywhere... also remove the [] and []= method, they should be handled by method_missing anyway.
Sun Jan 28 14:21:07 JST 2007 manveru@weez-int.com
* changes for Object#trait, adding docs and replacing the ancestors_trait with the ancestral_trait method, it yields an hash that consists of all the traits of the ancestors
Sun Jan 28 14:20:24 JST 2007 manveru@weez-int.com
* Ramaze::Informer instead of Ramaze::Inform for autoreload output
Sun Jan 28 14:20:10 JST 2007 manveru@weez-int.com
* make Informer respond to << for WEBrick
Sun Jan 28 14:19:10 JST 2007 manveru@weez-int.com
* it's Global.inform_ ... no Hash anymore for easier defaults
Sun Jan 28 14:18:24 JST 2007 manveru@weez-int.com
* new defaults for Global plus a little bit of documentation-stubs... we really should make a seperate documentation in doc/ for the options.
Sun Jan 28 14:17:04 JST 2007 manveru@weez-int.com
* check for the :benchmark tag in the adapter
Sun Jan 28 14:16:42 JST 2007 manveru@weez-int.com
* make mongrel log as #debug instead of info
Sun Jan 28 14:16:13 JST 2007 manveru@weez-int.com
* Global.autoreload is now a simple integer, no mapping of modes to integers, since we don't have modes anymore
Sun Jan 28 14:15:30 JST 2007 manveru@weez-int.com
* close the thing Inform logs to at shutdown
Sun Jan 28 14:14:40 JST 2007 manveru@weez-int.com
* small change, in case the adapter doesn't respond to #stop
Sun Jan 28 14:13:30 JST 2007 manveru@weez-int.com
* little change in examples/element
Sun Jan 28 14:12:18 JST 2007 manveru@weez-int.com
* adjust the bin/ramaze for the new Inform and use RDocs parser for the output of help, version and copyright.
Fri Jan 26 23:22:53 JST 2007 manveru@weez-int.com
* typo
Fri Jan 26 23:22:20 JST 2007 manveru@weez-int.com
* move init_global a bit forward so it's available right from the start.
Fri Jan 26 23:21:29 JST 2007 manveru@weez-int.com
* update the Global for the new Inform
Fri Jan 26 23:20:41 JST 2007 manveru@weez-int.com
* patch the rest of the system for the new Inform
Fri Jan 26 23:19:48 JST 2007 manveru@weez-int.com
* rewrite Inform to be tag-based and a lot simpler :)
Fri Jan 26 13:52:42 JST 2007 manveru@weez-int.com
* finally set a default mapping to {} at require Global
Fri Jan 26 13:52:17 JST 2007 manveru@weez-int.com
* prevent errors in case we pass Coderay some empty piece of code
Fri Jan 26 13:51:13 JST 2007 manveru@weez-int.com
* supporting mongrels send_file, should give some decent speedups.
Thu Jan 25 13:52:55 JST 2007 manveru@weez-int.com
* append a newline to the output of CrudHelper... makes CLI-use easier
Thu Jan 25 13:52:20 JST 2007 manveru@weez-int.com
* add the examples/crud.rb to show how to use the CrudHelper
Wed Jan 24 20:28:55 JST 2007 manveru@weez-int.com
* for subsequent starts of ramaze in tests we finally have the :fake_start option that updates the Global but doesn't do much else, so that the original instance can just continue to work, i like the implementation... but our Global slowly gets stuffed :)
Wed Jan 24 20:26:16 JST 2007 manveru@weez-int.com
* big change also to the way Global is set up, new method init_global on Ramaze that sets up the Global as usual but now also preserves the mappings set before the start of ramaze and just adds new mappings that you pass on start, gives the CrudHelper the ability to set up a mapping for your Store... you can change the name of the mapping with 'crud => YourStore, :name => "blah"' which maps to /blah...
Wed Jan 24 20:22:41 JST 2007 manveru@weez-int.com
* rewrite of CrudHelper, now it only converts your Store into a kind of Controller, extends it with Trinity and defines the ::handle_request method (yay for ducktyping), it just sets up a proxy and you can define your own 'route', which request should send what method.
Wed Jan 24 14:50:15 JST 2007 manveru@weez-int.com
* introduce custom morphs and add even more docs... ratio must be 2:1 by now :)
Tue Jan 23 21:09:16 JST 2007 manveru@weez-int.com
* adding documentation for Morpher#transform and making the rescue a lot better.
Tue Jan 23 20:34:33 JST 2007 manveru@weez-int.com
* rearrange tc_heper_form to resemble tc_morpher in regard to the require-failsafe
Tue Jan 23 20:32:32 JST 2007 manveru@weez-int.com
* add template/ramaze/morpher and tests for it, it requires hpricot at the moment but got a graceful fallback that just won't process morphers... maybe i can whip up a pure ruby variant later, but the code using hpricot is just sweet :)
Tue Jan 23 20:30:41 JST 2007 manveru@weez-int.com
* add test for headers in tc_request and add a method for raw_get that gives you the original object from open() back
Mon Jan 22 21:25:19 JST 2007 manveru@weez-int.com
* CrudHelper and testcase
Mon Jan 22 19:56:21 JST 2007 manveru@weez-int.com
* fixing tons of typos in the README
Mon Jan 22 19:46:42 JST 2007 manveru@weez-int.com
* fail gently on require rubygems... we probably should remove that requires completly...
Mon Jan 22 17:39:32 JST 2007 manveru@weez-int.com
* add some more tests for the previous bug (request.params instead of request.query)
Mon Jan 22 17:32:28 JST 2007 manveru@weez-int.com
* fix request[key] and request[key] = value
Mon Jan 22 17:28:43 JST 2007 manveru@weez-int.com
* add an example for the usage of Element in examples/element.rb
Mon Jan 22 14:45:16 JST 2007 manveru@weez-int.com
* make tc_request pass again, request.body.read instead
Mon Jan 22 14:42:59 JST 2007 manveru@weez-int.com
* fixing helper/feed
Mon Jan 22 14:40:10 JST 2007 manveru@weez-int.com
* add exitstatus checking for all_tests
Mon Jan 22 14:37:25 JST 2007 manveru@weez-int.com
* reimplementation of Element, making code a bit cleaner (but longer... and possibly harder to understand?) also adding some tests for <Element />
Sun Jan 21 03:16:56 JST 2007 manveru@weez-int.com
* remove cruft from helper/feed
Fri Jan 19 21:39:52 JST 2007 manveru@weez-int.com
* document lib/test/test_helper
Fri Jan 19 21:39:31 JST 2007 manveru@weez-int.com
* document lib/test/all_tests
Fri Jan 19 21:39:15 JST 2007 manveru@weez-int.com
* document tool/tidy
Fri Jan 19 21:38:55 JST 2007 manveru@weez-int.com
* complete documentation of template/ramaze/element
Fri Jan 19 21:38:23 JST 2007 manveru@weez-int.com
* add/remove documentation from snippets/kernel/self_method
Fri Jan 19 21:13:30 JST 2007 manveru@weez-int.com
* change rake uncommented to rake undocumented
Fri Jan 19 21:12:26 JST 2007 manveru@weez-int.com
* document all of Inform
Fri Jan 19 21:07:27 JST 2007 manveru@weez-int.com
* document all of Trinity
Fri Jan 19 21:07:14 JST 2007 manveru@weez-int.com
* document all of trinity/session
Fri Jan 19 21:06:56 JST 2007 manveru@weez-int.com
* document all of trinity/response
Fri Jan 19 21:06:34 JST 2007 manveru@weez-int.com
* document all of trinity/request
Fri Jan 19 21:05:42 JST 2007 manveru@weez-int.com
* don't include the dot-graph here (yet), also show all methods (private, protected)
Fri Jan 19 20:10:25 JST 2007 manveru@weez-int.com
* new rake todolist and the file it generates
Fri Jan 19 14:31:44 JST 2007 manveru@weez-int.com
* add support for CDATA in FeedHelper, add some more tests and add from_xml to parse the class in again (just basic yet, no nested niceties)
Fri Jan 19 13:54:11 JST 2007 manveru@weez-int.com
* extending FeedHelper and testcase, now attributes to tags are possible... (just for the enclosing class for now)
Fri Jan 19 13:32:57 JST 2007 manveru@weez-int.com
* don't duplicate body by reading it, the user can always see it with request.body.read in the controller.
Fri Jan 19 00:13:58 JST 2007 manveru@weez-int.com
* set the trinity-methods to private, we don't want them to be accessable
Fri Jan 19 00:11:04 JST 2007 manveru@weez-int.com
* ignore memcached in the tests if it's not installed
Thu Jan 18 22:57:49 JST 2007 manveru@weez-int.com
* fixing the controller-method-lookup
Thu Jan 18 22:44:18 JST 2007 manveru@weez-int.com
* remove the useless invalidate_cache method from CacheHelper
Thu Jan 18 22:43:14 JST 2007 manveru@weez-int.com
* make rake record a bit less annoying ;)
Thu Jan 18 22:41:47 JST 2007 manveru@weez-int.com
* add example/caching.rb
Thu Jan 18 22:28:07 JST 2007 manveru@weez-int.com
* total reimplementation of caching, the CacheHelper now finally works (added testcase) for both actions (based on action(*params)) and values, this is a giant step for ramaze, since proper caching is a key to serving fast. The implementation might not be perfect yet, but some real-life testing will show if the current API and use-cases are worth anything, for now i'm very satisfied :)
Thu Jan 18 21:25:01 JST 2007 manveru@weez-int.com
* test/tc_aspect.rb => test/tc_helper_aspect.rb
Thu Jan 18 20:43:16 JST 2007 manveru@weez-int.com
* provide a little anonymous gulp-class to catch the stuff Og sends out in the testcase, finally the rake test looks pretty enough :)
Thu Jan 18 20:33:35 JST 2007 manveru@weez-int.com
* add Kernel#silently, to temporarly turn off warnings on reassinging constants and use it in session.rb
Thu Jan 18 13:50:48 JST 2007 manveru@weez-int.com
* add/remove some todos
Thu Jan 18 13:49:42 JST 2007 manveru@weez-int.com
* introduce caching now for sessions as well, setting the adapter for tc_request back to mongrel since webrick doesn't implement PUT (fix that too)
Thu Jan 18 13:35:36 JST 2007 manveru@weez-int.com
* add test for PUT, we need to find a way to do a DELETE-request, possibly with Net::HTTP? (also investigate other ways not to rely on curl for PUT)
Thu Jan 18 13:35:19 JST 2007 manveru@weez-int.com
* rewrite tc_helper_feed
Thu Jan 18 13:34:58 JST 2007 manveru@weez-int.com
* better implementation of the tc_global, it would fail on slow or busy systems
Thu Jan 18 13:34:29 JST 2007 manveru@weez-int.com
* support PUT and DELETE
Thu Jan 18 13:33:57 JST 2007 manveru@weez-int.com
* rewrite FeedHelper, still not functional, but a lot nicer to build XML from objects
Thu Jan 18 12:24:54 JST 2007 m.fellinger@gmail.com
* patching method-lookup for controllers... now it should be possible to expose public methods via helper-methods... have to test this first though.
Wed Jan 17 11:56:21 JST 2007 m.fellinger@gmail.com
* rephrase message on startup...
Wed Jan 17 00:18:30 JST 2007 manveru@weez-int.com
* provide some info about where the adapter attempts to connect... also fix debugging-output in tests
Wed Jan 17 00:18:06 JST 2007 manveru@weez-int.com
* remove require of fastthread, they finally fixed it
Wed Jan 17 00:17:48 JST 2007 manveru@weez-int.com
* add handling of multipart (file-uploads)
Mon Jan 15 21:17:42 JST 2007 manveru@weez-int.com
* all_tests gives _much_ prettier and more informative output... still gotta use systemu for catching that nasty output from Og though...
Mon Jan 15 21:16:55 JST 2007 manveru@weez-int.com
* redirect takes now a :status argument, for your very own redirect-status-code
Mon Jan 15 20:53:16 JST 2007 manveru@weez-int.com
* fix the spaces ;)
Mon Jan 15 20:52:43 JST 2007 manveru@weez-int.com
* run fix-end-spaces and add-copyright before rake record
Mon Jan 15 20:50:45 JST 2007 manveru@weez-int.com
* rake fix-end-spaces, new task to remove spaces at end of line where not needed ;)
Mon Jan 15 20:50:29 JST 2007 manveru@weez-int.com
* add a .each method to GlobalStruct
Mon Jan 15 20:48:21 JST 2007 manveru@weez-int.com
* a much POLSer way of working with the bin/ramaze, options from the CLI are not overwritten by options in your app anymore... also ignores start from your app if you use this command.
Mon Jan 15 14:42:43 JST 2007 manveru@weez-int.com
* add rake patchsize to show how many patches we got
Mon Jan 15 14:15:49 JST 2007 manveru@weez-int.com
* nicer handling of SIGINT
Sun Jan 14 09:10:50 JST 2007 manveru@weez-int.com
* add example/microwiki, like miniwiki but total reimplementation using Template::Ramaze, should do one for every templating-engine to show usage
Sun Jan 14 09:10:08 JST 2007 manveru@weez-int.com
* run tests per default on port 7007 and only on 127.0.0.1, avoids interfering with running apps
Sun Jan 14 09:09:48 JST 2007 manveru@weez-int.com
* improve shutdown
Sun Jan 14 09:09:24 JST 2007 manveru@weez-int.com
* rearrange and add the Global parameters a little bit
Sun Jan 14 09:08:56 JST 2007 manveru@weez-int.com
* provide a content_type for the error-page... old bug, need to add some tests for the errorpage...
Sun Jan 14 09:08:33 JST 2007 manveru@weez-int.com
* clean the setting of response/request/sessions a little bit
Sun Jan 14 09:07:44 JST 2007 manveru@weez-int.com
* CGI.unescape all parameters of GET/POST
Sun Jan 14 09:06:39 JST 2007 manveru@weez-int.com
* use method_missing to catch all the transactions for YAML::Store, cleans the API quite a bit and provides more functionality
Sun Jan 14 07:28:57 JST 2007 manveru@weez-int.com
tagged 0.0.5
Sun Jan 14 07:28:33 JST 2007 manveru@weez-int.com
* Ramaze 0.0.5
Sun Jan 14 07:28:04 JST 2007 manveru@weez-int.com
* update CHANGELOG
Sun Jan 14 07:27:20 JST 2007 manveru@weez-int.com
* added changelog task that updates doc/CHANGELOG based on doc/changes.txt (from rake changes)
Sun Jan 14 07:26:15 JST 2007 manveru@weez-int.com
* ran add-copyright once again
Sun Jan 14 07:20:50 JST 2007 manveru@weez-int.com
* update README a bit
Sun Jan 14 06:53:17 JST 2007 manveru@weez-int.com
* update and extend testcases for tc_cache
Sun Jan 14 06:52:54 JST 2007 manveru@weez-int.com
* change Rakefile to sweep out cache.yaml and run rake clean after rake test
Sun Jan 14 06:49:14 JST 2007 manveru@weez-int.com
* finally added and integrated caching, possible caches for now are YAML::Store, usual Hash (for one instance only) and MemCache, the respective objects are YAMLStoreCache, MemoryCache and MemcachedCache, you can set them with Global.cache = respective_class before startup, there is no functionality yet to change this during runtime, but you could Ramaze.const_set('Cache', YourClass.new) since Ramze::Cache is the usual instance. See the testcases and documentation for more information on the usage
Fri Jan 12 00:43:08 JST 2007 manveru@weez-int.com
* fix Rakefile
Fri Jan 12 00:35:03 JST 2007 manveru@weez-int.com
* add some more tasks, :record and :changes (record calls changes)
Fri Jan 12 00:28:19 JST 2007 manveru@weez-int.com
* added tasks changes-xml and changes-text to the Rakefile, stores the current changes into textual format for further use :)
Tue Jan 9 14:19:11 JST 2007 manveru@weez-int.com
* add the template for the tc_template_ramaze
Tue Jan 9 14:17:22 JST 2007 manveru@weez-int.com
* support template-only actions for Template::Ramaze, now you can just put a file with the appropiate name in your template-directory and it doesn't need a seperate method in your controller... this does not work yet with multiple arguments
Sat Jan 13 07:12:07 JST 2007 manveru@weez-int.com
* add tc_feed_helper
Sat Jan 13 07:11:56 JST 2007 manveru@weez-int.com
* add tc_cache
Sat Jan 13 07:11:28 JST 2007 manveru@weez-int.com
* autoreload now has its own method on Ramaze and can be turned off by Global.autoreload = false
Sat Jan 13 07:10:51 JST 2007 manveru@weez-int.com
* require 'ramaze/cache' (not yet used)
Sat Jan 13 07:10:20 JST 2007 manveru@weez-int.com
* use Set instead of Array for the Controllers
Sat Jan 13 07:09:33 JST 2007 manveru@weez-int.com
* finally fix the problem of having another application running (we can detect it now!)
Sat Jan 13 07:09:01 JST 2007 manveru@weez-int.com
* use Set instead of Array in autoreload... makes it a bit nicer
Sat Jan 13 07:08:21 JST 2007 manveru@weez-int.com
* fix FeedHelper, had one <feed> too much
Sat Jan 13 07:07:50 JST 2007 manveru@weez-int.com
* first version of (real) cache
Thu Jan 11 23:00:53 JST 2007 manveru@weez-int.com
* simple CacheHelper
Mon Jan 8 22:38:33 JST 2007 manveru@weez-int.com
* stop some squeaking of the wheel and added a little comment of the why
Mon Jan 8 17:38:21 JST 2007 manveru@weez-int.com
* fix feed.rb _again_
Mon Jan 8 18:37:14 JST 2007 manveru@weez-int.com
* check before undef method id in Feed::Bag, that makes it better suited for autoreload
Mon Jan 8 16:28:02 JST 2007 manveru@weez-int.com
* serious extension of TCFormHelper
Mon Jan 8 16:27:46 JST 2007 manveru@weez-int.com
* remove useless code in ramaze.rb
Mon Jan 8 16:26:47 JST 2007 manveru@weez-int.com
* critical, log error when one happens on render! not just recall (which is a bad thing... we should keep a record to avoid loops in case of errors... horrible DoS :|
Mon Jan 8 16:26:33 JST 2007 manveru@weez-int.com
* make error-output prettier
Mon Jan 8 16:25:49 JST 2007 manveru@weez-int.com
* FormHelper now handles Date and works! (total rewrite of the option-handling)
Mon Jan 8 16:25:22 JST 2007 manveru@weez-int.com
* add 'docs' in the FeedHelper :)
Mon Jan 8 16:24:57 JST 2007 manveru@weez-int.com
* little prettification in dispatcher
Mon Jan 8 18:15:30 JST 2007 manveru@weez-int.com
* escape the stuff we get (possibly dangerous)
Mon Jan 8 12:55:09 JST 2007 manveru@weez-int.com
* fixed test (for rcov)
Mon Jan 8 12:54:19 JST 2007 manveru@weez-int.com
* not yet completed rewrite of form-helper
Mon Jan 8 12:53:45 JST 2007 manveru@weez-int.com
* extend FormHelper test
Mon Jan 8 11:44:52 JST 2007 manveru@weez-int.com
* Session.current added
Mon Jan 8 11:44:27 JST 2007 manveru@weez-int.com
* fix Inform, make output a bit nicer again
Mon Jan 8 11:43:24 JST 2007 manveru@weez-int.com
* two fixes, use AuthHelper::PASSWORD rather than a preset one (still defaults to 'passwort')
Mon Jan 8 11:43:02 JST 2007 manveru@weez-int.com
* inform on using cached version
Fri Jan 5 23:14:28 JST 2007 manveru@weez-int.com
* fix OpenStruct#temp
Fri Jan 5 09:37:32 JST 2007 manveru@weez-int.com
* changes in Template::Ramaze again, mostly passing filenames to eval
Fri Jan 5 06:35:43 JST 2007 manveru@weez-int.com
* add a very simple AuthHelper
Sat Jan 6 00:10:47 JST 2007 manveru@weez-int.com
* some comfy changes in Inform
Sat Jan 6 00:07:40 JST 2007 manveru@weez-int.com
* first implementation of FeedHelper
Fri Jan 5 08:56:27 JST 2007 manveru@weez-int.com
* add copyright to files that still lack it
Fri Jan 5 08:56:09 JST 2007 manveru@weez-int.com
* rake add_copyright adds copyright to files that don't have it :)
Fri Jan 5 06:27:48 JST 2007 manveru@weez-int.com
* stub for a TC to send a file.
Fri Jan 5 06:26:48 JST 2007 manveru@weez-int.com
* patch the parsing of GET/POST parameters again... accidentially used escape instead of unescape :P
Fri Jan 5 06:26:07 JST 2007 manveru@weez-int.com
* this little patch uses the ability of erubis to eval with a filename to give better error-reports
Thu Jan 4 03:47:10 JST 2007 manveru@weez-int.com
* fixing POST-requests
Thu Jan 4 03:46:50 JST 2007 manveru@weez-int.com
* add String.camel_case String.snake_case
Tue Jan 2 14:32:24 JST 2007 manveru@weez-int.com
* smaller changes not really worth mentioning :P
Tue Jan 2 14:32:02 JST 2007 manveru@weez-int.com
* pass on parameter-parsing to CGI.parse
Tue Jan 2 14:31:23 JST 2007 manveru@weez-int.com
* set an instance variable instead of checking for arity of render-method (@hash) for Elements
Tue Jan 2 14:30:59 JST 2007 manveru@weez-int.com
* fix form-helper in case there is no control
Tue Jan 2 14:30:36 JST 2007 manveru@weez-int.com
* fix url for stylesheet of error-page
Tue Jan 2 10:03:21 JST 2007 manveru@weez-int.com
* don't break this test if we got no Og... suboptimal :|
Tue Jan 2 10:01:17 JST 2007 manveru@weez-int.com
* rewrite the usage of the render-method a bit to be clear :)
Mon Jan 1 19:55:47 JST 2007 manveru@weez-int.com
* extending tc_session
Mon Jan 1 07:10:12 JST 2007 manveru@weez-int.com
* fix ramaze for fastthread-require... and split shutdown into shutoff/shutdown for more granularity
Mon Jan 1 07:09:08 JST 2007 manveru@weez-int.com
* add the rake uncommented task, this is a very simple method that shows you which methods are not documented yet (alpha phase, it's got loads of bugs... but is quite helpful already just as a rough overview)
Mon Jan 1 07:08:20 JST 2007 manveru@weez-int.com
* modify all the testcases to fit the new ramaze-method inside context... also split tc_adapter into tc_adapter_mongrel/tc_adapter_webrick
Mon Jan 1 07:05:37 JST 2007 manveru@weez-int.com
* huge change to the test_helper... no more ramaze{} but ramaze() - this will shield us from future pain and is also a lot nicer for integration into RSpec
Sun Dec 31 23:33:43 JST 2006 manveru@weez-int.com
* fixing a rather serious bug in the Element, only consider an Element if you really find the class for it and this class responds to :render
Sun Dec 31 23:32:51 JST 2006 manveru@weez-int.com
* big changes again in the form-helper... added loads of options, most are used in the testcases (that still have to be expanded, but they give a good idea of what is possible now)
Sun Dec 31 23:32:22 JST 2006 manveru@weez-int.com
* added OpenStruct#temp to create temporary copies just with an updated table
Sat Dec 30 06:57:13 JST 2006 manveru@weez-int.com
* support for element-parameters and some tests for it
Fri Dec 29 21:01:42 JST 2006 manveru@weez-int.com
* forgot one Logger => Inform in autoreload
Fri Dec 29 14:00:20 JST 2006 manveru@weez-int.com
* Ramaze::Logger => Ramaze::Inform - avoid clashes with the tons of other Logger thingies out there
Fri Dec 29 13:42:23 JST 2006 manveru@weez-int.com
* fix tc_tidy
Fri Dec 29 13:25:19 JST 2006 manveru@weez-int.com
* change from digest/sha1 to digest/sha2 - would someone explain me what this does?
Fri Dec 29 13:24:48 JST 2006 manveru@weez-int.com
* fixing diverse issues with latest rubygems update
Tue Dec 26 07:01:15 JST 2006 manveru@weez-int.com
* give the markaby-templates in the miniwiki-example the proper ext.
Mon Dec 25 03:52:03 JST 2006 manveru@weez-int.com
* stop autoreload from failing from some mysterious bug...
Mon Dec 25 03:51:18 JST 2006 manveru@weez-int.com
* fix the error-page to work with the new template-implementation... also remove the old Gestalt-code, it's in darcs anyway
Sat Dec 23 05:28:35 JST 2006 manveru@weez-int.com
* blog/template/entry/list.rmze
Sat Dec 23 05:27:47 JST 2006 manveru@weez-int.com
* snippet/kernel/rescue_require.rb
Sat Dec 23 05:26:17 JST 2006 manveru@weez-int.com
* additional specification for tc_element
Sat Dec 23 05:26:04 JST 2006 manveru@weez-int.com
* add test/tc_aspect
Sat Dec 23 05:24:58 JST 2006 manveru@weez-int.com
* restructure test_helper for fastthread...
Sat Dec 23 05:24:38 JST 2006 manveru@weez-int.com
* reimplementation of session... mainly better hash
Sat Dec 23 05:22:06 JST 2006 manveru@weez-int.com
* typo
Sat Dec 23 05:21:15 JST 2006 manveru@weez-int.com
* fix a serious bug with the HEREDOC in the template/ramaze... if we don't prefix a character it will break if the hash starts with a number (oddly enough, this happens very seldom)
Sat Dec 23 05:20:24 JST 2006 manveru@weez-int.com
* add the helper/aspect
Sat Dec 23 05:20:10 JST 2006 manveru@weez-int.com
* prepare the helper for addition of aspect
Sat Dec 23 05:18:53 JST 2006 manveru@weez-int.com
* do not load fastthread in adapter/mongrel, if it has not been required so far by ramaze.rb it's too late already and we get only an annoying warning.
Sat Dec 23 05:18:12 JST 2006 manveru@weez-int.com
* minor restructuring for ramaze.rb requires (mainly cause of fastthread)
Sat Dec 23 03:02:39 JST 2006 manveru@weez-int.com
* fix problem for fastthread-require, it has to be loaded before everything else (especially mongrel and/or thread)
Wed Dec 20 16:33:40 JST 2006 manveru@weez-int.com
* fix tc_template_ramaze for the restructuring (you don't have to call transform() in the controller anymore)
Wed Dec 20 16:33:11 JST 2006 manveru@weez-int.com
* move the trap... now that i know that it uses continuations we should propably use a different technique...
Wed Dec 20 16:30:17 JST 2006 manveru@weez-int.com
* make find_template private, fix the :transform_pipeline and add a little comment
Wed Dec 20 16:30:03 JST 2006 manveru@weez-int.com
* fixing Element for passing parameters
Wed Dec 20 16:28:34 JST 2006 manveru@weez-int.com
* restructuring of the ramaze-templating... looks a lot nicer and is a whole lot more modular... preparing to change for the use of render() in templates
Wed Dec 20 16:26:11 JST 2006 manveru@weez-int.com
* simplify the dispatcher a little bit, splitting the fill_out into respond_file and resopnd_action, so we can use it from the Templating for relookup of actions on different controllers
Wed Dec 20 16:25:55 JST 2006 manveru@weez-int.com
* little change in the README
Mon Dec 18 15:09:50 JST 2006 manveru@weez-int.com
* adding trait[:transform_pipeline] to Ramaze... this still is very buggy :|
Mon Dec 18 15:08:51 JST 2006 manveru@weez-int.com
* first implementation of ancestor_trait, which searches the ancestors for a trait... this should be made default in a bit
Mon Dec 18 15:07:49 JST 2006 manveru@weez-int.com
* fixes some problems with autoreload when the path/file is b0rken
Mon Dec 18 14:24:03 JST 2006 manveru@weez-int.com
* remove method_missing from Logger... it overwrites alle method_missings everywhere!!!
Mon Dec 18 14:21:32 JST 2006 manveru@weez-int.com
* do not run setup_global in the bin/ramaze anymore, just pass them along... also fixes a problem for method-missing... error doesn't take multiple arguments (string/error-object only)
Fri Dec 15 22:18:43 JST 2006 manveru@weez-int.com
* removed the Timout for the total ramaze{} block for testing, added Ramaze.shutdown for the teardown (still commented, it has nasty side-effects)
Fri Dec 15 22:16:47 JST 2006 manveru@weez-int.com
* tiny updates to ramaze.rb, rewrite of the shutdown method... it still is very fragile though... Mongrel seems to do magic to threads beyond my knowledge
Fri Dec 15 22:15:44 JST 2006 manveru@weez-int.com
* use the new Logger-capabilities to finally catch the stuff WEBrick has thrown long enough to STDOUT
Fri Dec 15 22:14:45 JST 2006 manveru@weez-int.com
* Logger.puts is no longer private, added also << as an alias... additionally it can be sneaked into usual Logger-systems and take them over :P
Fri Dec 15 22:13:58 JST 2006 manveru@weez-int.com
* a little bit nicer adapters by use of class << self ... also added a stop-method for future use
Fri Dec 15 22:12:10 JST 2006 manveru@weez-int.com
* rewrite of the tc_global for the new structure
Fri Dec 15 22:11:00 JST 2006 manveru@weez-int.com
* reimplementation of Global - should be a lot saner and simpler now ;)
Fri Dec 15 14:59:38 JST 2006 manveru@weez-int.com
* do not require digest/sha1 in session.rb - it is not used for calculating sessions
Fri Dec 15 14:52:32 JST 2006 manveru@weez-int.com
* this moves handle_elements into the ramaze/element.rb and names it transform, it handles arity of an render-method in the elements and passes optional parameters when given... this will give us a hard time when handling arbitary objects... :P
Fri Dec 15 14:51:27 JST 2006 manveru@weez-int.com
* some minor changes regarding logging... there has still to be done a lot (esp webrick and logging to files)
Fri Dec 15 14:48:37 JST 2006 manveru@weez-int.com
* this moves all global-stuff into the global.rb - makes ramaze.rb a lot nicer ;) - also added some more tests
Fri Dec 15 14:20:21 JST 2006 manveru@weez-int.com
* patching Global further, we move the defaults in here since they only clutter the ramaze.rb and make handling difficult
Fri Dec 15 14:19:34 JST 2006 manveru@weez-int.com
* do not raise on initialize of Global... it just looks odd ;)
Fri Dec 15 14:18:56 JST 2006 manveru@weez-int.com
* do not timeout requests anymore...
Fri Dec 15 14:18:08 JST 2006 manveru@weez-int.com
* give mongrel a proper way to handle logging
Thu Dec 14 22:37:16 JST 2006 manveru@weez-int.com
* convert the action to a string since we might get symbols as well, and remove some other useless debugging-info
Thu Dec 14 22:36:40 JST 2006 manveru@weez-int.com
* trying to use #{render} and it seems to work, mostly
Thu Dec 14 14:31:46 JST 2006 manveru@weez-int.com
* removing some unneeded debugging-info from the template-file lookup
Thu Dec 14 14:31:01 JST 2006 manveru@weez-int.com
* making the blog-example a good deal neater... next up: sidebar ;)
Wed Dec 13 22:22:54 JST 2006 manveru@weez-int.com
* remove the test for the amrita-controller, it's not neccesary anymore since we have an own testsuite for it...
Wed Dec 13 22:18:59 JST 2006 manveru@weez-int.com
* fixing the testcases for templates... for some templates we used to use $0 as root, which would be lethal would it be a real application and it was started with the bin/ramaze - i removed that oddity and require it to have the real path, not relative to the first file
Wed Dec 13 22:18:26 JST 2006 manveru@weez-int.com
* simplify template/ramaze by inheriting from Template
Wed Dec 13 22:17:10 JST 2006 manveru@weez-int.com
* move the Element in its own file... template/ramaze/element - which also introduces a default way of extending templating-engines with new classes
Wed Dec 13 22:16:30 JST 2006 manveru@weez-int.com
* simplify template/markaby by inheriting from Template
Wed Dec 13 22:16:06 JST 2006 manveru@weez-int.com
* simplify template/erubis by inheriting from Template
Wed Dec 13 22:15:31 JST 2006 manveru@weez-int.com
* simplify the template/amrita2 by inheriting from Template
Wed Dec 13 22:14:28 JST 2006 manveru@weez-int.com
* this introduces Ramaze::Template::Template - it's a really stupid name, but i couldn't come up with anything better... this is the first step in slacking down the templates (they are really not DRY anymore)
Wed Dec 13 22:12:30 JST 2006 manveru@weez-int.com
* a neat little hack to see if an object is an 'instance' or not... though every object is an instance not every object responds to :new (which makes the distinction class/instance for me)
Wed Dec 13 22:11:46 JST 2006 manveru@weez-int.com
* set the priority for the handling thread really high... should give it some advantages over the autoreload-thread in case of high load
Wed Dec 13 22:10:40 JST 2006 manveru@weez-int.com
* equalize the testcases for templates with the prefix tc_template_ (just for ramaze, which was tc_template.rb till now)
Wed Dec 13 22:06:35 JST 2006 manveru@weez-int.com
* small update to the Rakefile... testing task-dependencies :P
Wed Dec 13 19:09:51 JST 2006 manveru@weez-int.com
* wielding all the power of ramaze, the blog-example is coming along very very well, it uses elements and form-helper now, you can add/delete/edit entries... more to come ;)
Wed Dec 13 19:09:12 JST 2006 manveru@weez-int.com
* adding an Element for the blog-example... makes overall design a _lot_ nicer :)
Wed Dec 13 19:08:49 JST 2006 manveru@weez-int.com
* giving the blog-example a 'nice' stylesheet
Wed Dec 13 19:07:59 JST 2006 manveru@weez-int.com
* various fixes for the lookup of template/ramaze templates
Wed Dec 13 19:07:19 JST 2006 manveru@weez-int.com
* added implementation of element-handling into the template/ramaze, will add lots of docs later as well.
Wed Dec 13 19:06:58 JST 2006 manveru@weez-int.com
* added the basic structure of Element... maybe put this in its own file later
Wed Dec 13 19:05:44 JST 2006 manveru@weez-int.com
* rewrite of form-helper... should rename it since it works only with Og currently
Wed Dec 13 19:05:07 JST 2006 manveru@weez-int.com
* added a very basic testcases for how Element should work
Wed Dec 13 13:49:28 JST 2006 manveru@weez-int.com
* do not use .rmze templates for markaby, only .mab - this should be done for the other templating-systems as well.
Wed Dec 13 13:48:48 JST 2006 manveru@weez-int.com
* some experiments with the helper-facility in markaby... not really working yet, but we're getting there
Wed Dec 13 13:48:20 JST 2006 manveru@weez-int.com
* do not rescue in markaby anymore, this is done already by markaby itself and it just obfuscates the error-report
Wed Dec 13 13:47:44 JST 2006 manveru@weez-int.com
* better handling of the instance-variable-collection, due to the .flatten it used to break if it encounters and empty array as value
Wed Dec 13 13:46:38 JST 2006 manveru@weez-int.com
* the error-page used to break when it meets a (eval) in the backtrace, make it just ignore them (may add some more information later)
Wed Dec 13 13:46:13 JST 2006 manveru@weez-int.com
* make ramaze run again, the helper/form really messed things up due to some syntax-errors
Wed Dec 13 13:45:41 JST 2006 manveru@weez-int.com
* unification of the examples/template
Wed Dec 13 13:44:59 JST 2006 manveru@weez-int.com
* introducing examples/templates/template_markaby (not yet working due to some odd bugs using helpers)
Tue Dec 12 21:52:15 JST 2006 manveru@weez-int.com
* now, that's finally a nice README :)
Tue Dec 12 20:44:44 JST 2006 manveru@weez-int.com
* fixing the tests for the templates to use the template_root
Tue Dec 12 20:43:48 JST 2006 manveru@weez-int.com
* this fixes the template-lookup for ramaze, it's now also possible to use trait :template_root in the controller, please read the rdoc for more infos and a small example
Tue Dec 12 20:43:02 JST 2006 manveru@weez-int.com
* small cosmetic update
Tue Dec 12 00:26:55 JST 2006 manveru@weez-int.com
* LOTS of testcases added for markaby
Tue Dec 12 00:24:57 JST 2006 manveru@weez-int.com
* this patch makes Template::Ramaze some magnitudes faster and adds some better security for the case someone is funny and tries to hack the HEREDOC
Tue Dec 12 00:24:29 JST 2006 manveru@weez-int.com
* major upgrade for Markaby, should be finally running now :)
Tue Dec 12 00:23:33 JST 2006 manveru@weez-int.com
* class-lookup in the error-template was a bit wrong
Tue Dec 12 00:23:19 JST 2006 manveru@weez-int.com
* added Error::Template
Mon Dec 11 23:27:02 JST 2006 manveru@weez-int.com
* a little beautification :P
Mon Dec 11 23:26:04 JST 2006 manveru@weez-int.com
* lots of additions/changes in the tc_helper_link to reflect the changes made
Mon Dec 11 23:25:29 JST 2006 manveru@weez-int.com
* set the @action instance-variable for use in templates (the examples use it quite a bit, so i thought it would be useful)
Mon Dec 11 23:25:03 JST 2006 manveru@weez-int.com
* require helper.rb in template.rb
Mon Dec 11 23:24:32 JST 2006 manveru@weez-int.com
* Trinity -> Helper update for template/stupid (no idea if we need that one at all anymore...)
Mon Dec 11 23:23:22 JST 2006 manveru@weez-int.com
* a little bit of moving around in Template::Ramaze, same changes for Helper instead of Trinity and removal of the helper-method for use in other templating-systems
Mon Dec 11 23:22:06 JST 2006 manveru@weez-int.com
* Ramaze::Helper instead of Trinity for template/markaby
Mon Dec 11 23:20:40 JST 2006 manveru@weez-int.com
* this adds the transform-method for conformity to Template::Erubis, also improved the template-lookup quite a bit and using Ramaze::Helper instead of Trinity
Mon Dec 11 23:19:49 JST 2006 manveru@weez-int.com
* use Ramaze::Helper instead of Trinity in template/amrita2
Mon Dec 11 23:18:42 JST 2006 manveru@weez-int.com
* further improvments in the LinkHelper, not only can you now just pass self instead of self.class, but it also supports get-parameters in the ?foo=bar style - link(self, :foo => :bar)
Mon Dec 11 23:18:24 JST 2006 manveru@weez-int.com
* use Helper instead of Trinity in Ramaze::Controller
Mon Dec 11 23:17:39 JST 2006 manveru@weez-int.com
* this puts the helper-method into its own module that also includes Trinity for convinience
Mon Dec 11 23:15:29 JST 2006 manveru@weez-int.com
* added examples for templating in ramaze and erubis, more to come
Mon Dec 11 14:59:11 JST 2006 manveru@weez-int.com
* added template/markaby with some tests (not all pass yet... lunchtime is just too short :)
Sun Dec 10 18:28:41 JST 2006 manveru@weez-int.com
* added testcase for link :title
Sun Dec 10 18:27:59 JST 2006 manveru@weez-int.com
* change from load()ing the helpers to require()ing them, so we can update them via autoreload as well (load doesn't add to the $LOADED_FEATURES...)
Sun Dec 10 18:27:18 JST 2006 manveru@weez-int.com
* added redirect_referer to the RedirectHelper - it redirects you directly to where you come from.
Sat Dec 9 01:57:38 JST 2006 manveru@weez-int.com
* small fix for the LinkHelper - would't use :title proper if given more than '/'
Sat Dec 9 01:56:24 JST 2006 manveru@weez-int.com
* this is the first stub for the new FormHelper, no real documentation or functionality here yet, mostly a summary of ideas that i need to reevaluate [ok... in reality my notebook ran out of power ;]
Sat Dec 9 01:54:51 JST 2006 manveru@weez-int.com
* vast extension of the example/blog - added some templates and stuff to the controller, this will use the FormHelper (that i will stub soon)
Sat Dec 9 01:49:48 JST 2006 manveru@weez-int.com
* added a simple testsuite for the blog-example, nothing too heavy yet.
Thu Dec 7 23:09:10 JST 2006 manveru@weez-int.com
* oops, almost forgot to check in this file :)
Thu Dec 7 22:33:53 JST 2006 manveru@weez-int.com
* a new error-page, totally implemented in Template::Ramaze instead of Gestalt, left the Gestalt one in there commented, not sure what i should do with it... use it as an example? (might horrify people though ;)
Thu Dec 7 22:32:38 JST 2006 manveru@weez-int.com
* Template::Ramaze.transform now takes an optional binding, gotta make this API nicer, since it also takes optional ivs... maybe :binding => binding, :ivs => {} - oh, and commented the nasty #[] for the time being
Thu Dec 7 21:09:57 JST 2006 manveru@weez-int.com
* use STATUS_CODE lookup instead of the direct error-codes
Thu Dec 7 21:02:35 JST 2006 manveru@weez-int.com
* tc_session should use the new get/eget of Context
Thu Dec 7 21:02:25 JST 2006 manveru@weez-int.com
* tc_helper_stack - added a logged_in? to the controller and doing more extensive testing for get and post using the new abilities of Context
Thu Dec 7 20:58:36 JST 2006 manveru@weez-int.com
* Context now uses eget/get instead of reqest/erequest to be look more like get(); also added post/epost, this is lots of fun ahead :)
Thu Dec 7 20:35:20 JST 2006 manveru@weez-int.com
* added test/tc_helper_stack - this is tests the new call/answer behaviour that works just like the one in nitro. please check the test for further understanding.
Thu Dec 7 20:34:31 JST 2006 manveru@weez-int.com
* moving Context into test_helper - it is used to mock sessions
Thu Dec 7 20:33:15 JST 2006 manveru@weez-int.com
* changing link_raw to R - you can also set titles now with link(:foo, :title => 'foo')
Thu Dec 7 19:58:49 JST 2006 manveru@weez-int.com
* split tc_helper into tc_helper_redirect and tc_helper_link
Thu Dec 7 19:36:27 JST 2006 manveru@weez-int.com
* huuge update for the testcases... to make it more testing-friendly we gotta use different controller-classes for each testcase, also the update of Global didn't allow a change of the used adapter, this is fixed now.
Thu Dec 7 19:36:10 JST 2006 manveru@weez-int.com
* update todo for template/ramaze
Thu Dec 7 19:35:34 JST 2006 manveru@weez-int.com
* remove todo 'add host' for webrick, we do that since ages already ;)
Thu Dec 7 19:34:59 JST 2006 manveru@weez-int.com
* some addtional changes... i really gotta fix the rcov-task...
Thu Dec 7 19:32:26 JST 2006 manveru@weez-int.com
* make output of rake todo a little bit nicer
Wed Dec 6 22:41:57 JST 2006 manveru@weez-int.com
tagged 0.0.4
Wed Dec 6 22:41:08 JST 2006 manveru@weez-int.com
* dump version to 0.0.4 the first really nice and stable release
Wed Dec 6 22:40:05 JST 2006 manveru@weez-int.com
* don't pretty-inspect Global at startup anymore
Wed Dec 6 22:38:45 JST 2006 manveru@weez-int.com
* we now have a proper interaction with Global via the bin/ramaze
Usage: ramaze [switches] startfile [arguments]
-a, --adapter=ADAPTER select an adapter [mongrel|webrick]
-m, --mongrel use mongrel to process requests
-w, --webrick the default
--mode=LEVEL set the running-mode
-b, --benchmark full logging with benchmarks, autoreload 5
-d, --debug the default, full logging, autoreload 5
-t, --stage log infos/errors, autoreload 10
-l, --live log errors, autoreload 20
-s, --silent no logging, autoreload 40
-o, --host which host should ramaze listen for requests
default is 0.0.0.0
-p, --port what port should ramaze use
default is 7000
-n, --no-errorpage don't use the default errorpage of ramaze
helpful if you want to make sure noone can
ever see your code by accident or for testing
--template-root set a custom template-root for the whole
application, please note that ~ is not
expanded to your home-directory
--autoreload=N set how frequent ramaze should search for
updated files in your application
default depends on the (-mode)
-r, --run-loose don't take control after startup.
this is useful for testcases.
--cache use the simple caching based on the signature
of your requests (experimental)
--tidy run Tool::Tidy over text/html output
-h, --help print this help
-v, --version print the version
-c, --copyright print the copyrith
Please report bugs to <m.fellinger at gmail.com>
Wed Dec 6 22:38:13 JST 2006 manveru@weez-int.com
* added doc/COPYING and doc/COPYING.ja from the ruby-distribution
Wed Dec 6 22:37:08 JST 2006 manveru@weez-int.com
* added copyright to all .rb files
Wed Dec 6 20:30:34 JST 2006 manveru@weez-int.com
* improved tc_controller a little bit
Wed Dec 6 20:30:12 JST 2006 manveru@weez-int.com
* tc_adapter should use get() instead of its own calling of open
Wed Dec 6 20:29:55 JST 2006 manveru@weez-int.com
* default test-adapter is mongrel again, enables out-of-the-box testing
Wed Dec 6 20:27:10 JST 2006 manveru@weez-int.com
* wrapping webricks server.start in a Thread.new{} again, this provides proper handling of it again. also the default-response status is now 500
Wed Dec 6 20:26:43 JST 2006 manveru@weez-int.com
* removed the params/parse_params from adapter/webrick they will be handled in trinity/request now
Wed Dec 6 20:22:01 JST 2006 manveru@weez-int.com
* moved the get?/post? methods into trinity/request also added put? and delete? for REST
Tue Dec 5 15:36:36 JST 2006 manveru@weez-int.com
* add tests for private methods to the controller
Tue Dec 5 15:36:15 JST 2006 manveru@weez-int.com
* raise error if no template is found in amrita2
Tue Dec 5 15:36:04 JST 2006 manveru@weez-int.com
* small typo in the blog-template
Mon Dec 4 23:11:48 JST 2006 manveru@weez-int.com
* a rather huge structural change, we extract Trinity from Dispatcher and give it its own file, controller subsequently only exists as an optional Controller-namespace and to identify Controllers. moved request/response/session into their own trinity-directory. also changed the require to something plain, simple and maybe stupid, but every parser and reader will thank me ;)
Mon Dec 4 22:47:49 JST 2006 manveru@weez-int.com
* added extensions .ephp .ec .ejava .escheme .eprl .ejs - i have no idea yet how to implement them, but as a simple reminder ;)
Mon Dec 4 22:42:08 JST 2006 manveru@weez-int.com
* change default-mode for tests to :debug
Mon Dec 4 22:41:52 JST 2006 manveru@weez-int.com
* do not catch errors in the test_helper anymore, everything seems fine now
Mon Dec 4 22:41:16 JST 2006 manveru@weez-int.com
* changed the require-path to match the new require-style inside the testcases
Mon Dec 4 22:40:30 JST 2006 manveru@weez-int.com
* removed the non-working requireing of each testcase (which was previously commented out anyway)
Mon Dec 4 22:40:10 JST 2006 manveru@weez-int.com
* added Template::Erubis
Mon Dec 4 22:39:04 JST 2006 manveru@weez-int.com
* rewrote Template::Amrita2 in the way the implementation of Erubis worked out, a lot cleaner and straight-forward. will have to minimize the overhead of find_file though.
Mon Dec 4 22:34:00 JST 2006 manveru@weez-int.com
* moved the controller out of the blog/main.rb to blog/src/controller.rb and added an EntryController to take advantage of Og
Mon Dec 4 22:32:34 JST 2006 manveru@weez-int.com
* added an index.rmze with the first extensive ramaze-template to the blog-example - it's supposed to list all the entries
Mon Dec 4 22:28:12 JST 2006 manveru@weez-int.com
* prepare for erubis
Mon Dec 4 22:27:39 JST 2006 manveru@weez-int.com
* avoid aliasing Kernel#method twice
Mon Dec 4 22:27:15 JST 2006 manveru@weez-int.com
* added tc_template_erubis and it passes :)
Mon Dec 4 22:26:55 JST 2006 manveru@weez-int.com
* moved tc_amrita2 to test/
Mon Dec 4 22:26:37 JST 2006 manveru@weez-int.com
* sane trait for the controller
Mon Dec 4 22:25:34 JST 2006 manveru@weez-int.com
* change all the requires to require a bit different... (insiede test only - it is now required that you run the tests from ../test which gives the whole thing a bit more substance)
Mon Dec 4 22:24:55 JST 2006 manveru@weez-int.com
* add a simple template for erubis (standard-extension .rhtml)
Mon Dec 4 22:23:49 JST 2006 manveru@weez-int.com
* rearrange the stuff inside test/template - move the tests in the basedir and use it soley for templates, less confusion, more efficient (just a bit uglier filenames :)
Mon Dec 4 22:22:51 JST 2006 manveru@weez-int.com
* give the standard-return-code of 500 if none is set.
Mon Dec 4 08:57:15 JST 2006 manveru@weez-int.com
* added a rcov-task to Rakefil and changed from catching only timeout to everything in the test_helper
Fri Dec 1 22:59:19 JST 2006 manveru@weez-int.com
* changed all testcases from usage of #[] to #{}
Fri Dec 1 22:59:00 JST 2006 manveru@weez-int.com
* extended the tc_template
Fri Dec 1 22:58:07 JST 2006 manveru@weez-int.com
* LOADS of documentation for the template/ramaze and better implementation of the transform (avoiding easily used variables)
Fri Dec 1 22:57:24 JST 2006 manveru@weez-int.com
* minor patch for the case that autoreload doesn't get a valid interval
Fri Dec 1 22:57:07 JST 2006 manveru@weez-int.com
* documentation for helpers
Fri Dec 1 21:43:02 JST 2006 manveru@weez-int.com
* added a pretty good coverage of the helpers in test/tc_helper.rb
Fri Dec 1 21:42:12 JST 2006 manveru@weez-int.com
* output of <?r ?> is no longer considered worthwhile, would have strange effects on arr.each or some other iterators who return self
Fri Dec 1 21:41:10 JST 2006 manveru@weez-int.com
* adding a helper method to Template::Ramaze, use it like: helper :link, :redirect
Fri Dec 1 21:35:29 JST 2006 manveru@weez-int.com
* redirect is now a helper too
like LinkHelper, but even simpler
RedirectHelper actually takes advantage of LinkHelper.link_raw to build the links
it redirects to.
It doesn't do much else than this:
setting a status-code of 303 and a head['Location'] = link
returning some nice text for visitors who insist on ignoring those hints :P
example of usage:
redirect MainController
redirect MainController, :foo
redirect 'foo/bar'
still todo:
- setting custom status-code, it ignores any preset ones at the moment
- maybe some more options, like a delay
Fri Dec 1 21:24:35 JST 2006 manveru@weez-int.com
* added the LinkHelper, the first of the helpers
it is included into the Template::Ramaze by default
this helper tries to get along without any major magic, the only 'magic'
thing is that it looks up controller-paths if you pass it a controller
the text shown is always the last segmet of the finished link from split('/')
usage is pretty much shown in test/tc_helper
however, to give you some idea of how it actually works, some examples:
link MainController, :foo #=> '<a href="/foo">foo</a>'
link MinorController, :foo #=> '<a href="/minor/foo">foo</a>'
link MinorController, :foo, :bar #=> '<a href="/minor/foo/bar">bar</a>'
link MainController, :foo, :raw => true #=> '/foo'
link_raw MainController, :foo #=> '/foo'
link_raw MinorController, :foo #=> '/minor/foo'
link_raw MinorController, :foo, :bar #=> '/minor/foo/bar'
still todo:
- handling of no passed parameters
- setting of a custom link-title, possibly images as well
- setting of id or class
- taking advantae of Gestalt to build links
- lots of other minor niceties, for the moment i'm only concerned to keep
it as simple as possible
Fri Dec 1 21:23:19 JST 2006 manveru@weez-int.com
* total rewrite of the mongrel-adapter, passing around less stuff and making it a lot more readable
Fri Dec 1 21:20:54 JST 2006 manveru@weez-int.com
* major update to the blog-example, it now works with Og and has a cleaner structure, also some simple templating and multiple controllers
Fri Dec 1 21:20:23 JST 2006 manveru@weez-int.com
* update rake clean to delete leftover vim-tempfiles and data.db
Thu Nov 30 21:53:41 JST 2006 manveru@weez-int.com
* commenting out the testcase for #[]! - this should not be used anymore, for now.
Thu Nov 30 21:52:52 JST 2006 manveru@weez-int.com
* remark about the odd behaviour of the return of a POST, suddenly it just didn't fail anymore, and i have no idea how to reproduce it.
Thu Nov 30 21:52:08 JST 2006 manveru@weez-int.com
* the raise just changes too often, this time i just check for raise - maybe we get more consistent behaviour later on, but for now i'll let it be
Thu Nov 30 21:51:52 JST 2006 manveru@weez-int.com
* extended tc_global
Thu Nov 30 21:51:20 JST 2006 manveru@weez-int.com
* the test_helper methods have now sane timeouts to make things fail faster
Thu Nov 30 21:50:47 JST 2006 manveru@weez-int.com
* just another way to run the tests, commented due to non-functionality
Thu Nov 30 21:50:10 JST 2006 manveru@weez-int.com
* marking the adapter-thread with [:task] = :adapter to make killing easier
Thu Nov 30 21:49:37 JST 2006 manveru@weez-int.com
* give Global responsibility for update itself, makes ramaze.rb cleaner
Thu Nov 30 21:49:15 JST 2006 manveru@weez-int.com
* comment about the bad behaviour of #[] in templates
Thu Nov 30 21:48:21 JST 2006 manveru@weez-int.com
* marking the autoreload-thread with the new Thread.current[:task] = :autoreload - to make them easier to identify... all threads in Ramaze should have a [:task] from now on
Thu Nov 30 21:47:34 JST 2006 manveru@weez-int.com
* give poor request a request.params for get/post parameters (post has precendence)
Thu Nov 30 21:47:09 JST 2006 manveru@weez-int.com
* replacing Global with something totally new, we should create dynamic methods though to get some minor speedup
Thu Nov 30 21:45:03 JST 2006 manveru@weez-int.com
* do not use start in examples/simple
Thu Nov 30 15:53:56 JST 2006 manveru@weez-int.com
* embedding tc_amrita2 correctly into a ramaze{} block
Thu Nov 30 15:53:47 JST 2006 manveru@weez-int.com
* typo
Thu Nov 30 15:53:08 JST 2006 manveru@weez-int.com
* adding net/http to test_helper and make some text nicer ;)
Thu Nov 30 15:52:33 JST 2006 manveru@weez-int.com
* this is a fix in case some testcase just hangs, at least you will know which one does
Thu Nov 30 15:51:34 JST 2006 manveru@weez-int.com
* finally fixed the adapter-startup, at least for mongrel... still very weird issues with webrick
Thu Nov 30 15:50:49 JST 2006 manveru@weez-int.com
* start a new process on rake test, avoids possible side-effects
Thu Nov 30 14:41:52 JST 2006 manveru@weez-int.com
* patching the testcases to fit in the new way of testing
Thu Nov 30 14:40:58 JST 2006 manveru@weez-int.com
* we add a nice testing-block called ramaze, you pass it a hash for startup-options and a block and it does setup/teardown... specify-driven would take too long and is too verbose
Thu Nov 30 14:40:42 JST 2006 manveru@weez-int.com
* nicer output of all_tests
Thu Nov 30 14:39:57 JST 2006 manveru@weez-int.com
* this should improve the startup-behaviour for the adapters... there must be bugs lurking in there though.
Thu Nov 30 14:38:54 JST 2006 manveru@weez-int.com
* update the global nicer on startup, we have no idea what the user passes or has set already, so be very careful as well (not you, ramaze)
Thu Nov 30 14:38:14 JST 2006 manveru@weez-int.com
* kill all threads except for main on exit... i need some way to get out nicely without exit...
Thu Nov 30 14:37:25 JST 2006 manveru@weez-int.com
* this is a major improvment for the Template::Ramaze - passing (almost) all tests, just slight problems with #[] still
Thu Nov 30 14:36:55 JST 2006 manveru@weez-int.com
* slightly more expressive code in response-creation
Thu Nov 30 14:36:33 JST 2006 manveru@weez-int.com
* no thread in thread anymore for webrick
Thu Nov 30 14:35:07 JST 2006 manveru@weez-int.com
* just start up ramaze, we ignore the problem that it might be started already since we never can be sure and people would partially build trust on it despite that fact - so as a rule, don't start your files manually if you want bin/ramaze to start it
Wed Nov 29 17:44:01 JST 2006 manveru@weez-int.com
* added the templates for the tc_template in test/template/
Wed Nov 29 15:22:05 JST 2006 manveru@weez-int.com
* major change in the templating... now using <%= %> <% %> <?r ?> #[] - this needs some extensive testing and is not fully done yet, but getting there...
Wed Nov 29 15:21:43 JST 2006 manveru@weez-int.com
* added tc_template
Tue Nov 28 21:44:22 JST 2006 manveru@weez-int.com
* this improves the templating a tiny bit... however #[]! still fails, we need some serious regex-magic here.
Tue Nov 28 21:33:21 JST 2006 manveru@weez-int.com
* saner tc_store
Tue Nov 28 21:32:32 JST 2006 manveru@weez-int.com
* improved templating further, now, if a template-file is given and returns something useful we discard the stuff from the controller-method and use that instead
Tue Nov 28 21:32:09 JST 2006 manveru@weez-int.com
* touch the db before initializing the default-store
Tue Nov 28 21:31:49 JST 2006 manveru@weez-int.com
* minor patch for mongrel-cookies
Tue Nov 28 20:57:59 JST 2006 manveru@weez-int.com
* added a mostly-stub for the new blog-example
Tue Nov 28 20:57:13 JST 2006 manveru@weez-int.com
* added the default-store, this is just a very simple wrapper over YAML::Store and doesn't offer anything really... just to satisfy the tests
Tue Nov 28 20:56:20 JST 2006 manveru@weez-int.com
* move the test-request-methods over from test_get/test_post/request to get/post
Tue Nov 28 20:54:56 JST 2006 manveru@weez-int.com
* update to test_helper, now using get/post instead of test_get/test_post or request
Tue Nov 28 20:53:26 JST 2006 manveru@weez-int.com
* Template::Ramaze now supports extremly simple templating with #[expr] - more to come
Tue Nov 28 20:53:13 JST 2006 manveru@weez-int.com
* fixing sessions for webrick
Tue Nov 28 20:52:54 JST 2006 manveru@weez-int.com
* updated README with coderay-info
Tue Nov 28 20:51:22 JST 2006 manveru@weez-int.com
* don't be so verbose about missing coderay, if someone wants it we should mention it in the README
Tue Nov 28 20:49:31 JST 2006 manveru@weez-int.com
* moving from ann to trait
Tue Nov 28 20:47:37 JST 2006 manveru@weez-int.com
* just a FIXME
Tue Nov 28 20:45:48 JST 2006 manveru@weez-int.com
* lots of improved compatibility between the mongrel and webrick adapter, added respone.content_type
Tue Nov 28 20:44:54 JST 2006 manveru@weez-int.com
* Socket.do_not_reverse_lookup = true # for OSX
Tue Nov 28 20:43:06 JST 2006 manveru@weez-int.com
* removed some debugging-info about timeouted
Tue Nov 28 20:42:34 JST 2006 manveru@weez-int.com
* added small doc-snippets to the simple example about error-page
Tue Nov 28 20:42:10 JST 2006 manveru@weez-int.com
* added indication which file is ran by bin/ramaze
Tue Nov 28 20:40:47 JST 2006 manveru@weez-int.com
* simplified ann, which is now trait (should be double speed ;)
Tue Nov 28 20:40:02 JST 2006 manveru@weez-int.com
* moved add.rb to traits.rb to avoid conflicts with facets (used by Og)
Fri Nov 24 14:37:07 JST 2006 manveru@weez-int.com
* added a testcase for sum (from example/simple)
Fri Nov 24 14:36:32 JST 2006 manveru@weez-int.com
* added a timeout if the port is already used, otherwise it would retry indefinitly
Fri Nov 24 14:32:15 JST 2006 manveru@weez-int.com
* change the default-adapter to webrick for all the poor lads who don't have mongrel yet
Fri Nov 24 14:31:13 JST 2006 manveru@weez-int.com
* added lots of docs and further examples in examples/simple.rb
Fri Nov 24 14:11:06 JST 2006 manveru@weez-int.com
* added some more docs to hello.rb
Wed Nov 22 19:50:27 JST 2006 manveru@weez-int.com
* upgrade of rspec to 0.7
Sun Nov 5 20:09:04 JST 2006 manveru@weez-int.com
* updated CHANGELOG and a bit of docu in tidy
Sun Nov 5 17:44:20 JST 2006 manveru@weez-int.com
* more efficient lookup of the libtidy.so, still relying on `locate`, but you can set it yourself now with Ramaze::Tool::Tidy.ann[:path]
Sun Nov 5 17:42:38 JST 2006 manveru@weez-int.com
* fixing the amrita2 controller to find the correct path for templates (ann[:template_root] to override it)
Sun Nov 5 17:42:02 JST 2006 manveru@weez-int.com
* patches to dispatcher, proper handling of caching and actionless controllers in case of / => index
Sun Nov 5 17:40:15 JST 2006 manveru@weez-int.com
* fixing the tc_controller and added the amrita template for the controller testcase, also added the annotation for template_root
Sun Nov 5 13:57:58 JST 2006 manveru@weez-int.com
* updated the Rakefile and changed to version 0.0.3 - one todo marked as done
Fri Nov 3 00:13:31 JST 2006 manveru@weez-int.com
* changed the amrita testcase to work
Fri Nov 3 00:13:16 JST 2006 manveru@weez-int.com
* default testmode is now :live instead of :silent
Fri Nov 3 00:12:44 JST 2006 manveru@weez-int.com
* added a simple YAMLstore... to be replaced by the real thing
Fri Nov 3 00:12:29 JST 2006 manveru@weez-int.com
* the dispatcher respects actionless controllers now (Amrita2)
Fri Nov 3 00:10:47 JST 2006 manveru@weez-int.com
* added trinity in most places and using the annotations now, also a bit of cleanup
Fri Nov 3 00:10:13 JST 2006 manveru@weez-int.com
* added trinity, to be extracted
Fri Nov 3 00:10:05 JST 2006 manveru@weez-int.com
* added self_method
Fri Nov 3 00:09:53 JST 2006 manveru@weez-int.com
* added new Annotation
Fri Nov 3 00:09:26 JST 2006 manveru@weez-int.com
* added favicon and logo
Wed Nov 1 08:00:49 JST 2006 manveru@weez-int.com
* added testcases for controller and templating of amrita2/ramaze - they still have to be made passing
Thu Oct 26 19:39:45 JST 2006 manveru@weez-int.com
* added a setup for tc_adapter, makes it a bit slower but a lot better
Thu Oct 26 19:29:22 JST 2006 manveru@weez-int.com
* after fix in mongrel, this should work nice again and the tcs should pass
Thu Oct 26 19:29:00 JST 2006 manveru@weez-int.com
* more elegant tc_gestalt
Thu Oct 26 19:28:35 JST 2006 manveru@weez-int.com
* finish up in the ramaze.rb and bring together the loose ends
Thu Oct 26 19:28:12 JST 2006 manveru@weez-int.com
* rewrote the ramaze-template
Thu Oct 26 19:27:16 JST 2006 manveru@weez-int.com
* autoreload is now a method in Ramaze and i added a Global.autoreload hash that holds the autoreload-times for the hashes, additionally there is the new :benchmark mode
Thu Oct 26 19:26:08 JST 2006 manveru@weez-int.com
* added pretty_inspect to the response to fit better into the new error-page
Thu Oct 26 19:25:58 JST 2006 manveru@weez-int.com
* implemented the logger-todos
Thu Oct 26 19:24:55 JST 2006 manveru@weez-int.com
* Gestalt is now no subclass of BlankSlate anymore... it was unneccesary and just complicating the whole code. using the simple p-hack again
Thu Oct 26 19:24:20 JST 2006 manveru@weez-int.com
* a really huge update to the errorpage again... remember to remove the logo ;)
Thu Oct 26 19:23:54 JST 2006 manveru@weez-int.com
* added a timeout to the dispatcher and removed some annoying return-statements
Thu Oct 26 19:23:34 JST 2006 manveru@weez-int.com
* added response method to controller-prototype
Thu Oct 26 19:23:17 JST 2006 manveru@weez-int.com
* adapter have now the possibilities to bench requests when mode is :benchmark
Thu Oct 26 19:20:58 JST 2006 manveru@weez-int.com
* updated the miniwiki to use YAML::Store and work correctly in general
Mon Oct 23 19:36:40 JST 2006 manveru@weez-int.com
* added a testcase for params and proper handling of the errors now. (thanks mfp)
Mon Oct 23 19:36:29 JST 2006 manveru@weez-int.com
* output the error if tidy fails
Mon Oct 23 19:36:05 JST 2006 manveru@weez-int.com
* adding __instance_variable_set__ to Gestalt to better handle iv without evaling
Mon Oct 23 19:35:22 JST 2006 manveru@weez-int.com
* better handling of CodeRay inside error-template
Mon Oct 23 19:34:49 JST 2006 manveru@weez-int.com
* little cleanup and adding documentation in the error-page
Mon Oct 23 19:34:26 JST 2006 manveru@weez-int.com
* proper handling of -1 params
Mon Oct 23 19:33:54 JST 2006 manveru@weez-int.com
* adding proper params-handling for webrick, (very very bad proper handling)
Mon Oct 23 19:33:23 JST 2006 manveru@weez-int.com
* remove the require 'rubygems' and error-handling from the adapter itself, that is handled one level lower
Mon Oct 23 19:33:03 JST 2006 manveru@weez-int.com
* added a default in public/css/coderay.css since i will use it quite often.
Mon Oct 23 19:32:03 JST 2006 manveru@weez-int.com
* first templates for Ramaze (called .rmze) and a proper working miniwiki-example - very very simplistic, but does its job so far
Mon Oct 23 19:31:35 JST 2006 manveru@weez-int.com
* yay for my new miniwiki example :)
Mon Oct 23 17:01:05 JST 2006 manveru@weez-int.com
* use webrick in the miniwiki
Mon Oct 23 16:57:57 JST 2006 manveru@weez-int.com
* added codray-highlighting (if installed) and inspecting of request/session/response/global
Mon Oct 23 16:23:09 JST 2006 manveru@weez-int.com
* better handling if the adapter is not found and don't kill the autoreload-threads anymore
Mon Oct 23 16:21:17 JST 2006 manveru@weez-int.com
* update of the Global defaults (most important, added Global.logger[:timestamp|:prefix_(info|error|debug)]
Mon Oct 23 16:20:33 JST 2006 manveru@weez-int.com
* replaced autoreload with the new one (and some settings for the reload-speed based on the Global.mode
Mon Oct 23 16:19:53 JST 2006 manveru@weez-int.com
* replaced the Module.autoload with a require beforehand... the other way just added complexitiy though it's a nice thing :)
Mon Oct 23 16:18:44 JST 2006 manveru@weez-int.com
* usage of Tidy.tidy now possible
Mon Oct 23 16:18:22 JST 2006 manveru@weez-int.com
* reimplementation of autoreload
Mon Oct 23 16:17:42 JST 2006 manveru@weez-int.com
* little update in the request, in case there is no @request.params (webrick)
Mon Oct 23 16:16:43 JST 2006 manveru@weez-int.com
* rather large update to the error-page... not fully finished i fear - but i added CSS so it's going to be nicer to change :)
Mon Oct 23 16:16:15 JST 2006 manveru@weez-int.com
* better use of the Logger in the dispatcher
Mon Oct 23 16:13:12 JST 2006 manveru@weez-int.com
* a rather huge update to the logger, introducing the Global.logger hash to easily define your own favorite settings, also we got a Timestamp now! :)
Mon Oct 23 16:11:49 JST 2006 manveru@weez-int.com
* updates to the mongrel-adapter, better rescue for rubygems/mongrel and nicer usage of Tidy
Mon Oct 23 16:11:10 JST 2006 manveru@weez-int.com
* small updates to the simple example
Mon Oct 23 16:08:43 JST 2006 manveru@weez-int.com
* added the webrick-adapter, it's not perfect, but works smooth so far
Mon Oct 23 16:07:46 JST 2006 manveru@weez-int.com
* added testcase for the adapters (tc_adapter) [mongrel|webrick] so far
Mon Oct 23 09:13:27 JST 2006 manveru@weez-int.com
* moved the HTTP-status codes to http_status.rb from dispatcher.rb
Mon Oct 23 08:33:05 JST 2006 manveru@weez-int.com
* small typo in Logger.debug output ('d-' instead of 'd')
Mon Oct 23 08:29:14 JST 2006 manveru@weez-int.com
* added stub for miniwiki
Fri Oct 20 18:55:28 JST 2006 manveru@weez-int.com
* one todo gone, one added
Fri Oct 20 18:51:40 JST 2006 manveru@weez-int.com
* an ultimate patch... this addes lots of documentation, rewrite of the Response to be Struct instead of OpenStruct (17 times faster) and also some minor tweaks all over the place, notable also the change of the logger-format
Fri Oct 20 18:50:38 JST 2006 manveru@weez-int.com
* minor updates to the testcases, somehow i should fix the tc_params on the errors... but that takes a bit more time, otherwise just removed the sleeps that are now handled by ramaze
Fri Oct 20 18:48:35 JST 2006 manveru@weez-int.com
* small fixes to the simple example
Fri Oct 20 14:53:55 JST 2006 manveru@weez-int.com
* added new rake task, todo - it scrapes the source for TODO markers and prints them out.
Fri Oct 20 10:50:34 JST 2006 manveru@weez-int.com
* added documentation and Gestalt.build, which takes a block instead of Gestalt.new
Fri Oct 20 16:49:36 JST 2006 manveru@weez-int.com
* cleaned up the tests a bit and updated the test-runner to show some summary
Thu Oct 19 19:18:12 JST 2006 manveru@weez-int.com
* loooooots of documentation (which is not displayed on rdoc due to some very weird behaviour
Thu Oct 19 19:16:49 JST 2006 manveru@weez-int.com
* a new and simple way to react on signals, default is SIGINT, it executes Ramaze.shutdown which in turn kills the adapter, to change the signal listened on change Global.shutdown_trap
Thu Oct 19 19:14:54 JST 2006 manveru@weez-int.com
* very minor cleanup of some methods...
Thu Oct 19 19:14:40 JST 2006 manveru@weez-int.com
* added an rdoc-task to the Rakefile
Thu Oct 19 19:14:18 JST 2006 manveru@weez-int.com
* moved README and CHANGELOG to the new /doc dir
Thu Oct 19 19:13:26 JST 2006 manveru@weez-int.com
* tidy takes now an hash of options and i added extensive documentation ... could use some more though (removed require for rubygems)
Wed Oct 18 19:27:23 JST 2006 manveru@weez-int.com
* lots of smaller changes, extracted tidy from the mongrel-adapter to a new dir named tool - where most helper-stuff should go to.
Wed Oct 18 19:27:04 JST 2006 manveru@weez-int.com
* updates to global.rb - stuff that doesn't make sense for a singleton
Wed Oct 18 19:25:31 JST 2006 manveru@weez-int.com
* revised most testcases and added tc_global and tc_tidy
Wed Oct 18 19:25:16 JST 2006 manveru@weez-int.com
* added rcov-task
Wed Oct 18 16:36:37 JST 2006 manveru@weez-int.com
* use String#/ instead of File.join
Wed Oct 18 16:35:04 JST 2006 manveru@weez-int.com
* much better handling of restarts and stuff by joining still running mongrel-threads
Wed Oct 18 16:34:41 JST 2006 manveru@weez-int.com
* remove the gostruct.rb
Wed Oct 18 16:34:08 JST 2006 manveru@weez-int.com
* update to README
Wed Oct 18 16:33:23 JST 2006 manveru@weez-int.com
* removing the global openstruct and just use Global...
Wed Oct 18 15:34:48 JST 2006 manveru@weez-int.com
* removing the default-adapter because it's useless and not used
Wed Oct 18 13:57:50 JST 2006 manveru@weez-int.com
* removed a bit of debugging-info from tc_session
Wed Oct 18 13:55:14 JST 2006 manveru@weez-int.com
* this drives in the last nail to support sessions, also speeds up requests a tiny weeny bit ;)
Wed Oct 18 13:54:04 JST 2006 manveru@weez-int.com
* controller now accesses the Thread#[] to get request/session
Wed Oct 18 13:53:23 JST 2006 manveru@weez-int.com
* split up the response in mongrel into set_out and set_head
Wed Oct 18 13:53:11 JST 2006 manveru@weez-int.com
* added ramaze/session
Wed Oct 18 13:52:41 JST 2006 manveru@weez-int.com
* added a session-testcase
Tue Oct 17 09:52:07 JST 2006 manveru@weez-int.com
* updated CHANGELOG
Tue Oct 17 09:51:30 JST 2006 manveru@weez-int.com
tagged Ramaze 0.0.2
Tue Oct 17 09:50:51 JST 2006 manveru@weez-int.com
* tagged 0.0.2 - next version will support sessions (hopefully :)
Tue Oct 17 09:50:36 JST 2006 manveru@weez-int.com
* updated the readmy and rakefile-description a bit
Tue Oct 17 09:50:13 JST 2006 manveru@weez-int.com
* added Ramaze::VERSION
Tue Oct 17 09:47:00 JST 2006 manveru@weez-int.com
* added a SIGINT-trap to cleanly shutdown
Tue Oct 17 09:29:31 JST 2006 manveru@weez-int.com
* added test/tc_request [passes]
Tue Oct 17 09:29:00 JST 2006 manveru@weez-int.com
* further improvment to the testcase-runner and setting default Global.error_page to true
Mon Oct 16 20:18:33 JST 2006 manveru@weez-int.com
* and everything passes now...
Mon Oct 16 17:52:59 JST 2006 manveru@weez-int.com
* patching the test-runner to shut down ramaze before it is run again from the next testcase...
Mon Oct 16 17:48:09 JST 2006 manveru@weez-int.com
* huuuuge patch, perfect error-handling, better automagic controller-mapping, superb tidy-functionlity, even the params-testcase passes again :P - to turn on tidy, set Global.tidy to true
Mon Oct 16 11:39:42 JST 2006 manveru@weez-int.com
* added snippets for String#/
Mon Oct 16 11:38:47 JST 2006 manveru@weez-int.com
* added caller_lines in the snippets
Mon Oct 16 10:08:51 JST 2006 manveru@weez-int.com
* a new snapshot with some more tests and lots of bugs fixed... also working now on the pluggable templating again.
Sun Oct 15 13:53:32 JST 2006 manveru@weez-int.com
* this fixes a bug that lead to problems if you don't define a mapping
Sun Oct 15 13:52:19 JST 2006 manveru@weez-int.com
* this introduces a new Global.running_adapter, for later easy access outside of Ramaze - should add some methods to check if the adapter is running and the like
Sun Oct 15 13:51:46 JST 2006 manveru@weez-int.com
* by default, require 'pp', i think it's far too useful not to be available all the time
Sun Oct 15 13:50:47 JST 2006 manveru@weez-int.com
* some more info in the CHANGELOG, this will only be updated in releases from now on, the information comes from darcs anyway
Sun Oct 15 13:49:10 JST 2006 manveru@weez-int.com
* changed hello.rb to fit in with the use of the ramaze-binary
Sun Oct 15 13:48:30 JST 2006 manveru@weez-int.com
* updated the Rakefile to prodcue some more useful stuff :) - also knows about the executable 'ramaze' now
Sun Oct 15 13:47:20 JST 2006 manveru@weez-int.com
* updated the README a bit, more to come
Sun Oct 15 13:44:54 JST 2006 manveru@weez-int.com
* added an ramaze executable
it can be found in bin/ramaze and you use it like that:
$ cd example
$ ls
main.rb
$ ramaze
which will in turn run the main.rb
you can give ramaze a parameter for the run-file, more sophisticated parameters are not included (yet)
Sat Oct 14 04:22:49 JST 2006 manveru@weez-int.com
* initialize
|