redrum 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,5 +7,5 @@ require File.expand_path("../redrum/cli", __FILE__)
7
7
  require File.expand_path("../redrum/default_files", __FILE__)
8
8
  require "fileutils"
9
9
 
10
- REDRUM_VERSION = "0.3.3"
10
+ REDRUM_VERSION = "0.3.4"
11
11
 
@@ -3,7 +3,33 @@
3
3
  %head
4
4
  %meta(http-equiv="content-type" content="text/html; charset=utf-8")
5
5
  %link(href="css/default.css" rel="stylesheet" media="screen")
6
- %title redrum::default
6
+ %title Redrum::Default
7
7
  %body
8
-
8
+ #wrapper
9
+ #header
10
+ %h1 Welcome to Redrum!
11
+ %p
12
+ %em A way to quickly produce static websites for the ruby enthusiast!
13
+ #content
14
+ %h2 What's this redrum then?
15
+ %p
16
+ Say, you like to work with haml and use rake for lot's of stuff?
17
+ That's of course great when working with frameworks that use and
18
+ support these tools, like rails. But what about static websites for
19
+ example? Wouldn't it be nice to be able to utilitze haml and rake
20
+ effectively for those kinda projects?
21
+ %em That's where redrum comes in!
22
+ %p
23
+ The purpose of redrum is to make developing static websites easier,
24
+ faster and especially more organized by creating a skeleton project
25
+ for you. You just add your content, run rake and deploy.
26
+ %h2 Workflow
27
+ %h3 The general workflow is as follows:
28
+ %ul
29
+ %li Edit one or more haml files in [project folder]/haml
30
+ %li run rake to translate all haml-files into html-files in [project folder]/public
31
+ %li Deploy by uploading all content from the public folder to your webserver
32
+ #footer
33
+ %p
34
+ %a(href="http://github.com/oem/redrum")redrum on github
9
35
 
@@ -0,0 +1,78 @@
1
+ /* General Styles */
2
+
3
+ body {
4
+ font: 10px Georgia, "Times New Roman", Times, serif;
5
+ color: #444751;
6
+ background-color: #ebebeb;
7
+ padding: 0px;
8
+ margin: 0px;
9
+ }
10
+
11
+ p {
12
+ line-height: 1.5em;
13
+ }
14
+
15
+ em {
16
+ background-color: #d1eadc;
17
+ border: 1px solid rgba(26, 149, 80, 0.2);
18
+ padding: 4px 8px;
19
+ font-style: normal;
20
+ }
21
+
22
+ a {
23
+ color: #009983;
24
+ text-decoration: none;
25
+ border-bottom: dotted 1px #009983;
26
+ padding: 2px 5px;
27
+ }
28
+
29
+ a:hover {
30
+ border:none;
31
+ background-color: #009983;
32
+ color: #ebebeb;
33
+ }
34
+
35
+ ul {
36
+ list-style-type: none;
37
+ padding: 0;
38
+ }
39
+
40
+ #wrapper {
41
+ width: 1000px;
42
+ margin: 0 auto;
43
+ font-size: 1.3em;
44
+ padding: 1em .5em;
45
+ }
46
+
47
+ /* Page Structure */
48
+
49
+ #header {
50
+ border-top: 30px solid #444751;
51
+ border-bottom: 1px solid #b1b2b9;
52
+ margin-top: 1.5em;
53
+ }
54
+
55
+ #header, #content{
56
+ padding-left: 200px;
57
+ padding-right: 30px;
58
+ }
59
+
60
+ #header h1 {
61
+ font-size: 3em;
62
+ }
63
+
64
+ #footer {
65
+ margin: 50px 0 30px;
66
+ padding: 100px 0px 10px;
67
+ background-color: #444751;
68
+ }
69
+
70
+ #footer p {
71
+ padding-left: 20px;
72
+ }
73
+
74
+ #footer a {
75
+ color: #aaa;
76
+ border-bottom: dotted 1px #aaa;
77
+ }
78
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redrum
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - !binary |
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-11-08 00:00:00 +01:00
20
+ date: 2010-11-16 00:00:00 +01:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency