guides 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/Gemfile +3 -0
- data/bin/guides +6 -0
- data/guides.gemspec +32 -0
- data/lib/guides.rb +25 -0
- data/lib/guides/cli.rb +35 -0
- data/lib/guides/generator.rb +274 -0
- data/lib/guides/helpers.rb +55 -0
- data/lib/guides/indexer.rb +69 -0
- data/lib/guides/levenshtein.rb +31 -0
- data/lib/guides/new.rb +26 -0
- data/lib/guides/templates/assets/images/book_icon.gif +0 -0
- data/lib/guides/templates/assets/images/bullet.gif +0 -0
- data/lib/guides/templates/assets/images/chapters_icon.gif +0 -0
- data/lib/guides/templates/assets/images/check_bullet.gif +0 -0
- data/lib/guides/templates/assets/images/construction.png +0 -0
- data/lib/guides/templates/assets/images/construction.svg +123 -0
- data/lib/guides/templates/assets/images/credits_pic_blank.gif +0 -0
- data/lib/guides/templates/assets/images/edge_badge.png +0 -0
- data/lib/guides/templates/assets/images/feature_tile.gif +0 -0
- data/lib/guides/templates/assets/images/footer_tile.gif +0 -0
- data/lib/guides/templates/assets/images/grey_bullet.gif +0 -0
- data/lib/guides/templates/assets/images/header_backdrop.png +0 -0
- data/lib/guides/templates/assets/images/header_tile.gif +0 -0
- data/lib/guides/templates/assets/images/icons/README +5 -0
- data/lib/guides/templates/assets/images/icons/callouts/1.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/10.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/11.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/12.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/13.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/14.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/15.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/2.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/3.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/4.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/5.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/6.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/7.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/8.png +0 -0
- data/lib/guides/templates/assets/images/icons/callouts/9.png +0 -0
- data/lib/guides/templates/assets/images/icons/caution.png +0 -0
- data/lib/guides/templates/assets/images/icons/example.png +0 -0
- data/lib/guides/templates/assets/images/icons/home.png +0 -0
- data/lib/guides/templates/assets/images/icons/important.png +0 -0
- data/lib/guides/templates/assets/images/icons/next.png +0 -0
- data/lib/guides/templates/assets/images/icons/note.png +0 -0
- data/lib/guides/templates/assets/images/icons/prev.png +0 -0
- data/lib/guides/templates/assets/images/icons/tip.png +0 -0
- data/lib/guides/templates/assets/images/icons/up.png +0 -0
- data/lib/guides/templates/assets/images/icons/warning.png +0 -0
- data/lib/guides/templates/assets/images/nav_arrow.gif +0 -0
- data/lib/guides/templates/assets/images/tab_grey.gif +0 -0
- data/lib/guides/templates/assets/images/tab_info.gif +0 -0
- data/lib/guides/templates/assets/images/tab_note.gif +0 -0
- data/lib/guides/templates/assets/images/tab_red.gif +0 -0
- data/lib/guides/templates/assets/images/tab_yellow.gif +0 -0
- data/lib/guides/templates/assets/images/tab_yellow.png +0 -0
- data/lib/guides/templates/assets/javascripts/guides.js +9 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushAS3.js +59 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js +75 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushBash.js +59 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCSharp.js +65 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js +100 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCpp.js +97 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCss.js +91 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushDelphi.js +55 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushDiff.js +41 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushErlang.js +52 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushGroovy.js +67 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJScript.js +52 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJava.js +57 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js +58 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPerl.js +72 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPhp.js +88 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPlain.js +33 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js +74 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPython.js +64 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushRuby.js +55 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushSass.js +94 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushScala.js +51 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushSql.js +66 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushVb.js +56 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushXml.js +69 -0
- data/lib/guides/templates/assets/javascripts/syntaxhighlighter/shCore.js +17 -0
- data/lib/guides/templates/assets/stylesheets/main.css +445 -0
- data/lib/guides/templates/assets/stylesheets/print.css +52 -0
- data/lib/guides/templates/assets/stylesheets/reset.css +43 -0
- data/lib/guides/templates/assets/stylesheets/style.css +13 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCore.css +226 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreDefault.css +328 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreDjango.css +331 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css +339 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css +324 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css +324 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css +324 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreRDark.css +324 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeDefault.css +117 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeDjango.css +120 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css +128 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css +113 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css +113 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css +113 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeRDark.css +113 -0
- data/lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css +116 -0
- data/lib/guides/templates/guides.yml.tt +35 -0
- data/lib/guides/templates/source/_clickable_index.html.erb +17 -0
- data/lib/guides/templates/source/_full_index.html.erb +16 -0
- data/lib/guides/templates/source/_sections.html.erb +24 -0
- data/lib/guides/templates/source/contribute.textile +47 -0
- data/lib/guides/templates/source/credits.html.erb +21 -0
- data/lib/guides/templates/source/index.html.erb +1 -0
- data/lib/guides/templates/source/layout.html.erb +82 -0
- data/lib/guides/textile_extensions.rb +39 -0
- data/lib/guides/version.rb +3 -0
- data/lib/guides/w3c_validator.rb +89 -0
- metadata +257 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
<% content_for :page_title do %>
|
2
|
+
<%= Guides.meta["title"] %>: Credits
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<% content_for :header_section do %>
|
6
|
+
<h2>Credits</h2>
|
7
|
+
|
8
|
+
<p>We'd like to thank the following people for their tireless contributions to this project.</p>
|
9
|
+
<% end %>
|
10
|
+
|
11
|
+
<h3 class="section"><%= Guides.meta["team_name"] %></h3>
|
12
|
+
|
13
|
+
<% Guides.meta["authors"].each do |group, authors| %>
|
14
|
+
<h3 class="section"><%= group %></h3>
|
15
|
+
<% authors.each do |author| %>
|
16
|
+
<%= author(author["name"], author["nick"]) do %>
|
17
|
+
<%= author["description"].html_safe %>
|
18
|
+
<% end %>
|
19
|
+
<% end %>
|
20
|
+
<% end %>
|
21
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= render "full_index", :guides => Guides.meta["index"] %>
|
@@ -0,0 +1,82 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
+
|
8
|
+
<title><%= yield(:page_title) %></title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
|
11
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
|
12
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/overrides.style.css" />
|
13
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/overrides.print.css" media="print" />
|
14
|
+
|
15
|
+
|
16
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shCore.css" />
|
17
|
+
<link rel="stylesheet" type="text/css" href="stylesheets/syntaxhighlighter/shThemeRailsGuides.css" />
|
18
|
+
</head>
|
19
|
+
<body class="guide">
|
20
|
+
<% if @edge %>
|
21
|
+
<div>
|
22
|
+
<img src="images/edge_badge.png" alt="edge-badge" id="edge-badge" />
|
23
|
+
</div>
|
24
|
+
<% end %>
|
25
|
+
<div id="topNav">
|
26
|
+
<div class="wrapper">
|
27
|
+
<%= yield :top_nav %>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
<div id="header">
|
31
|
+
<div class="wrapper clearfix">
|
32
|
+
<h1><a href="index.html" title="Return to home page"><%= Guides.meta["title"] %></a></h1>
|
33
|
+
<p class="hide"><a href="#mainCol">Skip navigation</a>.</p>
|
34
|
+
<ul class="nav">
|
35
|
+
<li><a href="index.html">Home</a></li>
|
36
|
+
<li class="index"><a href="index.html" onclick="guideMenu(); return false;" id="guidesMenu">Guides Index <span id="guidesArrow">▸</span></a>
|
37
|
+
<div id="guides" class="clearfix" style="display: none;">
|
38
|
+
<hr />
|
39
|
+
<%= clickable_index %>
|
40
|
+
</div>
|
41
|
+
</li>
|
42
|
+
<li><a href="contribute.html">Contribute</a></li>
|
43
|
+
<li><a href="credits.html">Credits</a></li>
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<hr class="hide" />
|
48
|
+
|
49
|
+
<div id="feature">
|
50
|
+
<div class="wrapper">
|
51
|
+
<h2><%= Guides.meta["title"] %></h2>
|
52
|
+
<p><%= Guides.meta["description"] %></p>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
<div id="container">
|
57
|
+
<div class="wrapper">
|
58
|
+
<div id="mainCol">
|
59
|
+
<%= yield %>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<hr class="hide" />
|
65
|
+
<div id="footer">
|
66
|
+
<div class="wrapper">
|
67
|
+
<%= yield :license %>
|
68
|
+
</div>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
<script type="text/javascript" src="javascripts/guides.js"></script>
|
72
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shCore.js"></script>
|
73
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushRuby.js"></script>
|
74
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushJScript.js"></script>
|
75
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushXml.js"></script>
|
76
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushSql.js"></script>
|
77
|
+
<script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushPlain.js"></script>
|
78
|
+
<script type="text/javascript">
|
79
|
+
SyntaxHighlighter.all()
|
80
|
+
</script>
|
81
|
+
</body>
|
82
|
+
</html>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
module RedCloth
|
2
|
+
def notestuff(body)
|
3
|
+
body.gsub!(/^(IMPORTANT|CAUTION|WARNING|NOTE|INFO)[.:](.*)$/) do |m|
|
4
|
+
css_class = $1.downcase
|
5
|
+
css_class = 'warning' if ['caution', 'important'].include?(css_class)
|
6
|
+
|
7
|
+
result = "<div class='#{css_class}'><p>"
|
8
|
+
result << $2.strip
|
9
|
+
result << '</p></div>'
|
10
|
+
result
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def tip(body)
|
15
|
+
body.gsub!(/^TIP[.:](.*)$/) do |m|
|
16
|
+
result = "<div class='info'><p>"
|
17
|
+
result << $1.strip
|
18
|
+
result << '</p></div>'
|
19
|
+
result
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def plusplus(body)
|
24
|
+
body.gsub!(/\+(.*?)\+/) do |m|
|
25
|
+
"<notextile><tt>#{$1}</tt></notextile>"
|
26
|
+
end
|
27
|
+
|
28
|
+
# The real plus sign
|
29
|
+
body.gsub!('<plus>', '+')
|
30
|
+
end
|
31
|
+
|
32
|
+
def code(body)
|
33
|
+
body.gsub!(%r{<(yaml|shell|ruby|erb|html|sql|plain)>(.*?)</\1>}m) do |m|
|
34
|
+
es = ERB::Util.h($2)
|
35
|
+
css_class = ['erb', 'shell'].include?($1) ? 'html' : $1
|
36
|
+
%{<notextile><div class="code_container"><code class="#{css_class}">#{es}</code></div></notextile>}
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# ---------------------------------------------------------------------------
|
2
|
+
#
|
3
|
+
# This script validates the generated guides against the W3C Validator.
|
4
|
+
#
|
5
|
+
# Guides are taken from the output directory, from where all .html files are
|
6
|
+
# submitted to the validator.
|
7
|
+
#
|
8
|
+
# This script is prepared to be launched from the railties directory as a rake task:
|
9
|
+
#
|
10
|
+
# rake validate_guides
|
11
|
+
#
|
12
|
+
# If nothing is specified, all files will be validated, but you can check just
|
13
|
+
# some of them using this environment variable:
|
14
|
+
#
|
15
|
+
# ONLY
|
16
|
+
# Use ONLY if you want to validate only one or a set of guides. Prefixes are
|
17
|
+
# enough:
|
18
|
+
#
|
19
|
+
# # validates only association_basics.html
|
20
|
+
# ONLY=assoc rake validate_guides
|
21
|
+
#
|
22
|
+
# Separate many using commas:
|
23
|
+
#
|
24
|
+
# # validates only association_basics.html and migrations.html
|
25
|
+
# ONLY=assoc,migrations rake validate_guides
|
26
|
+
#
|
27
|
+
# ---------------------------------------------------------------------------
|
28
|
+
|
29
|
+
# TODO: Libraryify
|
30
|
+
include W3CValidators
|
31
|
+
|
32
|
+
module Guides
|
33
|
+
class Validator
|
34
|
+
|
35
|
+
def validate
|
36
|
+
validator = MarkupValidator.new
|
37
|
+
STDOUT.sync = true
|
38
|
+
errors_on_guides = {}
|
39
|
+
|
40
|
+
guides_to_validate.each do |f|
|
41
|
+
results = validator.validate_file(f)
|
42
|
+
|
43
|
+
if results.validity
|
44
|
+
print "."
|
45
|
+
else
|
46
|
+
print "E"
|
47
|
+
errors_on_guides[f] = results.errors
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
show_results(errors_on_guides)
|
52
|
+
end
|
53
|
+
|
54
|
+
private
|
55
|
+
def guides_to_validate
|
56
|
+
guides = Dir["./guides/output/*.html"]
|
57
|
+
guides.delete("./guides/output/layout.html")
|
58
|
+
ENV.key?('ONLY') ? select_only(guides) : guides
|
59
|
+
end
|
60
|
+
|
61
|
+
def select_only(guides)
|
62
|
+
prefixes = ENV['ONLY'].split(",").map(&:strip)
|
63
|
+
guides.select do |guide|
|
64
|
+
prefixes.any? {|p| guide.start_with?("./guides/output/#{p}")}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
def show_results(error_list)
|
69
|
+
if error_list.size == 0
|
70
|
+
puts "\n\nAll checked guides validate OK!"
|
71
|
+
else
|
72
|
+
error_summary = error_detail = ""
|
73
|
+
|
74
|
+
error_list.each_pair do |name, errors|
|
75
|
+
error_summary += "\n #{name}"
|
76
|
+
error_detail += "\n\n #{name} has #{errors.size} validation error(s):\n"
|
77
|
+
errors.each do |error|
|
78
|
+
error_detail += "\n "+error.to_s.gsub("\n", "")
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
puts "\n\nThere are #{error_list.size} guides with validation errors:\n" + error_summary
|
83
|
+
puts "\nHere are the detailed errors for each guide:" + error_detail
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
metadata
ADDED
@@ -0,0 +1,257 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: guides
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 0.5.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Yehuda Katz
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-01-04 00:00:00 -08:00
|
18
|
+
default_executable: guides
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: actionpack
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ~>
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 3
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 3.0.0
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: activesupport
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 3
|
45
|
+
- 0
|
46
|
+
- 0
|
47
|
+
version: 3.0.0
|
48
|
+
type: :runtime
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: rack
|
52
|
+
prerelease: false
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 1
|
60
|
+
- 2
|
61
|
+
- 1
|
62
|
+
version: 1.2.1
|
63
|
+
type: :runtime
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: RedCloth
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ~>
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
segments:
|
74
|
+
- 4
|
75
|
+
- 1
|
76
|
+
- 1
|
77
|
+
version: 4.1.1
|
78
|
+
type: :runtime
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: thor
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
- 14
|
91
|
+
- 6
|
92
|
+
version: 0.14.6
|
93
|
+
type: :runtime
|
94
|
+
version_requirements: *id005
|
95
|
+
description: A tool for creating version controlled guides for open source projects, based on the Rails Guides framework
|
96
|
+
email:
|
97
|
+
- wycats@gmail.com
|
98
|
+
executables:
|
99
|
+
- guides
|
100
|
+
extensions: []
|
101
|
+
|
102
|
+
extra_rdoc_files: []
|
103
|
+
|
104
|
+
files:
|
105
|
+
- .gitignore
|
106
|
+
- Gemfile
|
107
|
+
- bin/guides
|
108
|
+
- guides.gemspec
|
109
|
+
- lib/guides.rb
|
110
|
+
- lib/guides/cli.rb
|
111
|
+
- lib/guides/generator.rb
|
112
|
+
- lib/guides/helpers.rb
|
113
|
+
- lib/guides/indexer.rb
|
114
|
+
- lib/guides/levenshtein.rb
|
115
|
+
- lib/guides/new.rb
|
116
|
+
- lib/guides/templates/assets/images/book_icon.gif
|
117
|
+
- lib/guides/templates/assets/images/bullet.gif
|
118
|
+
- lib/guides/templates/assets/images/chapters_icon.gif
|
119
|
+
- lib/guides/templates/assets/images/check_bullet.gif
|
120
|
+
- lib/guides/templates/assets/images/construction.png
|
121
|
+
- lib/guides/templates/assets/images/construction.svg
|
122
|
+
- lib/guides/templates/assets/images/credits_pic_blank.gif
|
123
|
+
- lib/guides/templates/assets/images/edge_badge.png
|
124
|
+
- lib/guides/templates/assets/images/feature_tile.gif
|
125
|
+
- lib/guides/templates/assets/images/footer_tile.gif
|
126
|
+
- lib/guides/templates/assets/images/grey_bullet.gif
|
127
|
+
- lib/guides/templates/assets/images/header_backdrop.png
|
128
|
+
- lib/guides/templates/assets/images/header_tile.gif
|
129
|
+
- lib/guides/templates/assets/images/icons/README
|
130
|
+
- lib/guides/templates/assets/images/icons/callouts/1.png
|
131
|
+
- lib/guides/templates/assets/images/icons/callouts/10.png
|
132
|
+
- lib/guides/templates/assets/images/icons/callouts/11.png
|
133
|
+
- lib/guides/templates/assets/images/icons/callouts/12.png
|
134
|
+
- lib/guides/templates/assets/images/icons/callouts/13.png
|
135
|
+
- lib/guides/templates/assets/images/icons/callouts/14.png
|
136
|
+
- lib/guides/templates/assets/images/icons/callouts/15.png
|
137
|
+
- lib/guides/templates/assets/images/icons/callouts/2.png
|
138
|
+
- lib/guides/templates/assets/images/icons/callouts/3.png
|
139
|
+
- lib/guides/templates/assets/images/icons/callouts/4.png
|
140
|
+
- lib/guides/templates/assets/images/icons/callouts/5.png
|
141
|
+
- lib/guides/templates/assets/images/icons/callouts/6.png
|
142
|
+
- lib/guides/templates/assets/images/icons/callouts/7.png
|
143
|
+
- lib/guides/templates/assets/images/icons/callouts/8.png
|
144
|
+
- lib/guides/templates/assets/images/icons/callouts/9.png
|
145
|
+
- lib/guides/templates/assets/images/icons/caution.png
|
146
|
+
- lib/guides/templates/assets/images/icons/example.png
|
147
|
+
- lib/guides/templates/assets/images/icons/home.png
|
148
|
+
- lib/guides/templates/assets/images/icons/important.png
|
149
|
+
- lib/guides/templates/assets/images/icons/next.png
|
150
|
+
- lib/guides/templates/assets/images/icons/note.png
|
151
|
+
- lib/guides/templates/assets/images/icons/prev.png
|
152
|
+
- lib/guides/templates/assets/images/icons/tip.png
|
153
|
+
- lib/guides/templates/assets/images/icons/up.png
|
154
|
+
- lib/guides/templates/assets/images/icons/warning.png
|
155
|
+
- lib/guides/templates/assets/images/nav_arrow.gif
|
156
|
+
- lib/guides/templates/assets/images/tab_grey.gif
|
157
|
+
- lib/guides/templates/assets/images/tab_info.gif
|
158
|
+
- lib/guides/templates/assets/images/tab_note.gif
|
159
|
+
- lib/guides/templates/assets/images/tab_red.gif
|
160
|
+
- lib/guides/templates/assets/images/tab_yellow.gif
|
161
|
+
- lib/guides/templates/assets/images/tab_yellow.png
|
162
|
+
- lib/guides/templates/assets/javascripts/guides.js
|
163
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushAS3.js
|
164
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
|
165
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushBash.js
|
166
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
|
167
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js
|
168
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCpp.js
|
169
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushCss.js
|
170
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushDelphi.js
|
171
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushDiff.js
|
172
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushErlang.js
|
173
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushGroovy.js
|
174
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJScript.js
|
175
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJava.js
|
176
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js
|
177
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPerl.js
|
178
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPhp.js
|
179
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPlain.js
|
180
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js
|
181
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushPython.js
|
182
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushRuby.js
|
183
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushSass.js
|
184
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushScala.js
|
185
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushSql.js
|
186
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushVb.js
|
187
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shBrushXml.js
|
188
|
+
- lib/guides/templates/assets/javascripts/syntaxhighlighter/shCore.js
|
189
|
+
- lib/guides/templates/assets/stylesheets/main.css
|
190
|
+
- lib/guides/templates/assets/stylesheets/print.css
|
191
|
+
- lib/guides/templates/assets/stylesheets/reset.css
|
192
|
+
- lib/guides/templates/assets/stylesheets/style.css
|
193
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCore.css
|
194
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreDefault.css
|
195
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreDjango.css
|
196
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css
|
197
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css
|
198
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css
|
199
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css
|
200
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css
|
201
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shCoreRDark.css
|
202
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeDefault.css
|
203
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeDjango.css
|
204
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css
|
205
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css
|
206
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
|
207
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css
|
208
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css
|
209
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
|
210
|
+
- lib/guides/templates/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
|
211
|
+
- lib/guides/templates/guides.yml.tt
|
212
|
+
- lib/guides/templates/source/_clickable_index.html.erb
|
213
|
+
- lib/guides/templates/source/_full_index.html.erb
|
214
|
+
- lib/guides/templates/source/_sections.html.erb
|
215
|
+
- lib/guides/templates/source/contribute.textile
|
216
|
+
- lib/guides/templates/source/credits.html.erb
|
217
|
+
- lib/guides/templates/source/index.html.erb
|
218
|
+
- lib/guides/templates/source/layout.html.erb
|
219
|
+
- lib/guides/textile_extensions.rb
|
220
|
+
- lib/guides/version.rb
|
221
|
+
- lib/guides/w3c_validator.rb
|
222
|
+
has_rdoc: true
|
223
|
+
homepage: http://yehudakatz.com
|
224
|
+
licenses: []
|
225
|
+
|
226
|
+
post_install_message:
|
227
|
+
rdoc_options: []
|
228
|
+
|
229
|
+
require_paths:
|
230
|
+
- lib
|
231
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
segments:
|
237
|
+
- 0
|
238
|
+
version: "0"
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
241
|
+
requirements:
|
242
|
+
- - ">="
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
segments:
|
245
|
+
- 1
|
246
|
+
- 3
|
247
|
+
- 6
|
248
|
+
version: 1.3.6
|
249
|
+
requirements: []
|
250
|
+
|
251
|
+
rubyforge_project: guides
|
252
|
+
rubygems_version: 1.3.7
|
253
|
+
signing_key:
|
254
|
+
specification_version: 3
|
255
|
+
summary: Extracting the Rails Guides framework for the rest of us
|
256
|
+
test_files: []
|
257
|
+
|