jekyll 4.0.1 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +350 -163
  3. data/LICENSE +21 -21
  4. data/README.markdown +86 -90
  5. data/exe/jekyll +57 -57
  6. data/lib/blank_template/_config.yml +3 -3
  7. data/lib/blank_template/_layouts/default.html +12 -12
  8. data/lib/blank_template/_sass/main.scss +9 -9
  9. data/lib/blank_template/assets/css/main.scss +4 -4
  10. data/lib/blank_template/index.md +8 -8
  11. data/lib/jekyll/cache.rb +190 -190
  12. data/lib/jekyll/cleaner.rb +111 -111
  13. data/lib/jekyll/collection.rb +309 -309
  14. data/lib/jekyll/command.rb +105 -103
  15. data/lib/jekyll/commands/build.rb +93 -93
  16. data/lib/jekyll/commands/clean.rb +45 -45
  17. data/lib/jekyll/commands/doctor.rb +177 -173
  18. data/lib/jekyll/commands/help.rb +34 -34
  19. data/lib/jekyll/commands/new.rb +169 -169
  20. data/lib/jekyll/commands/new_theme.rb +40 -42
  21. data/lib/jekyll/commands/serve/live_reload_reactor.rb +122 -122
  22. data/lib/jekyll/commands/serve/livereload_assets/livereload.js +1183 -1183
  23. data/lib/jekyll/commands/serve/servlet.rb +202 -202
  24. data/lib/jekyll/commands/serve/websockets.rb +81 -81
  25. data/lib/jekyll/commands/serve.rb +362 -354
  26. data/lib/jekyll/configuration.rb +313 -316
  27. data/lib/jekyll/converter.rb +54 -54
  28. data/lib/jekyll/converters/identity.rb +41 -41
  29. data/lib/jekyll/converters/markdown/kramdown_parser.rb +199 -130
  30. data/lib/jekyll/converters/markdown.rb +113 -113
  31. data/lib/jekyll/converters/smartypants.rb +70 -70
  32. data/lib/jekyll/convertible.rb +257 -254
  33. data/lib/jekyll/deprecator.rb +50 -50
  34. data/lib/jekyll/document.rb +544 -522
  35. data/lib/jekyll/drops/collection_drop.rb +20 -20
  36. data/lib/jekyll/drops/document_drop.rb +70 -69
  37. data/lib/jekyll/drops/drop.rb +293 -215
  38. data/lib/jekyll/drops/excerpt_drop.rb +19 -19
  39. data/lib/jekyll/drops/jekyll_drop.rb +32 -32
  40. data/lib/jekyll/drops/site_drop.rb +66 -66
  41. data/lib/jekyll/drops/static_file_drop.rb +14 -14
  42. data/lib/jekyll/drops/unified_payload_drop.rb +26 -26
  43. data/lib/jekyll/drops/url_drop.rb +140 -132
  44. data/lib/jekyll/entry_filter.rb +121 -110
  45. data/lib/jekyll/errors.rb +20 -20
  46. data/lib/jekyll/excerpt.rb +201 -201
  47. data/lib/jekyll/external.rb +79 -79
  48. data/lib/jekyll/filters/date_filters.rb +110 -110
  49. data/lib/jekyll/filters/grouping_filters.rb +64 -64
  50. data/lib/jekyll/filters/url_filters.rb +98 -68
  51. data/lib/jekyll/filters.rb +535 -454
  52. data/lib/jekyll/frontmatter_defaults.rb +240 -245
  53. data/lib/jekyll/generator.rb +5 -5
  54. data/lib/jekyll/hooks.rb +107 -106
  55. data/lib/jekyll/inclusion.rb +32 -0
  56. data/lib/jekyll/layout.rb +67 -62
  57. data/lib/jekyll/liquid_extensions.rb +22 -22
  58. data/lib/jekyll/liquid_renderer/file.rb +77 -77
  59. data/lib/jekyll/liquid_renderer/table.rb +55 -75
  60. data/lib/jekyll/liquid_renderer.rb +80 -77
  61. data/lib/jekyll/log_adapter.rb +151 -151
  62. data/lib/jekyll/mime.types +866 -866
  63. data/lib/jekyll/page.rb +217 -186
  64. data/lib/jekyll/page_excerpt.rb +25 -0
  65. data/lib/jekyll/page_without_a_file.rb +14 -14
  66. data/lib/jekyll/path_manager.rb +74 -31
  67. data/lib/jekyll/plugin.rb +92 -92
  68. data/lib/jekyll/plugin_manager.rb +115 -115
  69. data/lib/jekyll/profiler.rb +58 -0
  70. data/lib/jekyll/publisher.rb +23 -23
  71. data/lib/jekyll/reader.rb +192 -187
  72. data/lib/jekyll/readers/collection_reader.rb +23 -22
  73. data/lib/jekyll/readers/data_reader.rb +79 -75
  74. data/lib/jekyll/readers/layout_reader.rb +62 -61
  75. data/lib/jekyll/readers/page_reader.rb +25 -24
  76. data/lib/jekyll/readers/post_reader.rb +85 -84
  77. data/lib/jekyll/readers/static_file_reader.rb +25 -24
  78. data/lib/jekyll/readers/theme_assets_reader.rb +52 -51
  79. data/lib/jekyll/regenerator.rb +195 -195
  80. data/lib/jekyll/related_posts.rb +52 -52
  81. data/lib/jekyll/renderer.rb +265 -267
  82. data/lib/jekyll/site.rb +551 -527
  83. data/lib/jekyll/static_file.rb +208 -203
  84. data/lib/jekyll/stevenson.rb +60 -60
  85. data/lib/jekyll/tags/highlight.rb +110 -110
  86. data/lib/jekyll/tags/include.rb +275 -221
  87. data/lib/jekyll/tags/link.rb +42 -41
  88. data/lib/jekyll/tags/post_url.rb +106 -107
  89. data/lib/jekyll/theme.rb +86 -80
  90. data/lib/jekyll/theme_builder.rb +121 -121
  91. data/lib/jekyll/url.rb +167 -164
  92. data/lib/jekyll/utils/ansi.rb +57 -57
  93. data/lib/jekyll/utils/exec.rb +26 -26
  94. data/lib/jekyll/utils/internet.rb +37 -37
  95. data/lib/jekyll/utils/platforms.rb +67 -82
  96. data/lib/jekyll/utils/thread_event.rb +31 -31
  97. data/lib/jekyll/utils/win_tz.rb +75 -75
  98. data/lib/jekyll/utils.rb +367 -367
  99. data/lib/jekyll/version.rb +5 -5
  100. data/lib/jekyll.rb +195 -206
  101. data/lib/site_template/.gitignore +5 -5
  102. data/lib/site_template/404.html +25 -25
  103. data/lib/site_template/_config.yml +55 -55
  104. data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +29 -29
  105. data/lib/site_template/about.markdown +18 -18
  106. data/lib/site_template/index.markdown +6 -6
  107. data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -74
  108. data/lib/theme_template/Gemfile +4 -4
  109. data/lib/theme_template/LICENSE.txt.erb +21 -21
  110. data/lib/theme_template/README.md.erb +52 -52
  111. data/lib/theme_template/_layouts/default.html +1 -1
  112. data/lib/theme_template/_layouts/page.html +5 -5
  113. data/lib/theme_template/_layouts/post.html +5 -5
  114. data/lib/theme_template/example/_config.yml.erb +1 -1
  115. data/lib/theme_template/example/_post.md +12 -12
  116. data/lib/theme_template/example/index.html +14 -14
  117. data/lib/theme_template/example/style.scss +7 -7
  118. data/lib/theme_template/gitignore.erb +6 -6
  119. data/lib/theme_template/theme.gemspec.erb +16 -19
  120. data/rubocop/jekyll/assert_equal_literal_actual.rb +149 -149
  121. data/rubocop/jekyll/no_p_allowed.rb +23 -23
  122. data/rubocop/jekyll/no_puts_allowed.rb +23 -23
  123. data/rubocop/jekyll.rb +5 -5
  124. metadata +20 -38
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0562e1d33bdfbe9a42636335c4f4d9c9da442ec3887886536f888720c9a87b9b
4
- data.tar.gz: 8561a49dec1141a1b7c111939a8220113d5e01e51605f0eba76536ab06b265c7
3
+ metadata.gz: b64b4c0bd8d3cda85c3c3cc60461d8d0599078b05a96950ce83f34dfbd0cecc3
4
+ data.tar.gz: 1f0c1d168e34e4f183c2c067c42ba89b0ad3e5c58c35910f4f39523a18b9d307
5
5
  SHA512:
