jekyll 2.0.0.alpha.1 → 2.0.0.alpha.2

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.

Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +15 -0
  3. data/.travis.yml +27 -0
  4. data/History.markdown +66 -1
  5. data/LICENSE +2 -2
  6. data/README.markdown +2 -2
  7. data/Rakefile +4 -44
  8. data/bin/jekyll +10 -113
  9. data/docs/jp/CONTRIBUTING.jp.markdown +93 -0
  10. data/docs/jp/README.jp.markdown +69 -0
  11. data/features/create_sites.feature +12 -12
  12. data/features/drafts.feature +23 -2
  13. data/features/embed_filters.feature +7 -5
  14. data/features/include_tag.feature +7 -7
  15. data/features/markdown.feature +4 -4
  16. data/features/pagination.feature +2 -2
  17. data/features/permalinks.feature +7 -7
  18. data/features/post_data.feature +21 -21
  19. data/features/post_excerpts.feature +6 -6
  20. data/features/site_configuration.feature +17 -17
  21. data/features/site_data.feature +15 -15
  22. data/features/step_definitions/jekyll_steps.rb +4 -4
  23. data/features/support/env.rb +2 -2
  24. data/jekyll.gemspec +17 -284
  25. data/lib/jekyll.rb +21 -5
  26. data/lib/jekyll/command.rb +72 -20
  27. data/lib/jekyll/commands/build.rb +82 -58
  28. data/lib/jekyll/commands/docs.rb +30 -0
  29. data/lib/jekyll/commands/doctor.rb +18 -1
  30. data/lib/jekyll/commands/new.rb +19 -6
  31. data/lib/jekyll/commands/serve.rb +80 -49
  32. data/lib/jekyll/configuration.rb +3 -3
  33. data/lib/jekyll/converters/markdown/kramdown_parser.rb +1 -1
  34. data/lib/jekyll/converters/markdown/redcarpet_parser.rb +1 -0
  35. data/lib/jekyll/convertible.rb +19 -21
  36. data/lib/jekyll/draft.rb +5 -0
  37. data/lib/jekyll/excerpt.rb +5 -5
  38. data/lib/jekyll/layout.rb +2 -2
  39. data/lib/jekyll/layout_reader.rb +15 -2
  40. data/lib/jekyll/page.rb +17 -17
  41. data/lib/jekyll/post.rb +33 -33
  42. data/lib/jekyll/related_posts.rb +5 -5
  43. data/lib/jekyll/site.rb +84 -85
  44. data/lib/jekyll/static_file.rb +13 -0
  45. data/lib/jekyll/stevenson.rb +1 -1
  46. data/lib/jekyll/tags/highlight.rb +16 -6
  47. data/lib/jekyll/tags/include.rb +17 -17
  48. data/lib/jekyll/url.rb +2 -0
  49. data/lib/jekyll/utils.rb +79 -0
  50. data/lib/jekyll/version.rb +3 -0
  51. data/lib/site_template/_config.yml +3 -1
  52. data/lib/site_template/_includes/footer.html +61 -0
  53. data/lib/site_template/_includes/head.html +12 -0
  54. data/lib/site_template/_includes/header.html +27 -0
  55. data/lib/site_template/_layouts/default.html +9 -34
  56. data/lib/site_template/_layouts/page.html +14 -0
  57. data/lib/site_template/_layouts/post.html +11 -5
  58. data/lib/site_template/_posts/0000-00-00-this-post-demonstrates-post-content-styles.md +88 -0
  59. data/lib/site_template/about/index.md +10 -0
  60. data/lib/site_template/css/main.css +333 -100
  61. data/lib/site_template/feed.xml +21 -0
  62. data/lib/site_template/index.html +8 -4
  63. data/lib/site_template/projects/index.md +14 -0
  64. data/script/cibuild +0 -1
  65. data/script/rebund +1 -1
  66. data/site/_includes/analytics.html +2 -2
  67. data/site/_includes/css/normalize.css +1 -1
  68. data/site/_includes/css/style.css +28 -4
  69. data/site/_includes/docs_option.html +1 -1
  70. data/site/_includes/docs_ul.html +3 -3
  71. data/site/_includes/footer.html +1 -1
  72. data/site/_includes/header.html +2 -2
  73. data/site/_includes/news_item.html +1 -1
  74. data/site/_includes/primary-nav-items.html +4 -4
  75. data/site/_includes/section_nav.html +2 -2
  76. data/site/_includes/top.html +6 -7
  77. data/site/_layouts/news_item.html +1 -1
  78. data/site/_posts/2013-07-25-jekyll-1-0-4-released.markdown +1 -1
  79. data/site/_posts/2013-07-25-jekyll-1-1-2-released.markdown +1 -1
  80. data/site/_posts/2013-09-14-jekyll-1-2-1-released.markdown +1 -1
  81. data/site/_posts/2014-03-24-jekyll-1-5-0-released.markdown +19 -0
  82. data/site/docs/assets.md +14 -0
  83. data/site/docs/configuration.md +65 -56
  84. data/site/docs/contributing.md +7 -2
  85. data/site/docs/deployment-methods.md +1 -1
  86. data/site/docs/github-pages.md +1 -1
  87. data/site/docs/history.md +21 -0
  88. data/site/docs/index.md +7 -1
  89. data/site/docs/installation.md +28 -0
  90. data/site/docs/migrations.md +1 -1
  91. data/site/docs/plugins.md +6 -0
  92. data/site/docs/structure.md +3 -3
  93. data/site/docs/templates.md +44 -44
  94. data/site/docs/usage.md +1 -1
  95. data/site/docs/variables.md +15 -2
  96. data/site/favicon.png +0 -0
  97. data/site/feed.xml +0 -1
  98. data/site/img/article-footer.png +0 -0
  99. data/site/img/footer-arrow.png +0 -0
  100. data/site/img/footer-logo.png +0 -0
  101. data/site/img/logo-2x.png +0 -0
  102. data/site/img/octojekyll.png +0 -0
  103. data/site/img/tube.png +0 -0
  104. data/site/img/tube1x.png +0 -0
  105. data/site/index.html +5 -5
  106. data/site/js/modernizr-2.7.1.min.js +4 -0
  107. data/test/helper.rb +11 -0
  108. data/test/source/_drafts/draft-properties.text +11 -0
  109. data/test/source/_posts/2011-04-12-md-extension.md +1 -1
  110. data/test/source/_posts/2014-01-06-permalink-traversal.md +5 -0
  111. data/test/source/exploit.md +5 -0
  112. data/test/source/static_files.html +4 -0
  113. data/test/test_configuration.rb +2 -2
  114. data/test/test_draft.rb +56 -0
  115. data/test/test_excerpt.rb +2 -2
  116. data/test/test_filters.rb +1 -1
  117. data/test/test_generated_site.rb +10 -1
  118. data/test/test_kramdown.rb +1 -1
  119. data/test/test_layout_reader.rb +17 -0
  120. data/test/test_page.rb +10 -0
  121. data/test/test_pager.rb +4 -2
  122. data/test/test_path_sanitization.rb +14 -0
  123. data/test/test_post.rb +12 -1
  124. data/test/test_sass.rb +1 -64
  125. data/test/test_site.rb +26 -1
  126. data/test/test_tags.rb +39 -2
  127. data/test/{test_core_ext.rb → test_utils.rb} +12 -12
  128. metadata +200 -86
  129. data/lib/jekyll/converters/sass.rb +0 -58
  130. data/lib/jekyll/core_ext.rb +0 -55
  131. data/lib/site_template/css/syntax.css +0 -60
  132. data/site/js/modernizr-2.5.3.min.js +0 -4
