faqmarkdown 0.0.1
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.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.rvmrc +1 -0
- data/Appraisals +13 -0
- data/Gemfile +10 -0
- data/Rakefile +11 -0
- data/app/controllers/application_controller.rb +2 -0
- data/app/controllers/faqs_controller.rb +66 -0
- data/app/helpers/faq_helper.rb +23 -0
- data/app/models/faq.rb +170 -0
- data/app/views/faqs/_faq.html.haml +16 -0
- data/app/views/faqs/_feed_link.html.haml +2 -0
- data/app/views/faqs/feed.xml.builder +29 -0
- data/app/views/faqs/index.html.haml +8 -0
- data/app/views/faqs/show.html.haml +3 -0
- data/app/views/layouts/faqmarkdown.html.haml +16 -0
- data/config.ru +8 -0
- data/faqmarkdown.gemspec +37 -0
- data/gemfiles/rails3_0.gemfile +13 -0
- data/gemfiles/rails3_1.gemfile +14 -0
- data/gemfiles/rails3_2.gemfile +14 -0
- data/lib/faqmarkdown/config.rb +24 -0
- data/lib/faqmarkdown/engine.rb +12 -0
- data/lib/faqmarkdown/railtie.rb +20 -0
- data/lib/faqmarkdown/routes.rb +30 -0
- data/lib/faqmarkdown/util.rb +12 -0
- data/lib/faqmarkdown/version.rb +3 -0
- data/lib/faqmarkdown.rb +5 -0
- data/lib/generators/faqmarkdown/faq_generator.rb +42 -0
- data/lib/generators/faqmarkdown/install_generator.rb +19 -0
- data/lib/generators/faqmarkdown/override_generator.rb +48 -0
- data/lib/generators/faqmarkdown/templates/example-faq.markdown +67 -0
- data/lib/generators/faqmarkdown/usage/faq.txt +14 -0
- data/lib/generators/faqmarkdown/usage/install.txt +10 -0
- data/lib/generators/faqmarkdown/usage/override.txt +9 -0
- data/readme.md +191 -0
- data/spec/helpers/faq_helper_spec.rb +49 -0
- data/spec/integrations/faqs_spec.rb +209 -0
- data/spec/internal/.gitignore +2 -0
- data/spec/internal/app/faqs/2011-04-01-first-faq.markdown +5 -0
- data/spec/internal/app/faqs/2011-04-28-image.markdown +5 -0
- data/spec/internal/app/faqs/2011-04-28-summary.markdown +10 -0
- data/spec/internal/app/faqs/2011-05-01-full-metadata.markdown +20 -0
- data/spec/internal/app/faqs/2015-02-13-custom-title.markdown +5 -0
- data/spec/internal/app/views/layouts/application.html.erb +12 -0
- data/spec/internal/app/views/layouts/custom_layout.html.erb +14 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/environments/test.rb +9 -0
- data/spec/internal/config/routes.rb +3 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/db/schema.rb +3 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/lib/generators/faqmarkdown/faq_generator_spec.rb +99 -0
- data/spec/models/faqs_spec.rb +103 -0
- data/spec/requests/assets_spec.rb +16 -0
- data/spec/requests/views_spec.rb +34 -0
- data/spec/routing/faqs_routing_spec.rb +80 -0
- data/spec/spec_helper.rb +38 -0
- data/spec/support/data/faqs/2011-04-01-first-faq.markdown +3 -0
- data/spec/support/data/faqs/2011-04-28-image.markdown +9 -0
- data/spec/support/data/faqs/2011-04-28-summary.markdown +10 -0
- data/spec/support/data/faqs/2011-05-01-full-metadata.markdown +13 -0
- data/spec/support/data/faqs/2011-05-02-md-file-extension.md +1 -0
- data/spec/support/data/faqs/2011-05-02-mdown-file-extension.mdown +1 -0
- data/spec/support/data/faqs/2011-05-02-mkd-file-extension.mkd +1 -0
- data/spec/support/data/faqs/2012-02-13-102030-custom-title-and-timestamp.markdown +5 -0
- data/spec/support/data/faqs/2015-02-13-custom-title.markdown +5 -0
- data/spec/support/data/faqs/missing-date-from-filename.markdown +1 -0
- data/spec/support/rails_app/.gitignore +4 -0
- data/spec/support/rails_app/app/controllers/application_controller.rb +3 -0
- data/spec/support/rails_app/app/faqs/2011-04-01-first-faq.markdown +5 -0
- data/spec/support/rails_app/app/faqs/2011-04-28-image.markdown +5 -0
- data/spec/support/rails_app/app/faqs/2011-04-28-summary.markdown +10 -0
- data/spec/support/rails_app/app/faqs/2011-05-01-full-metadata.markdown +20 -0
- data/spec/support/rails_app/app/faqs/2015-02-13-custom-title.markdown +5 -0
- data/spec/support/rails_app/app/views/layouts/application.html.erb +12 -0
- data/spec/support/rails_app/app/views/layouts/custom_layout.html.erb +14 -0
- data/spec/support/rails_app/config/application.rb +42 -0
- data/spec/support/rails_app/config/boot.rb +10 -0
- data/spec/support/rails_app/config/database.yml +22 -0
- data/spec/support/rails_app/config/environment.rb +5 -0
- data/spec/support/rails_app/config/environments/test.rb +9 -0
- data/spec/support/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/support/rails_app/config/routes.rb +3 -0
- data/spec/support/rails_app/config.ru +4 -0
- data/spec/support/rails_app/db/seeds.rb +7 -0
- data/spec/support/rails_app/doc/README_FOR_APP +2 -0
- data/vendor/assets/stylesheets/faqmarkdown/faqmarkdown.css +69 -0
- metadata +354 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SQLite version 3.x
|
|
2
|
+
# gem install sqlite3
|
|
3
|
+
development:
|
|
4
|
+
adapter: sqlite3
|
|
5
|
+
database: db/development.sqlite3
|
|
6
|
+
pool: 5
|
|
7
|
+
timeout: 5000
|
|
8
|
+
|
|
9
|
+
# Warning: The database defined as "test" will be erased and
|
|
10
|
+
# re-generated from your development database when you run "rake".
|
|
11
|
+
# Do not set this db to the same as development or production.
|
|
12
|
+
test:
|
|
13
|
+
adapter: sqlite3
|
|
14
|
+
database: db/test.sqlite3
|
|
15
|
+
pool: 5
|
|
16
|
+
timeout: 5000
|
|
17
|
+
|
|
18
|
+
production:
|
|
19
|
+
adapter: sqlite3
|
|
20
|
+
database: db/production.sqlite3
|
|
21
|
+
pool: 5
|
|
22
|
+
timeout: 5000
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Rails.application.class.configure do
|
|
2
|
+
config.cache_classes = true
|
|
3
|
+
config.whiny_nils = true
|
|
4
|
+
config.consider_all_requests_local = true
|
|
5
|
+
config.action_controller.perform_caching = false
|
|
6
|
+
config.action_dispatch.show_exceptions = false
|
|
7
|
+
config.action_mailer.delivery_method = :test
|
|
8
|
+
config.active_support.deprecation = :stderr
|
|
9
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
|
7
|
+
RailsApp::Application.config.secret_token = '68e0d835c6a664dca507ac5fd7f0117855bb2f53ded695b1f5136b714a9a3407f227fef3517bbfef38ac2afa18f3cdf975be590a0ba609b636760a4ac5b3f588'
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
|
3
|
+
#
|
|
4
|
+
# Examples:
|
|
5
|
+
#
|
|
6
|
+
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
|
7
|
+
# Mayor.create(:name => 'Daley', :city => cities.first)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* -- Reset ----------------------------------------------------------------- */
|
|
2
|
+
body,div,dl,dt,dd,ul,ol,li,h1,h2,h4,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0}
|
|
3
|
+
table{border-collapse:collapse;border-spacing:0}
|
|
4
|
+
fieldset,img{border:0}
|
|
5
|
+
address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit}
|
|
6
|
+
del,ins{text-decoration:none}
|
|
7
|
+
li{list-style:none}
|
|
8
|
+
caption,th{text-align:left}
|
|
9
|
+
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:400}
|
|
10
|
+
q:before,q:after{content:''}
|
|
11
|
+
abbr,acronym{border:0;font-variant:normal}
|
|
12
|
+
legend{color:#000}
|
|
13
|
+
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}
|
|
14
|
+
input,button,textarea,select{font-size:100%}
|
|
15
|
+
sup,sub{vertical-align:baseline}
|
|
16
|
+
header, nav, section, article, footer{display:block;}
|
|
17
|
+
|
|
18
|
+
/* -- Global ---------------------------------------------------------------- */
|
|
19
|
+
html{background:#F3F3F3;text-shadow:0px 1px 0px #fff;}
|
|
20
|
+
body{width:760px;margin:40px auto;font:14px/140% 'Helvetica Neue', Arial, Helvetica, Sans-Serif;}
|
|
21
|
+
a{color:#222;}
|
|
22
|
+
|
|
23
|
+
h1, h2, h3, h4, h5, h6{font-weight:bold;}
|
|
24
|
+
h1{font-size:26px;margin-bottom:5px;}
|
|
25
|
+
h1 a{text-decoration:none;}
|
|
26
|
+
h2{font-size:24px;padding-top:10px;margin:30px 0 20px;border-top:2px solid #ccc;}
|
|
27
|
+
h3{font-size:20px;margin-bottom:20px;}
|
|
28
|
+
h4{font-size:18px;margin-bottom:10px;}
|
|
29
|
+
h5, h6{font-size:16px;margin-bottom:5px;}
|
|
30
|
+
|
|
31
|
+
p{margin-bottom:20px;}
|
|
32
|
+
em{font-style:italic;}
|
|
33
|
+
sup{font-size:12px;vertical-align:super;}
|
|
34
|
+
sub{font-size:12px;vertical-align:sub;}
|
|
35
|
+
del{color:#666;font-style:line-through;}
|
|
36
|
+
abbr{border-bottom:1px dotted #bbb;color:#666;text-transform:uppercase;}
|
|
37
|
+
code{background:#eee;padding:2px 5px;font-family:Monospace;}
|
|
38
|
+
small{color:#999;font-size:12px;}
|
|
39
|
+
strong{font-weight:bold;}
|
|
40
|
+
blockquote{color:#666;font-size:16px;margin-left:20px;font-family:Georgia, Serif;}
|
|
41
|
+
|
|
42
|
+
/* code */
|
|
43
|
+
pre{background:#eee;margin-bottom:20px;padding:10px;border:1px solid #ccc;border-width:1px 0;}
|
|
44
|
+
|
|
45
|
+
/* lists */
|
|
46
|
+
ol, ul{margin:0 0 20px 20px;}
|
|
47
|
+
ol li{list-style:decimal inside;}
|
|
48
|
+
ul li{list-style:disc inside;}
|
|
49
|
+
|
|
50
|
+
/* -- Header ---------------------------------------------------------------- */
|
|
51
|
+
header#header {margin-bottom:40px;}
|
|
52
|
+
header#header h1 {font-size:42px;margin-bottom:10px;font-family:Georgia, Serif;font-weight:normal;}
|
|
53
|
+
header#header p {color:#999;}
|
|
54
|
+
|
|
55
|
+
/* -- Content --------------------------------------------------------------- */
|
|
56
|
+
section#content{}
|
|
57
|
+
|
|
58
|
+
section#content section article p{margin-bottom:10px;}
|
|
59
|
+
|
|
60
|
+
section#content article{margin-bottom:40px;}
|
|
61
|
+
section#content article header{overflow:hidden;}
|
|
62
|
+
section#content article header h1{}
|
|
63
|
+
section#content article header img{display:none;}
|
|
64
|
+
section#content article header .meta{color:#999;font-size:12px;}
|
|
65
|
+
|
|
66
|
+
nav.pagination{margin-bottom:20px;}
|
|
67
|
+
|
|
68
|
+
/* -- Footer ---------------------------------------------------------------- */
|
|
69
|
+
footer{margin-bottom:20px;}
|
metadata
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: faqmarkdown
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Rodrigo Martins
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2013-06-10 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '3.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ~>
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '3.0'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: haml
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ~>
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '3.1'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ~>
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '3.1'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: gravtastic
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - '>='
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - '>='
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: nokogiri
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - '>='
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: rdiscount
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - '>='
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - '>='
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: kaminari
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - '>='
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - '>='
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: '0'
|
|
97
|
+
- !ruby/object:Gem::Dependency
|
|
98
|
+
name: appraisal
|
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
|
100
|
+
requirements:
|
|
101
|
+
- - '>='
|
|
102
|
+
- !ruby/object:Gem::Version
|
|
103
|
+
version: '0'
|
|
104
|
+
type: :development
|
|
105
|
+
prerelease: false
|
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
requirements:
|
|
108
|
+
- - '>='
|
|
109
|
+
- !ruby/object:Gem::Version
|
|
110
|
+
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: rspec-rails
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ~>
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '2.8'
|
|
118
|
+
type: :development
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ~>
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '2.8'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: capybara
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ~>
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: 1.0.0.beta
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ~>
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: 1.0.0.beta
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: sqlite3
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - '>='
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '0'
|
|
146
|
+
type: :development
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - '>='
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '0'
|
|
153
|
+
- !ruby/object:Gem::Dependency
|
|
154
|
+
name: delorean
|
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
|
156
|
+
requirements:
|
|
157
|
+
- - '>='
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '0.2'
|
|
160
|
+
type: :development
|
|
161
|
+
prerelease: false
|
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - '>='
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '0.2'
|
|
167
|
+
- !ruby/object:Gem::Dependency
|
|
168
|
+
name: combustion
|
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
|
170
|
+
requirements:
|
|
171
|
+
- - ~>
|
|
172
|
+
- !ruby/object:Gem::Version
|
|
173
|
+
version: 0.3.1
|
|
174
|
+
type: :development
|
|
175
|
+
prerelease: false
|
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
177
|
+
requirements:
|
|
178
|
+
- - ~>
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: 0.3.1
|
|
181
|
+
description: A simple Rails FAQ engine powered by markdown.
|
|
182
|
+
email:
|
|
183
|
+
- rodrigo@rrmartins.com
|
|
184
|
+
executables: []
|
|
185
|
+
extensions: []
|
|
186
|
+
extra_rdoc_files: []
|
|
187
|
+
files:
|
|
188
|
+
- .gitignore
|
|
189
|
+
- .rspec
|
|
190
|
+
- .rvmrc
|
|
191
|
+
- Appraisals
|
|
192
|
+
- Gemfile
|
|
193
|
+
- Rakefile
|
|
194
|
+
- app/controllers/application_controller.rb
|
|
195
|
+
- app/controllers/faqs_controller.rb
|
|
196
|
+
- app/helpers/faq_helper.rb
|
|
197
|
+
- app/models/faq.rb
|
|
198
|
+
- app/views/faqs/_faq.html.haml
|
|
199
|
+
- app/views/faqs/_feed_link.html.haml
|
|
200
|
+
- app/views/faqs/feed.xml.builder
|
|
201
|
+
- app/views/faqs/index.html.haml
|
|
202
|
+
- app/views/faqs/show.html.haml
|
|
203
|
+
- app/views/layouts/faqmarkdown.html.haml
|
|
204
|
+
- config.ru
|
|
205
|
+
- faqmarkdown.gemspec
|
|
206
|
+
- gemfiles/rails3_0.gemfile
|
|
207
|
+
- gemfiles/rails3_1.gemfile
|
|
208
|
+
- gemfiles/rails3_2.gemfile
|
|
209
|
+
- lib/faqmarkdown.rb
|
|
210
|
+
- lib/faqmarkdown/config.rb
|
|
211
|
+
- lib/faqmarkdown/engine.rb
|
|
212
|
+
- lib/faqmarkdown/railtie.rb
|
|
213
|
+
- lib/faqmarkdown/routes.rb
|
|
214
|
+
- lib/faqmarkdown/util.rb
|
|
215
|
+
- lib/faqmarkdown/version.rb
|
|
216
|
+
- lib/generators/faqmarkdown/faq_generator.rb
|
|
217
|
+
- lib/generators/faqmarkdown/install_generator.rb
|
|
218
|
+
- lib/generators/faqmarkdown/override_generator.rb
|
|
219
|
+
- lib/generators/faqmarkdown/templates/example-faq.markdown
|
|
220
|
+
- lib/generators/faqmarkdown/usage/faq.txt
|
|
221
|
+
- lib/generators/faqmarkdown/usage/install.txt
|
|
222
|
+
- lib/generators/faqmarkdown/usage/override.txt
|
|
223
|
+
- readme.md
|
|
224
|
+
- spec/helpers/faq_helper_spec.rb
|
|
225
|
+
- spec/integrations/faqs_spec.rb
|
|
226
|
+
- spec/internal/.gitignore
|
|
227
|
+
- spec/internal/app/faqs/2011-04-01-first-faq.markdown
|
|
228
|
+
- spec/internal/app/faqs/2011-04-28-image.markdown
|
|
229
|
+
- spec/internal/app/faqs/2011-04-28-summary.markdown
|
|
230
|
+
- spec/internal/app/faqs/2011-05-01-full-metadata.markdown
|
|
231
|
+
- spec/internal/app/faqs/2015-02-13-custom-title.markdown
|
|
232
|
+
- spec/internal/app/views/layouts/application.html.erb
|
|
233
|
+
- spec/internal/app/views/layouts/custom_layout.html.erb
|
|
234
|
+
- spec/internal/config/database.yml
|
|
235
|
+
- spec/internal/config/environments/test.rb
|
|
236
|
+
- spec/internal/config/routes.rb
|
|
237
|
+
- spec/internal/db/combustion_test.sqlite
|
|
238
|
+
- spec/internal/db/schema.rb
|
|
239
|
+
- spec/internal/log/.gitignore
|
|
240
|
+
- spec/internal/public/favicon.ico
|
|
241
|
+
- spec/lib/generators/faqmarkdown/faq_generator_spec.rb
|
|
242
|
+
- spec/models/faqs_spec.rb
|
|
243
|
+
- spec/requests/assets_spec.rb
|
|
244
|
+
- spec/requests/views_spec.rb
|
|
245
|
+
- spec/routing/faqs_routing_spec.rb
|
|
246
|
+
- spec/spec_helper.rb
|
|
247
|
+
- spec/support/data/faqs/2011-04-01-first-faq.markdown
|
|
248
|
+
- spec/support/data/faqs/2011-04-28-image.markdown
|
|
249
|
+
- spec/support/data/faqs/2011-04-28-summary.markdown
|
|
250
|
+
- spec/support/data/faqs/2011-05-01-full-metadata.markdown
|
|
251
|
+
- spec/support/data/faqs/2011-05-02-md-file-extension.md
|
|
252
|
+
- spec/support/data/faqs/2011-05-02-mdown-file-extension.mdown
|
|
253
|
+
- spec/support/data/faqs/2011-05-02-mkd-file-extension.mkd
|
|
254
|
+
- spec/support/data/faqs/2012-02-13-102030-custom-title-and-timestamp.markdown
|
|
255
|
+
- spec/support/data/faqs/2015-02-13-custom-title.markdown
|
|
256
|
+
- spec/support/data/faqs/missing-date-from-filename.markdown
|
|
257
|
+
- spec/support/rails_app/.gitignore
|
|
258
|
+
- spec/support/rails_app/app/controllers/application_controller.rb
|
|
259
|
+
- spec/support/rails_app/app/faqs/2011-04-01-first-faq.markdown
|
|
260
|
+
- spec/support/rails_app/app/faqs/2011-04-28-image.markdown
|
|
261
|
+
- spec/support/rails_app/app/faqs/2011-04-28-summary.markdown
|
|
262
|
+
- spec/support/rails_app/app/faqs/2011-05-01-full-metadata.markdown
|
|
263
|
+
- spec/support/rails_app/app/faqs/2015-02-13-custom-title.markdown
|
|
264
|
+
- spec/support/rails_app/app/views/layouts/application.html.erb
|
|
265
|
+
- spec/support/rails_app/app/views/layouts/custom_layout.html.erb
|
|
266
|
+
- spec/support/rails_app/config.ru
|
|
267
|
+
- spec/support/rails_app/config/application.rb
|
|
268
|
+
- spec/support/rails_app/config/boot.rb
|
|
269
|
+
- spec/support/rails_app/config/database.yml
|
|
270
|
+
- spec/support/rails_app/config/environment.rb
|
|
271
|
+
- spec/support/rails_app/config/environments/test.rb
|
|
272
|
+
- spec/support/rails_app/config/initializers/secret_token.rb
|
|
273
|
+
- spec/support/rails_app/config/routes.rb
|
|
274
|
+
- spec/support/rails_app/db/seeds.rb
|
|
275
|
+
- spec/support/rails_app/doc/README_FOR_APP
|
|
276
|
+
- vendor/assets/stylesheets/faqmarkdown/faqmarkdown.css
|
|
277
|
+
homepage: ''
|
|
278
|
+
licenses:
|
|
279
|
+
- MIT
|
|
280
|
+
metadata: {}
|
|
281
|
+
post_install_message:
|
|
282
|
+
rdoc_options: []
|
|
283
|
+
require_paths:
|
|
284
|
+
- lib
|
|
285
|
+
- public
|
|
286
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
287
|
+
requirements:
|
|
288
|
+
- - '>='
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: '0'
|
|
291
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
|
+
requirements:
|
|
293
|
+
- - '>='
|
|
294
|
+
- !ruby/object:Gem::Version
|
|
295
|
+
version: '0'
|
|
296
|
+
requirements: []
|
|
297
|
+
rubyforge_project: faqmarkdown
|
|
298
|
+
rubygems_version: 2.0.3
|
|
299
|
+
signing_key:
|
|
300
|
+
specification_version: 4
|
|
301
|
+
summary: A simple Rails FAQ engine powered by markdown.
|
|
302
|
+
test_files:
|
|
303
|
+
- spec/helpers/faq_helper_spec.rb
|
|
304
|
+
- spec/integrations/faqs_spec.rb
|
|
305
|
+
- spec/internal/.gitignore
|
|
306
|
+
- spec/internal/app/faqs/2011-04-01-first-faq.markdown
|
|
307
|
+
- spec/internal/app/faqs/2011-04-28-image.markdown
|
|
308
|
+
- spec/internal/app/faqs/2011-04-28-summary.markdown
|
|
309
|
+
- spec/internal/app/faqs/2011-05-01-full-metadata.markdown
|
|
310
|
+
- spec/internal/app/faqs/2015-02-13-custom-title.markdown
|
|
311
|
+
- spec/internal/app/views/layouts/application.html.erb
|
|
312
|
+
- spec/internal/app/views/layouts/custom_layout.html.erb
|
|
313
|
+
- spec/internal/config/database.yml
|
|
314
|
+
- spec/internal/config/environments/test.rb
|
|
315
|
+
- spec/internal/config/routes.rb
|
|
316
|
+
- spec/internal/db/combustion_test.sqlite
|
|
317
|
+
- spec/internal/db/schema.rb
|
|
318
|
+
- spec/internal/log/.gitignore
|
|
319
|
+
- spec/internal/public/favicon.ico
|
|
320
|
+
- spec/lib/generators/faqmarkdown/faq_generator_spec.rb
|
|
321
|
+
- spec/models/faqs_spec.rb
|
|
322
|
+
- spec/requests/assets_spec.rb
|
|
323
|
+
- spec/requests/views_spec.rb
|
|
324
|
+
- spec/routing/faqs_routing_spec.rb
|
|
325
|
+
- spec/spec_helper.rb
|
|
326
|
+
- spec/support/data/faqs/2011-04-01-first-faq.markdown
|
|
327
|
+
- spec/support/data/faqs/2011-04-28-image.markdown
|
|
328
|
+
- spec/support/data/faqs/2011-04-28-summary.markdown
|
|
329
|
+
- spec/support/data/faqs/2011-05-01-full-metadata.markdown
|
|
330
|
+
- spec/support/data/faqs/2011-05-02-md-file-extension.md
|
|
331
|
+
- spec/support/data/faqs/2011-05-02-mdown-file-extension.mdown
|
|
332
|
+
- spec/support/data/faqs/2011-05-02-mkd-file-extension.mkd
|
|
333
|
+
- spec/support/data/faqs/2012-02-13-102030-custom-title-and-timestamp.markdown
|
|
334
|
+
- spec/support/data/faqs/2015-02-13-custom-title.markdown
|
|
335
|
+
- spec/support/data/faqs/missing-date-from-filename.markdown
|
|
336
|
+
- spec/support/rails_app/.gitignore
|
|
337
|
+
- spec/support/rails_app/app/controllers/application_controller.rb
|
|
338
|
+
- spec/support/rails_app/app/faqs/2011-04-01-first-faq.markdown
|
|
339
|
+
- spec/support/rails_app/app/faqs/2011-04-28-image.markdown
|
|
340
|
+
- spec/support/rails_app/app/faqs/2011-04-28-summary.markdown
|
|
341
|
+
- spec/support/rails_app/app/faqs/2011-05-01-full-metadata.markdown
|
|
342
|
+
- spec/support/rails_app/app/faqs/2015-02-13-custom-title.markdown
|
|
343
|
+
- spec/support/rails_app/app/views/layouts/application.html.erb
|
|
344
|
+
- spec/support/rails_app/app/views/layouts/custom_layout.html.erb
|
|
345
|
+
- spec/support/rails_app/config.ru
|
|
346
|
+
- spec/support/rails_app/config/application.rb
|
|
347
|
+
- spec/support/rails_app/config/boot.rb
|
|
348
|
+
- spec/support/rails_app/config/database.yml
|
|
349
|
+
- spec/support/rails_app/config/environment.rb
|
|
350
|
+
- spec/support/rails_app/config/environments/test.rb
|
|
351
|
+
- spec/support/rails_app/config/initializers/secret_token.rb
|
|
352
|
+
- spec/support/rails_app/config/routes.rb
|
|
353
|
+
- spec/support/rails_app/db/seeds.rb
|
|
354
|
+
- spec/support/rails_app/doc/README_FOR_APP
|