nesta 0.9.3 → 0.9.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.
- data/CHANGES +7 -0
- data/Gemfile.lock +1 -1
- data/README.md +14 -17
- data/lib/nesta/app.rb +2 -0
- data/lib/nesta/version.rb +1 -1
- data/views/colors.sass +10 -0
- data/views/master.sass +1 -11
- metadata +6 -5
data/CHANGES
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
= 0.9.4 / 18 February 2011
|
|
2
|
+
|
|
3
|
+
* Updated the link colours in the default theme.
|
|
4
|
+
|
|
5
|
+
* Set the default encoding to UTF-8. Without it Heroku would sometimes
|
|
6
|
+
fail to render pages (issue 14).
|
|
7
|
+
|
|
1
8
|
= 0.9.3 / 18 January 2011
|
|
2
9
|
|
|
3
10
|
* The route and view for serving the home page (/) has been removed,
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
# Nesta - a CMS for Ruby Developers
|
|
2
2
|
|
|
3
|
-
A CMS for small web sites and blogs, written in
|
|
4
|
-
[Sinatra](http://www.sinatrarb.com/ "Sinatra").
|
|
3
|
+
A CMS for small web sites and blogs, written in [Sinatra][frank].
|
|
5
4
|
|
|
6
|
-
Content can be written in
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
Content can be written in [Markdown][markdown] or [Textile][textile] and
|
|
6
|
+
stored in text files (though you can also use Haml if you need to add
|
|
7
|
+
some HTML to your pages). There's no database; write your content in
|
|
8
|
+
your editor. Publish by pushing to a git repository.
|
|
9
|
+
|
|
10
|
+
[frank]: http://www.sinatrarb.com/ "Sinatra"
|
|
11
|
+
[markdown]: http://daringfireball.net/projects/markdown/
|
|
12
|
+
[textile]: http://textism.com/tools/textile/
|
|
12
13
|
|
|
13
14
|
## Installation
|
|
14
15
|
|
|
@@ -18,12 +19,7 @@ Begin by installing the gem:
|
|
|
18
19
|
|
|
19
20
|
Then use the `nesta` command to generate a new site:
|
|
20
21
|
|
|
21
|
-
$ nesta new mysite.com
|
|
22
|
-
|
|
23
|
-
If you intend to deploy to Heroku, you'll also want the Heroku rake
|
|
24
|
-
tasks, so run this version instead:
|
|
25
|
-
|
|
26
|
-
$ nesta new --heroku mysite.com
|
|
22
|
+
$ nesta new mysite.com --git
|
|
27
23
|
|
|
28
24
|
Install a few dependencies, and you're away:
|
|
29
25
|
|
|
@@ -40,6 +36,7 @@ shotgun...
|
|
|
40
36
|
$ bundle exec shotgun config.ru
|
|
41
37
|
|
|
42
38
|
...then point your web browser at http://localhost:9393. Start editing
|
|
43
|
-
the files in `content/pages` (see [Creating Your
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
the files in `content/pages` (see [Creating Your Content][content] for
|
|
40
|
+
full instructions).
|
|
41
|
+
|
|
42
|
+
[content]: http://effectif.com/nesta/creating-content
|
data/lib/nesta/app.rb
CHANGED
|
@@ -11,6 +11,8 @@ require File.expand_path('overrides', File.dirname(__FILE__))
|
|
|
11
11
|
require File.expand_path('path', File.dirname(__FILE__))
|
|
12
12
|
require File.expand_path('plugins', File.dirname(__FILE__))
|
|
13
13
|
|
|
14
|
+
Encoding.default_external = 'utf-8' if RUBY_VERSION =~ /^1.9/
|
|
15
|
+
|
|
14
16
|
Nesta::Plugins.load_local_plugins
|
|
15
17
|
|
|
16
18
|
module Nesta
|
data/lib/nesta/version.rb
CHANGED
data/views/colors.sass
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
$base-color: #262631
|
|
2
|
+
$background-color: #fff
|
|
3
|
+
$tint: #EAF4F7
|
|
4
|
+
$border-color: #71ADCE
|
|
5
|
+
$link-color: #006DD1
|
|
6
|
+
$visited-link-color: darken($link-color, 5%)
|
|
7
|
+
$hover-link-color: lighten($link-color, 15%)
|
|
8
|
+
$active-link-color: darken($link-color, 20%)
|
|
9
|
+
$nav-link-color: desaturate(lighten($link-color, 25%), 35%)
|
|
10
|
+
$meta-color: #87877D
|
data/views/master.sass
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
@import "mixins.sass"
|
|
2
|
+
@import "colors.sass"
|
|
2
3
|
|
|
3
4
|
// Variables
|
|
4
5
|
|
|
5
6
|
$content-width: 37em
|
|
6
7
|
|
|
7
|
-
$base-color: #262626
|
|
8
|
-
$background-color: #fff
|
|
9
|
-
$tint: #f1f1f3
|
|
10
|
-
$border-color: #99d
|
|
11
|
-
$link-color: #3F63DA
|
|
12
|
-
$visited-link-color: darken($link-color, 15%)
|
|
13
|
-
$hover-link-color: lighten($link-color, 15%)
|
|
14
|
-
$active-link-color: darken($link-color, 50%)
|
|
15
|
-
$nav-link-color: desaturate($link-color, 55%)
|
|
16
|
-
$meta-color: #999
|
|
17
|
-
|
|
18
8
|
$border-style: 1px dashed $border-color
|
|
19
9
|
|
|
20
10
|
// Reset
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 9
|
|
8
|
-
-
|
|
9
|
-
version: 0.9.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.9.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Graham Ashton
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-02-18 00:00:00 +00:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -230,6 +230,7 @@ files:
|
|
|
230
230
|
- views/analytics.haml
|
|
231
231
|
- views/atom.haml
|
|
232
232
|
- views/categories.haml
|
|
233
|
+
- views/colors.sass
|
|
233
234
|
- views/comments.haml
|
|
234
235
|
- views/error.haml
|
|
235
236
|
- views/feed.haml
|
|
@@ -258,7 +259,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
258
259
|
requirements:
|
|
259
260
|
- - ">="
|
|
260
261
|
- !ruby/object:Gem::Version
|
|
261
|
-
hash:
|
|
262
|
+
hash: 3842425981722162999
|
|
262
263
|
segments:
|
|
263
264
|
- 0
|
|
264
265
|
version: "0"
|
|
@@ -267,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
267
268
|
requirements:
|
|
268
269
|
- - ">="
|
|
269
270
|
- !ruby/object:Gem::Version
|
|
270
|
-
hash:
|
|
271
|
+
hash: 3842425981722162999
|
|
271
272
|
segments:
|
|
272
273
|
- 0
|
|
273
274
|
version: "0"
|