Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hanami/controller
Complete, fast and testable actions for Rack and Hanami
https://github.com/hanami/controller
Define initial version as 0.1.0
e871d560971ace7a6983e36de7f26f23fc305543 authored almost 11 years ago by Luca Guidi <[email protected]>
e871d560971ace7a6983e36de7f26f23fc305543 authored almost 11 years ago by Luca Guidi <[email protected]>
Improved documentation
118310f5e84ca0a70eda47bfa11d02be2f0dca07 authored almost 11 years ago by Luca Guidi <[email protected]>
118310f5e84ca0a70eda47bfa11d02be2f0dca07 authored almost 11 years ago by Luca Guidi <[email protected]>
Moved .handled_exceptions from Action to Controller, so that the place where to configure the framework will be easier to find for developers.
f750e4cfa3474ebad5c2537ce9ca6edaa0b6aba7 authored almost 11 years ago by Luca Guidi <[email protected]>
f750e4cfa3474ebad5c2537ce9ca6edaa0b6aba7 authored almost 11 years ago by Luca Guidi <[email protected]>
Improve README
fa476d5ee97569fe823bb47a289ef1675b09b8a8 authored almost 11 years ago by Luca Guidi <[email protected]>
fa476d5ee97569fe823bb47a289ef1675b09b8a8 authored almost 11 years ago by Luca Guidi <[email protected]>
Added Lotus::Action.handle_exception
1de2a27c998d71f6eff910be521cd0fe533db0f7 authored almost 11 years ago by Luca Guidi <[email protected]>
1de2a27c998d71f6eff910be521cd0fe533db0f7 authored almost 11 years ago by Luca Guidi <[email protected]>
Implemented Lotus::Action.accept, in order to restrict the access when a non supported mime type is requested
fd9e0808ff5fe6798836d9e9b7cab20267383b18 authored almost 11 years ago by Luca Guidi <[email protected]>
fd9e0808ff5fe6798836d9e9b7cab20267383b18 authored almost 11 years ago by Luca Guidi <[email protected]>
Implemented Lotus::Action#accept?
Example:
require 'lotus/controller'
class Show
include Lotus::Action
def call(par...
516983fca12dd514fc2f81c420ded5efda2e5a32 authored almost 11 years ago by Luca Guidi <[email protected]>
Changed auto content type policy. It prefers in the order:
* Explicit set value (with #content_type=)
* Weighted value from Accept
* Default content ...
Use @_env instead of the argument in Lotus::Action::Callable#call
7cce3545f3ec73057d0d171251c69887cba335f4 authored almost 11 years ago by Luca Guidi <[email protected]>
7cce3545f3ec73057d0d171251c69887cba335f4 authored almost 11 years ago by Luca Guidi <[email protected]>
Extracted constants for Lotus::Action::Params
a41b43dda09d0d0fd5a1144907b95c462e8120ca authored almost 11 years ago by Luca Guidi <[email protected]>
a41b43dda09d0d0fd5a1144907b95c462e8120ca authored almost 11 years ago by Luca Guidi <[email protected]>
Improved README documentation
75ab90b729085285c7979111919a9fecd3e98fda authored almost 11 years ago by Luca Guidi <[email protected]>
75ab90b729085285c7979111919a9fecd3e98fda authored almost 11 years ago by Luca Guidi <[email protected]>
Improved example in README
ad4c01892c6ca5b6247fd85b6dc08eed3d2cf0c2 authored almost 11 years ago by Luca Guidi <[email protected]>
ad4c01892c6ca5b6247fd85b6dc08eed3d2cf0c2 authored almost 11 years ago by Luca Guidi <[email protected]>
Home page in gemspec
979bdd4be2af03616c26434b200d6eb9bdacdef1 authored almost 11 years ago by Luca Guidi <[email protected]>
979bdd4be2af03616c26434b200d6eb9bdacdef1 authored almost 11 years ago by Luca Guidi <[email protected]>
Merge pull request #1 from lotus/remove-rack-request-response
Remove Rack Request & Response
07ee22929cd1b6b101eaf2bb9e3e70d2b29ebdef authored almost 11 years ago by Luca Guidi <[email protected]>
Make session support optional
6bdf55b86f0d208ae10d100292ba33d286424ce8 authored almost 11 years ago by Luca Guidi <[email protected]>
6bdf55b86f0d208ae10d100292ba33d286424ce8 authored almost 11 years ago by Luca Guidi <[email protected]>
Make cookies support optional
29c5f8c885fb310bfa47c557ee2a9c8b3cc284a8 authored almost 11 years ago by Luca Guidi <[email protected]>
29c5f8c885fb310bfa47c557ee2a9c8b3cc284a8 authored almost 11 years ago by Luca Guidi <[email protected]>
Removed Lotus::HTTP::Request and Response
0b36afbb208fd55e850083e6869f2d2476f6208a authored almost 11 years ago by Luca Guidi <[email protected]>
0b36afbb208fd55e850083e6869f2d2476f6208a authored almost 11 years ago by Luca Guidi <[email protected]>
Return serialized Rack response (Array) instead of the object.
Lotus::Action::Redirect no longer depends on Response.
Lotus::Action::CookieJar no longer depends...
Lotus::Action::Rack#session no longer depends on Request
b306f4fd8b984b2cdb93bae95bd3a2ffef552941 authored almost 11 years ago by Luca Guidi <[email protected]>
b306f4fd8b984b2cdb93bae95bd3a2ffef552941 authored almost 11 years ago by Luca Guidi <[email protected]>
Lotus::Action::Mime no longer depends on Request
9a444775a5484a325446d046b819eb8f60925093 authored almost 11 years ago by Luca Guidi <[email protected]>
9a444775a5484a325446d046b819eb8f60925093 authored almost 11 years ago by Luca Guidi <[email protected]>
Lotus::Action::CookieJar logic for cookies extraction/set/get is no longer dependant on Request and Response.
9b7f5247692a10729db67fb9d3531724053727d0 authored almost 11 years ago by Luca Guidi <[email protected]>
9b7f5247692a10729db67fb9d3531724053727d0 authored almost 11 years ago by Luca Guidi <[email protected]>
Documentation for Lotus::Controller, Lotus::Action and the following nested submodules:
* Lotus::Action::Cookies
* Lotus::Action::Exposable
* Lotus::Action::Mime
* Lotus::Actio...
Document Lotus::Router and Rack integration
b04d710df21cecb05f4f277559557c29a03f9307 authored almost 11 years ago by Luca Guidi <[email protected]>
b04d710df21cecb05f4f277559557c29a03f9307 authored almost 11 years ago by Luca Guidi <[email protected]>
Added integration test for standalone usage of sessions (w/o Lotus::Router)
48efa825832cf44b8b03650c05907d43fa2ce68e authored almost 11 years ago by Luca Guidi <[email protected]>
48efa825832cf44b8b03650c05907d43fa2ce68e authored almost 11 years ago by Luca Guidi <[email protected]>
Extended documentation for README
9502896d9cf3a25481011b133c9d437bf962ec90 authored almost 11 years ago by Luca Guidi <[email protected]>
9502896d9cf3a25481011b133c9d437bf962ec90 authored almost 11 years ago by Luca Guidi <[email protected]>
Ignore tmp/
075abbfb66e53ca9def673e2d81736668c00e096 authored almost 11 years ago by Luca Guidi <[email protected]>
075abbfb66e53ca9def673e2d81736668c00e096 authored almost 11 years ago by Luca Guidi <[email protected]>
Ignore coverage/
e7676e9eedd51ea93776804b9ee8f1d7be3dcfee authored almost 11 years ago by Luca Guidi <[email protected]>
e7676e9eedd51ea93776804b9ee8f1d7be3dcfee authored almost 11 years ago by Luca Guidi <[email protected]>
Lotus::Router.draw => Lotus::Router.new
af275cfc23ab04e2cefd6b22c908870851b55c37 authored almost 11 years ago by Luca Guidi <[email protected]>
af275cfc23ab04e2cefd6b22c908870851b55c37 authored almost 11 years ago by Luca Guidi <[email protected]>
Enable test coverage
6f73962a2345df4ea413c1de6a8067192e30d033 authored almost 11 years ago by Luca Guidi <[email protected]>
6f73962a2345df4ea413c1de6a8067192e30d033 authored almost 11 years ago by Luca Guidi <[email protected]>
Updated gem dependencies
533a0c1d3c48d8cadf41b1e59e54b4cb623e2da8 authored almost 11 years ago by Luca Guidi <[email protected]>
533a0c1d3c48d8cadf41b1e59e54b4cb623e2da8 authored almost 11 years ago by Luca Guidi <[email protected]>
Ignore Bundler artifacts
5a1f5526bc7fa1af6c4a5cba1f53607307ee204b authored almost 11 years ago by Luca Guidi <[email protected]>
5a1f5526bc7fa1af6c4a5cba1f53607307ee204b authored almost 11 years ago by Luca Guidi <[email protected]>
Don't wrap body if respond to #each
fc6de406dc827e1248a51af55cdf095fa018079a authored over 11 years ago by Luca Guidi <[email protected]>
fc6de406dc827e1248a51af55cdf095fa018079a authored over 11 years ago by Luca Guidi <[email protected]>
Introducing factory for Response
ce46399b6c4dd03fa47fdb3a8b9ec7d20812d247 authored over 11 years ago by Luca Guidi <[email protected]>
ce46399b6c4dd03fa47fdb3a8b9ec7d20812d247 authored over 11 years ago by Luca Guidi <[email protected]>
Partial (and hacky) support for Accept header
2991bd6df15eaeb2e6beda1aa3a0ad2a4d8135eb authored over 11 years ago by Luca Guidi <[email protected]>
2991bd6df15eaeb2e6beda1aa3a0ad2a4d8135eb authored over 11 years ago by Luca Guidi <[email protected]>
README syntax highlighting
48c89b86d808062699a00508c28d6b1243de2e80 authored over 11 years ago by Luca Guidi <[email protected]>
48c89b86d808062699a00508c28d6b1243de2e80 authored over 11 years ago by Luca Guidi <[email protected]>
Ensure to wrap body for HTTP::Response
83adc9c2648efa8928f227a603c661690af65044 authored over 11 years ago by Luca Guidi <[email protected]>
83adc9c2648efa8928f227a603c661690af65044 authored over 11 years ago by Luca Guidi <[email protected]>
Extracted Lotus::Utils in a proper gem
63bfd6abe83384c047e176a65ac30ef024f9c9e5 authored over 11 years ago by Luca Guidi <[email protected]>
63bfd6abe83384c047e176a65ac30ef024f9c9e5 authored over 11 years ago by Luca Guidi <[email protected]>
Introducing Lotus::HTTP::Request/Response
0a41bf8f0a688ca930394eb6515ae641928fad6c authored over 11 years ago by Luca Guidi <[email protected]>
0a41bf8f0a688ca930394eb6515ae641928fad6c authored over 11 years ago by Luca Guidi <[email protected]>
Integration tests for sessions
c44d4404727cc4b9c321c40c96ff00ad7959f5ac authored over 11 years ago by Luca Guidi <[email protected]>
c44d4404727cc4b9c321c40c96ff00ad7959f5ac authored over 11 years ago by Luca Guidi <[email protected]>
Added automatic Mime Type capabilities
e62b3559af1c0d8d82d6f662114f5a5d92c9d509 authored over 11 years ago by Luca Guidi <[email protected]>
e62b3559af1c0d8d82d6f662114f5a5d92c9d509 authored over 11 years ago by Luca Guidi <[email protected]>
Split features in proper `Lotus::Action` submodules.
351eb2fc45cfa1edb5fc6c643c4e01b85f87d884 authored over 11 years ago by Luca Guidi <[email protected]>
351eb2fc45cfa1edb5fc6c643c4e01b85f87d884 authored over 11 years ago by Luca Guidi <[email protected]>
Introducing throw facility, to stop the request flow immediately.
9d268df7966b747724cf1b20af6f2d98ed25869d authored over 11 years ago by Luca Guidi <[email protected]>
9d268df7966b747724cf1b20af6f2d98ed25869d authored over 11 years ago by Luca Guidi <[email protected]>
Integration tests with Lotus::Router
73af6d16291d51a49a29b3b6a535c8ebfe0d5f7c authored over 11 years ago by Luca Guidi <[email protected]>
73af6d16291d51a49a29b3b6a535c8ebfe0d5f7c authored over 11 years ago by Luca Guidi <[email protected]>
Implemented cookies facilities.
6938faee6abdb3bc801198372e31eace8d65200b authored over 11 years ago by Luca Guidi <[email protected]>
6938faee6abdb3bc801198372e31eace8d65200b authored over 11 years ago by Luca Guidi <[email protected]>
Rack compatibility
69f4c621846c3928793f44b5b5b73a3d6522296e authored over 11 years ago by Luca Guidi <[email protected]>
69f4c621846c3928793f44b5b5b73a3d6522296e authored over 11 years ago by Luca Guidi <[email protected]>
Implemented #redirect_to
13bd2d2d183c448340caf55149e1a1b9a978f790 authored over 11 years ago by Luca Guidi <[email protected]>
13bd2d2d183c448340caf55149e1a1b9a978f790 authored over 11 years ago by Luca Guidi <[email protected]>
Implemented sessions support
5adbee1f74b09a322a0727f977a713126387f848 authored over 11 years ago by Luca Guidi <[email protected]>
5adbee1f74b09a322a0727f977a713126387f848 authored over 11 years ago by Luca Guidi <[email protected]>
Gemified
fa4c60eec06a002e52791e9357d2e2142a6d290d authored over 11 years ago by Luca Guidi <[email protected]>
fa4c60eec06a002e52791e9357d2e2142a6d290d authored over 11 years ago by Luca Guidi <[email protected]>
Implemented action callbacks
4bb794d3537d4db8ddb46c973313ff13a2b2fa16 authored over 11 years ago by Luca Guidi <[email protected]>
4bb794d3537d4db8ddb46c973313ff13a2b2fa16 authored over 11 years ago by Luca Guidi <[email protected]>
Rakefile
8fe87639e8f943c02b156f3f0c41d9c8f71cdb6f authored over 11 years ago by Luca Guidi <[email protected]>
8fe87639e8f943c02b156f3f0c41d9c8f71cdb6f authored over 11 years ago by Luca Guidi <[email protected]>
Introducing Lotus::Controller
3b792dcb58c325dd8a3655d8eb194e7d901d7294 authored over 11 years ago by Luca Guidi <[email protected]>
3b792dcb58c325dd8a3655d8eb194e7d901d7294 authored over 11 years ago by Luca Guidi <[email protected]>
Initial mess
d279c48bc3c8f967d668717bf6b1707d07fe1e95 authored over 11 years ago by Luca Guidi <[email protected]>
d279c48bc3c8f967d668717bf6b1707d07fe1e95 authored over 11 years ago by Luca Guidi <[email protected]>