@@ -6,7 +6,9 @@ class TestTags < Test::Unit::TestCase
6
6
 
7
7
  def create_post(content, override = {}, converter_class = Jekyll::Converters::Markdown)
8
8
  stub(Jekyll).configuration do
9
- Jekyll::Configuration::DEFAULTS.deep_merge({'highlighter' => 'pygments'}).deep_merge(override)
9
+ site_configuration({
10
+ "highlighter" => "pygments"
11
+ }.merge(override))
10
12
  end
11
13
  site = Site.new(Jekyll.configuration)
12
14
 
@@ -363,6 +365,41 @@ CONTENT
363
365
  end
364
366
 
365
367
  context "include tag with parameters" do
368
+
369
+ context "with symlink'd include" do
370
+
371
+ should "not allow symlink includes" do
372
+ File.open("/tmp/pages-test", 'w') { |file| file.write("SYMLINK TEST") }
373
+ assert_raise IOError do
374
+ content = <<CONTENT
375
+ ---
376
+ title: Include symlink
377
+ ---
378
+
379
+ {% include tmp/pages-test %}
380
+
381
+ CONTENT
382
+ create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true, 'safe' => true })
383
+ end
384
+ assert_no_match /SYMLINK TEST/, @result
385
+ end
386
+
387
+ should "not expose the existence of symlinked files" do
388
+ ex = assert_raise IOError do
389
+ content = <<CONTENT
390
+ ---
391
+ title: Include symlink
392
+ ---
393
+
394
+ {% include tmp/pages-test-does-not-exist %}
395
+
396
+ CONTENT
397
+ create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true, 'safe' => true })
398
+ end
399
+ assert_match /should exist and should not be a symlink/, ex.message
400
+ end
401
+ end
402
+
366
403
  context "with one parameter" do
