pith 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/pith/input.rb +4 -2
- data/lib/pith/version.rb +1 -1
- metadata +13 -29
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YTFhNTdhNzIzMjAzYTVlYmNmNTc3OTNjNjhmYjJkYTQ0ZmNlNGQ4YQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NzYwZmEyZWU2NWFhNDc0NTZjZjY5YWZhZWRjMzg1NjgzMTcyNzhmZA==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZWZkZDcxYjBlNjZkNDJmNzcxZjBhYTc3OWJiZjZkOWU5ZWYyYjU1MWMyMTI4
|
10
|
+
ZTAwNDhmZWM2ZjQ3MGVlYTMxMDU0ZmJiZjkxMzJkNjJiNGExZWQzMzY3ZjZm
|
11
|
+
NTgxMTcwMjQwYTY4OWJlMmRhMzRhMDg5OTIzNjc4ODJiZDM5MTA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MjEwNmJlMmRhMjM1YWI1OWI3NDQ0OTU3YzIyMDFkOTdkZTcwMTA3YmNkNDRl
|
14
|
+
MmE0YzA2MzNlNTZmZDlmYjVjNTdmNmFjNGVkMTBiMzA2YTdhMjBmMGU4ZWM1
|
15
|
+
OTVmZTQ3MDJhYTgxNjdlZDM3ZGY2OWE1MWVmZjIzNGFmMzg3N2I=
|
data/lib/pith/input.rb
CHANGED
@@ -150,8 +150,10 @@ module Pith
|
|
150
150
|
def determine_pipeline
|
151
151
|
@pipeline = []
|
152
152
|
remaining_path = path.to_s
|
153
|
-
while remaining_path =~ /^(.+)
|
154
|
-
|
153
|
+
while remaining_path =~ /^(.+)(\..+)$/
|
154
|
+
extension = $2
|
155
|
+
break if extension == ".html" # ignore Tilt::PlainTemplate
|
156
|
+
if handler = Tilt[extension]
|
155
157
|
remaining_path = $1
|
156
158
|
@pipeline << handler
|
157
159
|
else
|
data/lib/pith/version.rb
CHANGED
metadata
CHANGED
@@ -1,80 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 0.3.2
|
4
|
+
version: 0.3.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Mike Williams
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-03-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
|
14
|
+
prerelease: false
|
16
15
|
version_requirements: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.3'
|
22
20
|
name: tilt
|
23
|
-
prerelease: false
|
24
21
|
requirement: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
22
|
requirements:
|
27
23
|
- - ! '>='
|
28
24
|
- !ruby/object:Gem::Version
|
29
25
|
version: '1.3'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
26
|
type: :runtime
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
prerelease: false
|
32
29
|
version_requirements: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 1.2.1
|
38
34
|
name: rack
|
39
|
-
prerelease: false
|
40
35
|
requirement: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
36
|
requirements:
|
43
37
|
- - ! '>='
|
44
38
|
- !ruby/object:Gem::Version
|
45
39
|
version: 1.2.1
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
40
|
type: :runtime
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
prerelease: false
|
48
43
|
version_requirements: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 1.2.7
|
54
48
|
name: thin
|
55
|
-
prerelease: false
|
56
49
|
requirement: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
50
|
requirements:
|
59
51
|
- - ! '>='
|
60
52
|
- !ruby/object:Gem::Version
|
61
53
|
version: 1.2.7
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
54
|
type: :runtime
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
prerelease: false
|
64
57
|
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 0.3.0
|
70
62
|
name: clamp
|
71
|
-
prerelease: false
|
72
63
|
requirement: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
64
|
requirements:
|
75
65
|
- - ! '>='
|
76
66
|
- !ruby/object:Gem::Version
|
77
67
|
version: 0.3.0
|
68
|
+
type: :runtime
|
78
69
|
description: ! 'Pith builds static websites, using markup/template languages including
|
79
70
|
Haml, Sass, ERb, Liquid, Markdown and Textile.
|
80
71
|
|
@@ -169,33 +160,26 @@ files:
|
|
169
160
|
- bin/pith
|
170
161
|
homepage: http://github.com/mdub/pith
|
171
162
|
licenses: []
|
163
|
+
metadata: {}
|
172
164
|
post_install_message:
|
173
165
|
rdoc_options: []
|
174
166
|
require_paths:
|
175
167
|
- lib
|
176
168
|
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
169
|
requirements:
|
179
170
|
- - ! '>='
|
180
171
|
- !ruby/object:Gem::Version
|
181
|
-
segments:
|
182
|
-
- 0
|
183
|
-
hash: -4121132495916590095
|
184
172
|
version: '0'
|
185
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
174
|
requirements:
|
188
175
|
- - ! '>='
|
189
176
|
- !ruby/object:Gem::Version
|
190
|
-
segments:
|
191
|
-
- 0
|
192
|
-
hash: -4121132495916590095
|
193
177
|
version: '0'
|
194
178
|
requirements: []
|
195
179
|
rubyforge_project:
|
196
|
-
rubygems_version:
|
180
|
+
rubygems_version: 2.0.0
|
197
181
|
signing_key:
|
198
|
-
specification_version:
|
182
|
+
specification_version: 4
|
199
183
|
summary: A static website generator
|
200
184
|
test_files:
|
201
185
|
- Rakefile
|