staticmatic 0.8.10 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +49 -0
- data/LICENSE +21 -0
- data/README +5 -27
- data/Rakefile +25 -2
- data/lib/staticmatic.rb +3 -5
- data/lib/staticmatic/base.rb +6 -2
- data/lib/staticmatic/configuration.rb +5 -9
- data/lib/staticmatic/helpers.rb +81 -54
- data/lib/staticmatic/version.rb +34 -0
- data/test/base_test.rb +5 -2
- data/test/helpers_test.rb +220 -27
- data/test/version_test.rb +26 -0
- data/website/site/download.html +84 -78
- data/website/site/faq.html +77 -71
- data/website/site/how_to_use.html +307 -173
- data/website/site/index.html +98 -92
- data/website/site/releases/0_8_10.html +106 -0
- data/website/site/releases/0_8_4.html +101 -95
- data/website/site/releases/0_8_8.html +96 -86
- data/website/site/releases/0_9_0.html +124 -0
- data/website/src/layouts/application.haml +10 -7
- data/website/src/pages/how_to_use.haml +149 -8
- data/website/src/pages/releases/0_8_10.haml +22 -0
- data/website/src/pages/releases/0_8_8.haml +4 -0
- data/website/src/pages/releases/0_9_0.haml +34 -0
- data/website/src/partials/news.haml +8 -6
- metadata +12 -5
@@ -0,0 +1,22 @@
|
|
1
|
+
%h1 StaticMatic 0.8.10
|
2
|
+
|
3
|
+
%h2 What's New
|
4
|
+
|
5
|
+
%ul
|
6
|
+
%li [NEW] rails-like partials. Partials can start with an underscore and live in the pages directory tree, old way still works (Brent Beardsley)
|
7
|
+
%li [NEW] added current_page helper for use in other helpers, layouts, or pages (Brent Beardsley)
|
8
|
+
%li [NEW] add src_dir, site_dir, and current_page attr_reader's on staticmatic class (Brent Beardsley)
|
9
|
+
|
10
|
+
%h2 What's Fixed
|
11
|
+
|
12
|
+
%ul
|
13
|
+
%li [FIX] img helper changes and tests (Jason Tennier)
|
14
|
+
%li [FIX] removed dependency on rails needing to be installed (Brent Beardsley)
|
15
|
+
%li [FIX] fixed preview bug where setting a layout in a page would cause it to be used even for pages that did not have a layout specified and should be using the default (Brent Beardsley)
|
16
|
+
%li [FIX] tag helper only outputs the attribute if it has a value (Brent Beardsley)
|
17
|
+
%li [FIX] renamed RakeFile to Rakefile so it'll work on non-windows boxes (Brent Beardsley)
|
18
|
+
%li [FIX] write tag helper attributes out in alphabetical order for consistency (Brent Beardsley)
|
19
|
+
|
20
|
+
%p
|
21
|
+
See what changed in
|
22
|
+
= link('0.8.8', '/releases/0_8_8.html')
|
@@ -29,3 +29,7 @@ src/configuration.rb:
|
|
29
29
|
configuration.use_relative_paths_for_javascripts = false
|
30
30
|
|
31
31
|
%p The configuration file is also loaded before StaticMatic starts so it can be used to monkey-patch to demonstrate new features.
|
32
|
+
|
33
|
+
%p
|
34
|
+
See what changed in
|
35
|
+
= link '0.8.4', '/releases/0_8_4.html'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
%h1 StaticMatic 0.9.0
|
2
|
+
|
3
|
+
%p
|
4
|
+
The biggest change is that
|
5
|
+
%span.highlight all the "local" links (pages/stylesheets/images) are always relative
|
6
|
+
now that we know the current page. So the
|
7
|
+
use_relative_path_for_* configuration settings were removed.
|
8
|
+
%span.highlight This will cause your configuration.rb to blow up unless you delete them.
|
9
|
+
|
10
|
+
%h2 What's New
|
11
|
+
|
12
|
+
%ul
|
13
|
+
%li added StaticMatic::VERSION.requirements_met?
|
14
|
+
%li added LICENSE and CHANGELOG files
|
15
|
+
%li can now specify relative paths when only specifying a title - link("../other/How to download")
|
16
|
+
%li add src_dir/stylesheets directory to sass load path so you can use @import styles.sass
|
17
|
+
%li added sass_options hash to configuration so you can configure sass (ie: :style => :compact)
|
18
|
+
%li added configuration.use_extensions_for_page_links (defaults to true) when false will strip index.html and .html off the end of links for pretty urls
|
19
|
+
%li made all "local" links (pages/stylesheets/images) relative to the current page and removed use_relative_path_for_* configuration settings
|
20
|
+
%li stylesheets helper can now take a list of stylesheets to include and the order as well as options (ie: :media => :print)
|
21
|
+
%li added clean and clobber tasks to Rakefile
|
22
|
+
%li added StaticMatic::VERSION in version.rb
|
23
|
+
%li added package task to Rakefile and made it the default
|
24
|
+
|
25
|
+
%h2 What's Fixed
|
26
|
+
|
27
|
+
%ul
|
28
|
+
%li clear all instance variables in @scope except @staticmatic
|
29
|
+
%li no longer add \n after the tag in the tag helper
|
30
|
+
%li mailto: links were getting a / inserted at in front of the mailto:
|
31
|
+
|
32
|
+
%p
|
33
|
+
See what changed in
|
34
|
+
= link('0.8.10', '/releases/0_8_10.html')
|
@@ -1,8 +1,10 @@
|
|
1
1
|
.heading News
|
2
|
-
.title 0.
|
3
|
-
%p
|
4
|
-
|
2
|
+
.title 0.9.0 Released!
|
3
|
+
%p Complete with:
|
4
|
+
|
5
5
|
%ul
|
6
|
-
%li
|
7
|
-
%li
|
8
|
-
|
6
|
+
%li "Local" links are always relative
|
7
|
+
%li Ability to strip .html and index.html from link tag urls
|
8
|
+
%li configuration.sass_options
|
9
|
+
|
10
|
+
= link "And More!", "/releases/0_9_0.html"
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.
|
2
|
+
rubygems_version: 0.9.4
|
3
3
|
specification_version: 1
|
4
4
|
name: staticmatic
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date: 2007-10-
|
6
|
+
version: 0.9.0
|
7
|
+
date: 2007-10-16 00:00:00 -06:00
|
8
8
|
summary: Manage static sites using Haml & Sass
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -31,6 +31,7 @@ authors:
|
|
31
31
|
files:
|
32
32
|
- bin
|
33
33
|
- bin/staticmatic
|
34
|
+
- CHANGELOG
|
34
35
|
- example
|
35
36
|
- example/site
|
36
37
|
- example/site/contact.html
|
@@ -58,7 +59,9 @@ files:
|
|
58
59
|
- lib/staticmatic/templates/application.haml
|
59
60
|
- lib/staticmatic/templates/application.sass
|
60
61
|
- lib/staticmatic/templates/index.haml
|
62
|
+
- lib/staticmatic/version.rb
|
61
63
|
- lib/staticmatic.rb
|
64
|
+
- LICENSE
|
62
65
|
- Rakefile
|
63
66
|
- README
|
64
67
|
- test
|
@@ -91,6 +94,7 @@ files:
|
|
91
94
|
- test/server_test.rb
|
92
95
|
- test/test_helper.rb
|
93
96
|
- test/test_helper_test.rb
|
97
|
+
- test/version_test.rb
|
94
98
|
- website
|
95
99
|
- website/site
|
96
100
|
- website/site/download.html
|
@@ -103,10 +107,11 @@ files:
|
|
103
107
|
- website/site/images/homepage-previewing.jpg
|
104
108
|
- website/site/images/homepage-templating.jpg
|
105
109
|
- website/site/index.html
|
106
|
-
- website/site/javascripts
|
107
110
|
- website/site/releases
|
111
|
+
- website/site/releases/0_8_10.html
|
108
112
|
- website/site/releases/0_8_4.html
|
109
113
|
- website/site/releases/0_8_8.html
|
114
|
+
- website/site/releases/0_9_0.html
|
110
115
|
- website/site/stylesheets
|
111
116
|
- website/site/stylesheets/application.css
|
112
117
|
- website/src
|
@@ -121,16 +126,18 @@ files:
|
|
121
126
|
- website/src/pages/how_to_use.haml
|
122
127
|
- website/src/pages/index.haml
|
123
128
|
- website/src/pages/releases
|
129
|
+
- website/src/pages/releases/0_8_10.haml
|
124
130
|
- website/src/pages/releases/0_8_4.haml
|
125
131
|
- website/src/pages/releases/0_8_8.haml
|
132
|
+
- website/src/pages/releases/0_9_0.haml
|
126
133
|
- website/src/partials
|
127
134
|
- website/src/partials/news.haml
|
128
|
-
- website/src/stylesheets
|
129
135
|
test_files:
|
130
136
|
- test/base_test.rb
|
131
137
|
- test/helpers_test.rb
|
132
138
|
- test/server_test.rb
|
133
139
|
- test/test_helper_test.rb
|
140
|
+
- test/version_test.rb
|
134
141
|
rdoc_options: []
|
135
142
|
|
136
143
|
extra_rdoc_files: []
|