jekyll_plugin_support 0.7.1 → 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: e4093bb78659c8a6b9e75df1ed8e288e7ba8a0216b7d870f04856933c992e631
4
- data.tar.gz: 69c2191230866feb2552a9a170140008b5d16290703f525d1a6487b28df78706
3
+ metadata.gz: 522c54334332d7fda1dc57bfa90647d419f458ff6153a7afe8bc8a60b0be7bca
4
+ data.tar.gz: 6ce396d28eefd925fa8a7a367fbca3991b2ca3625b85c0720bc9eb295a107b03
5
5
  SHA512:
6
- metadata.gz: e63ab6ea4dc5a241d4fdafd00fd088943dee27591a36297a2a5a4984e0096775365c902bd43ece243cea45ac26e64e5a374c1afcc72f51653825e680e33f40ae
7
- data.tar.gz: 25db74e77f3f24dd4d40fb2aba3b3717ff630c6afb6e3e9743ac91dc1331a29139fe79c9c7e596e8e9a7c7149c83c2cedd6503401ff9f83cf1b3eb7ada94197c
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,24 @@
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
+
17
+ ## 0.7.2 / 2023-08-14
18
+
19
+ * Hopefully takes care of issue [#4](../../issues/4).
20
+
21
+
3
22
  ## 0.7.1 / 2023-08-11
4
23
 
5
24
  * Suppressed stack trace from issue [#4](../../issues/4).