nekonote-framework 1.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +49 -0
- data/bin/nekonote +45 -0
- data/data/structure/Gemfile +25 -0
- data/data/structure/config.ru +14 -0
- data/data/structure/handler/base.rb +21 -0
- data/data/structure/handler/error.rb +35 -0
- data/data/structure/handler/welcome.rb +11 -0
- data/data/structure/lib/.gitkeep +0 -0
- data/data/structure/preference/development/logger.yml +62 -0
- data/data/structure/preference/development/middlewares.rb +152 -0
- data/data/structure/preference/development/public.yml +29 -0
- data/data/structure/preference/development/route.yml +30 -0
- data/data/structure/preference/development/route_error.yml +28 -0
- data/data/structure/preference/development/route_include.yml +22 -0
- data/data/structure/preference/development/server/puma.rb +63 -0
- data/data/structure/preference/development/setting/example.yml +40 -0
- data/data/structure/preference/development/setting/site.yml +3 -0
- data/data/structure/preference/development/setting/welcome.yml +7 -0
- data/data/structure/public/css/layout/common.css +11 -0
- data/data/structure/public/css/layout/default.css +3 -0
- data/data/structure/public/css/layout/error.css +3 -0
- data/data/structure/public/css/welcome.css +47 -0
- data/data/structure/public/favicon.ico +0 -0
- data/data/structure/public/img/.gitkeep +0 -0
- data/data/structure/public/img/logo.png +0 -0
- data/data/structure/public/js/.gitkeep +0 -0
- data/data/structure/static/layout/default.tpl +19 -0
- data/data/structure/static/layout/error.tpl +15 -0
- data/data/structure/static/sass/welcome.scss +52 -0
- data/data/structure/static/template/error.tpl +4 -0
- data/data/structure/static/template/welcome/index.tpl +26 -0
- data/data/structure/tmp/pids/.gitkeep +0 -0
- data/lib/loader.rb +83 -0
- data/lib/nekonote.rb +9 -0
- data/lib/nekonote/cli.rb +702 -0
- data/lib/nekonote/cmd_parser.rb +55 -0
- data/lib/nekonote/core.rb +116 -0
- data/lib/nekonote/env.rb +56 -0
- data/lib/nekonote/exception/cli_error.rb +34 -0
- data/lib/nekonote/exception/error.rb +75 -0
- data/lib/nekonote/exception/handler_error.rb +5 -0
- data/lib/nekonote/exception/logger_error.rb +8 -0
- data/lib/nekonote/exception/page_cache_error.rb +6 -0
- data/lib/nekonote/exception/preference_error.rb +11 -0
- data/lib/nekonote/exception/view_error.rb +7 -0
- data/lib/nekonote/handler.rb +274 -0
- data/lib/nekonote/handler/protected_methods.rb +119 -0
- data/lib/nekonote/liquid/tag_env_get.rb +12 -0
- data/lib/nekonote/liquid/tag_setting_get.rb +12 -0
- data/lib/nekonote/logger.rb +135 -0
- data/lib/nekonote/page_cache.rb +111 -0
- data/lib/nekonote/preference.rb +215 -0
- data/lib/nekonote/puma.rb +131 -0
- data/lib/nekonote/rack/rack_static.rb +17 -0
- data/lib/nekonote/rack/rack_static_file.rb +19 -0
- data/lib/nekonote/rack/url_mapper.rb +193 -0
- data/lib/nekonote/rackup.rb +319 -0
- data/lib/nekonote/request.rb +295 -0
- data/lib/nekonote/setting.rb +59 -0
- data/lib/nekonote/spec.rb +22 -0
- data/lib/nekonote/util/filer.rb +69 -0
- data/lib/nekonote/util/process.rb +43 -0
- data/lib/nekonote/view.rb +398 -0
- data/lib/nekonote/yaml_access.rb +60 -0
- metadata +144 -0
metadata
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nekonote-framework
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.pre.beta
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- khotta
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-10-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: color_echo
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.1'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.1.1
|
33
|
+
description: Nekonote Framework is a small web application framework that helps your
|
34
|
+
web development.
|
35
|
+
email:
|
36
|
+
- khotta116@gmail.com
|
37
|
+
executables:
|
38
|
+
- nekonote
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- LICENSE
|
43
|
+
- README.md
|
44
|
+
- bin/nekonote
|
45
|
+
- data/structure/Gemfile
|
46
|
+
- data/structure/config.ru
|
47
|
+
- data/structure/handler/base.rb
|
48
|
+
- data/structure/handler/error.rb
|
49
|
+
- data/structure/handler/welcome.rb
|
50
|
+
- data/structure/lib/.gitkeep
|
51
|
+
- data/structure/preference/development/logger.yml
|
52
|
+
- data/structure/preference/development/middlewares.rb
|
53
|
+
- data/structure/preference/development/public.yml
|
54
|
+
- data/structure/preference/development/route.yml
|
55
|
+
- data/structure/preference/development/route_error.yml
|
56
|
+
- data/structure/preference/development/route_include.yml
|
57
|
+
- data/structure/preference/development/server/puma.rb
|
58
|
+
- data/structure/preference/development/setting/example.yml
|
59
|
+
- data/structure/preference/development/setting/site.yml
|
60
|
+
- data/structure/preference/development/setting/welcome.yml
|
61
|
+
- data/structure/public/css/layout/common.css
|
62
|
+
- data/structure/public/css/layout/default.css
|
63
|
+
- data/structure/public/css/layout/error.css
|
64
|
+
- data/structure/public/css/welcome.css
|
65
|
+
- data/structure/public/favicon.ico
|
66
|
+
- data/structure/public/img/.gitkeep
|
67
|
+
- data/structure/public/img/logo.png
|
68
|
+
- data/structure/public/js/.gitkeep
|
69
|
+
- data/structure/static/layout/default.tpl
|
70
|
+
- data/structure/static/layout/error.tpl
|
71
|
+
- data/structure/static/sass/welcome.scss
|
72
|
+
- data/structure/static/template/error.tpl
|
73
|
+
- data/structure/static/template/welcome/index.tpl
|
74
|
+
- data/structure/tmp/pids/.gitkeep
|
75
|
+
- lib/loader.rb
|
76
|
+
- lib/nekonote.rb
|
77
|
+
- lib/nekonote/cli.rb
|
78
|
+
- lib/nekonote/cmd_parser.rb
|
79
|
+
- lib/nekonote/core.rb
|
80
|
+
- lib/nekonote/env.rb
|
81
|
+
- lib/nekonote/exception/cli_error.rb
|
82
|
+
- lib/nekonote/exception/error.rb
|
83
|
+
- lib/nekonote/exception/handler_error.rb
|
84
|
+
- lib/nekonote/exception/logger_error.rb
|
85
|
+
- lib/nekonote/exception/page_cache_error.rb
|
86
|
+
- lib/nekonote/exception/preference_error.rb
|
87
|
+
- lib/nekonote/exception/view_error.rb
|
88
|
+
- lib/nekonote/handler.rb
|
89
|
+
- lib/nekonote/handler/protected_methods.rb
|
90
|
+
- lib/nekonote/liquid/tag_env_get.rb
|
91
|
+
- lib/nekonote/liquid/tag_setting_get.rb
|
92
|
+
- lib/nekonote/logger.rb
|
93
|
+
- lib/nekonote/page_cache.rb
|
94
|
+
- lib/nekonote/preference.rb
|
95
|
+
- lib/nekonote/puma.rb
|
96
|
+
- lib/nekonote/rack/rack_static.rb
|
97
|
+
- lib/nekonote/rack/rack_static_file.rb
|
98
|
+
- lib/nekonote/rack/url_mapper.rb
|
99
|
+
- lib/nekonote/rackup.rb
|
100
|
+
- lib/nekonote/request.rb
|
101
|
+
- lib/nekonote/setting.rb
|
102
|
+
- lib/nekonote/spec.rb
|
103
|
+
- lib/nekonote/util/filer.rb
|
104
|
+
- lib/nekonote/util/process.rb
|
105
|
+
- lib/nekonote/view.rb
|
106
|
+
- lib/nekonote/yaml_access.rb
|
107
|
+
homepage: https://nekonote-framework.github.io
|
108
|
+
licenses:
|
109
|
+
- MIT
|
110
|
+
metadata: {}
|
111
|
+
post_install_message: |2+
|
112
|
+
|
113
|
+
.*・゜゚・*:.。..。.:・Thanks installing Nekonote Framework .*・゜゚・*:.。..。.:*・
|
114
|
+
|
115
|
+
^___^
|
116
|
+
(=^x^=) < meow meow
|
117
|
+
/ ) !
|
118
|
+
. ~~( h h . . . . . . =(**=)~~
|
119
|
+
|
120
|
+
Note:
|
121
|
+
Installing dependent libraries is not completed yet.
|
122
|
+
After generating an application structure by 'nekonote new app some_app_name', you are supposed to get a Gemfile to install the dependencies.
|
123
|
+
Please install the dependent libraries from the Gemfile by Bundler.
|
124
|
+
|
125
|
+
rdoc_options: []
|
126
|
+
require_paths:
|
127
|
+
- lib
|
128
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 2.3.0
|
133
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 1.3.1
|
138
|
+
requirements: []
|
139
|
+
rubyforge_project:
|
140
|
+
rubygems_version: 2.6.11
|
141
|
+
signing_key:
|
142
|
+
specification_version: 4
|
143
|
+
summary: Simple and Lightweight Ruby Framework for Web Development
|
144
|
+
test_files: []
|