mint 0.5.1 → 0.7.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.
- data/Gemfile +18 -0
- data/README.md +3 -3
- data/bin/mint +27 -27
- data/bin/mint-epub +6 -6
- data/config/syntax.yaml +12 -12
- data/{templates → config/templates}/base/style.sass +11 -4
- data/config/templates/default/css/style.css +158 -0
- data/config/templates/default/layout.haml +8 -0
- data/{templates → config/templates}/default/style.sass +0 -0
- data/{templates/default → config/templates/protocol}/layout.haml +0 -0
- data/config/templates/protocol/style.sass +20 -0
- data/config/templates/reset.css +92 -0
- data/config/templates/zen/css/style.css +145 -0
- data/{templates/pro → config/templates/zen}/layout.haml +0 -0
- data/config/templates/zen/style.sass +24 -0
- data/features/config.feature +21 -0
- data/features/publish.feature +3 -3
- data/features/support/env.rb +9 -27
- data/features/templates.feature +79 -0
- data/lib/mint.rb +11 -11
- data/lib/mint/{commandline.rb → command_line.rb} +96 -80
- data/lib/mint/css.rb +43 -34
- data/lib/mint/document.rb +99 -93
- data/lib/mint/helpers.rb +21 -17
- data/lib/mint/layout.rb +1 -1
- data/lib/mint/mint.rb +92 -36
- data/lib/mint/plugin.rb +5 -5
- data/lib/mint/plugins/epub.rb +51 -51
- data/lib/mint/resource.rb +2 -2
- data/lib/mint/style.rb +2 -2
- data/lib/mint/version.rb +1 -1
- data/spec/command_line_spec.rb +87 -0
- data/spec/css_spec.rb +46 -0
- data/spec/document_spec.rb +38 -40
- data/spec/helpers_spec.rb +101 -83
- data/spec/layout_spec.rb +1 -1
- data/spec/mint_spec.rb +184 -60
- data/spec/plugin_spec.rb +61 -67
- data/spec/plugins/epub_spec.rb +47 -47
- data/spec/resource_spec.rb +9 -9
- data/spec/spec_helper.rb +20 -93
- data/spec/style_spec.rb +6 -8
- data/spec/support/fixtures/content.md +16 -0
- data/spec/support/fixtures/dynamic.sass +3 -0
- data/spec/support/fixtures/layout.haml +3 -0
- data/spec/support/fixtures/static.css +3 -0
- data/spec/support/matchers.rb +15 -0
- metadata +160 -70
- data/spec/commandline_spec.rb +0 -91
- data/templates/pro/style.sass +0 -0
data/spec/style_spec.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
require
|
1
|
+
require "spec_helper"
|
2
2
|
|
3
3
|
module Mint
|
4
4
|
describe Style do
|
5
|
-
before { @tmp_dir = Dir.getwd }
|
6
|
-
|
7
5
|
context "when it's created from a static file" do
|
8
6
|
let(:style) { Style.new @static_style_file }
|
9
7
|
subject { style }
|
@@ -33,10 +31,10 @@ module Mint
|
|
33
31
|
|
34
32
|
context "when it's created with a specified destination" do
|
35
33
|
let(:style) { Style.new @static_style_file,
|
36
|
-
:destination =>
|
34
|
+
:destination => "destination" }
|
37
35
|
subject { style }
|
38
36
|
|
39
|
-
its(:destination) { should ==
|
37
|
+
its(:destination) { should == "destination" }
|
40
38
|
its(:destination_file) do
|
41
39
|
should == "#{@tmp_dir}/destination/static.css"
|
42
40
|
end
|
@@ -52,7 +50,7 @@ module Mint
|
|
52
50
|
|
53
51
|
# it "#destination_file" do
|
54
52
|
# style.destination_file.should ==
|
55
|
-
# Mint.path_for_scope(:local) +
|
53
|
+
# Mint.path_for_scope(:local) + "/templates/static_test/style.css"
|
56
54
|
# end
|
57
55
|
# end
|
58
56
|
|
@@ -60,9 +58,9 @@ module Mint
|
|
60
58
|
let(:style) { Style.new(Mint.lookup_template(:default, :style)) }
|
61
59
|
subject { style }
|
62
60
|
|
63
|
-
its(:destination) { should ==
|
61
|
+
its(:destination) { should == "css" }
|
64
62
|
its(:destination_file) do
|
65
|
-
should == "#{Mint.root}/templates/default/css/style.css"
|
63
|
+
should == "#{Mint.root}/config/templates/default/css/style.css"
|
66
64
|
end
|
67
65
|
end
|
68
66
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
RSpec::Matchers.define :be_in_directory do |name|
|
2
|
+
match {|resource| resource.source_directory =~ /#{name}/ }
|
3
|
+
end
|
4
|
+
|
5
|
+
RSpec::Matchers.define :be_path do |name|
|
6
|
+
match {|resource| resource == Pathname.new(name) }
|
7
|
+
end
|
8
|
+
|
9
|
+
RSpec::Matchers.define :be_in_template do |name|
|
10
|
+
match {|file| file =~ /#{Mint.root}.*#{name}/ }
|
11
|
+
end
|
12
|
+
|
13
|
+
RSpec::Matchers.define :be_a_template do |name|
|
14
|
+
match {|file| Mint.template? file }
|
15
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-09-21 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tilt
|
16
|
-
requirement: &
|
16
|
+
requirement: &70142730661940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70142730661940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdiscount
|
27
|
-
requirement: &
|
27
|
+
requirement: &70142730706280 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70142730706280
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: erubis
|
38
|
-
requirement: &
|
38
|
+
requirement: &70142730705860 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70142730705860
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: haml
|
49
|
-
requirement: &
|
49
|
+
requirement: &70142730705440 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70142730705440
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: sass
|
60
|
-
requirement: &
|
60
|
+
requirement: &70142730705020 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70142730705020
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdiscount
|
71
|
-
requirement: &
|
71
|
+
requirement: &70142730704600 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70142730704600
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: liquid
|
82
|
-
requirement: &
|
82
|
+
requirement: &70142730704180 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70142730704180
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: less
|
93
|
-
requirement: &
|
93
|
+
requirement: &70142730703760 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70142730703760
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: radius
|
104
|
-
requirement: &
|
104
|
+
requirement: &70142730703340 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70142730703340
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: markaby
|
115
|
-
requirement: &
|
115
|
+
requirement: &70142730702920 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70142730702920
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: active_support
|
126
|
-
requirement: &
|
126
|
+
requirement: &70142730702500 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70142730702500
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: nokogiri
|
137
|
-
requirement: &
|
137
|
+
requirement: &70142730702080 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :runtime
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *70142730702080
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: hashie
|
148
|
-
requirement: &
|
148
|
+
requirement: &70142730701660 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,10 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :runtime
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *70142730701660
|
157
157
|
- !ruby/object:Gem::Dependency
|
158
158
|
name: rubyzip
|
159
|
-
requirement: &
|
159
|
+
requirement: &70142730701240 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ! '>='
|
@@ -164,10 +164,10 @@ dependencies:
|
|
164
164
|
version: '0'
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
|
-
version_requirements: *
|
167
|
+
version_requirements: *70142730701240
|
168
168
|
- !ruby/object:Gem::Dependency
|
169
169
|
name: rspec
|
170
|
-
requirement: &
|
170
|
+
requirement: &70142730700820 !ruby/object:Gem::Requirement
|
171
171
|
none: false
|
172
172
|
requirements:
|
173
173
|
- - ! '>='
|
@@ -175,10 +175,10 @@ dependencies:
|
|
175
175
|
version: '0'
|
176
176
|
type: :development
|
177
177
|
prerelease: false
|
178
|
-
version_requirements: *
|
178
|
+
version_requirements: *70142730700820
|
179
179
|
- !ruby/object:Gem::Dependency
|
180
180
|
name: cucumber
|
181
|
-
requirement: &
|
181
|
+
requirement: &70142730700400 !ruby/object:Gem::Requirement
|
182
182
|
none: false
|
183
183
|
requirements:
|
184
184
|
- - ! '>='
|
@@ -186,10 +186,10 @@ dependencies:
|
|
186
186
|
version: '0'
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
|
-
version_requirements: *
|
189
|
+
version_requirements: *70142730700400
|
190
190
|
- !ruby/object:Gem::Dependency
|
191
191
|
name: aruba
|
192
|
-
requirement: &
|
192
|
+
requirement: &70142730699980 !ruby/object:Gem::Requirement
|
193
193
|
none: false
|
194
194
|
requirements:
|
195
195
|
- - ! '>='
|
@@ -197,8 +197,76 @@ dependencies:
|
|
197
197
|
version: '0'
|
198
198
|
type: :development
|
199
199
|
prerelease: false
|
200
|
-
version_requirements: *
|
201
|
-
description:
|
200
|
+
version_requirements: *70142730699980
|
201
|
+
description: ! "What is Mint?\n-------------\n\nMint transforms your plain text documents
|
202
|
+
into beautiful documents. It makes that process as simple (but customizable) as
|
203
|
+
possible.\n\nWhy would you want to keep all of your documents as plain text?\n\n-
|
204
|
+
To focus on words and structure when you write\n- To be able to apply one style
|
205
|
+
to an entire set of documents with one command\n- To keep your documents under version
|
206
|
+
control\n- To make your documents available for scripting--for example, text analysis\n\nWhat
|
207
|
+
does Mint create from these source files? Beautiful, styled HTML ready to print,
|
208
|
+
e-mail, and present.\n\nIn a few words: *Mint processes words so you don't have
|
209
|
+
to.*\n\nThe mint command\n----------------\n\nIf you have a plain text document
|
210
|
+
formatted in Markdown or Textile or almost any other templating language, you're
|
211
|
+
ready to go.\n\nThe easiest Mint command doesn't require configuration. It transforms
|
212
|
+
a document into HTML and links it to the default stylesheet, which I've designed
|
213
|
+
for you.\n\nSimply type:\n\n mint publish Minimalism.md\n\nAnd voilà,
|
214
|
+
Minimalism.html will show up next to Minimalism.md.\n\nOpening Minimalism.html with
|
215
|
+
your favorite web browser--[Firefox is best for typography][Firefox typography],
|
216
|
+
but Webkit-based browsers (Chrome, Safari) work, too--will show what looks like
|
217
|
+
a word-processed document, complete with big bold headers, italic emphasis, automatically
|
218
|
+
indented and numbered lists, and bullets. If you're in a modern browser, you'll
|
219
|
+
even see ligatures and proper kerning. The page will be on a white canvas that looks
|
220
|
+
like a page, even though you are in a browser.\n\nSending that page to a printer
|
221
|
+
is as easy as clicking \"Print\" from your browser. What comes out of your printer
|
222
|
+
will have a 12 pt base font, normal margins, and a not-too-cramped baseline. (Ah
|
223
|
+
the wonder of print stylesheets.)\n\nYou can throw as many files as you'd like in.
|
224
|
+
Any commandline argument *not* preceded by an option (e.g., `--template`) or in
|
225
|
+
the `mint` command vocabulary (more on that in a minute) will be interpreted as
|
226
|
+
a file name:\n\n mint publish Minimalism.md Proposal.md Protocol.md\n\nThis command
|
227
|
+
can be tweaked with options and arguments to be more flexible:\n\n mint publish
|
228
|
+
Minimalism.md --template resume # specifies a style template\n mint publish
|
229
|
+
Minimalism.md --destination final --style-destination=styles\n\nFor a listing of
|
230
|
+
mint options, take [a look at the API][API].\n\nA basic Mint document\n---------------------\n\nMint
|
231
|
+
is loaded with smart defaults, so if you don't want to configure something--say,
|
232
|
+
the basic HTML skeleton of your document or the output directory--you don't have
|
233
|
+
to. You'll probably be surprised at how easy it is to use out of the box, and how
|
234
|
+
configurable it is.\n\n document = Document.new \"Minimalism.md\"\n document.publish!\n\nIf
|
235
|
+
you want to customize your document, though--and that's why I built this library--Mint
|
236
|
+
makes that easy.\n\nTo understand Mint's flexibility, you'll want to [take a look
|
237
|
+
at the API][API].\n\n[Firefox typography]: http://opentype.info/blog/2008/06/14/kerning-and-opentype-features-in-firefox-3/
|
238
|
+
\"Firefox 3 supports kerning and automatic ligatures\"\n\nTemplates\n---------\n\nTemplates
|
239
|
+
can be written in any format accepted by the Tilt template interface library. (See
|
240
|
+
[the Tilt TEMPLATES file][Tilt templates] for more information.)\n\nIn a template
|
241
|
+
layouts, Ruby calls are sparse but necessary.\n\nIf you're designing a layout, you
|
242
|
+
need to indicate where Mint should place your content. For that simple reason, raw
|
243
|
+
HTML files cannot be layouts. Instead, if you want to use HTML templates, you should
|
244
|
+
use the ERB format. These files are essentially HTML with the possibility for Ruby
|
245
|
+
calls. You can even use the .html extension for your files. Just code the dynamic
|
246
|
+
portion using ERB syntax.\n\nInside your template, use the `content` method to place
|
247
|
+
your source's content.\n\nYou will want to point to your document's stylesheet (via
|
248
|
+
a relative URL) from within your layout, usually in the `<head/>` element. Use the
|
249
|
+
`stylesheet` method.\n\nSo if you're writing your layout using Haml, the template
|
250
|
+
might look like this:\n\n !!!\n %html\n %head\n %link(rel=\"stylesheet\"
|
251
|
+
href=stylesheet)\n\n %body\n #container= content\n\nYou can build stylesheets
|
252
|
+
using [CSS][], [SASS/SCSS][] or [Less][]. They will always be compiled for you.\n\nMint
|
253
|
+
comes preloaded with several styles and layouts.\n\n1. Default\n2. Zen\n3. Resume\\*\n4.
|
254
|
+
Protocol\n5. Protocol Flow\\* - requires Javascript and jQuery\n\n> Note: Starred
|
255
|
+
entries are not yet implemented. If you have a killer\n> template you think should
|
256
|
+
be included, send it my way. I'll check\n> it out and see if it should be part of
|
257
|
+
the standard template library.\n> (Of course, you'll get all the credit.)\n\nI've
|
258
|
+
included a base stylesheet that is useful for setting sensible typographic defaults.\n\nPlugins:
|
259
|
+
A work in progress\n---------------------------\n\nI've designed the beginnings
|
260
|
+
of a plugin system. With this system, you can implement a callback or two and have
|
261
|
+
full control over document creation and sharing. I'll get documentation going soon.
|
262
|
+
For now, look to lib/mint/plugins/epub.rb and bin/mint-epub for an example of how
|
263
|
+
to build one. It's not complete and I'm open to API suggestions. \n\nThis is going
|
264
|
+
to be useful for things like creating actual office documents or e-books or even
|
265
|
+
bound novels. I'm actually thinking that half the power of this library is its plugin
|
266
|
+
system.\n\n[API]: http://github.com/davejacobs/mint/tree/master/doc/API.md\n[Tilt
|
267
|
+
templates]: http://github.com/rtomayko/tilt/blob/master/TEMPLATES.md \"A listing
|
268
|
+
of all templates supported by Tilt.\"\n[CSS]: http://en.wikipedia.org/wiki/Cascading_Style_Sheets\n[SASS/SCSS]:
|
269
|
+
http://sass-lang.com/\n[Less]: http://lesscss.org/\n\n"
|
202
270
|
email: david@wit.io
|
203
271
|
executables:
|
204
272
|
- mint
|
@@ -206,46 +274,60 @@ executables:
|
|
206
274
|
extensions: []
|
207
275
|
extra_rdoc_files: []
|
208
276
|
files:
|
209
|
-
- README.md
|
210
277
|
- bin/mint
|
211
278
|
- bin/mint-epub
|
212
|
-
-
|
213
|
-
-
|
279
|
+
- config/syntax.yaml
|
280
|
+
- config/templates/base/style.sass
|
281
|
+
- config/templates/default/css/style.css
|
282
|
+
- config/templates/default/layout.haml
|
283
|
+
- config/templates/default/style.sass
|
284
|
+
- config/templates/protocol/layout.haml
|
285
|
+
- config/templates/protocol/style.sass
|
286
|
+
- config/templates/reset.css
|
287
|
+
- config/templates/zen/css/style.css
|
288
|
+
- config/templates/zen/layout.haml
|
289
|
+
- config/templates/zen/style.sass
|
290
|
+
- lib/mint/command_line.rb
|
291
|
+
- lib/mint/css.rb
|
292
|
+
- lib/mint/document.rb
|
214
293
|
- lib/mint/exceptions.rb
|
294
|
+
- lib/mint/helpers.rb
|
295
|
+
- lib/mint/layout.rb
|
215
296
|
- lib/mint/mint.rb
|
297
|
+
- lib/mint/plugin.rb
|
298
|
+
- lib/mint/plugins/epub.rb
|
216
299
|
- lib/mint/resource.rb
|
217
|
-
- lib/mint/layout.rb
|
218
300
|
- lib/mint/style.rb
|
219
|
-
- lib/mint/document.rb
|
220
301
|
- lib/mint/version.rb
|
221
|
-
- lib/mint
|
222
|
-
- lib/mint/commandline.rb
|
223
|
-
- lib/mint/plugin.rb
|
224
|
-
- lib/mint/plugins/epub.rb
|
225
|
-
- config/syntax.yaml
|
226
|
-
- templates/base/style.sass
|
227
|
-
- templates/default/layout.haml
|
228
|
-
- templates/default/style.sass
|
229
|
-
- templates/pro/layout.haml
|
230
|
-
- templates/pro/style.sass
|
302
|
+
- lib/mint.rb
|
231
303
|
- plugins/templates/epub/layouts/container.haml
|
304
|
+
- plugins/templates/epub/layouts/content.haml
|
232
305
|
- plugins/templates/epub/layouts/layout.haml
|
233
306
|
- plugins/templates/epub/layouts/title.haml
|
234
307
|
- plugins/templates/epub/layouts/toc.haml
|
235
|
-
-
|
236
|
-
-
|
237
|
-
- features/
|
308
|
+
- README.md
|
309
|
+
- Gemfile
|
310
|
+
- features/config.feature
|
238
311
|
- features/plugins/epub.feature
|
239
|
-
-
|
312
|
+
- features/publish.feature
|
313
|
+
- features/support/env.rb
|
314
|
+
- features/templates.feature
|
315
|
+
- spec/command_line_spec.rb
|
316
|
+
- spec/css_spec.rb
|
317
|
+
- spec/document_spec.rb
|
240
318
|
- spec/helpers_spec.rb
|
241
|
-
- spec/mint_spec.rb
|
242
|
-
- spec/resource_spec.rb
|
243
319
|
- spec/layout_spec.rb
|
244
|
-
- spec/
|
245
|
-
- spec/document_spec.rb
|
246
|
-
- spec/commandline_spec.rb
|
320
|
+
- spec/mint_spec.rb
|
247
321
|
- spec/plugin_spec.rb
|
248
322
|
- spec/plugins/epub_spec.rb
|
323
|
+
- spec/resource_spec.rb
|
324
|
+
- spec/spec_helper.rb
|
325
|
+
- spec/style_spec.rb
|
326
|
+
- spec/support/fixtures/content.md
|
327
|
+
- spec/support/fixtures/dynamic.sass
|
328
|
+
- spec/support/fixtures/layout.haml
|
329
|
+
- spec/support/fixtures/static.css
|
330
|
+
- spec/support/matchers.rb
|
249
331
|
homepage: http://github.com/davejacobs/mint
|
250
332
|
licenses: []
|
251
333
|
post_install_message:
|
@@ -266,22 +348,30 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
266
348
|
version: 1.3.6
|
267
349
|
requirements: []
|
268
350
|
rubyforge_project:
|
269
|
-
rubygems_version: 1.8.
|
351
|
+
rubygems_version: 1.8.15
|
270
352
|
signing_key:
|
271
353
|
specification_version: 3
|
272
354
|
summary: Clean, simple library for maintaining and styling documents without a word
|
273
355
|
processor
|
274
356
|
test_files:
|
275
|
-
- features/
|
276
|
-
- features/publish.feature
|
357
|
+
- features/config.feature
|
277
358
|
- features/plugins/epub.feature
|
278
|
-
-
|
359
|
+
- features/publish.feature
|
360
|
+
- features/support/env.rb
|
361
|
+
- features/templates.feature
|
362
|
+
- spec/command_line_spec.rb
|
363
|
+
- spec/css_spec.rb
|
364
|
+
- spec/document_spec.rb
|
279
365
|
- spec/helpers_spec.rb
|
280
|
-
- spec/mint_spec.rb
|
281
|
-
- spec/resource_spec.rb
|
282
366
|
- spec/layout_spec.rb
|
283
|
-
- spec/
|
284
|
-
- spec/document_spec.rb
|
285
|
-
- spec/commandline_spec.rb
|
367
|
+
- spec/mint_spec.rb
|
286
368
|
- spec/plugin_spec.rb
|
287
369
|
- spec/plugins/epub_spec.rb
|
370
|
+
- spec/resource_spec.rb
|
371
|
+
- spec/spec_helper.rb
|
372
|
+
- spec/style_spec.rb
|
373
|
+
- spec/support/fixtures/content.md
|
374
|
+
- spec/support/fixtures/dynamic.sass
|
375
|
+
- spec/support/fixtures/layout.haml
|
376
|
+
- spec/support/fixtures/static.css
|
377
|
+
- spec/support/matchers.rb
|