Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Sinatra with raw Rack #8

Closed
wants to merge 1 commit into from
Closed

Replace Sinatra with raw Rack #8

wants to merge 1 commit into from

Conversation

meredian
Copy link

Completly removed Sinatra gem from dependencies, replaces with rack Rack processing.

@kostya
Copy link
Owner

kostya commented May 23, 2013

Надо подумать, возможно все же лучше будет сделать как в artoo, пока еще не решил до конца:
https://github.com/hybridgroup/artoo/blob/master/lib/artoo/api.rb

@meredian
Copy link
Author

Да не вопрос, ты бы сразу сказал - так и сделаем, я не в курсе был про такой функционал reel'a, думал это base-server только :)

@meredian
Copy link
Author

Посмотрел внимательно в сэмпл с artoo. Это не родные возможности Reel'а, а имплементировано в Artoo::ApiRouteHelpers ( https://github.com/hybridgroup/artoo/blob/master/lib/artoo/api_route_helpers.rb ). Могу дернуть модуль на 200 строк, конечно, оттуда, но проще чем на RACK'е не будет :)

@kostya
Copy link
Owner

kostya commented Jun 11, 2013

спс за код. оставил пока cuba, больше всего понравилось.

@kostya kostya closed this Jun 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants