jekyll 4.0.1 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +350 -163
- data/LICENSE +21 -21
- data/README.markdown +86 -90
- data/exe/jekyll +57 -57
- data/lib/blank_template/_config.yml +3 -3
- data/lib/blank_template/_layouts/default.html +12 -12
- data/lib/blank_template/_sass/main.scss +9 -9
- data/lib/blank_template/assets/css/main.scss +4 -4
- data/lib/blank_template/index.md +8 -8
- data/lib/jekyll/cache.rb +190 -190
- data/lib/jekyll/cleaner.rb +111 -111
- data/lib/jekyll/collection.rb +309 -309
- data/lib/jekyll/command.rb +105 -103
- data/lib/jekyll/commands/build.rb +93 -93
- data/lib/jekyll/commands/clean.rb +45 -45
- data/lib/jekyll/commands/doctor.rb +177 -173
- data/lib/jekyll/commands/help.rb +34 -34
- data/lib/jekyll/commands/new.rb +169 -169
- data/lib/jekyll/commands/new_theme.rb +40 -42
- data/lib/jekyll/commands/serve/live_reload_reactor.rb +122 -122
- data/lib/jekyll/commands/serve/livereload_assets/livereload.js +1183 -1183
- data/lib/jekyll/commands/serve/servlet.rb +202 -202
- data/lib/jekyll/commands/serve/websockets.rb +81 -81
- data/lib/jekyll/commands/serve.rb +362 -354
- data/lib/jekyll/configuration.rb +313 -316
- data/lib/jekyll/converter.rb +54 -54
- data/lib/jekyll/converters/identity.rb +41 -41
- data/lib/jekyll/converters/markdown/kramdown_parser.rb +199 -130
- data/lib/jekyll/converters/markdown.rb +113 -113
- data/lib/jekyll/converters/smartypants.rb +70 -70
- data/lib/jekyll/convertible.rb +257 -254
- data/lib/jekyll/deprecator.rb +50 -50
- data/lib/jekyll/document.rb +544 -522
- data/lib/jekyll/drops/collection_drop.rb +20 -20
- data/lib/jekyll/drops/document_drop.rb +70 -69
- data/lib/jekyll/drops/drop.rb +293 -215
- data/lib/jekyll/drops/excerpt_drop.rb +19 -19
- data/lib/jekyll/drops/jekyll_drop.rb +32 -32
- data/lib/jekyll/drops/site_drop.rb +66 -66
- data/lib/jekyll/drops/static_file_drop.rb +14 -14
- data/lib/jekyll/drops/unified_payload_drop.rb +26 -26
- data/lib/jekyll/drops/url_drop.rb +140 -132
- data/lib/jekyll/entry_filter.rb +121 -110
- data/lib/jekyll/errors.rb +20 -20
- data/lib/jekyll/excerpt.rb +201 -201
- data/lib/jekyll/external.rb +79 -79
- data/lib/jekyll/filters/date_filters.rb +110 -110
- data/lib/jekyll/filters/grouping_filters.rb +64 -64
- data/lib/jekyll/filters/url_filters.rb +98 -68
- data/lib/jekyll/filters.rb +535 -454
- data/lib/jekyll/frontmatter_defaults.rb +240 -245
- data/lib/jekyll/generator.rb +5 -5
- data/lib/jekyll/hooks.rb +107 -106
- data/lib/jekyll/inclusion.rb +32 -0
- data/lib/jekyll/layout.rb +67 -62
- data/lib/jekyll/liquid_extensions.rb +22 -22
- data/lib/jekyll/liquid_renderer/file.rb +77 -77
- data/lib/jekyll/liquid_renderer/table.rb +55 -75
- data/lib/jekyll/liquid_renderer.rb +80 -77
- data/lib/jekyll/log_adapter.rb +151 -151
- data/lib/jekyll/mime.types +866 -866
- data/lib/jekyll/page.rb +217 -186
- data/lib/jekyll/page_excerpt.rb +25 -0
- data/lib/jekyll/page_without_a_file.rb +14 -14
- data/lib/jekyll/path_manager.rb +74 -31
- data/lib/jekyll/plugin.rb +92 -92
- data/lib/jekyll/plugin_manager.rb +115 -115
- data/lib/jekyll/profiler.rb +58 -0
- data/lib/jekyll/publisher.rb +23 -23
- data/lib/jekyll/reader.rb +192 -187
- data/lib/jekyll/readers/collection_reader.rb +23 -22
- data/lib/jekyll/readers/data_reader.rb +79 -75
- data/lib/jekyll/readers/layout_reader.rb +62 -61
- data/lib/jekyll/readers/page_reader.rb +25 -24
- data/lib/jekyll/readers/post_reader.rb +85 -84
- data/lib/jekyll/readers/static_file_reader.rb +25 -24
- data/lib/jekyll/readers/theme_assets_reader.rb +52 -51
- data/lib/jekyll/regenerator.rb +195 -195
- data/lib/jekyll/related_posts.rb +52 -52
- data/lib/jekyll/renderer.rb +265 -267
- data/lib/jekyll/site.rb +551 -527
- data/lib/jekyll/static_file.rb +208 -203
- data/lib/jekyll/stevenson.rb +60 -60
- data/lib/jekyll/tags/highlight.rb +110 -110
- data/lib/jekyll/tags/include.rb +275 -221
- data/lib/jekyll/tags/link.rb +42 -41
- data/lib/jekyll/tags/post_url.rb +106 -107
- data/lib/jekyll/theme.rb +86 -80
- data/lib/jekyll/theme_builder.rb +121 -121
- data/lib/jekyll/url.rb +167 -164
- data/lib/jekyll/utils/ansi.rb +57 -57
- data/lib/jekyll/utils/exec.rb +26 -26
- data/lib/jekyll/utils/internet.rb +37 -37
- data/lib/jekyll/utils/platforms.rb +67 -82
- data/lib/jekyll/utils/thread_event.rb +31 -31
- data/lib/jekyll/utils/win_tz.rb +75 -75
- data/lib/jekyll/utils.rb +367 -367
- data/lib/jekyll/version.rb +5 -5
- data/lib/jekyll.rb +195 -206
- data/lib/site_template/.gitignore +5 -5
- data/lib/site_template/404.html +25 -25
- data/lib/site_template/_config.yml +55 -55
- data/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +29 -29
- data/lib/site_template/about.markdown +18 -18
- data/lib/site_template/index.markdown +6 -6
- data/lib/theme_template/CODE_OF_CONDUCT.md.erb +74 -74
- data/lib/theme_template/Gemfile +4 -4
- data/lib/theme_template/LICENSE.txt.erb +21 -21
- data/lib/theme_template/README.md.erb +52 -52
- data/lib/theme_template/_layouts/default.html +1 -1
- data/lib/theme_template/_layouts/page.html +5 -5
- data/lib/theme_template/_layouts/post.html +5 -5
- data/lib/theme_template/example/_config.yml.erb +1 -1
- data/lib/theme_template/example/_post.md +12 -12
- data/lib/theme_template/example/index.html +14 -14
- data/lib/theme_template/example/style.scss +7 -7
- data/lib/theme_template/gitignore.erb +6 -6
- data/lib/theme_template/theme.gemspec.erb +16 -19
- data/rubocop/jekyll/assert_equal_literal_actual.rb +149 -149
- data/rubocop/jekyll/no_p_allowed.rb +23 -23
- data/rubocop/jekyll/no_puts_allowed.rb +23 -23
- data/rubocop/jekyll.rb +5 -5
- metadata +20 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b64b4c0bd8d3cda85c3c3cc60461d8d0599078b05a96950ce83f34dfbd0cecc3
|
4
|
+
data.tar.gz: 1f0c1d168e34e4f183c2c067c42ba89b0ad3e5c58c35910f4f39523a18b9d307
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 583c14bf763479c1f081652a61062b931728f4313652d8eda227bac8add0304fec6ffb8e91bb1670d95f0b412647aa9ff5c468afac09a91f404e10d14bd24bf6
|
7
|
+
data.tar.gz: d51887e10ce56c08e693a2a5e15a24b5899e858b7004ef862c9a40400ccb2ef8d180815a8b054b205896230c44db56c7218a305e638c0d6bb892bb6672ece7b3
|
data/.rubocop.yml
CHANGED
@@ -1,163 +1,350 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
-
|
18
|
-
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
Layout/
|
39
|
-
|
40
|
-
Layout/
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
-
|
47
|
-
|
48
|
-
Max:
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
Enabled:
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
Enabled:
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
Enabled:
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
Enabled:
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
- lib/jekyll/
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
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.
|