staticmatic 0.9.5 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Manifest.txt +24 -0
- data/README.rdoc +48 -0
- data/Rakefile +22 -27
- data/bin/staticmatic +0 -0
- data/lib/staticmatic.rb +12 -4
- data/lib/staticmatic/base.rb +30 -242
- data/lib/staticmatic/mixins/build.rb +46 -0
- data/lib/staticmatic/mixins/helpers.rb +15 -0
- data/lib/staticmatic/mixins/render.rb +125 -0
- data/lib/staticmatic/mixins/rescue.rb +12 -0
- data/lib/staticmatic/mixins/server.rb +6 -0
- data/lib/staticmatic/mixins/setup.rb +20 -0
- data/lib/staticmatic/template_error.rb +40 -0
- data/lib/staticmatic/templates/{application.haml → default/application.haml} +0 -0
- data/lib/staticmatic/templates/{application.sass → default/application.sass} +0 -0
- data/lib/staticmatic/templates/{index.haml → default/index.haml} +0 -0
- data/lib/staticmatic/templates/rescues/default.haml +7 -0
- data/lib/staticmatic/templates/rescues/template.haml +18 -0
- data/test/test_helper.rb +20 -48
- metadata +55 -124
- data/CHANGELOG +0 -57
- data/LICENSE +0 -21
- data/README +0 -56
- data/example/site/contact.html +0 -17
- data/example/site/index.html +0 -16
- data/example/site/javascripts/application.css +0 -2
- data/example/src/layouts/application.haml +0 -11
- data/example/src/pages/contact.haml +0 -3
- data/example/src/pages/index.haml +0 -3
- data/example/src/pages/test test/blah.haml +0 -1
- data/example/src/stylesheets/application.sass +0 -4
- data/lib/staticmatic/version.rb +0 -34
- data/test/base_test.rb +0 -60
- data/test/helpers_test.rb +0 -296
- data/test/sandbox/test_site/configuration.rb +0 -0
- data/test/sandbox/test_site/site/index.html +0 -10
- data/test/sandbox/test_site/site/stylesheets/application.css +0 -2
- data/test/sandbox/test_site/src/helpers/application_helper.rb +0 -5
- data/test/sandbox/test_site/src/layouts/alternate_layout.haml +0 -3
- data/test/sandbox/test_site/src/layouts/application.haml +0 -7
- data/test/sandbox/test_site/src/layouts/projects.haml +0 -1
- data/test/sandbox/test_site/src/pages/index.haml +0 -5
- data/test/sandbox/test_site/src/pages/layout_test.haml +0 -2
- data/test/sandbox/test_site/src/partials/menu.haml +0 -1
- data/test/sandbox/test_site/src/stylesheets/application.sass +0 -2
- data/test/server_test.rb +0 -12
- data/test/test_helper_test.rb +0 -49
- data/test/version_test.rb +0 -28
- data/website/site/download.html +0 -84
- data/website/site/faq.html +0 -101
- data/website/site/helper_central/index.html +0 -144
- data/website/site/how_to_use.html +0 -307
- data/website/site/images/bycurve21.gif +0 -0
- data/website/site/images/curve21.jpg +0 -0
- data/website/site/images/homepage-build.jpg +0 -0
- data/website/site/images/homepage-previewing.jpg +0 -0
- data/website/site/images/homepage-templating.jpg +0 -0
- data/website/site/index.html +0 -98
- data/website/site/releases/0_8_10.html +0 -106
- data/website/site/releases/0_8_4.html +0 -101
- data/website/site/releases/0_8_8.html +0 -96
- data/website/site/releases/0_9_0.html +0 -124
- data/website/site/stylesheets/application.css +0 -287
- data/website/src/helpers/application_helper.rb +0 -5
- data/website/src/layouts/application.haml +0 -43
- data/website/src/layouts/test.haml +0 -4
- data/website/src/pages/_qa.haml +0 -2
- data/website/src/pages/download.haml +0 -15
- data/website/src/pages/faq.haml +0 -8
- data/website/src/pages/helper_central/_helper.haml +0 -7
- data/website/src/pages/helper_central/index.haml +0 -21
- data/website/src/pages/how_to_use.haml +0 -270
- data/website/src/pages/index.haml +0 -27
- data/website/src/pages/releases/0_8_10.haml +0 -22
- data/website/src/pages/releases/0_8_4.haml +0 -25
- data/website/src/pages/releases/0_8_8.haml +0 -35
- data/website/src/pages/releases/0_9_0.haml +0 -34
- data/website/src/partials/news.haml +0 -10
File without changes
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>StaticMatic</title>
|
5
|
-
<link rel="stylesheet" href="stylesheets/application.css" media="all"/>
|
6
|
-
</head>
|
7
|
-
<body>
|
8
|
-
<h1>StaticMatic!</h1>
|
9
|
-
</body>
|
10
|
-
</html>
|
@@ -1 +0,0 @@
|
|
1
|
-
%h1 Sub dir test
|
@@ -1 +0,0 @@
|
|
1
|
-
My Menu
|
data/test/server_test.rb
DELETED
data/test/test_helper_test.rb
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require File.dirname(__FILE__) + '/../lib/staticmatic'
|
3
|
-
require File.dirname(__FILE__) + '/test_helper'
|
4
|
-
|
5
|
-
class TestHelperTest < Test::Unit::TestCase
|
6
|
-
include StaticMatic::Helpers
|
7
|
-
|
8
|
-
def test_should_split_html_tag
|
9
|
-
tags_to_test = [ {:name => 'br', :attributes => {} },
|
10
|
-
{:name => 'img', :attributes => {'src' => 'images/testImage.gif', 'alt' => 'Test Image'} },
|
11
|
-
{:name => 'textarea', :attributes => {'rows' => '10', 'cols' => '40'}, :content => 'Test data in here' },
|
12
|
-
{:name => 'a', :attributes => {'href' => '/test.html',
|
13
|
-
'onclick' => "doStuff('text'); function {}; if 2 > 1 then return false;"},
|
14
|
-
:content => 'Link to nowhere'}]
|
15
|
-
|
16
|
-
tags_to_test.each do |tag_parts|
|
17
|
-
if !tag_parts[:content]
|
18
|
-
tag_text = tag(tag_parts[:name], tag_parts[:attributes])
|
19
|
-
else
|
20
|
-
tag_text = tag(tag_parts[:name], tag_parts[:attributes]) { tag_parts[:content] }
|
21
|
-
end
|
22
|
-
split_tag = split_html_tag(tag_text)
|
23
|
-
assert_equal(tag_parts[:name], split_tag[:name])
|
24
|
-
assert_equal(tag_parts[:options], split_tag[:options])
|
25
|
-
if tag_parts[:contents]
|
26
|
-
assert_equal(tag_parts[:content], split_tag[:content])
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
|
-
def test_should_match_tags
|
32
|
-
original_tags = [%q{<br/>}, %q{<img src="/images/test.gif" alt="Test"/>}, %q{<li class="nav" id="1">Home</li>}]
|
33
|
-
test_tags = [%q{<br>}, %q{<img alt="Test" src="/images/test.gif"/>}, %q{<li id="1" class="nav">Home</li>}]
|
34
|
-
original_tags.each_index do |index|
|
35
|
-
assert_nothing_raised { assert_tags_match(original_tags[index], test_tags[index]) }
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_should_not_match_tags
|
40
|
-
original_tags = [%q{<img src="/images/test.gif" alt="Test"/>}, %q{<li class="nav" id="1">Home</li>}, %q{<li>Home</li>}]
|
41
|
-
test_tags = [%q{<img src="/images/test.gif"/>}, %q{<li id="2" class="nav">Home</li>}, %q{<li>Contact</li>}]
|
42
|
-
original_tags.each_index do |index|
|
43
|
-
assert_raise Test::Unit::AssertionFailedError do
|
44
|
-
assert_tags_match(original_tags[index], test_tags[index])
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
end
|
data/test/version_test.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
require 'test/unit'
|
2
|
-
require File.dirname(__FILE__) + '/../lib/staticmatic'
|
3
|
-
|
4
|
-
class StaticMaticVersionTest < Test::Unit::TestCase
|
5
|
-
def setup
|
6
|
-
@base_dir = File.dirname(__FILE__) + '/sandbox/tmp'
|
7
|
-
end
|
8
|
-
|
9
|
-
def test_version_requirements_met
|
10
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?
|
11
|
-
|
12
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR+1}.0.0")
|
13
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR}.#{StaticMatic::VERSION::MINOR+1}.0")
|
14
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR}.#{StaticMatic::VERSION::MINOR}.#{StaticMatic::VERSION::TINY+1}")
|
15
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR-1}.9999.9999")
|
16
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR}.#{StaticMatic::VERSION::MINOR-1}.9999")
|
17
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR}.#{StaticMatic::VERSION::MINOR}.#{StaticMatic::VERSION::TINY-1}")
|
18
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?("#{StaticMatic::VERSION::MAJOR}.#{StaticMatic::VERSION::MINOR}.#{StaticMatic::VERSION::TINY}")
|
19
|
-
|
20
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR+1)
|
21
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR, :minor => StaticMatic::VERSION::MINOR+1)
|
22
|
-
assert_equal false, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR, :minor => StaticMatic::VERSION::MINOR, :tiny => StaticMatic::VERSION::TINY+1)
|
23
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR-1, :minor => 9999, :tiny => 9999)
|
24
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR, :minor => StaticMatic::VERSION::MINOR-1, :tiny => 9999)
|
25
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR, :minor => StaticMatic::VERSION::MINOR, :tiny => StaticMatic::VERSION::TINY-1)
|
26
|
-
assert_equal true, StaticMatic::VERSION.requirements_met?(:major => StaticMatic::VERSION::MAJOR, :minor => StaticMatic::VERSION::MINOR, :tiny => StaticMatic::VERSION::TINY)
|
27
|
-
end
|
28
|
-
end
|
data/website/site/download.html
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
|
5
|
-
<title>StaticMatic</title>
|
6
|
-
<link href="stylesheets/application.css" media="all" rel="stylesheet"/>
|
7
|
-
<link href="stylesheets/application.css" media="screen" rel="stylesheet"/>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
<div id='container'>
|
11
|
-
<div id='header'>
|
12
|
-
<div class='bycurve21'>
|
13
|
-
<a href="http://www.curve21.com"><img alt="Bycurve21" src="images/bycurve21.gif"/></a>
|
14
|
-
</div>
|
15
|
-
<div class='title'>StaticMatic</div>
|
16
|
-
</div>
|
17
|
-
<div id='menu'>
|
18
|
-
<ul>
|
19
|
-
<li><a href="/">Home</a></li>
|
20
|
-
<li><a href="download.html">Download</a></li>
|
21
|
-
<li><a href="how_to_use.html">How to use</a></li>
|
22
|
-
<li><a href="faq.html">FAQ</a></li>
|
23
|
-
<li>
|
24
|
-
<a href="http://groups.google.co.uk/group/staticmatic">Community</a>
|
25
|
-
</li>
|
26
|
-
<li><a href="helper_central/">Helper Central</a></li>
|
27
|
-
<li>
|
28
|
-
<a href="http://rubyforge.org/projects/staticmatic">Development</a>
|
29
|
-
</li>
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
<div id='content_wrapper'>
|
33
|
-
<div id='side'>
|
34
|
-
<div id='news'>
|
35
|
-
<div class='heading'>News</div>
|
36
|
-
<div class='title'>0.9.0 Released!</div>
|
37
|
-
<p>Complete with:</p>
|
38
|
-
<ul>
|
39
|
-
<li>
|
40
|
-
"Local" generated links are relative - no more use_relative_path_for_* configuration settings
|
41
|
-
</li>
|
42
|
-
<li>
|
43
|
-
Ability to strip .html and index.html from link tag urls
|
44
|
-
</li>
|
45
|
-
<li>configuration.sass_options</li>
|
46
|
-
</ul>
|
47
|
-
<a href="/releases/0_9_0.html">And More!</a>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
<div id='content'>
|
51
|
-
<h1>Download</h1>
|
52
|
-
<p>
|
53
|
-
The simplest way to get StaticMatic is via RubyGems:
|
54
|
-
</p>
|
55
|
-
<div class='code'>gem install staticmatic</div>
|
56
|
-
<h3>Source Code</h3>
|
57
|
-
<p>
|
58
|
-
You can get the source code from
|
59
|
-
<a href="http://rubyforge.org/projects/staticmatic/">RubyForge</a>
|
60
|
-
:
|
61
|
-
</p>
|
62
|
-
<div class='code'>
|
63
|
-
svn checkout svn://rubyforge.org/var/svn/staticmatic/trunk staticmatic
|
64
|
-
</div>
|
65
|
-
</div>
|
66
|
-
</div>
|
67
|
-
<div id='footer'>
|
68
|
-
<p>
|
69
|
-
Made with StaticMatic
|
70
|
-
0.9.0
|
71
|
-
, Hosted by
|
72
|
-
<a href="http://rubyforge.org">RubyForge</a>
|
73
|
-
</p>
|
74
|
-
</div>
|
75
|
-
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'>
|
76
|
-
_hamlspace = "";
|
77
|
-
</script>
|
78
|
-
<script type='text/javascript'>
|
79
|
-
_uacct = "UA-775359-8";
|
80
|
-
urchinTracker();
|
81
|
-
</script>
|
82
|
-
</div>
|
83
|
-
</body>
|
84
|
-
</html>
|
data/website/site/faq.html
DELETED
@@ -1,101 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
|
5
|
-
<title>StaticMatic</title>
|
6
|
-
<link href="stylesheets/application.css" media="all" rel="stylesheet"/>
|
7
|
-
<link href="stylesheets/application.css" media="screen" rel="stylesheet"/>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
<div id='container'>
|
11
|
-
<div id='header'>
|
12
|
-
<div class='bycurve21'>
|
13
|
-
<a href="http://www.curve21.com"><img alt="Bycurve21" src="images/bycurve21.gif"/></a>
|
14
|
-
</div>
|
15
|
-
<div class='title'>StaticMatic</div>
|
16
|
-
</div>
|
17
|
-
<div id='menu'>
|
18
|
-
<ul>
|
19
|
-
<li><a href="/">Home</a></li>
|
20
|
-
<li><a href="download.html">Download</a></li>
|
21
|
-
<li><a href="how_to_use.html">How to use</a></li>
|
22
|
-
<li><a href="faq.html">FAQ</a></li>
|
23
|
-
<li>
|
24
|
-
<a href="http://groups.google.co.uk/group/staticmatic">Community</a>
|
25
|
-
</li>
|
26
|
-
<li><a href="helper_central/">Helper Central</a></li>
|
27
|
-
<li>
|
28
|
-
<a href="http://rubyforge.org/projects/staticmatic">Development</a>
|
29
|
-
</li>
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
<div id='content_wrapper'>
|
33
|
-
<div id='side'>
|
34
|
-
<div id='news'>
|
35
|
-
<div class='heading'>News</div>
|
36
|
-
<div class='title'>0.9.0 Released!</div>
|
37
|
-
<p>Complete with:</p>
|
38
|
-
<ul>
|
39
|
-
<li>
|
40
|
-
"Local" generated links are relative - no more use_relative_path_for_* configuration settings
|
41
|
-
</li>
|
42
|
-
<li>
|
43
|
-
Ability to strip .html and index.html from link tag urls
|
44
|
-
</li>
|
45
|
-
<li>configuration.sass_options</li>
|
46
|
-
</ul>
|
47
|
-
<a href="/releases/0_9_0.html">And More!</a>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
<div id='content'>
|
51
|
-
<h1>FAQ</h1>
|
52
|
-
<h3>
|
53
|
-
I hate Haml. Can I use a different template language?
|
54
|
-
</h3>
|
55
|
-
<p>
|
56
|
-
No. At least not at the moment. Haml is perfect for our needs so we've had no reason to investigate using other languages. However, StaticMatic is open source so patches are always welcome.
|
57
|
-
</p>
|
58
|
-
<h3>I found a bug. How do I report it?</h3>
|
59
|
-
<p>
|
60
|
-
At the StaticMatic <a href="http://rubyforge.org/tracker/?func=browse&group_id=3712&atid=14306">Bug Tracker</a>.
|
61
|
-
</p>
|
62
|
-
<h3>I'd like a new feature. How do I request it?</h3>
|
63
|
-
<p>
|
64
|
-
At the StaticMatic <a href="http://rubyforge.org/tracker/?atid=14309&group_id=3712&func=browse">Feature Request Tracker</a>.
|
65
|
-
</p>
|
66
|
-
<h3>I've got a patch for you. How do I submit it?</h3>
|
67
|
-
<p>
|
68
|
-
At the StaticMatic <a href="http://rubyforge.org/tracker/?atid=14308&group_id=3712&func=browse">Patch Tracker</a>.
|
69
|
-
</p>
|
70
|
-
<h3>
|
71
|
-
How do I find neat helpers that other developers have written?
|
72
|
-
</h3>
|
73
|
-
<p>
|
74
|
-
Go to the StaticMatic <a href="helper_central/">Helper Central</a>.
|
75
|
-
</p>
|
76
|
-
<h3>
|
77
|
-
I've got a neat helper to share with the world. How do I do it?
|
78
|
-
</h3>
|
79
|
-
<p>
|
80
|
-
Post on the <a href="http://groups.google.co.uk/group/staticmatic">StaticMatic Google Group</a> requesting it be added to the StaticMatic <a href="helper_central/">Helper Central</a>.
|
81
|
-
</p>
|
82
|
-
</div>
|
83
|
-
</div>
|
84
|
-
<div id='footer'>
|
85
|
-
<p>
|
86
|
-
Made with StaticMatic
|
87
|
-
0.9.0
|
88
|
-
, Hosted by
|
89
|
-
<a href="http://rubyforge.org">RubyForge</a>
|
90
|
-
</p>
|
91
|
-
</div>
|
92
|
-
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'>
|
93
|
-
_hamlspace = "";
|
94
|
-
</script>
|
95
|
-
<script type='text/javascript'>
|
96
|
-
_uacct = "UA-775359-8";
|
97
|
-
urchinTracker();
|
98
|
-
</script>
|
99
|
-
</div>
|
100
|
-
</body>
|
101
|
-
</html>
|
@@ -1,144 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
3
|
-
<head>
|
4
|
-
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
|
5
|
-
<title>StaticMatic</title>
|
6
|
-
<link href="../stylesheets/application.css" media="all" rel="stylesheet"/>
|
7
|
-
<link href="../stylesheets/application.css" media="screen" rel="stylesheet"/>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
<div id='container'>
|
11
|
-
<div id='header'>
|
12
|
-
<div class='bycurve21'>
|
13
|
-
<a href="http://www.curve21.com"><img alt="Bycurve21" src="../images/bycurve21.gif"/></a>
|
14
|
-
</div>
|
15
|
-
<div class='title'>StaticMatic</div>
|
16
|
-
</div>
|
17
|
-
<div id='menu'>
|
18
|
-
<ul>
|
19
|
-
<li><a href="/">Home</a></li>
|
20
|
-
<li><a href="../download.html">Download</a></li>
|
21
|
-
<li><a href="../how_to_use.html">How to use</a></li>
|
22
|
-
<li><a href="../faq.html">FAQ</a></li>
|
23
|
-
<li>
|
24
|
-
<a href="http://groups.google.co.uk/group/staticmatic">Community</a>
|
25
|
-
</li>
|
26
|
-
<li><a href="../helper_central/">Helper Central</a></li>
|
27
|
-
<li>
|
28
|
-
<a href="http://rubyforge.org/projects/staticmatic">Development</a>
|
29
|
-
</li>
|
30
|
-
</ul>
|
31
|
-
</div>
|
32
|
-
<div id='content_wrapper'>
|
33
|
-
<div id='side'>
|
34
|
-
<div id='news'>
|
35
|
-
<div class='heading'>News</div>
|
36
|
-
<div class='title'>0.9.0 Released!</div>
|
37
|
-
<p>Complete with:</p>
|
38
|
-
<ul>
|
39
|
-
<li>
|
40
|
-
"Local" generated links are relative - no more use_relative_path_for_* configuration settings
|
41
|
-
</li>
|
42
|
-
<li>
|
43
|
-
Ability to strip .html and index.html from link tag urls
|
44
|
-
</li>
|
45
|
-
<li>configuration.sass_options</li>
|
46
|
-
</ul>
|
47
|
-
<a href="/releases/0_9_0.html">And More!</a>
|
48
|
-
</div>
|
49
|
-
</div>
|
50
|
-
<div id='content'>
|
51
|
-
<h1>Helper Central</h1>
|
52
|
-
<p>
|
53
|
-
This is a place where nifty helpers not accepted into core can be found.
|
54
|
-
<span class='highlight'>
|
55
|
-
Use them at your own risk. StaticMatic core developers are not responsible for these helpers or their results.
|
56
|
-
</span>
|
57
|
-
<br />
|
58
|
-
<br />
|
59
|
-
Helpers are listed in alphabetical order.
|
60
|
-
</p>
|
61
|
-
<table border='0'>
|
62
|
-
<tr>
|
63
|
-
<th>Name</th>
|
64
|
-
<th>Description</th>
|
65
|
-
<th>Author</th>
|
66
|
-
<th>Download</th>
|
67
|
-
</tr>
|
68
|
-
<tr valign='top'>
|
69
|
-
<td>
|
70
|
-
<strong>Blueprint Css</strong>
|
71
|
-
</td>
|
72
|
-
<td>
|
73
|
-
Easily include blueprint css framework files and plugins
|
74
|
-
</td>
|
75
|
-
<td>Brent Beardsley</td>
|
76
|
-
<td>
|
77
|
-
<a class="download" href="http://staticmatic.rubyforge.org/svn/trunk/contrib/helpers/blueprintcss_helper.rb" id="blueprintcss_helper">Download</a>
|
78
|
-
</td>
|
79
|
-
</tr>
|
80
|
-
<tr valign='top'>
|
81
|
-
<td>
|
82
|
-
<strong>Google Analytics</strong>
|
83
|
-
</td>
|
84
|
-
<td>
|
85
|
-
Easily include google analytics javascript code using http or https
|
86
|
-
</td>
|
87
|
-
<td>Brent Beardsley</td>
|
88
|
-
<td>
|
89
|
-
<a class="download" href="http://staticmatic.rubyforge.org/svn/trunk/contrib/helpers/google_analytics_helper.rb" id="google_analytics_helper">Download</a>
|
90
|
-
</td>
|
91
|
-
</tr>
|
92
|
-
<tr valign='top'>
|
93
|
-
<td>
|
94
|
-
<strong>Menubar</strong>
|
95
|
-
</td>
|
96
|
-
<td>Easily create a menubar using an unordered list</td>
|
97
|
-
<td>Brent Beardsley</td>
|
98
|
-
<td>
|
99
|
-
<a class="download" href="http://staticmatic.rubyforge.org/svn/trunk/contrib/helpers/menubar_helper.rb" id="menubar_helper">Download</a>
|
100
|
-
</td>
|
101
|
-
</tr>
|
102
|
-
<tr valign='top'>
|
103
|
-
<td>
|
104
|
-
<strong>Navigation</strong>
|
105
|
-
</td>
|
106
|
-
<td>Easily create breadcrumbs, sitemaps, and menus.</td>
|
107
|
-
<td>Andrew Neil</td>
|
108
|
-
<td>
|
109
|
-
<a class="download" href="http://staticmatic.rubyforge.org/svn/trunk/contrib/helpers/navigation_helper.rb" id="navigation_helper">Download</a>
|
110
|
-
</td>
|
111
|
-
</tr>
|
112
|
-
<tr valign='top'>
|
113
|
-
<td>
|
114
|
-
<strong>Rss List</strong>
|
115
|
-
</td>
|
116
|
-
<td>
|
117
|
-
Easily create an unordered list from an rss feed. Special helpers for delicious, flickr, ebay, magnolia, and twitter.
|
118
|
-
</td>
|
119
|
-
<td>Brent Beardsley</td>
|
120
|
-
<td>
|
121
|
-
<a class="download" href="http://staticmatic.rubyforge.org/svn/trunk/contrib/helpers/rss_list_helper.rb" id="rss_list_helper">Download</a>
|
122
|
-
</td>
|
123
|
-
</tr>
|
124
|
-
</table>
|
125
|
-
</div>
|
126
|
-
</div>
|
127
|
-
<div id='footer'>
|
128
|
-
<p>
|
129
|
-
Made with StaticMatic
|
130
|
-
0.9.0
|
131
|
-
, Hosted by
|
132
|
-
<a href="http://rubyforge.org">RubyForge</a>
|
133
|
-
</p>
|
134
|
-
</div>
|
135
|
-
<script src='http://www.google-analytics.com/urchin.js' type='text/javascript'>
|
136
|
-
_hamlspace = "";
|
137
|
-
</script>
|
138
|
-
<script type='text/javascript'>
|
139
|
-
_uacct = "UA-775359-8";
|
140
|
-
urchinTracker();
|
141
|
-
</script>
|
142
|
-
</div>
|
143
|
-
</body>
|
144
|
-
</html>
|