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

Adds the ability to specify a class which defines the params.

This allows a caller to specify a specific class which which will
be handed the responsibility o...

0e9d8aeb428fe42dd206be47fe3cd79f0eeda87e authored over 10 years ago by Matthew Bellantoni <[email protected]>
Adds convenience method for creating anonymous classes.

This adds a convenience method which creates an anonymous
subclass of the ParamsAction fixture c...

beedbc8677d86e2311937ed3e11cc32751d71854 authored over 10 years ago by Matthew Bellantoni <[email protected]>
Added JRuby to the allowed failures of the CI. Ref jruby/jruby#751

eeba55f894bcb3733e72218556dd2e4c1d780508 authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #30 from arthurgeek/document_redirect_custom_status_code

Document redirect with custom status code

33b484d32e521624afc8c761ac75313ac4df74ff authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #29 from arthurgeek/patch-3

Small documentation fixes

b509368f3883d7d60018e5b7b85f1d75173c74f6 authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #27 from arthurgeek/patch-1

Fix README

b24769e1824bc3d928e691940ac4dba91d76192b authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #24 from joneslee85/patch-1

Set required ruby version

b53c5888ef849fa8b91cc808e27dce586ed92e44 authored over 10 years ago by Luca Guidi <[email protected]>
Document redirect with custom status code

4fd67551ab5ab80380c4fc6328545aec955a6909 authored over 10 years ago by Arthur Zapparoli <[email protected]>
Fix parameter name in documentation

The parameter name is `formats`, not `mime_types`.

cf20e1e23d1bfc8e79402457f5954514d7136780 authored over 10 years ago by Arthur Zapparoli <[email protected]>
Small documentation fix

86faff41ceb692d5e7793cfdbeeb563baf6a50ba authored over 10 years ago by Arthur Zapparoli <[email protected]>
Fix README

When `handle_exceptions` is disabled, we just raise every exception.

a6d912d58d69a1faf3df7c92cbf550516bf01a60 authored over 10 years ago by Arthur Zapparoli <[email protected]>
Set required ruby version

e53d54b4a4793a8f984cca15e3e29f7a38110091 authored over 10 years ago by Trung Lê <[email protected]>
WIP

- some cribbing from Sinatra going on for sure.

037013d52b87a179a5b0aa54bc2d2643205073a2 authored over 10 years ago by Karl Freeman <[email protected]>
Reduce method visibility where possible

Many methods that were marked as `protected` didn't actually need to be so.
This commit reduces ...

743a1490873a4b7cbc462fdb2bd1c96440df3003 authored over 10 years ago by Fuad Saud <[email protected]>
Merge remote-tracking branch 'origin/master' into feature/cache-controls

2c3ca57785c1e71b51e75b43f299689705fb99e3 authored over 10 years ago by Karl Freeman <[email protected]>
Merge pull request #20 from Benny1992/master

Enable Rubinius testing

cfe555e5f670b652cbf27113b30c90fd0c83ab85 authored over 10 years ago by Luca Guidi <[email protected]>
enable rubinius testing

6dccb8b4f3b21506e4e72e95a0d5afea27332da6 authored over 10 years ago by Benny <[email protected]>
[ci skip] CHANGELOG

b9d3a75eb0bef9a772f1262adff2f77e4aa6ac60 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] CHANGELOG

2b293a2f88f0043f02f9c8bcd7f345234d7a18ee authored over 10 years ago by Luca Guidi <[email protected]>
Refactoring for Lotus::Action#format= use Utils::Kernel.

deaa9880c23ec47f9b92d9e39dc2ed9da5534c17 authored over 10 years ago by Luca Guidi <[email protected]>
Made Lotus::Action#content_type public

48a57155cb7ac80dbfa5e382f6c74fedf4c9c5cb authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] CHANGELOG

