chaplin 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/sample_project/app.yml +22 -0
- data/sample_project/chaplin_config.yml +1 -0
- data/sample_project/templates/404.html +1 -0
- data/sample_project/templates/about.html +2 -0
- data/sample_project/templates/index.html +20 -0
- data/sample_project/templates/layout.html +11 -0
- metadata +7 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f41fef52c31f3690eb520d51590e653a12ecd33
|
4
|
+
data.tar.gz: 4ac00371936a73d8812dbbe7d388f3c7b6bb9302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4469afbbfe197c757832979dcf680428031176c8fbc5e3c936efe8a40740d68d983f97c071b01f2ef260458a87123353e9725683d30a64df46e3d26f0e14812
|
7
|
+
data.tar.gz: 42ea23cd45506bf692f055e4b006655346b4d00cdeb90383cbde6b9cf097be66e6391941332cb2f6674b5bf1830a00a5ecf243e0210e66730fcb8e76edccc2f1
|
@@ -0,0 +1,22 @@
|
|
1
|
+
layout: layout.html
|
2
|
+
|
3
|
+
404: 404.html
|
4
|
+
|
5
|
+
routes:
|
6
|
+
GET /: index.html
|
7
|
+
GET /about: about.html
|
8
|
+
GET /redirect_to_about: redirect go_to_about_page
|
9
|
+
|
10
|
+
|
11
|
+
pages:
|
12
|
+
|
13
|
+
about.html:
|
14
|
+
repo: GET repos/victormours/chaplin
|
15
|
+
|
16
|
+
|
17
|
+
redirects:
|
18
|
+
|
19
|
+
go_to_about_page:
|
20
|
+
path: /about
|
21
|
+
requests: {}
|
22
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
api_url: https://api.github.com/
|
@@ -0,0 +1 @@
|
|
1
|
+
This page could not be found.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<h1>Welcome to Chaplin</h1>
|
2
|
+
|
3
|
+
|
4
|
+
<p>
|
5
|
+
Congratulations on getting your first Chaplin app running!
|
6
|
+
</p>
|
7
|
+
|
8
|
+
<p>
|
9
|
+
You can start hacking by editing the HTML files in the templates directory, reloading them and seeing what happens.
|
10
|
+
</p>
|
11
|
+
|
12
|
+
<p>
|
13
|
+
Once you've had some fun with that, create a new page by adding a file in the template directory and adding a route in app.yml
|
14
|
+
</p>
|
15
|
+
|
16
|
+
|
17
|
+
<p>
|
18
|
+
Check out some examples
|
19
|
+
</p>
|
20
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Welcome to Chaplin!</title>
|
6
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.5.1/css/foundation.min.css" />
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
{{{ content }}}
|
10
|
+
</body>
|
11
|
+
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chaplin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Mours
|
@@ -244,6 +244,12 @@ files:
|
|
244
244
|
- lib/chaplin/responses/page.rb
|
245
245
|
- lib/chaplin/responses/redirect.rb
|
246
246
|
- lib/chaplin/server.rb
|
247
|
+
- sample_project/app.yml
|
248
|
+
- sample_project/chaplin_config.yml
|
249
|
+
- sample_project/templates/404.html
|
250
|
+
- sample_project/templates/about.html
|
251
|
+
- sample_project/templates/index.html
|
252
|
+
- sample_project/templates/layout.html
|
247
253
|
homepage:
|
248
254
|
licenses:
|
249
255
|
- MIT
|