jekyll_plugin_support 0.7.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89499adafe6c65e0579f3a9bb6a1e724001dda3465777f189ba67407ae105f73
4
- data.tar.gz: 284b6a91b644e2989e4f28decb8a29c597b0b1baaf30549b611ea21939d00990
3
+ metadata.gz: 522c54334332d7fda1dc57bfa90647d419f458ff6153a7afe8bc8a60b0be7bca
4
+ data.tar.gz: 6ce396d28eefd925fa8a7a367fbca3991b2ca3625b85c0720bc9eb295a107b03
5
5
  SHA512:
6
- metadata.gz: 1bb5b49b8bcf8d7ac2f6a8b0650c4ddf2e405db76295190cf5257154495db1f4f2491c676842a01c1c8607f4abd666655336fd4675828df716eff85bf0f66483
7
- data.tar.gz: 54bc0d824c5e635be5143b70088a0229cd79b6a80992284e53119c2578b3e7a6fb3e57a31ec0b23f2dec5a8ed6afffd800213d0b5e1617d1d2d087241651d3b9
6
+ metadata.gz: 65ca01eb7f2a017675220b352ee4f041a87df21cf435ca280acb19e512c547f68004be72e9f8dcd51aaad099a1beaefc3544261a63eae0f44fc9b8a5e636f58a
7
+ data.tar.gz: 1049865b366c17bdc3b4d6b2e88e9826e3dfa849ff6b35f03b65b5c6d9b4367ccfe0477a4497ffab2cfea3e3210512ae2d8bf163f71450a05e5c5963d5960883
data/.rubocop.yml CHANGED
@@ -1,67 +1,77 @@
1
- require:
2
- - rubocop-md
3
- - rubocop-performance
4
- - rubocop-rake
5
- - rubocop-rspec
6
- # - rubocop-jekyll
1
+ require:
2
+ # - rubocop-jekyll
3
+ - rubocop-md
4
+ - rubocop-performance
5
+ - rubocop-rake
6
+ - rubocop-rspec
7
7
 
8
- AllCops:
9
- Exclude:
10
- - demo/_site/**/*
11
- - exe/**/*
12
- - vendor/**/*
13
- - Gemfile*
14
- NewCops: enable
15
- TargetRubyVersion: 2.6
8
+ AllCops:
9
+ Exclude:
10
+ - binstub/**/*
11
+ - demo/_site/*
12
+ - vendor/**/*
13
+ - Gemfile*
14
+ NewCops: enable
16
15
 
17
- Gemspec/DeprecatedAttributeAssignment:
18
- Enabled: false
16
+ Gemspec/DeprecatedAttributeAssignment:
17
+ Enabled: false
19
18
 
20
- Gemspec/RequireMFA:
21
- Enabled: false
19
+ Gemspec/RequireMFA:
20
+ Enabled: false
22
21
 
23
- Layout/HashAlignment:
24
- EnforcedColonStyle: table
25
- EnforcedHashRocketStyle: table
22
+ Gemspec/RequiredRubyVersion:
23
+ Enabled: false
26
24
 
27
- Layout/LineLength:
28
- Max: 150
25
+ Layout/HashAlignment:
26
+ EnforcedColonStyle: table
27
+ EnforcedHashRocketStyle: table
29
28
 
30
- Layout/CommentIndentation:
31
- Exclude:
32
- - spec/**/*
29
+ Layout/LineLength:
30
+ Max: 150
33
31
 
34
- Layout/MultilineMethodCallIndentation:
35
- Enabled: false
32
+ Metrics/AbcSize:
33
+ Max: 45
36
34
 
37
- Lint/RedundantCopDisableDirective:
38
- Exclude:
39
- - jekyll_plugin_support.gemspec
35
+ Metrics/BlockLength:
36
+ Exclude:
37
+ - jekyll_all_collections.gemspec
38
+ Max: 30
40
39
 
41
- Metrics/AbcSize:
42
- Max: 30
40
+ Metrics/CyclomaticComplexity:
41
+ Max: 25
43
42
 
44
- Metrics/BlockLength:
45
- Exclude:
46
- - jekyll_plugin_support.gemspec
43
+ Metrics/MethodLength:
44
+ Max: 30
47
45
 
48
- Metrics/CyclomaticComplexity:
49
- Max: 20
46
+ Metrics/PerceivedComplexity:
47
+ Max: 25
50
48
 
51
- Metrics/MethodLength:
52
- Max: 40
49
+ Naming/FileName:
50
+ Exclude:
51
+ - Rakefile
53
52
 
54
- RSpec/ExampleLength:
55
- Max: 20
53
+ RSpec/ExampleLength:
54
+ Max: 30
56
55
 
57
- RSpec/MultipleExpectations:
58
- Max: 15
56
+ RSpec/FilePath:
57
+ Enabled: false
58
+ IgnoreMethods: true
59
+ SpecSuffixOnly: true
59
60
 
60
- Style/Documentation:
61
- Enabled: false
61
+ RSpec/IndexedLet:
62
+ Enabled: false
62
63
 
63
- Style/FrozenStringLiteralComment:
64
- Enabled: false
64
+ RSpec/MultipleExpectations:
65
+ Max: 15
65
66
 
66
- Style/TrailingCommaInHashLiteral:
67
- EnforcedStyleForMultiline: comma
67
+ Style/Documentation:
68
+ Enabled: false
69
+
70
+ Style/FrozenStringLiteralComment:
71
+ Enabled: false
72
+
73
+ Style/StringConcatenation:
74
+ Enabled: false
75
+
76
+ Style/TrailingCommaInHashLiteral:
77
+ EnforcedStyleForMultiline: comma
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.8.0 / 2023-11-14
4
+
5
+ * Restructured for better support of Liquid variables.
6
+ * Removed redundant class name in error message.
7
+ * Improved handling of StandardError.
8
+ * Demo site now shows how to define and handle custom errors.
9
+ * Added `@tag_config` variable, which can be inspected to determine whether to die on various types of exceptions.
10
+ * Added `format_error_message`, `maybe_reraise_error`, and `raise_error` to `JekyllBlock` and `JekyllTag`
11
+ * Adds a method called `shorten_backtrace` to `StandardError` and all custom error
12
+ classes defined by `JekyllSupport.define_error`.
13
+ See the `demo/` directory for examples of how to use this optional feature.
14
+ * The `plugin-vars` section in `_config.yml` was renamed to `liquid_vars`.
15
+
16
+
3
17
  ## 0.7.2 / 2023-08-14
4
18
 
5
19
  * Hopefully takes care of issue [#4](../../issues/4).