6
- metadata.gz: fbccdaab958f04e2175e8b224b5495fcf5a55703a559e9f1f96b7821601f28b0db0545a96f4119314274751051ec300f1121ec0d0988a203c2cc99de37b71325
7
- data.tar.gz: afa55cd05bcabfb2a3749c6ed0968039742068c440132ce786b6d2b3ab89458deba2652ec8363b686891c403d127e5177fe296acd85808eaf45f6bf58a934978
6
+ metadata.gz: 583c14bf763479c1f081652a61062b931728f4313652d8eda227bac8add0304fec6ffb8e91bb1670d95f0b412647aa9ff5c468afac09a91f404e10d14bd24bf6
7
+ data.tar.gz: d51887e10ce56c08e693a2a5e15a24b5899e858b7004ef862c9a40400ccb2ef8d180815a8b054b205896230c44db56c7218a305e638c0d6bb892bb6672ece7b3
data/.rubocop.yml CHANGED
@@ -1,163 +1,350 @@
1
- ---
2
-
3
- require:
4
- - rubocop-performance
5
- - ./rubocop/jekyll
6
-
7
- Jekyll/NoPutsAllowed:
8
- Exclude:
9
- - rake/*.rake
10
-
11
- AllCops:
12
- TargetRubyVersion: 2.4
13
- Include:
14
- - lib/**/*.rb
15
- - test/**/*.rb
16
- Exclude:
17
- - bin/**/*
18
- - exe/**/*
19
- - benchmark/**/*
20
- - script/**/*
21
- - vendor/**/*
22
- - tmp/**/*
23
- Layout/AlignHash:
24
- EnforcedHashRocketStyle: table
25
- Layout/IndentationWidth:
26
- Severity: error
27
- Layout/IndentFirstArrayElement:
28
- EnforcedStyle: consistent
29
- Layout/IndentFirstHashElement:
30
- EnforcedStyle: consistent
31
- Layout/MultilineMethodCallIndentation:
32
- EnforcedStyle: indented
33
- Layout/MultilineOperationIndentation:
34
- EnforcedStyle: indented
35
- Lint/NestedPercentLiteral:
36
- Exclude:
37
- - test/test_site.rb
38
- Layout/EmptyComment:
39
- Enabled: false
40
- Layout/EndAlignment:
41
- Severity: error
42
- Lint/UnreachableCode:
43
- Severity: error
44
- Lint/Void:
45
- Exclude:
46
- - lib/jekyll/site.rb
47
- Metrics/AbcSize:
48
- Max: 21
49
- Metrics/BlockLength:
50
- Exclude:
51
- - test/**/*.rb
52
- - lib/jekyll/configuration.rb
53
- - rake/*.rake
54
- Metrics/ClassLength:
55
- Exclude:
56
- - !ruby/regexp /features\/.*.rb$/
57
- - !ruby/regexp /test\/.*.rb$/
58
- - lib/jekyll/document.rb
59
- - lib/jekyll/site.rb
60
- - lib/jekyll/commands/serve.rb
61
- - lib/jekyll/configuration.rb
62
- Max: 240
63
- Metrics/CyclomaticComplexity:
64
- Exclude:
65
- - lib/jekyll/utils.rb
66
- - lib/jekyll/commands/serve.rb
67
- Metrics/LineLength:
68
- Exclude:
69
- - !ruby/regexp /features\/.*.rb/
70
- - Rakefile
71
- - rake/*.rake
72
- - Gemfile
73
- Max: 100
74
- Severity: warning
75
- Metrics/MethodLength:
76
- CountComments: false
77
- Max: 20
78
- Severity: error
79
- Metrics/ModuleLength:
80
- Max: 240
81
- Metrics/ParameterLists:
82
- Max: 4
83
- Metrics/PerceivedComplexity:
84
- Max: 8
85
- Naming/FileName:
86
- Enabled: false
87
- Naming/HeredocDelimiterNaming:
88
- Exclude:
89
- - test/**/*.rb
90
- Naming/MemoizedInstanceVariableName:
91
- Exclude:
92
- - lib/jekyll/convertible.rb
93
- - lib/jekyll/drops/site_drop.rb
94
- - lib/jekyll/drops/unified_payload_drop.rb
95
- - lib/jekyll/page_without_a_file.rb
96
- Security/MarshalLoad:
97
- Exclude:
98
- - !ruby/regexp /test\/.*.rb$/
99
- - lib/jekyll/regenerator.rb
100
- Security/YAMLLoad:
101
- Exclude:
102
- - !ruby/regexp /features\/.*.rb/
103
- - !ruby/regexp /test\/.*.rb$/
104
- Style/AccessModifierDeclarations:
105
- Enabled: false
106
- Style/Alias:
107
- EnforcedStyle: prefer_alias_method
108
- Style/AndOr:
109
- Severity: error
110
- Style/BracesAroundHashParameters:
111
- Enabled: false
112
- Style/ClassAndModuleChildren:
113
- Exclude:
114
- - test/**/*.rb
115
- Style/FrozenStringLiteralComment:
116
- EnforcedStyle: always
117
- Style/Documentation:
118
- Enabled: false
119
- Style/DoubleNegation:
120
- Enabled: false
121
- Style/FormatStringToken:
122
- Exclude:
123
- - lib/jekyll/utils/ansi.rb
124
- Style/GuardClause:
125
- Enabled: false
126
- Style/HashSyntax:
127
- EnforcedStyle: hash_rockets
128
- Severity: error
129
- Style/MixinUsage:
130
- Exclude:
131
- - test/helper.rb
132
- Style/ModuleFunction:
133
- Enabled: false
134
- Style/MultilineTernaryOperator:
135
- Severity: error
136
- Style/PercentLiteralDelimiters:
137
- PreferredDelimiters:
138
- "%q": "{}"
139
- "%Q": "{}"
140
- "%r": "!!"
141
- "%s": "()"
142
- "%w": "()"
143
- "%W": "()"
144
- "%x": "()"
145
- Style/RegexpLiteral:
146
- EnforcedStyle: percent_r
147
- Style/RescueModifier:
148
- Enabled: false
149
- Style/SafeNavigation:
150
- Exclude:
151
- - lib/jekyll/document.rb
152
- Style/SignalException:
153
- EnforcedStyle: only_raise
154
- Style/StringLiterals:
155
- EnforcedStyle: double_quotes
156
- Style/StringLiteralsInInterpolation:
157
- EnforcedStyle: double_quotes
158
- Style/SymbolArray:
159
- EnforcedStyle: brackets
160
- Style/TrailingCommaInArrayLiteral:
161
- EnforcedStyleForMultiline: consistent_comma
162
- Style/TrailingCommaInHashLiteral:
163
- EnforcedStyleForMultiline: consistent_comma
1
+ ---
2
+ inherit_from: .rubocop_todo.yml
3
+
4
+ require:
5
+ - rubocop-performance
6
+ - ./rubocop/jekyll
7
+
8
+ Jekyll/NoPutsAllowed:
9
+ Exclude:
10
+ - rake/*.rake
11
+
12
+ AllCops:
13
+ SuggestExtensions: false
14
+ TargetRubyVersion: 2.4
15
+ Include:
16
+ - lib/**/*.rb
17
+ - test/**/*.rb
18
+ Exclude:
19
+ - bin/**/*
20
+ - exe/**/*
21
+ - benchmark/**/*
22
+ - script/**/*
23
+ - vendor/**/*
24
+ - tmp/**/*
25
+
26
+ Layout/BeginEndAlignment:
27
+ Enabled: true
28
+ Layout/EmptyComment:
29
+ Enabled: false
30
+ Layout/EmptyLinesAroundAttributeAccessor:
31
+ Enabled: true
32
+ Layout/EndAlignment:
33
+ Severity: error
34
+ Layout/HashAlignment:
35
+ EnforcedHashRocketStyle: table
36
+ Layout/IndentationWidth:
37
+ Severity: error
38
+ Layout/FirstArrayElementIndentation:
39
+ EnforcedStyle: consistent
40
+ Layout/FirstHashElementIndentation:
41
+ EnforcedStyle: consistent
42
+ Layout/LineLength:
43
+ Exclude:
44
+ - !ruby/regexp /features\/.*.rb/
45
+ - Rakefile
46
+ - rake/*.rake
47
+ - Gemfile
48
+ Max: 100
49
+ Severity: warning
50
+ Layout/MultilineMethodCallIndentation:
51
+ EnforcedStyle: indented
52
+ Layout/MultilineOperationIndentation:
53
+ EnforcedStyle: indented
54
+ Layout/SpaceAroundMethodCallOperator:
55
+ Enabled: true
56
+ Layout/SpaceInsideHashLiteralBraces:
57
+ Enabled: true
58
+ Exclude:
59
+ - test/**/*.rb
60
+
61
+ Lint/BinaryOperatorWithIdenticalOperands:
62
+ Enabled: true
63
+ Lint/ConstantDefinitionInBlock:
64
+ Enabled: true
65
+ Exclude:
66
+ - test/**/*.rb
67
+ Lint/DeprecatedOpenSSLConstant:
68
+ Enabled: true
69
+ Lint/DuplicateBranch:
70
+ Enabled: true
71
+ Lint/DuplicateElsifCondition:
72
+ Enabled: true
73
+ Lint/DuplicateRegexpCharacterClassElement:
74
+ Enabled: true
75
+ Lint/DuplicateRescueException:
76
+ Enabled: true
77
+ Lint/DuplicateRequire:
78
+ Enabled: true
79
+ Lint/EmptyBlock:
80
+ Enabled: true
81
+ Lint/EmptyClass:
82
+ Enabled: true
83
+ Lint/EmptyConditionalBody:
84
+ Enabled: true
85
+ Lint/EmptyFile:
86
+ Enabled: true
87
+ Lint/FloatComparison:
88
+ Enabled: true
89
+ Lint/HashCompareByIdentity:
90
+ Enabled: true
91
+ Lint/IdentityComparison:
92
+ Enabled: true
93
+ Lint/MissingSuper:
94
+ Enabled: false
95
+ Lint/MixedRegexpCaptureTypes:
96
+ Enabled: false
97
+ Lint/NestedPercentLiteral:
98
+ Exclude:
99
+ - test/test_site.rb
100
+ Lint/NoReturnInBeginEndBlocks:
101
+ Enabled: true
102
+ Lint/OutOfRangeRegexpRef:
103
+ Enabled: true
104
+ Lint/RaiseException:
105
+ Enabled: true
106
+ Lint/RedundantSafeNavigation:
107
+ Enabled: true
108
+ Lint/SelfAssignment:
109
+ Enabled: true
110
+ Lint/StructNewOverride:
111
+ Enabled: true
112
+ Lint/ToEnumArguments:
113
+ Enabled: false
114
+ Lint/TopLevelReturnWithArgument:
115
+ Enabled: true
116
+ Lint/TrailingCommaInAttributeDeclaration:
117
+ Enabled: true
118
+ Lint/UnmodifiedReduceAccumulator:
119
+ Enabled: true
120
+ Lint/UnreachableCode:
121
+ Severity: error
122
+ Lint/UnreachableLoop:
123
+ Enabled: true
124
+ Lint/UselessMethodDefinition:
125
+ Enabled: true
126
+ Lint/UselessTimes:
127
+ Enabled: true
128
+ Lint/Void:
129
+ Exclude:
130
+ - lib/jekyll/site.rb
131
+
132
+ Metrics/AbcSize:
133
+ Max: 23
134
+ Metrics/BlockLength:
135
+ Exclude:
136
+ - test/**/*.rb
137
+ - lib/jekyll/configuration.rb
138
+ - rake/*.rake
139
+ Metrics/ClassLength:
140
+ Exclude:
141
+ - !ruby/regexp /features\/.*.rb$/
142
+ - !ruby/regexp /test\/.*.rb$/
143
+ - lib/jekyll/document.rb
144
+ - lib/jekyll/site.rb
145
+ - lib/jekyll/commands/serve.rb
146
+ - lib/jekyll/configuration.rb
147
+ Max: 240
148
+ Metrics/CyclomaticComplexity:
149
+ Exclude:
150
+ - lib/jekyll/utils.rb
151
+ - lib/jekyll/commands/serve.rb
152
+ Max: 11
153
+ Metrics/MethodLength:
154
+ CountComments: false
155
+ Max: 20
156
+ Severity: error
157
+ Metrics/ModuleLength:
158
+ Max: 240
159
+ Exclude:
160
+ - lib/jekyll/filters.rb
161
+ Metrics/ParameterLists:
162
+ Max: 4
163
+ Metrics/PerceivedComplexity:
164
+ Max: 13
165
+
166
+ Naming/FileName:
167
+ Enabled: false
168
+ Naming/HeredocDelimiterNaming:
169
+ Exclude:
170
+ - test/**/*.rb
171
+ Naming/MemoizedInstanceVariableName:
172
+ Exclude:
173
+ - lib/jekyll/convertible.rb
174
+ - lib/jekyll/drops/site_drop.rb
175
+ - lib/jekyll/drops/unified_payload_drop.rb
176
+ - lib/jekyll/page_without_a_file.rb
177
+
178
+ Performance/AncestorsInclude:
179
+ Enabled: false
180
+ Performance/ArraySemiInfiniteRangeSlice:
181
+ Enabled: true
182
+ Performance/BigDecimalWithNumericArgument:
183
+ Enabled: true
184
+ Performance/BlockGivenWithExplicitBlock:
185
+ Enabled: true
186
+ Performance/ChainArrayAllocation:
187
+ Enabled: true
188
+ Performance/CollectionLiteralInLoop:
189
+ Enabled: true
190
+ Performance/ConstantRegexp:
191
+ Enabled: true
192
+ Performance/MethodObjectAsBlock:
193
+ Enabled: true
194
+ Performance/RedundantSortBlock:
195
+ Enabled: true
196
+ Performance/RedundantStringChars:
197
+ Enabled: true
198
+ Performance/ReverseFirst:
199
+ Enabled: true
200
+ Performance/SortReverse:
201
+ Enabled: false
202
+ Performance/Squeeze:
203
+ Enabled: true
204
+ Performance/StringInclude:
205
+ Enabled: true
206
+ Exclude:
207
+ - lib/jekyll/utils/platforms.rb
208
+ Performance/Sum:
209
+ Enabled: true
210
+
211
+ Security/MarshalLoad:
212
+ Exclude:
213
+ - !ruby/regexp /test\/.*.rb$/
214
+ - lib/jekyll/regenerator.rb
215
+ Security/YAMLLoad:
216
+ Exclude:
217
+ - !ruby/regexp /features\/.*.rb/
218
+ - !ruby/regexp /test\/.*.rb$/
219
+
220
+ Style/ArgumentsForwarding:
221
+ Enabled: false
222
+ Style/ArrayCoercion:
223
+ Enabled: true
224
+ Style/AccessModifierDeclarations:
225
+ Enabled: false
226
+ Style/AccessorGrouping:
227
+ Enabled: false
228
+ Style/Alias:
229
+ EnforcedStyle: prefer_alias_method
230
+ Style/AndOr:
231
+ Severity: error
232
+ Style/BisectedAttrAccessor:
233
+ Enabled: true
234
+ Style/CaseLikeIf:
235
+ Enabled: true
236
+ Style/ClassAndModuleChildren:
237
+ Exclude:
238
+ - test/**/*.rb
239
+ Style/ClassEqualityComparison:
240
+ Enabled: true
241
+ Style/CollectionCompact:
242
+ Enabled: true
243
+ Style/CombinableLoops:
244
+ Enabled: true
245
+ Style/Documentation:
246
+ Enabled: false
247
+ Style/DocumentDynamicEvalDefinition:
248
+ Enabled: true
249
+ Style/DoubleNegation:
250
+ Enabled: false
251
+ Style/ExponentialNotation:
252
+ Enabled: true
253
+ Style/ExplicitBlockArgument:
254
+ Enabled: false
255
+ Style/FormatStringToken:
256
+ Exclude:
257
+ - lib/jekyll/utils/ansi.rb
258
+ - lib/jekyll/liquid_renderer/table.rb
259
+ - lib/jekyll/profiler.rb
260
+ Style/FrozenStringLiteralComment:
261
+ EnforcedStyle: always
262
+ Style/GlobalStdStream:
263
+ Enabled: true
264
+ Style/GuardClause:
265
+ Enabled: false
266
+ Style/HashAsLastArrayItem:
267
+ Enabled: true
268
+ Style/HashEachMethods:
269
+ Enabled: true
270
+ Style/HashLikeCase:
271
+ Enabled: true
272
+ Style/HashSyntax:
273
+ EnforcedStyle: hash_rockets
274
+ Severity: error
275
+ Style/HashTransformKeys:
276
+ Enabled: false
277
+ Style/HashTransformValues:
278
+ Enabled: true
279
+ Style/KeywordParametersOrder:
280
+ Enabled: true
281
+ Style/MixinUsage:
282
+ Exclude:
283
+ - test/helper.rb
284
+ Style/ModuleFunction:
285
+ Enabled: false
286
+ Style/MultilineTernaryOperator:
287
+ Severity: error
288
+ Style/NegatedIfElseCondition:
289
+ Enabled: true
290
+ Style/NilLambda:
291
+ Enabled: true
292
+ Style/OptionalBooleanParameter:
293
+ Enabled: true
294
+ Style/PercentLiteralDelimiters:
295
+ PreferredDelimiters:
296
+ "%q": "{}"
297
+ "%Q": "{}"
298
+ "%r": "!!"
299
+ "%s": "()"
300
+ "%w": "()"
301
+ "%W": "()"
302
+ "%x": "()"
303
+ Style/RedundantArgument:
304
+ Enabled: true
305
+ Style/RedundantAssignment:
306
+ Enabled: true
307
+ Style/RedundantBegin:
308
+ Enabled: false
309
+ Style/RedundantFetchBlock:
310
+ Enabled: false
311
+ Style/RedundantFileExtensionInRequire:
312
+ Enabled: true
313
+ Style/RedundantRegexpCharacterClass:
314
+ Enabled: true
315
+ Style/RedundantRegexpEscape:
316
+ Enabled: true
317
+ Style/RedundantSelfAssignment:
318
+ Enabled: true
319
+ Style/RegexpLiteral:
320
+ EnforcedStyle: percent_r
321
+ Style/RescueModifier:
322
+ Enabled: false
323
+ Style/SafeNavigation:
324
+ Exclude:
325
+ - lib/jekyll/document.rb
326
+ Style/SignalException:
327
+ EnforcedStyle: only_raise
328
+ Style/SingleArgumentDig:
329
+ Enabled: true
330
+ Style/SlicingWithRange:
331
+ Enabled: false
332
+ Style/SoleNestedConditional:
333
+ Enabled: true
334
+ Style/StringLiterals:
335
+ EnforcedStyle: double_quotes
336
+ Style/StringConcatenation:
337
+ Enabled: true
338
+ Exclude:
339
+ - lib/jekyll/commands/*.rb
340
+ - test/**/*.rb
341
+ Style/StringLiteralsInInterpolation:
342
+ EnforcedStyle: double_quotes
343
+ Style/SwapValues:
344
+ Enabled: true
345
+ Style/SymbolArray:
346
+ EnforcedStyle: brackets
347
+ Style/TrailingCommaInArrayLiteral:
348
+ EnforcedStyleForMultiline: consistent_comma
349
+ Style/TrailingCommaInHashLiteral:
350
+ EnforcedStyleForMultiline: consistent_comma
data/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2008-present Tom Preston-Werner and Jekyll contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2008-present Tom Preston-Werner and Jekyll contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.