d3e76ff3d9b65d3c1d07a1e1250eebd01f5be880 authored over 10 years ago by Luca Guidi <[email protected]>
Let to specify a default format for all the requests that aren't strict about the requested Mime type (eg. '*/*').

2d7b0cc4ac6fe64ce1d0f4383b2d1b31043a9861 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] CHANGELOG

c9b06dc2871ae043913be0155437ed3922dc7269 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Remove a postponed feature from README

cde75069be23b096e75548a996dc91535491cb57 authored over 10 years ago by Luca Guidi <[email protected]>
Implemented private method for default_content_type, so that an action can decouple from Action::Mime::DEFAULT_CONTENT_TYPE. This is declared as a private api for now.

4bbf85a29ce293bd8d527713d2afcf39f64a14ca authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #19 from fgo/patch-1

Update README.md

85893daf7168e8dc50f2d32fbd51ace4d438e6a5 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Documented new mime types features in README

04c2d3d2941e5e2801ad2836f452880dc6075682 authored over 10 years ago by Luca Guidi <[email protected]>
Raise error if Lotus::Controller::Configuration#format doesn't receive the proper argument. Let Lotus::Action::Mime#accept to work with registered mime types

401c1afb667d3f16ea923727c75a7ed81a16d77d authored over 10 years ago by Luca Guidi <[email protected]>
Additional example for Mime type integration tests

6825ff99ede0ca01ff2123ee7117a75202bf3d2b authored over 10 years ago by Luca Guidi <[email protected]>
Make Lotus::Action::Mime#format a public method

028ec2e8914733dccbe6a77b895af7678f6548ad authored over 10 years ago by Luca Guidi <[email protected]>
Detect the asked mime type and return the corresponding format

ce42cd461b95f4b2db44ae0aa79affe0a6cce641 authored over 10 years ago by Luca Guidi <[email protected]>
Let actions to detect accepted mime type and to return the correct format symbol. Configuration can now register mime types

87323ada23add2b71f3fb45e2c64b66ff89841cd authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #18 from zlw/15_action_format

Implement Action#format

6eda53d73df822c85cc5356e914ef21f802904fb authored over 10 years ago by Luca Guidi <[email protected]>
Update README.md

1c38d713a1ddd66970fe574b6b59b5a45c66aaf1 authored over 10 years ago by Francis Go <[email protected]>
Documentation typo

:shit:

26e35bea4d6e3cb46222cf85cd3d2a6ee470eb91 authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Add documentation for Action#format=

0ad30a61db92037ceb81304eb3cfca0b5bfd8a5a authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Implement Action#format

* Add #format
* Add #format= which also sets content-type
* Remove #content_type=
* Fix integrat...

adf03579991ff574edc904ee34f154eb2f0797b1 authored over 10 years ago by Krzysztof Zalewski <[email protected]>
[ci skip] CHANGELOG

c8b3e90735df8e633184656c7d5d2a20817d39a4 authored over 10 years ago by Luca Guidi <[email protected]>
Bump version to v0.2.0

328153b864b7ff4bdd8c7ef858c1017e48d8d643 authored over 10 years ago by Luca Guidi <[email protected]>
Bump lotus-utils dependency to 0.2.0

b2e5c851ed18a18b8fa2776d70617e118cd275d4 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Yardoc adjustments

915cf80d72160516afdf5476e15c34cae82ab744 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Documentation for Lotus::Controller modules

78c8e908b608ea309e69a5e8e20251646017deb0 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Documented all the Lotus::Action modules

94b1cff4591064a1a68463cc22a84656ced2ea21 authored over 10 years ago by Luca Guidi <[email protected]>
Controller.duplicate can accept nil controllers namespace

166a3c81564785261c08a88b181a2f2edf52664c authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Documentation for Lotus::Controller and Lotus::Action

0e3e3d14791d156c84cbc6fd47d38ebd96a4c9a3 authored over 10 years ago by Luca Guidi <[email protected]>
Lotus::Controller: .duplicate => .dup, .generate => .duplicate

c11bc96319e068838b9b0d5f10c4c71def05950f authored over 10 years ago by Luca Guidi <[email protected]>
Updated README documentation

d9e888bddb0af55f29362f7c85319af0b78add59 authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] README

b8b41877370dc351411c1cb75469a2b623251c55 authored over 10 years ago by Luca Guidi <[email protected]>
Gem: build only with lib/ and essential files

9488c66941cb147d5e836f3fe70592b1adc36c4f authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] LICENSE.txt -> LICENSE.md

0219d2c487d51c91b4c8c5e6b7a911a6a1e92f4d authored over 10 years ago by Luca Guidi <[email protected]>
[ci skip] Changelog

9412f91cee2601163188c816044a65f495bd7974 authored over 10 years ago by Luca Guidi <[email protected]>
Removed Lotus::Action::Throwable#throw in favor of #halt

cd7038c35f894f546116dba1e71f8e222a265ca5 authored over 10 years ago by Luca Guidi <[email protected]>
Merge branch 'zlw-rack_errors'

82c7507f2c04a83f059e2fd58a90b5aa2e0e99ed authored over 10 years ago by Luca Guidi <[email protected]>
Pretty print exceptions in rack.errors

c200e68f2fdd765163181cfe45d0e96c23509125 authored over 10 years ago by Luca Guidi <[email protected]>
Simplify building exception message

Also fixes problem with exception without message, in such case class
and message are equal

62d51a352c5bc5008e4ad5443e64e08ade73d8b3 authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Add custom error message and exception backtrace to `rack.errors`

9422beac215dad477f48ae72aba7b28f94e56754 authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Add test for exception with custom #to_s method

db3628e963f3aba76f2d13c3d22959b3f8057eed authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Reference exception in rack.errors

3c122b06eea0579937d496652c490cc8d621bbd6 authored over 10 years ago by Krzysztof Zalewski <[email protected]>
Let Lotus::Controller.generate to set action_module

9e64c3f4a5633b6d69c87044a9eae796136156ab authored over 10 years ago by Luca Guidi <[email protected]>
Introducing Lotus::Controller.generate as shortcut for .duplicate and .configure

f28d7e352014d109f5ac44c05ccd576e23d7cbaa authored over 10 years ago by Luca Guidi <[email protected]>
WIP

9ff83e3f90deb51a7c68a67175fcc293fdc9e742 authored over 10 years ago by Karl Freeman <[email protected]>
Use composition over inheritance for Lotus::Action::Params

Before:

irb(main):001:0> Lotus::Action::Params.new({}).methods.size
=> 151

After:

irb(m...

af217ea4ccaafde71dd36b41e83e69ee01f07f09 authored over 10 years ago by Luca Guidi <[email protected]>
Use composition over inheritance for Lotus::Action::CookieJar

Before:

irb(main):001:0> require 'lotus/action/cookies'
=> true
irb(main):002:0> Lotus::A...

47e86db595e67af93a918a6502f6c8fbb1c6780d authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #12 from rrrene/patch-2

Update docs badge in README

489af6bd4bb6fdecf0c057268d0a7c38f19af351 authored over 10 years ago by Luca Guidi <[email protected]>
Update docs badge in README

Update the URL of the docs badge to include it from inch-ci.org instead of inch-pages.github.io ...

6d5801b06015d8091d3625cd5e27eafa10dbc88a authored over 10 years ago by René Föhring <[email protected]>
Added more tests for modulized controllers and actions' configurations

110a5b0d438c311a6c238f9199fcfb12f329f1c0 authored over 10 years ago by Luca Guidi <[email protected]>
Make the build to pass again

f645c005d894399abfa90acac668fd29fb6c8adf authored over 10 years ago by Luca Guidi <[email protected]>
Make CI temporary depend on 'lotus/utils' repository

61fffe50dfa520ef853668a08eca72b6994f472b authored over 10 years ago by Luca Guidi <[email protected]>
Allow standalone actions to inherit configuration from the right framework. Added Configuration#modules in order to configure the additional modules to include by default

5e2a4a7e75248ae954d835b0aa0e615833eb4a58 authored over 10 years ago by Luca Guidi <[email protected]>
Better Ruby idioms

ceb7214518be807af31a1f96c40d5c9210af338b authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #11 from lotus/configuration

Framework, controller and action configuration

6e90caf1ff2e9702c67a8534a81b88e2d6d0e83b authored over 10 years ago by Luca Guidi <[email protected]>
Use the proper level of encapsulation for Configuration

075f9c305c863da60a071341c95d41d059ca3c0c authored over 10 years ago by Luca Guidi <[email protected]>
Ensure the right level of duplication for Lotus::Controller

431970cca8b6e60dbe0bc1360b5e2499c6a4d623 authored over 10 years ago by Luca Guidi <[email protected]>
Keep independent copies of framework, controller and action configurations. Introduced in action_module for configuration.

ae49c570a5e9da356748775ae709af640cce6736 authored over 10 years ago by Luca Guidi <[email protected]>
Introduced configuration for Controller and Action

c56683abe120c31cfa560e6302303f70fdf462bc authored over 10 years ago by Luca Guidi <[email protected]>
Enable Ruby 2.1.2 on Travis CI

8d3955760448c2b225a3189426c0d3eb274a6e04 authored over 10 years ago by Luca Guidi <[email protected]>
Merge branch 'http-statuses'

ae188c7f87f8638e5325ea17dacc04ba5dd5f182 authored over 10 years ago by Luca Guidi <[email protected]>
Merge branch 'action-use'

14d5b6a257e98073724933cb35cf90156d69daa8 authored over 10 years ago by Luca Guidi <[email protected]>
Make HTTP status messages compliant with IANA and Rack

c2854b6f36bdf5d26013be7441987193c05a62e2 authored over 10 years ago by Luca Guidi <[email protected]>
Implemented Action.use, that let to use a Rack middleware as a before callback

c137c3f847a9a04cc1685496b5adc30ce641a2d6 authored over 10 years ago by Luca Guidi <[email protected]>
Merge pull request #8 from sidonath/restore-throw

Replace `#throw` override with `#halt` method

ecd32021f7f545ca4dc3ab1b3df4a121619c8313 authored over 10 years ago by Luca Guidi <[email protected]>
Replace `#throw` override with `#halt` method

Redefining `Kernel#throw` is surprising since it prevents developers
from using `catch`/`throw` ...

eb86286f8760a6608a35de4857720be94ca45c93 authored over 10 years ago by Damir Zekic <[email protected]>
Add a failing spec

`Lotus::Action::Throwable` overrides `throw` so it's impossible to use
`catch`/`throw` as one wo...

8e0d45b1c667c3ad9b4f1549ada3f265151dd65f authored over 10 years ago by Damir Zekic <[email protected]>
Merge pull request #6 from sidonath/disable-exception-handling

Allow exception handling to be disabled

fc10811277fd6500f61bb38d6382fd6d607210b7 authored almost 11 years ago by Luca Guidi <[email protected]>
Allow exception handling to be disabled

The default exception handling is very inconvenient in development mode
as it may hide difficult...

6da21f9bee93dcb7fd1f901623c454c8e5f8a9c0 authored almost 11 years ago by Damir Zekic <[email protected]>
Fix typos in docs

9a3758ada251144c6e640817bdaf23b7002ffb63 authored almost 11 years ago by Damir Zekic <[email protected]>
Merge pull request #3 from stefanoverna/patch-1

Fix typo in README

4bb7f172a1c9f13964bc2fe9de97f724af4a307f authored almost 11 years ago by Luca Guidi <[email protected]>
Fix typo in README

280f22ab9097ddaaa1562a6054e9ffaf78093928 authored almost 11 years ago by Stefano Verna <[email protected]>
Merge branch 'master' of github.com:lotus/controller

ef683dc3d3a45f62c95cafd29717efb87779b0e8 authored almost 11 years ago by Luca Guidi <[email protected]>
Added support for Ruby 2.1.1

c0ccb72bc8285ba0be2da0fb32de73e59650b0a0 authored almost 11 years ago by Luca Guidi <[email protected]>
Merge pull request #2 from rrrene/patch-1

Add docs badge to README

298775f86895fe3ec94387628dd4e6a8c895d094 authored almost 11 years ago by Luca Guidi <[email protected]>
Add docs badge to README

3b5ef4d167f939d04b9b80693bcb8dc73b0ade0f authored almost 11 years ago by René Föhring <[email protected]>
Added lotus-controller.rb for Bundler backward compatibility

fff2a9af8d3b52e3e55104650d308d01fe9e7192 authored almost 11 years ago by Luca Guidi <[email protected]>
Fix documentation with the right require

573dfbc8aecf1c22682f7cde3e8ee5f407d51d0c authored almost 11 years ago by Luca Guidi <[email protected]>
Document thread safety notes

17d1062d68383a3aafa6a238bbd6453e6aa1848e authored almost 11 years ago by Luca Guidi <[email protected]>
Enable lotus-router on Travis CI

39addd71047b62d95321f80e380831c1e4f8f2d8 authored almost 11 years ago by Luca Guidi <[email protected]>
Enabled Travis CI

fcd7fced8979aff082526b7c99bbeb09aa15f284 authored almost 11 years ago by Luca Guidi <[email protected]>
Update year in LICENSE

5dbd06963cfc546a9cf476bd7fbfad26a10eaa27 authored almost 11 years ago by Luca Guidi <[email protected]>
Gemspec adjustments

1ce3125606e9c99e9ff2b9406952493986ab074f authored almost 11 years ago by Luca Guidi <[email protected]>