jekyll_plugin_support 0.7.2 → 0.8.1

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: 4efc790e49d3b2d98eb4e96bee8c75a18df25fcf7c08d66a44ef96d7c6db19c6
4
+ data.tar.gz: 6629e04d2170911427e4914c0d356e3f9c95149b7a673b2638242ba43cbe11fa
5
5
  SHA512:
6
- metadata.gz: 1bb5b49b8bcf8d7ac2f6a8b0650c4ddf2e405db76295190cf5257154495db1f4f2491c676842a01c1c8607f4abd666655336fd4675828df716eff85bf0f66483
7
- data.tar.gz: 54bc0d824c5e635be5143b70088a0229cd79b6a80992284e53119c2578b3e7a6fb3e57a31ec0b23f2dec5a8ed6afffd800213d0b5e1617d1d2d087241651d3b9
6
+ metadata.gz: 5afd0123f178c5fe89ddbfbf55e48a63630a3ebdffe07b28b60e6ba5d0df0ee1c7f6c5b4dc25ca0c77c5e0fe4329a46cf9902585cadbcc9ea90fed032dc4b459
7
+ data.tar.gz: fd6cb95f84f50655b12e81a069a6cdf85ec265f244159b200909ec9d7c8559871c4a781ddf162b10dd9a53eefb07614ed7cec172877130a52e2859a306df0512
data/.rubocop.yml CHANGED
@@ -1,67 +1,80 @@
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: 55
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/ClassVars:
68
+ Enabled: false
69
+
70
+ Style/Documentation:
71
+ Enabled: false
72
+
73
+ Style/FrozenStringLiteralComment:
74
+ Enabled: false
75
+
76
+ Style/StringConcatenation:
77
+ Enabled: false
78
+
79
+ Style/TrailingCommaInHashLiteral:
80
+ EnforcedStyleForMultiline: comma
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.8.1 / 2023-12-10
4
+
5
+ * Added the `JekyllPluginHelper.remove_html_tags` method.
6
+
7
+
8
+ ## 0.8.0 / 2023-11-14
9
+
10
+ * Restructured for better support of Liquid variables.
11
+ * Removed redundant class name in error message.
12
+ * Improved handling of StandardError.
13
+ * Demo site now shows how to define and handle custom errors.
14
+ * Added `@tag_config` variable, which can be inspected to determine whether to die on various types of exceptions.
15
+ * Added `format_error_message`, `maybe_reraise_error`, and `raise_error` to `JekyllBlock` and `JekyllTag`
16
+ * Adds a method called `shorten_backtrace` to `StandardError` and all custom error
17
+ classes defined by `JekyllSupport.define_error`.
18
+ See the `demo/` directory for examples of how to use this optional feature.
19
+ * The `plugin-vars` section in `_config.yml` was renamed to `liquid_vars`.
20
+
21
+
3
22
  ## 0.7.2 / 2023-08-14
4
23
 
5
24
  * Hopefully takes care of issue [#4](../../issues/4).