367
404
  setup do
368
405
  content = <<CONTENT
@@ -510,7 +547,7 @@ CONTENT
510
547
  context "include tag with variable and liquid filters" do
511
548
  setup do
512
549
  stub(Jekyll).configuration do
513
- Jekyll::Configuration::DEFAULTS.deep_merge({'pygments' => true}).deep_merge({'source' => source_dir, 'destination' => dest_dir})
550
+ site_configuration({'pygments' => true})
514
551
  end
515
552
 
516
553
  site = Site.new(Jekyll.configuration)
@@ -1,63 +1,63 @@
1
1
  require 'helper'
2
2
 
3
- class TestCoreExt < Test::Unit::TestCase
3
+ class TestUtils < Test::Unit::TestCase
4
4
  context "hash" do
5
5
 
6
6
  context "pluralized_array" do
7
7
 
8
8
  should "return empty array with no values" do
9
9
  data = {}
10
- assert_equal [], data.pluralized_array('tag', 'tags')
10
+ assert_equal [], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
11
11
  end
12
12
 
13
13
  should "return empty array with no matching values" do
14
14
  data = { 'foo' => 'bar' }
15
- assert_equal [], data.pluralized_array('tag', 'tags')
15
+ assert_equal [], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
16
16
  end
17
17
 
18
18
  should "return empty array with matching nil singular" do
19
19
  data = { 'foo' => 'bar', 'tag' => nil, 'tags' => ['dog', 'cat'] }
20
- assert_equal [], data.pluralized_array('tag', 'tags')
20
+ assert_equal [], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
21
21
  end
22
22
 
23
23
  should "return single value array with matching singular" do
24
24
  data = { 'foo' => 'bar', 'tag' => 'dog', 'tags' => ['dog', 'cat'] }
