middleman-tansu 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +13 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/features/auto_index.feature +155 -0
- data/features/helpers.feature +138 -0
- data/features/step_definitions/helpers_steps.rb +11 -0
- data/features/support/env.rb +4 -0
- data/features/tansu_cli.feature +80 -0
- data/features/template_cli.feature +27 -0
- data/fixtures/.gitkeep +0 -0
- data/fixtures/breadcrumbs-app/config.rb +1 -0
- data/fixtures/breadcrumbs-app/source/dir/page.md +0 -0
- data/fixtures/breadcrumbs-app/source/images/.gitkeep +0 -0
- data/fixtures/breadcrumbs-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/breadcrumbs-app/source/layouts/layout.erb +13 -0
- data/fixtures/breadcrumbs-app/source/stylesheets/all.css +0 -0
- data/fixtures/breadcrumbs-app/source/templates/index.html.erb +1 -0
- data/fixtures/breadcrumbs-params-app/config.rb +1 -0
- data/fixtures/breadcrumbs-params-app/source/dir/page.md +0 -0
- data/fixtures/breadcrumbs-params-app/source/images/.gitkeep +0 -0
- data/fixtures/breadcrumbs-params-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/breadcrumbs-params-app/source/layouts/layout.erb +13 -0
- data/fixtures/breadcrumbs-params-app/source/stylesheets/all.css +0 -0
- data/fixtures/breadcrumbs-params-app/source/templates/index.html.erb +1 -0
- data/fixtures/children-pages-app/config.rb +2 -0
- data/fixtures/children-pages-app/source/dir1/no-title-page.md +4 -0
- data/fixtures/children-pages-app/source/dir1/page1.md +5 -0
- data/fixtures/children-pages-app/source/dir1/page2.md +5 -0
- data/fixtures/children-pages-app/source/dir1/page3.md +5 -0
- data/fixtures/children-pages-app/source/dir1/sub_dir1/page1.md +5 -0
- data/fixtures/children-pages-app/source/dir1/sub_dir2/.gitkeep +0 -0
- data/fixtures/children-pages-app/source/dir2/.gitkeep +0 -0
- data/fixtures/children-pages-app/source/images/.gitkeep +0 -0
- data/fixtures/children-pages-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/children-pages-app/source/layouts/layout.erb +13 -0
- data/fixtures/children-pages-app/source/page1.md +5 -0
- data/fixtures/children-pages-app/source/stylesheets/all.css +0 -0
- data/fixtures/children-pages-app/source/templates/index.html.erb +1 -0
- data/fixtures/children-pages-with-category-app/config.rb +2 -0
- data/fixtures/children-pages-with-category-app/source/dir1/no-title-page.md +5 -0
- data/fixtures/children-pages-with-category-app/source/dir1/page1.md +6 -0
- data/fixtures/children-pages-with-category-app/source/dir1/page2.md +6 -0
- data/fixtures/children-pages-with-category-app/source/dir1/page3.md +6 -0
- data/fixtures/children-pages-with-category-app/source/dir1/sub_dir1/page1.md +5 -0
- data/fixtures/children-pages-with-category-app/source/dir1/sub_dir2/.gitkeep +0 -0
- data/fixtures/children-pages-with-category-app/source/dir2/.gitkeep +0 -0
- data/fixtures/children-pages-with-category-app/source/images/.gitkeep +0 -0
- data/fixtures/children-pages-with-category-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/children-pages-with-category-app/source/layouts/layout.erb +13 -0
- data/fixtures/children-pages-with-category-app/source/page1.md +5 -0
- data/fixtures/children-pages-with-category-app/source/stylesheets/all.css +0 -0
- data/fixtures/children-pages-with-category-app/source/templates/index.html.erb +1 -0
- data/fixtures/drawer-app-with-markdown/config.rb +1 -0
- data/fixtures/drawer-app-with-markdown/source/empty_dir/sub_empty_dir/.gitkeep +0 -0
- data/fixtures/drawer-app-with-markdown/source/empty_dir/sub_empty_dir/sample.html.md +1 -0
- data/fixtures/drawer-app-with-markdown/source/images/.gitkeep +0 -0
- data/fixtures/drawer-app-with-markdown/source/javascripts/.gitkeep +0 -0
- data/fixtures/drawer-app-with-markdown/source/layouts/layout.erb +9 -0
- data/fixtures/drawer-app-with-markdown/source/not_empty_dir/index.html.md +1 -0
- data/fixtures/drawer-app-with-markdown/source/stylesheets/all.css +0 -0
- data/fixtures/drawer-app-with-markdown/source/templates/index.html.md +1 -0
- data/fixtures/drawer-app/config.rb +1 -0
- data/fixtures/drawer-app/source/empty_dir/sub_empty_dir/.gitkeep +0 -0
- data/fixtures/drawer-app/source/empty_dir/sub_empty_dir/sample.html.md +1 -0
- data/fixtures/drawer-app/source/images/.gitkeep +0 -0
- data/fixtures/drawer-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/drawer-app/source/layouts/layout.erb +9 -0
- data/fixtures/drawer-app/source/not_empty_dir/index.html.erb +2 -0
- data/fixtures/drawer-app/source/stylesheets/all.css +0 -0
- data/fixtures/drawer-app/source/templates/index.html.erb +1 -0
- data/fixtures/empty-app/source/.gitkeep +0 -0
- data/fixtures/path-list-app/config.rb +1 -0
- data/fixtures/path-list-app/source/images/.gitkeep +0 -0
- data/fixtures/path-list-app/source/javascripts/.gitkeep +0 -0
- data/fixtures/path-list-app/source/layouts/layout.erb +9 -0
- data/fixtures/path-list-app/source/page/list/.gitkeep +0 -0
- data/fixtures/path-list-app/source/stylesheets/all.css +0 -0
- data/fixtures/path-list-app/source/templates/index.html.erb +15 -0
- data/lib/middleman-tansu.rb +12 -0
- data/lib/middleman-tansu/command.rb +126 -0
- data/lib/middleman-tansu/drawer.rb +50 -0
- data/lib/middleman-tansu/extension.rb +34 -0
- data/lib/middleman-tansu/helpers.rb +96 -0
- data/lib/middleman-tansu/template.rb +42 -0
- data/lib/middleman-tansu/template/shared/Gemfile.tt +22 -0
- data/lib/middleman-tansu/template/shared/config.tt +84 -0
- data/lib/middleman-tansu/template/source/layouts/layout.slim +54 -0
- data/lib/middleman-tansu/template/source/sample.html.md +75 -0
- data/lib/middleman-tansu/template/source/stylesheets/all.css.sass +82 -0
- data/lib/middleman-tansu/template/source/stylesheets/github-markdown.css +696 -0
- data/lib/middleman-tansu/template/source/templates/index.html.slim +6 -0
- data/lib/middleman-tansu/version.rb +5 -0
- data/lib/middleman_extension.rb +1 -0
- data/middleman-tansu.gemspec +32 -0
- metadata +259 -0
@@ -0,0 +1 @@
|
|
1
|
+
require "middleman-tansu"
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'middleman-tansu/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "middleman-tansu"
|
8
|
+
spec.version = Middleman::Tansu::VERSION
|
9
|
+
spec.authors = ["Yuya Terajima"]
|
10
|
+
spec.email = ["terra@e2esound.com"]
|
11
|
+
spec.summary = %q{A Template of Middleman.}
|
12
|
+
spec.description = %q{A Template of Middleman.}
|
13
|
+
spec.homepage = "https://github.com/yterajima/middleman-tansu"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.required_ruby_version = '>= 1.9.3'
|
22
|
+
|
23
|
+
spec.add_runtime_dependency "middleman", "~>3.3"
|
24
|
+
|
25
|
+
spec.add_development_dependency "cucumber", "~> 1.3"
|
26
|
+
spec.add_development_dependency "aruba", "~> 0.6"
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
28
|
+
spec.add_development_dependency "rake", "~> 10"
|
29
|
+
spec.add_development_dependency "slim", "~> 3.0"
|
30
|
+
spec.add_development_dependency "redcarpet", "~> 3.2"
|
31
|
+
spec.add_development_dependency "middleman-syntax", "~> 2.0"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,259 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: middleman-tansu
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yuya Terajima
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: middleman
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: cucumber
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aruba
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.6'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.6'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '10'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: slim
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: redcarpet
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.2'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: middleman-syntax
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '2.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '2.0'
|
125
|
+
description: A Template of Middleman.
|
126
|
+
email:
|
127
|
+
- terra@e2esound.com
|
128
|
+
executables: []
|
129
|
+
extensions: []
|
130
|
+
extra_rdoc_files: []
|
131
|
+
files:
|
132
|
+
- ".gitignore"
|
133
|
+
- ".travis.yml"
|
134
|
+
- Gemfile
|
135
|
+
- LICENSE.txt
|
136
|
+
- README.md
|
137
|
+
- Rakefile
|
138
|
+
- features/auto_index.feature
|
139
|
+
- features/helpers.feature
|
140
|
+
- features/step_definitions/helpers_steps.rb
|
141
|
+
- features/support/env.rb
|
142
|
+
- features/tansu_cli.feature
|
143
|
+
- features/template_cli.feature
|
144
|
+
- fixtures/.gitkeep
|
145
|
+
- fixtures/breadcrumbs-app/config.rb
|
146
|
+
- fixtures/breadcrumbs-app/source/dir/page.md
|
147
|
+
- fixtures/breadcrumbs-app/source/images/.gitkeep
|
148
|
+
- fixtures/breadcrumbs-app/source/javascripts/.gitkeep
|
149
|
+
- fixtures/breadcrumbs-app/source/layouts/layout.erb
|
150
|
+
- fixtures/breadcrumbs-app/source/stylesheets/all.css
|
151
|
+
- fixtures/breadcrumbs-app/source/templates/index.html.erb
|
152
|
+
- fixtures/breadcrumbs-params-app/config.rb
|
153
|
+
- fixtures/breadcrumbs-params-app/source/dir/page.md
|
154
|
+
- fixtures/breadcrumbs-params-app/source/images/.gitkeep
|
155
|
+
- fixtures/breadcrumbs-params-app/source/javascripts/.gitkeep
|
156
|
+
- fixtures/breadcrumbs-params-app/source/layouts/layout.erb
|
157
|
+
- fixtures/breadcrumbs-params-app/source/stylesheets/all.css
|
158
|
+
- fixtures/breadcrumbs-params-app/source/templates/index.html.erb
|
159
|
+
- fixtures/children-pages-app/config.rb
|
160
|
+
- fixtures/children-pages-app/source/dir1/no-title-page.md
|
161
|
+
- fixtures/children-pages-app/source/dir1/page1.md
|
162
|
+
- fixtures/children-pages-app/source/dir1/page2.md
|
163
|
+
- fixtures/children-pages-app/source/dir1/page3.md
|
164
|
+
- fixtures/children-pages-app/source/dir1/sub_dir1/page1.md
|
165
|
+
- fixtures/children-pages-app/source/dir1/sub_dir2/.gitkeep
|
166
|
+
- fixtures/children-pages-app/source/dir2/.gitkeep
|
167
|
+
- fixtures/children-pages-app/source/images/.gitkeep
|
168
|
+
- fixtures/children-pages-app/source/javascripts/.gitkeep
|
169
|
+
- fixtures/children-pages-app/source/layouts/layout.erb
|
170
|
+
- fixtures/children-pages-app/source/page1.md
|
171
|
+
- fixtures/children-pages-app/source/stylesheets/all.css
|
172
|
+
- fixtures/children-pages-app/source/templates/index.html.erb
|
173
|
+
- fixtures/children-pages-with-category-app/config.rb
|
174
|
+
- fixtures/children-pages-with-category-app/source/dir1/no-title-page.md
|
175
|
+
- fixtures/children-pages-with-category-app/source/dir1/page1.md
|
176
|
+
- fixtures/children-pages-with-category-app/source/dir1/page2.md
|
177
|
+
- fixtures/children-pages-with-category-app/source/dir1/page3.md
|
178
|
+
- fixtures/children-pages-with-category-app/source/dir1/sub_dir1/page1.md
|
179
|
+
- fixtures/children-pages-with-category-app/source/dir1/sub_dir2/.gitkeep
|
180
|
+
- fixtures/children-pages-with-category-app/source/dir2/.gitkeep
|
181
|
+
- fixtures/children-pages-with-category-app/source/images/.gitkeep
|
182
|
+
- fixtures/children-pages-with-category-app/source/javascripts/.gitkeep
|
183
|
+
- fixtures/children-pages-with-category-app/source/layouts/layout.erb
|
184
|
+
- fixtures/children-pages-with-category-app/source/page1.md
|
185
|
+
- fixtures/children-pages-with-category-app/source/stylesheets/all.css
|
186
|
+
- fixtures/children-pages-with-category-app/source/templates/index.html.erb
|
187
|
+
- fixtures/drawer-app-with-markdown/config.rb
|
188
|
+
- fixtures/drawer-app-with-markdown/source/empty_dir/sub_empty_dir/.gitkeep
|
189
|
+
- fixtures/drawer-app-with-markdown/source/empty_dir/sub_empty_dir/sample.html.md
|
190
|
+
- fixtures/drawer-app-with-markdown/source/images/.gitkeep
|
191
|
+
- fixtures/drawer-app-with-markdown/source/javascripts/.gitkeep
|
192
|
+
- fixtures/drawer-app-with-markdown/source/layouts/layout.erb
|
193
|
+
- fixtures/drawer-app-with-markdown/source/not_empty_dir/index.html.md
|
194
|
+
- fixtures/drawer-app-with-markdown/source/stylesheets/all.css
|
195
|
+
- fixtures/drawer-app-with-markdown/source/templates/index.html.md
|
196
|
+
- fixtures/drawer-app/config.rb
|
197
|
+
- fixtures/drawer-app/source/empty_dir/sub_empty_dir/.gitkeep
|
198
|
+
- fixtures/drawer-app/source/empty_dir/sub_empty_dir/sample.html.md
|
199
|
+
- fixtures/drawer-app/source/images/.gitkeep
|
200
|
+
- fixtures/drawer-app/source/javascripts/.gitkeep
|
201
|
+
- fixtures/drawer-app/source/layouts/layout.erb
|
202
|
+
- fixtures/drawer-app/source/not_empty_dir/index.html.erb
|
203
|
+
- fixtures/drawer-app/source/stylesheets/all.css
|
204
|
+
- fixtures/drawer-app/source/templates/index.html.erb
|
205
|
+
- fixtures/empty-app/source/.gitkeep
|
206
|
+
- fixtures/path-list-app/config.rb
|
207
|
+
- fixtures/path-list-app/source/images/.gitkeep
|
208
|
+
- fixtures/path-list-app/source/javascripts/.gitkeep
|
209
|
+
- fixtures/path-list-app/source/layouts/layout.erb
|
210
|
+
- fixtures/path-list-app/source/page/list/.gitkeep
|
211
|
+
- fixtures/path-list-app/source/stylesheets/all.css
|
212
|
+
- fixtures/path-list-app/source/templates/index.html.erb
|
213
|
+
- lib/middleman-tansu.rb
|
214
|
+
- lib/middleman-tansu/command.rb
|
215
|
+
- lib/middleman-tansu/drawer.rb
|
216
|
+
- lib/middleman-tansu/extension.rb
|
217
|
+
- lib/middleman-tansu/helpers.rb
|
218
|
+
- lib/middleman-tansu/template.rb
|
219
|
+
- lib/middleman-tansu/template/shared/Gemfile.tt
|
220
|
+
- lib/middleman-tansu/template/shared/config.tt
|
221
|
+
- lib/middleman-tansu/template/source/layouts/layout.slim
|
222
|
+
- lib/middleman-tansu/template/source/sample.html.md
|
223
|
+
- lib/middleman-tansu/template/source/stylesheets/all.css.sass
|
224
|
+
- lib/middleman-tansu/template/source/stylesheets/github-markdown.css
|
225
|
+
- lib/middleman-tansu/template/source/templates/index.html.slim
|
226
|
+
- lib/middleman-tansu/version.rb
|
227
|
+
- lib/middleman_extension.rb
|
228
|
+
- middleman-tansu.gemspec
|
229
|
+
homepage: https://github.com/yterajima/middleman-tansu
|
230
|
+
licenses:
|
231
|
+
- MIT
|
232
|
+
metadata: {}
|
233
|
+
post_install_message:
|
234
|
+
rdoc_options: []
|
235
|
+
require_paths:
|
236
|
+
- lib
|
237
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - ">="
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: 1.9.3
|
242
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
|
+
requirements:
|
244
|
+
- - ">="
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '0'
|
247
|
+
requirements: []
|
248
|
+
rubyforge_project:
|
249
|
+
rubygems_version: 2.4.5
|
250
|
+
signing_key:
|
251
|
+
specification_version: 4
|
252
|
+
summary: A Template of Middleman.
|
253
|
+
test_files:
|
254
|
+
- features/auto_index.feature
|
255
|
+
- features/helpers.feature
|
256
|
+
- features/step_definitions/helpers_steps.rb
|
257
|
+
- features/support/env.rb
|
258
|
+
- features/tansu_cli.feature
|
259
|
+
- features/template_cli.feature
|