jekyll 0.5.7 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of jekyll might be problematic. Click here for more details.
- data/History.txt +88 -31
- data/LICENSE +21 -0
- data/README.textile +1 -9
- data/Rakefile +119 -51
- data/bin/jekyll +26 -2
- data/cucumber.yml +1 -0
- data/features/create_sites.feature +28 -10
- data/features/post_data.feature +7 -7
- data/features/site_configuration.feature +41 -1
- data/features/step_definitions/jekyll_steps.rb +13 -4
- data/jekyll.gemspec +125 -143
- data/lib/jekyll.rb +40 -20
- data/lib/jekyll/albino.rb +5 -7
- data/lib/jekyll/converter.rb +50 -0
- data/lib/jekyll/converters/identity.rb +22 -0
- data/lib/jekyll/converters/markdown.rb +77 -0
- data/lib/jekyll/converters/textile.rb +33 -0
- data/lib/jekyll/convertible.rb +18 -24
- data/lib/jekyll/errors.rb +6 -0
- data/lib/jekyll/generator.rb +7 -0
- data/lib/jekyll/generators/pagination.rb +87 -0
- data/lib/jekyll/{converters → migrators}/csv.rb +0 -0
- data/lib/jekyll/{converters → migrators}/mephisto.rb +0 -0
- data/lib/jekyll/{converters → migrators}/mt.rb +0 -0
- data/lib/jekyll/{converters → migrators}/textpattern.rb +0 -0
- data/lib/jekyll/{converters → migrators}/typo.rb +0 -0
- data/lib/jekyll/{converters → migrators}/wordpress.rb +1 -0
- data/lib/jekyll/page.rb +28 -11
- data/lib/jekyll/plugin.rb +76 -0
- data/lib/jekyll/post.rb +10 -8
- data/lib/jekyll/site.rb +40 -88
- data/lib/jekyll/static_file.rb +52 -4
- data/lib/jekyll/tags/highlight.rb +20 -9
- data/test/helper.rb +6 -0
- data/test/source/_posts/2010-01-09-date-override.textile +2 -0
- data/test/source/_posts/2010-01-09-time-override.textile +2 -0
- data/test/source/_posts/2010-01-09-timezone-override.textile +7 -0
- data/test/source/_posts/2010-01-16-override-data.textile +4 -0
- data/test/source/sitemap.xml +27 -18
- data/test/test_configuration.rb +1 -1
- data/test/test_generated_site.rb +1 -1
- data/test/test_post.rb +63 -12
- data/test/test_site.rb +69 -7
- data/test/test_tags.rb +6 -14
- metadata +156 -52
- data/.gitignore +0 -6
- data/VERSION.yml +0 -5
- data/lib/jekyll/pager.rb +0 -45
data/cucumber.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
default: --format progress
|
@@ -39,11 +39,11 @@ Feature: Create sites
|
|
39
39
|
|
40
40
|
Scenario: Basic site with layouts, pages, posts and files
|
41
41
|
Given I have a _layouts directory
|
42
|
-
And I have a page layout that contains "Page
|
43
|
-
And I have a post layout that contains "Post
|
44
|
-
And I have an "index.html" page with layout "page" that contains "site
|
42
|
+
And I have a page layout that contains "Page {{ page.title }}: {{ content }}"
|
43
|
+
And I have a post layout that contains "Post {{ page.title }}: {{ content }}"
|
44
|
+
And I have an "index.html" page with layout "page" that contains "Site contains {{ site.pages.size }} pages and {{ site.posts.size }} posts"
|
45
45
|
And I have a blog directory
|
46
|
-
And I have a "blog/index.html" page with layout "page" that contains "category index page"
|
46
|
+
And I have a "blog/index.html" page with layout "page" that contains "blog category index page"
|
47
47
|
And I have an "about.html" file that contains "No replacement {{ site.posts.size }}"
|
48
48
|
And I have an "another_file" file that contains ""
|
49
49
|
And I have a _posts directory
|
@@ -58,14 +58,14 @@ Feature: Create sites
|
|
58
58
|
| entry4 | 6/27/2009 | post | content for entry4. |
|
59
59
|
When I run jekyll
|
60
60
|
Then the _site directory should exist
|
61
|
-
And I should see "Page
|
61
|
+
And I should see "Page : Site contains 2 pages and 4 posts" in "_site/index.html"
|
62
62
|
And I should see "No replacement \{\{ site.posts.size \}\}" in "_site/about.html"
|
63
63
|
And I should see "" in "_site/another_file"
|
64
|
-
And I should see "Page
|
65
|
-
And I should see "Post
|
66
|
-
And I should see "Post
|
67
|
-
And I should see "Post
|
68
|
-
And I should see "Post
|
64
|
+
And I should see "Page : blog category index page" in "_site/blog/index.html"
|
65
|
+
And I should see "Post entry1: <p>content for entry1.</p>" in "_site/2009/03/27/entry1.html"
|
66
|
+
And I should see "Post entry2: <p>content for entry2.</p>" in "_site/2009/04/27/entry2.html"
|
67
|
+
And I should see "Post entry3: <p>content for entry3.</p>" in "_site/category/2009/05/27/entry3.html"
|
68
|
+
And I should see "Post entry4: <p>content for entry4.</p>" in "_site/category/2009/06/27/entry4.html"
|
69
69
|
|
70
70
|
Scenario: Basic site with include tag
|
71
71
|
Given I have a _includes directory
|
@@ -74,3 +74,21 @@ Feature: Create sites
|
|
74
74
|
When I run jekyll
|
75
75
|
Then the _site directory should exist
|
76
76
|
And I should see "Basic Site with include tag: Generated by Jekyll" in "_site/index.html"
|
77
|
+
|
78
|
+
Scenario: Basic site with subdir include tag
|
79
|
+
Given I have a _includes directory
|
80
|
+
And I have an "_includes/about.textile" file that contains "Generated by Jekyll"
|
81
|
+
And I have an info directory
|
82
|
+
And I have an "info/index.html" page that contains "Basic Site with subdir include tag: {% include about.textile %}"
|
83
|
+
When I run jekyll
|
84
|
+
Then the _site directory should exist
|
85
|
+
And I should see "Basic Site with subdir include tag: Generated by Jekyll" in "_site/info/index.html"
|
86
|
+
|
87
|
+
Scenario: Basic site with nested include tag
|
88
|
+
Given I have a _includes directory
|
89
|
+
And I have an "_includes/about.textile" file that contains "Generated by {% include jekyll.textile %}"
|
90
|
+
And I have an "_includes/jekyll.textile" file that contains "Jekyll"
|
91
|
+
And I have an "index.html" page that contains "Basic Site with include tag: {% include about.textile %}"
|
92
|
+
When I run jekyll
|
93
|
+
Then the _site directory should exist
|
94
|
+
And I should see "Basic Site with include tag: Generated by Jekyll" in "_site/index.html"
|
data/features/post_data.feature
CHANGED
@@ -82,17 +82,17 @@ Feature: Post data
|
|
82
82
|
And I should see "Post tags: twist" in "_site/2009/05/18/star-wars.html"
|
83
83
|
|
84
84
|
Scenario: Use post.categories variable when categories are in folders
|
85
|
-
Given I have a
|
86
|
-
And I have a movies
|
87
|
-
And I have a movies/
|
85
|
+
Given I have a scifi directory
|
86
|
+
And I have a scifi/movies directory
|
87
|
+
And I have a scifi/movies/_posts directory
|
88
88
|
And I have a _layouts directory
|
89
|
-
And I have the following post in "movies
|
89
|
+
And I have the following post in "scifi/movies":
|
90
90
|
| title | date | layout | content |
|
91
91
|
| Star Wars | 3/27/2009 | simple | Luke, I am your father. |
|
92
92
|
And I have a simple layout that contains "Post categories: {{ page.categories | array_to_sentence_string }}"
|
93
93
|
When I run jekyll
|
94
94
|
Then the _site directory should exist
|
95
|
-
And I should see "Post categories:
|
95
|
+
And I should see "Post categories: scifi and movies" in "_site/scifi/movies/2009/03/27/star-wars.html"
|
96
96
|
|
97
97
|
Scenario: Use post.categories variable when category is in YAML
|
98
98
|
Given I have a _posts directory
|
@@ -110,11 +110,11 @@ Feature: Post data
|
|
110
110
|
And I have a _layouts directory
|
111
111
|
And I have the following post:
|
112
112
|
| title | date | layout | categories | content |
|
113
|
-
| Star Wars | 3/27/2009 | simple | ['
|
113
|
+
| Star Wars | 3/27/2009 | simple | ['scifi', 'movies'] | Luke, I am your father. |
|
114
114
|
And I have a simple layout that contains "Post categories: {{ page.categories | array_to_sentence_string }}"
|
115
115
|
When I run jekyll
|
116
116
|
Then the _site directory should exist
|
117
|
-
And I should see "Post categories:
|
117
|
+
And I should see "Post categories: scifi and movies" in "_site/scifi/movies/2009/03/27/star-wars.html"
|
118
118
|
|
119
119
|
Scenario: Disable a post from being published
|
120
120
|
Given I have a _posts directory
|
@@ -33,7 +33,7 @@ Feature: Site configuration
|
|
33
33
|
And I have an "README" file that contains "I want to be excluded"
|
34
34
|
And I have an "index.html" file that contains "I want to be included"
|
35
35
|
And I have a configuration file with "exclude" set to:
|
36
|
-
|
|
36
|
+
| value |
|
37
37
|
| README |
|
38
38
|
| Rakefile |
|
39
39
|
When I run jekyll
|
@@ -61,3 +61,43 @@ Feature: Site configuration
|
|
61
61
|
When I run jekyll
|
62
62
|
Then the _site directory should exist
|
63
63
|
And I should see "puts 'Hello world!'" in "_site/index.html"
|
64
|
+
|
65
|
+
Scenario: Set time and no future dated posts
|
66
|
+
Given I have a _layouts directory
|
67
|
+
And I have a page layout that contains "Page Layout: {{ site.posts.size }} on {{ site.time | date: "%Y-%m-%d" }}"
|
68
|
+
And I have a post layout that contains "Post Layout: {{ content }}"
|
69
|
+
And I have an "index.html" page with layout "page" that contains "site index page"
|
70
|
+
And I have a configuration file with:
|
71
|
+
| key | value |
|
72
|
+
| time | 2010-01-01 |
|
73
|
+
| future | false |
|
74
|
+
And I have a _posts directory
|
75
|
+
And I have the following posts:
|
76
|
+
| title | date | layout | content |
|
77
|
+
| entry1 | 12/31/2007 | post | content for entry1. |
|
78
|
+
| entry2 | 01/31/2020 | post | content for entry2. |
|
79
|
+
When I run jekyll
|
80
|
+
Then the _site directory should exist
|
81
|
+
And I should see "Page Layout: 1 on 2010-01-01" in "_site/index.html"
|
82
|
+
And I should see "Post Layout: <p>content for entry1.</p>" in "_site/2007/12/31/entry1.html"
|
83
|
+
And the "_site/2020/01/31/entry2.html" file should not exist
|
84
|
+
|
85
|
+
Scenario: Set time and future dated posts allowed
|
86
|
+
Given I have a _layouts directory
|
87
|
+
And I have a page layout that contains "Page Layout: {{ site.posts.size }} on {{ site.time | date: "%Y-%m-%d" }}"
|
88
|
+
And I have a post layout that contains "Post Layout: {{ content }}"
|
89
|
+
And I have an "index.html" page with layout "page" that contains "site index page"
|
90
|
+
And I have a configuration file with:
|
91
|
+
| key | value |
|
92
|
+
| time | 2010-01-01 |
|
93
|
+
| future | true |
|
94
|
+
And I have a _posts directory
|
95
|
+
And I have the following posts:
|
96
|
+
| title | date | layout | content |
|
97
|
+
| entry1 | 12/31/2007 | post | content for entry1. |
|
98
|
+
| entry2 | 01/31/2020 | post | content for entry2. |
|
99
|
+
When I run jekyll
|
100
|
+
Then the _site directory should exist
|
101
|
+
And I should see "Page Layout: 2 on 2010-01-01" in "_site/index.html"
|
102
|
+
And I should see "Post Layout: <p>content for entry1.</p>" in "_site/2007/12/31/entry1.html"
|
103
|
+
And I should see "Post Layout: <p>content for entry2.</p>" in "_site/2020/01/31/entry2.html"
|
@@ -39,13 +39,13 @@ Given /^I have a (.*) layout that contains "(.*)"$/ do |layout, text|
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
Given /^I have
|
42
|
+
Given /^I have an? (.*) directory$/ do |dir|
|
43
43
|
FileUtils.mkdir_p(dir)
|
44
44
|
end
|
45
45
|
|
46
46
|
Given /^I have the following posts?(?: (.*) "(.*)")?:$/ do |direction, folder, table|
|
47
47
|
table.hashes.each do |post|
|
48
|
-
date = Date.
|
48
|
+
date = Date.strptime(post['date'], '%m/%d/%Y').strftime('%Y-%m-%d')
|
49
49
|
title = post['title'].downcase.gsub(/[^\w]/, " ").strip.gsub(/\s+/, '-')
|
50
50
|
|
51
51
|
if direction && direction == "in"
|
@@ -81,7 +81,16 @@ end
|
|
81
81
|
|
82
82
|
Given /^I have a configuration file with "(.*)" set to "(.*)"$/ do |key, value|
|
83
83
|
File.open('_config.yml', 'w') do |f|
|
84
|
-
f.write("#{key}: #{value}")
|
84
|
+
f.write("#{key}: #{value}\n")
|
85
|
+
f.close
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
Given /^I have a configuration file with:$/ do |table|
|
90
|
+
File.open('_config.yml', 'w') do |f|
|
91
|
+
table.hashes.each do |row|
|
92
|
+
f.write("#{row["key"]}: #{row["value"]}\n")
|
93
|
+
end
|
85
94
|
f.close
|
86
95
|
end
|
87
96
|
end
|
@@ -90,7 +99,7 @@ Given /^I have a configuration file with "([^\"]*)" set to:$/ do |key, table|
|
|
90
99
|
File.open('_config.yml', 'w') do |f|
|
91
100
|
f.write("#{key}:\n")
|
92
101
|
table.hashes.each do |row|
|
93
|
-
f.write("- #{row["
|
102
|
+
f.write("- #{row["value"]}\n")
|
94
103
|
end
|
95
104
|
f.close
|
96
105
|
end
|
data/jekyll.gemspec
CHANGED
@@ -1,150 +1,132 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
1
|
Gem::Specification.new do |s|
|
7
|
-
s.
|
8
|
-
s.version = "0.5.7"
|
9
|
-
|
2
|
+
s.specification_version = 2 if s.respond_to? :specification_version=
|
10
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.
|
4
|
+
s.rubygems_version = '1.3.5'
|
5
|
+
|
6
|
+
s.name = 'jekyll'
|
7
|
+
s.version = '0.6.0'
|
8
|
+
s.date = '2010-06-22'
|
9
|
+
s.rubyforge_project = 'jekyll'
|
10
|
+
|
11
|
+
s.summary = "A simple, blog aware, static site generator."
|
12
|
+
s.description = "Jekyll is a simple, blog aware, static site generator."
|
13
|
+
|
14
|
+
s.authors = ["Tom Preston-Werner"]
|
15
|
+
s.email = 'tom@mojombo.com'
|
16
|
+
s.homepage = 'http://github.com/mojombo/jekyll'
|
17
|
+
|
18
|
+
s.require_paths = %w[lib]
|
19
|
+
|
16
20
|
s.executables = ["jekyll"]
|
17
|
-
s.
|
18
|
-
|
19
|
-
]
|
20
|
-
s.files = [
|
21
|
-
".gitignore",
|
22
|
-
"History.txt",
|
23
|
-
"README.textile",
|
24
|
-
"Rakefile",
|
25
|
-
"VERSION.yml",
|
26
|
-
"bin/jekyll",
|
27
|
-
"features/create_sites.feature",
|
28
|
-
"features/embed_filters.feature",
|
29
|
-
"features/markdown.feature",
|
30
|
-
"features/pagination.feature",
|
31
|
-
"features/permalinks.feature",
|
32
|
-
"features/post_data.feature",
|
33
|
-
"features/site_configuration.feature",
|
34
|
-
"features/site_data.feature",
|
35
|
-
"features/step_definitions/jekyll_steps.rb",
|
36
|
-
"features/support/env.rb",
|
37
|
-
"jekyll.gemspec",
|
38
|
-
"lib/jekyll.rb",
|
39
|
-
"lib/jekyll/albino.rb",
|
40
|
-
"lib/jekyll/converters/csv.rb",
|
41
|
-
"lib/jekyll/converters/mephisto.rb",
|
42
|
-
"lib/jekyll/converters/mt.rb",
|
43
|
-
"lib/jekyll/converters/textpattern.rb",
|
44
|
-
"lib/jekyll/converters/typo.rb",
|
45
|
-
"lib/jekyll/converters/wordpress.rb",
|
46
|
-
"lib/jekyll/convertible.rb",
|
47
|
-
"lib/jekyll/core_ext.rb",
|
48
|
-
"lib/jekyll/filters.rb",
|
49
|
-
"lib/jekyll/layout.rb",
|
50
|
-
"lib/jekyll/page.rb",
|
51
|
-
"lib/jekyll/pager.rb",
|
52
|
-
"lib/jekyll/post.rb",
|
53
|
-
"lib/jekyll/site.rb",
|
54
|
-
"lib/jekyll/static_file.rb",
|
55
|
-
"lib/jekyll/tags/highlight.rb",
|
56
|
-
"lib/jekyll/tags/include.rb",
|
57
|
-
"test/helper.rb",
|
58
|
-
"test/source/_includes/sig.markdown",
|
59
|
-
"test/source/_layouts/default.html",
|
60
|
-
"test/source/_layouts/simple.html",
|
61
|
-
"test/source/_posts/2008-02-02-not-published.textile",
|
62
|
-
"test/source/_posts/2008-02-02-published.textile",
|
63
|
-
"test/source/_posts/2008-10-18-foo-bar.textile",
|
64
|
-
"test/source/_posts/2008-11-21-complex.textile",
|
65
|
-
"test/source/_posts/2008-12-03-permalinked-post.textile",
|
66
|
-
"test/source/_posts/2008-12-13-include.markdown",
|
67
|
-
"test/source/_posts/2009-01-27-array-categories.textile",
|
68
|
-
"test/source/_posts/2009-01-27-categories.textile",
|
69
|
-
"test/source/_posts/2009-01-27-category.textile",
|
70
|
-
"test/source/_posts/2009-01-27-empty-categories.textile",
|
71
|
-
"test/source/_posts/2009-01-27-empty-category.textile",
|
72
|
-
"test/source/_posts/2009-03-12-hash-#1.markdown",
|
73
|
-
"test/source/_posts/2009-05-18-empty-tag.textile",
|
74
|
-
"test/source/_posts/2009-05-18-empty-tags.textile",
|
75
|
-
"test/source/_posts/2009-05-18-tag.textile",
|
76
|
-
"test/source/_posts/2009-05-18-tags.textile",
|
77
|
-
"test/source/_posts/2009-06-22-empty-yaml.textile",
|
78
|
-
"test/source/_posts/2009-06-22-no-yaml.textile",
|
79
|
-
"test/source/_posts/2010-01-08-triple-dash.markdown",
|
80
|
-
"test/source/_posts/2010-01-09-date-override.textile",
|
81
|
-
"test/source/_posts/2010-01-09-time-override.textile",
|
82
|
-
"test/source/about.html",
|
83
|
-
"test/source/category/_posts/2008-9-23-categories.textile",
|
84
|
-
"test/source/contacts.html",
|
85
|
-
"test/source/css/screen.css",
|
86
|
-
"test/source/foo/_posts/bar/2008-12-12-topical-post.textile",
|
87
|
-
"test/source/index.html",
|
88
|
-
"test/source/sitemap.xml",
|
89
|
-
"test/source/win/_posts/2009-05-24-yaml-linebreak.markdown",
|
90
|
-
"test/source/z_category/_posts/2008-9-23-categories.textile",
|
91
|
-
"test/suite.rb",
|
92
|
-
"test/test_configuration.rb",
|
93
|
-
"test/test_core_ext.rb",
|
94
|
-
"test/test_filters.rb",
|
95
|
-
"test/test_generated_site.rb",
|
96
|
-
"test/test_page.rb",
|
97
|
-
"test/test_pager.rb",
|
98
|
-
"test/test_post.rb",
|
99
|
-
"test/test_site.rb",
|
100
|
-
"test/test_tags.rb"
|
101
|
-
]
|
102
|
-
s.homepage = %q{http://github.com/mojombo/jekyll}
|
21
|
+
s.default_executable = 'jekyll'
|
22
|
+
|
103
23
|
s.rdoc_options = ["--charset=UTF-8"]
|
104
|
-
s.
|
105
|
-
s.rubyforge_project = %q{jekyll}
|
106
|
-
s.rubygems_version = %q{1.3.5}
|
107
|
-
s.summary = %q{Jekyll is a simple, blog aware, static site generator.}
|
108
|
-
s.test_files = [
|
109
|
-
"test/helper.rb",
|
110
|
-
"test/suite.rb",
|
111
|
-
"test/test_configuration.rb",
|
112
|
-
"test/test_core_ext.rb",
|
113
|
-
"test/test_filters.rb",
|
114
|
-
"test/test_generated_site.rb",
|
115
|
-
"test/test_page.rb",
|
116
|
-
"test/test_pager.rb",
|
117
|
-
"test/test_post.rb",
|
118
|
-
"test/test_site.rb",
|
119
|
-
"test/test_tags.rb"
|
120
|
-
]
|
24
|
+
s.extra_rdoc_files = %w[README.textile LICENSE]
|
121
25
|
|
122
|
-
|
123
|
-
|
124
|
-
|
26
|
+
s.add_runtime_dependency('liquid', [">= 1.9.0"])
|
27
|
+
s.add_runtime_dependency('classifier', [">= 1.3.1"])
|
28
|
+
s.add_runtime_dependency('directory_watcher', [">= 1.1.1"])
|
29
|
+
s.add_runtime_dependency('maruku', [">= 0.5.9"])
|
125
30
|
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
s.add_runtime_dependency(%q<directory_watcher>, [">= 1.1.1"])
|
132
|
-
s.add_runtime_dependency(%q<open4>, [">= 0.9.6"])
|
133
|
-
else
|
134
|
-
s.add_dependency(%q<RedCloth>, [">= 4.2.1"])
|
135
|
-
s.add_dependency(%q<liquid>, [">= 1.9.0"])
|
136
|
-
s.add_dependency(%q<classifier>, [">= 1.3.1"])
|
137
|
-
s.add_dependency(%q<maruku>, [">= 0.5.9"])
|
138
|
-
s.add_dependency(%q<directory_watcher>, [">= 1.1.1"])
|
139
|
-
s.add_dependency(%q<open4>, [">= 0.9.6"])
|
140
|
-
end
|
141
|
-
else
|
142
|
-
s.add_dependency(%q<RedCloth>, [">= 4.2.1"])
|
143
|
-
s.add_dependency(%q<liquid>, [">= 1.9.0"])
|
144
|
-
s.add_dependency(%q<classifier>, [">= 1.3.1"])
|
145
|
-
s.add_dependency(%q<maruku>, [">= 0.5.9"])
|
146
|
-
s.add_dependency(%q<directory_watcher>, [">= 1.1.1"])
|
147
|
-
s.add_dependency(%q<open4>, [">= 0.9.6"])
|
148
|
-
end
|
149
|
-
end
|
31
|
+
s.add_development_dependency('redgreen', [">= 4.2.1"])
|
32
|
+
s.add_development_dependency('shoulda', [">= 4.2.1"])
|
33
|
+
s.add_development_dependency('rr', [">= 4.2.1"])
|
34
|
+
s.add_development_dependency('cucumber', [">= 4.2.1"])
|
35
|
+
s.add_development_dependency('RedCloth', [">= 4.2.1"])
|
150
36
|
|
37
|
+
# = MANIFEST =
|
38
|
+
s.files = %w[
|
39
|
+
History.txt
|
40
|
+
LICENSE
|
41
|
+
README.textile
|
42
|
+
Rakefile
|
43
|
+
bin/jekyll
|
44
|
+
cucumber.yml
|
45
|
+
features/create_sites.feature
|
46
|
+
features/embed_filters.feature
|
47
|
+
features/markdown.feature
|
48
|
+
features/pagination.feature
|
49
|
+
features/permalinks.feature
|
50
|
+
features/post_data.feature
|
51
|
+
features/site_configuration.feature
|
52
|
+
features/site_data.feature
|
53
|
+
features/step_definitions/jekyll_steps.rb
|
54
|
+
features/support/env.rb
|
55
|
+
jekyll.gemspec
|
56
|
+
lib/jekyll.rb
|
57
|
+
lib/jekyll/albino.rb
|
58
|
+
lib/jekyll/converter.rb
|
59
|
+
lib/jekyll/converters/identity.rb
|
60
|
+
lib/jekyll/converters/markdown.rb
|
61
|
+
lib/jekyll/converters/textile.rb
|
62
|
+
lib/jekyll/convertible.rb
|
63
|
+
lib/jekyll/core_ext.rb
|
64
|
+
lib/jekyll/errors.rb
|
65
|
+
lib/jekyll/filters.rb
|
66
|
+
lib/jekyll/generator.rb
|
67
|
+
lib/jekyll/generators/pagination.rb
|
68
|
+
lib/jekyll/layout.rb
|
69
|
+
lib/jekyll/migrators/csv.rb
|
70
|
+
lib/jekyll/migrators/mephisto.rb
|
71
|
+
lib/jekyll/migrators/mt.rb
|
72
|
+
lib/jekyll/migrators/textpattern.rb
|
73
|
+
lib/jekyll/migrators/typo.rb
|
74
|
+
lib/jekyll/migrators/wordpress.rb
|
75
|
+
lib/jekyll/page.rb
|
76
|
+
lib/jekyll/plugin.rb
|
77
|
+
lib/jekyll/post.rb
|
78
|
+
lib/jekyll/site.rb
|
79
|
+
lib/jekyll/static_file.rb
|
80
|
+
lib/jekyll/tags/highlight.rb
|
81
|
+
lib/jekyll/tags/include.rb
|
82
|
+
test/helper.rb
|
83
|
+
test/source/_includes/sig.markdown
|
84
|
+
test/source/_layouts/default.html
|
85
|
+
test/source/_layouts/simple.html
|
86
|
+
test/source/_posts/2008-02-02-not-published.textile
|
87
|
+
test/source/_posts/2008-02-02-published.textile
|
88
|
+
test/source/_posts/2008-10-18-foo-bar.textile
|
89
|
+
test/source/_posts/2008-11-21-complex.textile
|
90
|
+
test/source/_posts/2008-12-03-permalinked-post.textile
|
91
|
+
test/source/_posts/2008-12-13-include.markdown
|
92
|
+
test/source/_posts/2009-01-27-array-categories.textile
|
93
|
+
test/source/_posts/2009-01-27-categories.textile
|
94
|
+
test/source/_posts/2009-01-27-category.textile
|
95
|
+
test/source/_posts/2009-01-27-empty-categories.textile
|
96
|
+
test/source/_posts/2009-01-27-empty-category.textile
|
97
|
+
test/source/_posts/2009-03-12-hash-#1.markdown
|
98
|
+
test/source/_posts/2009-05-18-empty-tag.textile
|
99
|
+
test/source/_posts/2009-05-18-empty-tags.textile
|
100
|
+
test/source/_posts/2009-05-18-tag.textile
|
101
|
+
test/source/_posts/2009-05-18-tags.textile
|
102
|
+
test/source/_posts/2009-06-22-empty-yaml.textile
|
103
|
+
test/source/_posts/2009-06-22-no-yaml.textile
|
104
|
+
test/source/_posts/2010-01-08-triple-dash.markdown
|
105
|
+
test/source/_posts/2010-01-09-date-override.textile
|
106
|
+
test/source/_posts/2010-01-09-time-override.textile
|
107
|
+
test/source/_posts/2010-01-09-timezone-override.textile
|
108
|
+
test/source/_posts/2010-01-16-override-data.textile
|
109
|
+
test/source/about.html
|
110
|
+
test/source/category/_posts/2008-9-23-categories.textile
|
111
|
+
test/source/contacts.html
|
112
|
+
test/source/css/screen.css
|
113
|
+
test/source/foo/_posts/bar/2008-12-12-topical-post.textile
|
114
|
+
test/source/index.html
|
115
|
+
test/source/sitemap.xml
|
116
|
+
test/source/win/_posts/2009-05-24-yaml-linebreak.markdown
|
117
|
+
test/source/z_category/_posts/2008-9-23-categories.textile
|
118
|
+
test/suite.rb
|
119
|
+
test/test_configuration.rb
|
120
|
+
test/test_core_ext.rb
|
121
|
+
test/test_filters.rb
|
122
|
+
test/test_generated_site.rb
|
123
|
+
test/test_page.rb
|
124
|
+
test/test_pager.rb
|
125
|
+
test/test_post.rb
|
126
|
+
test/test_site.rb
|
127
|
+
test/test_tags.rb
|
128
|
+
]
|
129
|
+
# = MANIFEST =
|
130
|
+
|
131
|
+
s.test_files = s.files.select { |path| path =~ /^test\/test_.*\.rb/ }
|
132
|
+
end
|