25
- assert_equal ['dog'], data.pluralized_array('tag', 'tags')
25
+ assert_equal ['dog'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
26
26
  end
27
27
 
28
28
  should "return single value array with matching singular with spaces" do
29
29
  data = { 'foo' => 'bar', 'tag' => 'dog cat', 'tags' => ['dog', 'cat'] }
30
- assert_equal ['dog cat'], data.pluralized_array('tag', 'tags')
30
+ assert_equal ['dog cat'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
31
31
  end
32
32
 
33
33
  should "return empty array with matching nil plural" do
34
34
  data = { 'foo' => 'bar', 'tags' => nil }
35
- assert_equal [], data.pluralized_array('tag', 'tags')
35
+ assert_equal [], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
36
36
  end
37
37
 
38
38
  should "return empty array with matching empty array" do
39
39
  data = { 'foo' => 'bar', 'tags' => [] }
40
- assert_equal [], data.pluralized_array('tag', 'tags')
40
+ assert_equal [], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
41
41
  end
42
42
 
43
43
  should "return single value array with matching plural with single string value" do
44
44
  data = { 'foo' => 'bar', 'tags' => 'dog' }
45
- assert_equal ['dog'], data.pluralized_array('tag', 'tags')
45
+ assert_equal ['dog'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
46
46
  end
47
47
 
48
48
  should "return multiple value array with matching plural with single string value with spaces" do
49
49
  data = { 'foo' => 'bar', 'tags' => 'dog cat' }
50
- assert_equal ['dog', 'cat'], data.pluralized_array('tag', 'tags')
50
+ assert_equal ['dog', 'cat'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
51
51
  end
52
52
 
53
53
  should "return single value array with matching plural with single value array" do
54
54
  data = { 'foo' => 'bar', 'tags' => ['dog'] }
55
- assert_equal ['dog'], data.pluralized_array('tag', 'tags')
55
+ assert_equal ['dog'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
56
56
  end
57
57
 
58
58
  should "return multiple value array with matching plural with multiple value array" do
59
59
  data = { 'foo' => 'bar', 'tags' => ['dog', 'cat'] }
60
- assert_equal ['dog', 'cat'], data.pluralized_array('tag', 'tags')
60
+ assert_equal ['dog', 'cat'], Utils.pluralized_array_from_hash(data, 'tag', 'tags')
61
61
  end
62
62
 
63
63
  end
metadata CHANGED
@@ -1,57 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.alpha.1
4
+ version: 2.0.0.alpha.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-13 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.5.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.5.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: classifier
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: listen
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.3'
47
+ version: '2.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.3'
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: maruku
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,364 +70,364 @@ dependencies:
70
70
  name: pygments.rb
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.5.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mercenary
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.2.0
89
+ version: 0.3.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.2.0
96
+ version: 0.3.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: safe_yaml
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: colorator
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0.1'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.1'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: redcarpet
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '3.0'
131
+ version: '3.1'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '3.0'
138
+ version: '3.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: toml
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 0.1.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.1.0
153
153
  - !ruby/object:Gem::Dependency
154
- name: sass
154
+ name: jekyll-coffeescript
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '3.2'
159
+ version: '1.0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '3.2'
166
+ version: '1.0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: jekyll-coffeescript
168
+ name: jekyll-sass-converter
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ~>
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '1.0'
173
+ version: 1.0.0.rc3
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ~>
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '1.0'
180
+ version: 1.0.0.rc3
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rake
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ~>
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
187
  version: '10.1'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ~>
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '10.1'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: rdoc
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ~>
199
+ - - "~>"
200
200
  - !ruby/object:Gem::Version
201
201
  version: '3.11'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ~>
206
+ - - "~>"
207
207
  - !ruby/object:Gem::Version
208
208
  version: '3.11'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: redgreen
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - ~>
213
+ - - "~>"
214
214
  - !ruby/object:Gem::Version
215
215
  version: '1.2'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ~>
220
+ - - "~>"
221
221
  - !ruby/object:Gem::Version
222
222
  version: '1.2'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: shoulda
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - ~>
227
+ - - "~>"
228
228
  - !ruby/object:Gem::Version
229
229
  version: '3.5'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - ~>
234
+ - - "~>"
235
235
  - !ruby/object:Gem::Version
236
236
  version: '3.5'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rr
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ~>
241
+ - - "~>"
242
242
  - !ruby/object:Gem::Version
243
243
  version: '1.1'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - ~>
248
+ - - "~>"
249
249
  - !ruby/object:Gem::Version
250
250
  version: '1.1'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: cucumber
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - ~>
255
+ - - '='
256
256
  - !ruby/object:Gem::Version
257
- version: '1.3'
257
+ version: 1.3.11
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - ~>
262
+ - - '='
263
263
  - !ruby/object:Gem::Version
264
- version: '1.3'
264
+ version: 1.3.11
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: RedCloth
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
- - - ~>
269
+ - - "~>"
270
270
  - !ruby/object:Gem::Version
271
271
  version: '4.2'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - ~>
276
+ - - "~>"
277
277
  - !ruby/object:Gem::Version
278
278
  version: '4.2'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: kramdown
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
- - - ~>
283
+ - - "~>"
284
284
  - !ruby/object:Gem::Version
285
285
  version: '1.3'
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
- - - ~>
290
+ - - "~>"
291
291
  - !ruby/object:Gem::Version
292
292
  version: '1.3'
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: rdiscount
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
- - - ~>
297
+ - - "~>"
298
298
  - !ruby/object:Gem::Version
299
299
  version: '1.6'
300
300
  type: :development
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
- - - ~>
304
+ - - "~>"
305
305
  - !ruby/object:Gem::Version
306
306
  version: '1.6'
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: launchy
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - ~>
311
+ - - "~>"
312
312
  - !ruby/object:Gem::Version
313
313
  version: '2.3'
314
314
  type: :development
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
- - - ~>
318
+ - - "~>"
319
319
  - !ruby/object:Gem::Version
320
320
  version: '2.3'
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: simplecov
323
323
  requirement: !ruby/object:Gem::Requirement
324
324
  requirements:
325
- - - ~>
325
+ - - "~>"
326
326
  - !ruby/object:Gem::Version
327
327
  version: '0.7'
328
328
  type: :development
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
- - - ~>
332
+ - - "~>"
333
333
  - !ruby/object:Gem::Version
334
334
  version: '0.7'
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: simplecov-gem-adapter
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
- - - ~>
339
+ - - "~>"
340
340
  - !ruby/object:Gem::Version
341
341
  version: 1.0.1
342
342
  type: :development
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
- - - ~>
346
+ - - "~>"
347
347
  - !ruby/object:Gem::Version
348
348
  version: 1.0.1
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: coveralls
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
- - - ~>
353
+ - - "~>"
354
354
  - !ruby/object:Gem::Version
355
355
  version: 0.7.0
356
356
  type: :development
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
- - - ~>
360
+ - - "~>"
361
361
  - !ruby/object:Gem::Version
362
362
  version: 0.7.0
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: mime-types
365
365
  requirement: !ruby/object:Gem::Requirement
366
366
  requirements:
367
- - - ~>
367
+ - - "~>"
368
368
  - !ruby/object:Gem::Version
369
369
  version: '1.5'
370
370
  type: :development
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
- - - ~>
374
+ - - "~>"
375
375
  - !ruby/object:Gem::Version
376
376
  version: '1.5'
377
377
  - !ruby/object:Gem::Dependency
378
378
  name: activesupport
379
379
  requirement: !ruby/object:Gem::Requirement
380
380
  requirements:
381
- - - ~>
381
+ - - "~>"
382
382
  - !ruby/object:Gem::Version
383
383
  version: 3.2.13
384
384
  type: :development
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
- - - ~>
388
+ - - "~>"
389
389
  - !ruby/object:Gem::Version
390
390
  version: 3.2.13
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: jekyll_test_plugin
393
393
  requirement: !ruby/object:Gem::Requirement
394
394
  requirements:
395
- - - '>='
395
+ - - ">="
396
396
  - !ruby/object:Gem::Version
397
397
  version: '0'
398
398
  type: :development
399
399
  prerelease: false
400
400
  version_requirements: !ruby/object:Gem::Requirement
401
401
  requirements:
402
- - - '>='
402
+ - - ">="
403
403
  - !ruby/object:Gem::Version
404
404
  version: '0'
405
405
  - !ruby/object:Gem::Dependency
406
406
  name: jekyll_test_plugin_malicious
407
407
  requirement: !ruby/object:Gem::Requirement
408
408
  requirements:
409
- - - '>='
409
+ - - ">="
410
410
  - !ruby/object:Gem::Version
411
411
  version: '0'
412
412
  type: :development
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
- - - '>='
416
+ - - ">="
417
417
  - !ruby/object:Gem::Version
418
418
  version: '0'
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: rouge
421
421
  requirement: !ruby/object:Gem::Requirement
422
422
  requirements:
423
- - - ~>
423
+ - - "~>"
424
424
  - !ruby/object:Gem::Version
425
425
  version: '1.3'
426
426
  type: :development
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
- - - ~>
430
+ - - "~>"
431
431
  - !ruby/object:Gem::Version
432
432
  version: '1.3'
433
433
  description: Jekyll is a simple, blog aware, static site generator.
@@ -439,6 +439,8 @@ extra_rdoc_files:
439
439
  - README.markdown
440
440
  - LICENSE
441
441
  files:
442
+ - ".gitignore"
443
+ - ".travis.yml"
442
444
  - CONTRIBUTING.markdown
443
445
  - Gemfile
444
446
  - History.markdown
@@ -447,6 +449,8 @@ files:
447
449
  - Rakefile
448
450
  - bin/jekyll
449
451
  - cucumber.yml
452
+ - docs/jp/CONTRIBUTING.jp.markdown
453
+ - docs/jp/README.jp.markdown
450
454
  - features/create_sites.feature
451
455
  - features/data.feature
452
456
  - features/drafts.feature
@@ -466,6 +470,7 @@ files:
466
470
  - lib/jekyll/cleaner.rb
467
471
  - lib/jekyll/command.rb
468
472
  - lib/jekyll/commands/build.rb
473
+ - lib/jekyll/commands/docs.rb
469
474
  - lib/jekyll/commands/doctor.rb
470
475
  - lib/jekyll/commands/new.rb
471
476
  - lib/jekyll/commands/serve.rb
@@ -477,10 +482,8 @@ files:
477
482
  - lib/jekyll/converters/markdown/maruku_parser.rb
478
483
  - lib/jekyll/converters/markdown/rdiscount_parser.rb
479
484
  - lib/jekyll/converters/markdown/redcarpet_parser.rb
480
- - lib/jekyll/converters/sass.rb
481
485
  - lib/jekyll/converters/textile.rb
482
486
  - lib/jekyll/convertible.rb
483
- - lib/jekyll/core_ext.rb
484
487
  - lib/jekyll/deprecator.rb
485
488
  - lib/jekyll/draft.rb
486
489
  - lib/jekyll/entry_filter.rb
@@ -504,14 +507,23 @@ files:
504
507
  - lib/jekyll/tags/include.rb
505
508
  - lib/jekyll/tags/post_url.rb
506
509
  - lib/jekyll/url.rb
510
+ - lib/jekyll/utils.rb
511
+ - lib/jekyll/version.rb
507
512
  - lib/site_template/.gitignore
508
513
  - lib/site_template/_config.yml
514
+ - lib/site_template/_includes/footer.html
515
+ - lib/site_template/_includes/head.html
516
+ - lib/site_template/_includes/header.html
509
517
  - lib/site_template/_layouts/default.html
518
+ - lib/site_template/_layouts/page.html
510
519
  - lib/site_template/_layouts/post.html
520
+ - lib/site_template/_posts/0000-00-00-this-post-demonstrates-post-content-styles.md
511
521
  - lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb
522
+ - lib/site_template/about/index.md
512
523
  - lib/site_template/css/main.css
513
- - lib/site_template/css/syntax.css
524
+ - lib/site_template/feed.xml
514
525
  - lib/site_template/index.html
526
+ - lib/site_template/projects/index.md
515
527
  - script/bootstrap
516
528
  - script/branding
517
529
  - script/cibuild
@@ -559,6 +571,7 @@ files:
559
571
  - site/_posts/2013-12-09-jekyll-1-4-1-released.markdown
560
572
  - site/_posts/2013-12-16-jekyll-1-4-2-released.markdown
561
573
  - site/_posts/2014-01-13-jekyll-1-4-3-released.markdown
574
+ - site/_posts/2014-03-24-jekyll-1-5-0-released.markdown
562
575
  - site/css/screen.css
563
576
  - site/docs/assets.md
564
577
  - site/docs/configuration.md
@@ -600,7 +613,7 @@ files:
600
613
  - site/img/tube.png
601
614
  - site/img/tube1x.png
602
615
  - site/index.html
603
- - site/js/modernizr-2.5.3.min.js
616
+ - site/js/modernizr-2.7.1.min.js
604
617
  - site/news/index.html
605
618
  - site/news/releases/index.html
606
619
  - test/fixtures/broken_front_matter1.erb
@@ -615,6 +628,7 @@ files:
615
628
  - test/source/_data/languages.yml
616
629
  - test/source/_data/members.yaml
617
630
  - test/source/_data/products.yml
631
+ - test/source/_drafts/draft-properties.text
618
632
  - test/source/_includes/include.html
619
633
  - test/source/_includes/params.html
620
634
  - test/source/_includes/sig.markdown
@@ -657,6 +671,7 @@ files:
657
671
  - test/source/_posts/2013-08-01-mkdn-extension.mkdn
658
672
  - test/source/_posts/2013-12-17-include-variable-filters.markdown
659
673
  - test/source/_posts/2013-12-20-properties.text
674
+ - test/source/_posts/2014-01-06-permalink-traversal.md
660
675
  - test/source/_posts/es/2008-11-21-nested.textile
661
676
  - test/source/_sass/_grid.scss
662
677
  - test/source/about.html
@@ -667,12 +682,14 @@ files:
667
682
  - test/source/css/main.scss
668
683
  - test/source/css/screen.css
669
684
  - test/source/deal.with.dots.html
685
+ - test/source/exploit.md
670
686
  - test/source/foo/_posts/bar/2008-12-12-topical-post.textile
671
687
  - test/source/index.html
672
688
  - test/source/js/coffeescript.coffee
673
689
  - test/source/products.yml
674
690
  - test/source/properties.html
675
691
  - test/source/sitemap.xml
692
+ - test/source/static_files.html
676
693
  - test/source/symlink-test/symlinked-file
677
694
  - test/source/unpublished.html
678
695
  - test/source/win/_posts/2009-05-24-yaml-linebreak.markdown
@@ -682,7 +699,7 @@ files:
682
699
  - test/test_command.rb
683
700
  - test/test_configuration.rb
684
701
  - test/test_convertible.rb
685
- - test/test_core_ext.rb
702
+ - test/test_draft.rb
686
703
  - test/test_entry_filter.rb
687
704
  - test/test_excerpt.rb
688
705
  - test/test_filters.rb
@@ -692,6 +709,7 @@ files:
692
709
  - test/test_new_command.rb
693
710
  - test/test_page.rb
694
711
  - test/test_pager.rb
712
+ - test/test_path_sanitization.rb
695
713
  - test/test_post.rb
696
714
  - test/test_rdiscount.rb
697
715
  - test/test_redcarpet.rb
@@ -701,37 +719,131 @@ files:
701
719
  - test/test_site.rb
702
720
  - test/test_tags.rb
703
721
  - test/test_url.rb
722
+ - test/test_utils.rb
704
723
  homepage: http://github.com/jekyll/jekyll
705
724
  licenses:
706
725
  - MIT
707
726
  metadata: {}
708
727
  post_install_message:
709
728
  rdoc_options:
710
- - --charset=UTF-8
729
+ - "--charset=UTF-8"
711
730
  require_paths:
712
731
  - lib
713
732
  required_ruby_version: !ruby/object:Gem::Requirement
714
733
  requirements:
715
- - - '>='
734
+ - - ">="
716
735
  - !ruby/object:Gem::Version
717
- version: 1.9.2
736
+ version: 1.9.3
718
737
  required_rubygems_version: !ruby/object:Gem::Requirement
719
738
  requirements:
720
- - - '>'
739
+ - - ">"
721
740
  - !ruby/object:Gem::Version
722
741
  version: 1.3.1
723
742
  requirements: []
724
- rubyforge_project: jekyll
725
- rubygems_version: 2.0.14
743
+ rubyforge_project:
744
+ rubygems_version: 2.2.2
726
745
  signing_key:
727
746
  specification_version: 2
728
747
  summary: A simple, blog aware, static site generator.
729
748
  test_files:
749
+ - features/create_sites.feature
750
+ - features/data.feature
751
+ - features/drafts.feature
752
+ - features/embed_filters.feature
753
+ - features/include_tag.feature
754
+ - features/markdown.feature
755
+ - features/pagination.feature
756
+ - features/permalinks.feature
757
+ - features/post_data.feature
758
+ - features/post_excerpts.feature
759
+ - features/site_configuration.feature
760
+ - features/site_data.feature
761
+ - features/step_definitions/jekyll_steps.rb
762
+ - features/support/env.rb
763
+ - test/fixtures/broken_front_matter1.erb
764
+ - test/fixtures/broken_front_matter2.erb
765
+ - test/fixtures/broken_front_matter3.erb
766
+ - test/fixtures/exploit_front_matter.erb
767
+ - test/fixtures/front_matter.erb
768
+ - test/helper.rb
769
+ - test/source/+/foo.md
770
+ - test/source/.htaccess
771
+ - test/source/_config.dev.toml
772
+ - test/source/_data/languages.yml
773
+ - test/source/_data/members.yaml
774
+ - test/source/_data/products.yml
775
+ - test/source/_drafts/draft-properties.text
776
+ - test/source/_includes/include.html
777
+ - test/source/_includes/params.html
778
+ - test/source/_includes/sig.markdown
779
+ - test/source/_layouts/default.html
780
+ - test/source/_layouts/post/simple.html
781
+ - test/source/_layouts/simple.html
782
+ - test/source/_plugins/dummy.rb
783
+ - test/source/_posts/2008-02-02-not-published.textile
784
+ - test/source/_posts/2008-02-02-published.textile
785
+ - test/source/_posts/2008-10-18-foo-bar.textile
786
+ - test/source/_posts/2008-11-21-complex.textile
787
+ - test/source/_posts/2008-12-03-permalinked-post.textile
788
+ - test/source/_posts/2008-12-13-include.markdown
789
+ - test/source/_posts/2009-01-27-array-categories.textile
790
+ - test/source/_posts/2009-01-27-categories.textile
791
+ - test/source/_posts/2009-01-27-category.textile
792
+ - test/source/_posts/2009-01-27-empty-categories.textile
793
+ - test/source/_posts/2009-01-27-empty-category.textile
794
+ - test/source/_posts/2009-03-12-hash-#1.markdown
795
+ - test/source/_posts/2009-05-18-empty-tag.textile
796
+ - test/source/_posts/2009-05-18-empty-tags.textile
797
+ - test/source/_posts/2009-05-18-tag.textile
798
+ - test/source/_posts/2009-05-18-tags.textile
799
+ - test/source/_posts/2009-06-22-empty-yaml.textile
800
+ - test/source/_posts/2009-06-22-no-yaml.textile
801
+ - test/source/_posts/2010-01-08-triple-dash.markdown
802
+ - test/source/_posts/2010-01-09-date-override.textile
803
+ - test/source/_posts/2010-01-09-time-override.textile
804
+ - test/source/_posts/2010-01-09-timezone-override.textile
805
+ - test/source/_posts/2010-01-16-override-data.textile
806
+ - test/source/_posts/2011-04-12-md-extension.md
807
+ - test/source/_posts/2011-04-12-text-extension.text
808
+ - test/source/_posts/2013-01-02-post-excerpt.markdown
809
+ - test/source/_posts/2013-01-12-nil-layout.textile
810
+ - test/source/_posts/2013-01-12-no-layout.textile
811
+ - test/source/_posts/2013-03-19-not-a-post.markdown/.gitkeep
812
+ - test/source/_posts/2013-04-11-custom-excerpt.markdown
813
+ - test/source/_posts/2013-05-10-number-category.textile
814
+ - test/source/_posts/2013-07-22-post-excerpt-with-layout.markdown
815
+ - test/source/_posts/2013-08-01-mkdn-extension.mkdn
816
+ - test/source/_posts/2013-12-17-include-variable-filters.markdown
817
+ - test/source/_posts/2013-12-20-properties.text
818
+ - test/source/_posts/2014-01-06-permalink-traversal.md
819
+ - test/source/_posts/es/2008-11-21-nested.textile
820
+ - test/source/_sass/_grid.scss
821
+ - test/source/about.html
822
+ - test/source/category/_posts/2008-9-23-categories.textile
823
+ - test/source/contacts.html
824
+ - test/source/contacts/bar.html
825
+ - test/source/contacts/index.html
826
+ - test/source/css/main.scss
827
+ - test/source/css/screen.css
828
+ - test/source/deal.with.dots.html
829
+ - test/source/exploit.md
830
+ - test/source/foo/_posts/bar/2008-12-12-topical-post.textile
831
+ - test/source/index.html
832
+ - test/source/js/coffeescript.coffee
833
+ - test/source/products.yml
834
+ - test/source/properties.html
835
+ - test/source/sitemap.xml
836
+ - test/source/static_files.html
837
+ - test/source/symlink-test/symlinked-file
838
+ - test/source/unpublished.html
839
+ - test/source/win/_posts/2009-05-24-yaml-linebreak.markdown
840
+ - test/source/z_category/_posts/2008-9-23-categories.textile
841
+ - test/suite.rb
730
842
  - test/test_coffeescript.rb
731
843
  - test/test_command.rb
732
844
  - test/test_configuration.rb
733
845
  - test/test_convertible.rb
734
- - test/test_core_ext.rb
846
+ - test/test_draft.rb
735
847
  - test/test_entry_filter.rb
736
848
  - test/test_excerpt.rb
737
849
  - test/test_filters.rb
@@ -741,6 +853,7 @@ test_files:
741
853
  - test/test_new_command.rb
742
854
  - test/test_page.rb
743
855
  - test/test_pager.rb
856
+ - test/test_path_sanitization.rb
744
857
  - test/test_post.rb
745
858
  - test/test_rdiscount.rb
746
859
  - test/test_redcarpet.rb
@@ -750,3 +863,4 @@ test_files:
750
863
  - test/test_site.rb
751
864
  - test/test_tags.rb
752
865
  - test/test_url.rb
866
+ - test/test_utils.rb