rack-app 6.7.0 → 6.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -8
- data/VERSION +1 -1
- data/bin/rack-app +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8f42d76eb784f1a62d8af4bf06aa1ea66108e01
|
4
|
+
data.tar.gz: 800d10c46212b0b5dcfef10c2068e6c67ec1bfb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4398c1e9cfcc26857bec44f10065c6203aa4073c27184b5d3c04db3a3518662e7dae4726a7a542ce2fabe0ac9b90cbf35de6d137ea3cd0877df4b2b9fe55c281
|
7
|
+
data.tar.gz: 14d8f55f13638c6edbc546069961edd3b07d87aeeda6ecf5abc02b0bc4ba8ea610f4edebef7d392c0761fb4c7091c837ec719026dde6bf44aa3fd7de5349077d
|
data/README.md
CHANGED
@@ -4,26 +4,35 @@
|
|
4
4
|
[travis-link]: https://travis-ci.org/rack-app/rack-app
|
5
5
|
[travis-home]: http://travis-ci.org/
|
6
6
|
|
7
|
-
*Happy New Year!*
|
8
|
-
|
9
7
|
Your next favourite rack based micro framework that is totally addition free!
|
10
|
-
Have a cup of awesomeness with your
|
8
|
+
Have a cup of awesomeness with your sadistically minimalist framework!
|
11
9
|
|
12
10
|
The idea behind is simple.
|
13
11
|
Keep the dependencies and everything as little as possible,
|
14
12
|
while able to write pure rack apps,
|
15
13
|
that will do nothing more than what you defined.
|
16
14
|
|
17
|
-
|
18
|
-
This also implies that the framework does not include extensions like ActiveSupport that monkey patch the whole world.
|
19
|
-
|
20
|
-
Routing can handle any amount of endpoints that can fit in the memory,
|
15
|
+
The Routing can handle any amount of endpoints that can fit in the memory,
|
21
16
|
so if you that crazy to use more than 10k endpoint,
|
22
17
|
you still dont have to worry about response speed.
|
23
18
|
|
24
19
|
It was inspirited by sinatra, grape, and the pure use form of rack.
|
25
20
|
It's in production, powering Back Ends on Heroku
|
26
21
|
|
22
|
+
## Concerns
|
23
|
+
|
24
|
+
If you want see fancy magic, you are in a bad place buddy!
|
25
|
+
|
26
|
+
This also implies that the framework does not include extensions that monkey patch the whole world to give you nice features.
|
27
|
+
The Clean architechture define that a webframework should only provide an external interface to the web, and nothing more.
|
28
|
+
|
29
|
+
If you use rack-app, one thing is sure.
|
30
|
+
|
31
|
+
You either love it or will be able to remove it from the project even after years of development because,
|
32
|
+
it will not vendor-lock your application business entities and business use cases to this framework.
|
33
|
+
|
34
|
+
And it's totaly fine to us. We don't want everyone to be tied to our solutions, we only want build clean and well designed softwared for the developer happiness.
|
35
|
+
|
27
36
|
## Installation
|
28
37
|
|
29
38
|
Add this line to your application's Gemfile:
|
@@ -77,7 +86,8 @@ Yes, in fact it's already powering heroku hosted micro-services.
|
|
77
86
|
* so you can choose what type of serialization you want without any enforced convention
|
78
87
|
* static file serving so you can mount even filesystem based endpoints too
|
79
88
|
* built in testing module so your app can be easily written with BDD approach
|
80
|
-
* made with
|
89
|
+
* made with minimalism in mind so your app can't rely on the framework when you implement business logic
|
90
|
+
* if you need something, you should implement it without any dependency on a webframework, rack-app only mean to be to provide you with easy to use interface to the web layer, nothing less and nothing more
|
81
91
|
* per endpoint middleware definitions
|
82
92
|
* you can define middleware stack before endpoints and it will only applied to them, similar like protected method workflow
|
83
93
|
* File Upload and file download in a efficient and elegant way with minimal memory consuming
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.7.
|
1
|
+
6.7.1
|
data/bin/rack-app
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.7.
|
4
|
+
version: 6.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|