nyara 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/example/design.rb +62 -0
- data/example/fib.rb +15 -0
- data/example/hello.rb +5 -0
- data/example/stream.rb +10 -0
- data/ext/accept.c +133 -0
- data/ext/event.c +89 -0
- data/ext/extconf.rb +34 -0
- data/ext/hashes.c +130 -0
- data/ext/http-parser/AUTHORS +41 -0
- data/ext/http-parser/CONTRIBUTIONS +4 -0
- data/ext/http-parser/LICENSE-MIT +23 -0
- data/ext/http-parser/contrib/parsertrace.c +156 -0
- data/ext/http-parser/contrib/url_parser.c +44 -0
- data/ext/http-parser/http_parser.c +2175 -0
- data/ext/http-parser/http_parser.h +304 -0
- data/ext/http-parser/test.c +3425 -0
- data/ext/http_parser.c +1 -0
- data/ext/inc/epoll.h +60 -0
- data/ext/inc/kqueue.h +77 -0
- data/ext/inc/status_codes.inc +64 -0
- data/ext/inc/str_intern.h +66 -0
- data/ext/inc/version.inc +1 -0
- data/ext/mime.c +107 -0
- data/ext/multipart-parser-c/README.md +18 -0
- data/ext/multipart-parser-c/multipart_parser.c +309 -0
- data/ext/multipart-parser-c/multipart_parser.h +48 -0
- data/ext/multipart_parser.c +1 -0
- data/ext/nyara.c +56 -0
- data/ext/nyara.h +59 -0
- data/ext/request.c +474 -0
- data/ext/route.cc +325 -0
- data/ext/url_encoded.c +304 -0
- data/hello.rb +5 -0
- data/lib/nyara/config.rb +64 -0
- data/lib/nyara/config_hash.rb +51 -0
- data/lib/nyara/controller.rb +336 -0
- data/lib/nyara/cookie.rb +31 -0
- data/lib/nyara/cpu_counter.rb +65 -0
- data/lib/nyara/header_hash.rb +18 -0
- data/lib/nyara/mime_types.rb +612 -0
- data/lib/nyara/nyara.rb +82 -0
- data/lib/nyara/param_hash.rb +5 -0
- data/lib/nyara/request.rb +144 -0
- data/lib/nyara/route.rb +138 -0
- data/lib/nyara/route_entry.rb +43 -0
- data/lib/nyara/session.rb +104 -0
- data/lib/nyara/view.rb +317 -0
- data/lib/nyara.rb +25 -0
- data/nyara.gemspec +20 -0
- data/rakefile +91 -0
- data/readme.md +35 -0
- data/spec/ext_mime_match_spec.rb +27 -0
- data/spec/ext_parse_accept_value_spec.rb +29 -0
- data/spec/ext_parse_spec.rb +138 -0
- data/spec/ext_route_spec.rb +70 -0
- data/spec/hashes_spec.rb +71 -0
- data/spec/path_helper_spec.rb +77 -0
- data/spec/request_delegate_spec.rb +67 -0
- data/spec/request_spec.rb +56 -0
- data/spec/route_entry_spec.rb +12 -0
- data/spec/route_spec.rb +84 -0
- data/spec/session_spec.rb +66 -0
- data/spec/spec_helper.rb +52 -0
- data/spec/view_spec.rb +87 -0
- data/tools/bench-cookie.rb +22 -0
- metadata +111 -0
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nyara
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Zete Lui
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-19 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Fast, slim and fuzzy ruby web framework + server, based on preforked
|
14
|
+
event queue and Fiber. NO rack NOR eventmachine are used.
|
15
|
+
email: nobody@example.com
|
16
|
+
executables: []
|
17
|
+
extensions:
|
18
|
+
- ext/extconf.rb
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- rakefile
|
22
|
+
- nyara.gemspec
|
23
|
+
- readme.md
|
24
|
+
- example/design.rb
|
25
|
+
- example/fib.rb
|
26
|
+
- example/hello.rb
|
27
|
+
- example/stream.rb
|
28
|
+
- ext/extconf.rb
|
29
|
+
- hello.rb
|
30
|
+
- lib/nyara/config.rb
|
31
|
+
- lib/nyara/config_hash.rb
|
32
|
+
- lib/nyara/controller.rb
|
33
|
+
- lib/nyara/cookie.rb
|
34
|
+
- lib/nyara/cpu_counter.rb
|
35
|
+
- lib/nyara/header_hash.rb
|
36
|
+
- lib/nyara/mime_types.rb
|
37
|
+
- lib/nyara/nyara.rb
|
38
|
+
- lib/nyara/param_hash.rb
|
39
|
+
- lib/nyara/request.rb
|
40
|
+
- lib/nyara/route.rb
|
41
|
+
- lib/nyara/route_entry.rb
|
42
|
+
- lib/nyara/session.rb
|
43
|
+
- lib/nyara/view.rb
|
44
|
+
- lib/nyara.rb
|
45
|
+
- spec/ext_mime_match_spec.rb
|
46
|
+
- spec/ext_parse_accept_value_spec.rb
|
47
|
+
- spec/ext_parse_spec.rb
|
48
|
+
- spec/ext_route_spec.rb
|
49
|
+
- spec/hashes_spec.rb
|
50
|
+
- spec/path_helper_spec.rb
|
51
|
+
- spec/request_delegate_spec.rb
|
52
|
+
- spec/request_spec.rb
|
53
|
+
- spec/route_entry_spec.rb
|
54
|
+
- spec/route_spec.rb
|
55
|
+
- spec/session_spec.rb
|
56
|
+
- spec/spec_helper.rb
|
57
|
+
- spec/view_spec.rb
|
58
|
+
- tools/bench-cookie.rb
|
59
|
+
- ext/http-parser/http_parser.h
|
60
|
+
- ext/inc/epoll.h
|
61
|
+
- ext/inc/kqueue.h
|
62
|
+
- ext/inc/str_intern.h
|
63
|
+
- ext/multipart-parser-c/multipart_parser.h
|
64
|
+
- ext/nyara.h
|
65
|
+
- ext/accept.c
|
66
|
+
- ext/event.c
|
67
|
+
- ext/hashes.c
|
68
|
+
- ext/http-parser/contrib/parsertrace.c
|
69
|
+
- ext/http-parser/contrib/url_parser.c
|
70
|
+
- ext/http-parser/http_parser.c
|
71
|
+
- ext/http-parser/test.c
|
72
|
+
- ext/http_parser.c
|
73
|
+
- ext/mime.c
|
74
|
+
- ext/multipart-parser-c/multipart_parser.c
|
75
|
+
- ext/multipart_parser.c
|
76
|
+
- ext/nyara.c
|
77
|
+
- ext/request.c
|
78
|
+
- ext/url_encoded.c
|
79
|
+
- ext/route.cc
|
80
|
+
- ext/inc/status_codes.inc
|
81
|
+
- ext/inc/version.inc
|
82
|
+
- ext/http-parser/AUTHORS
|
83
|
+
- ext/http-parser/CONTRIBUTIONS
|
84
|
+
- ext/http-parser/LICENSE-MIT
|
85
|
+
- ext/multipart-parser-c/README.md
|
86
|
+
homepage: https://github.com/luikore/nyara
|
87
|
+
licenses:
|
88
|
+
- BSD
|
89
|
+
metadata: {}
|
90
|
+
post_install_message:
|
91
|
+
rdoc_options: []
|
92
|
+
require_paths:
|
93
|
+
- lib
|
94
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 2.0.0
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>'
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.3.1
|
104
|
+
requirements: []
|
105
|
+
rubyforge_project:
|
106
|
+
rubygems_version: 2.0.3
|
107
|
+
signing_key:
|
108
|
+
specification_version: 4
|
109
|
+
summary: Fast, slim and fuzzy ruby web framework + server
|
110
|
+
test_files: []
|
111
|
+
has_rdoc: false
|