svg_conform 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9ecc9cf94ec2791168aba3939afb43f456b86c596912339ea2947162c5f738d
4
- data.tar.gz: 32671c37c920fdb2cb36666183d1e965d803c6c706dc4e98e97a581e2cf49e4d
3
+ metadata.gz: 28ff5f6535023bd5817354101e080198c1f5e8b6a9cf0694555a45734e653283
4
+ data.tar.gz: ef1f87272855005ac53e4bc2f06467298c3e58dd3a332a5207d9f27aabf3b9a4
5
5
  SHA512:
6
- metadata.gz: 1d849f548dfff6df9b81c624430323459cd33f12756c64c9fe04e4cf801bf7a1a45d94bcbbb632423c5eeefac4040733eea9a3133bfcdd75d11a64568d74413e
7
- data.tar.gz: d22c6710edadb75a1346a8e56f835f9f18d9113018c719bbc8362f04ea6288c6a17b6142144a9388c03b838a350217d59b797ceea3850dba232e0f388b7ee275
6
+ metadata.gz: d4a56e3f70abddf80258a6774300c99db15d996f892ba8c8fd6a7d9e78d7c19432a3264d8958312c5e7cff5006628a648775dd3cbc4d06d9de0fde5ef179e9d3
7
+ data.tar.gz: 93d8c6ef9a74d628fa6b48aa4ab92ba41c4abc804d29d8b2670656e6114e869b614c0fef80363d393e7d72311e903a113fcf74cb060e8d41ea54f528a0442a77
data/.rubocop_todo.yml CHANGED
@@ -1,26 +1,80 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-11-26 09:22:57 UTC using RuboCop version 1.81.7.
3
+ # on 2026-01-21 09:23:23 UTC using RuboCop version 1.82.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 1
9
+ # Offense count: 4
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
12
+ # SupportedStyles: with_first_argument, with_fixed_indentation
13
+ Layout/ArgumentAlignment:
14
+ Exclude:
15
+ - 'lib/svg_conform/validation_context.rb'
16
+
17
+ # Offense count: 2
10
18
  # This cop supports safe autocorrection (--autocorrect).
11
19
  # Configuration parameters: EnforcedStyleAlignWith.
12
20
  # SupportedStylesAlignWith: either, start_of_block, start_of_line
13
21
  Layout/BlockAlignment:
14
22
  Exclude:
23
+ - 'lib/svg_conform/sax_validation_handler.rb'
15
24
  - 'spec/svg_conform/profiles/svg_1_2_rfc_profile_spec.rb'
16
25
 
26
+ # Offense count: 1
27
+ # This cop supports safe autocorrection (--autocorrect).
28
+ Layout/BlockEndNewline:
29
+ Exclude:
30
+ - 'lib/svg_conform/sax_validation_handler.rb'
31
+
32
+ # Offense count: 1
33
+ # This cop supports safe autocorrection (--autocorrect).
34
+ Layout/ElseAlignment:
35
+ Exclude:
36
+ - 'lib/svg_conform/requirements/no_external_css_requirement.rb'
37
+
38
+ # Offense count: 1
39
+ # This cop supports safe autocorrection (--autocorrect).
40
+ # Configuration parameters: EnforcedStyleAlignWith.
41
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
42
+ Layout/EndAlignment:
43
+ Exclude:
44
+ - 'lib/svg_conform/requirements/no_external_css_requirement.rb'
45
+
46
+ # Offense count: 4
47
+ # This cop supports safe autocorrection (--autocorrect).
48
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
49
+ # SupportedHashRocketStyles: key, separator, table
50
+ # SupportedColonStyles: key, separator, table
51
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
52
+ Layout/HashAlignment:
53
+ Exclude:
54
+ - 'lib/svg_conform/validation_context.rb'
55
+
56
+ # Offense count: 4
57
+ # This cop supports safe autocorrection (--autocorrect).
58
+ # Configuration parameters: Width, AllowedPatterns.
59
+ Layout/IndentationWidth:
60
+ Exclude:
61
+ - 'lib/svg_conform/requirements/no_external_css_requirement.rb'
62
+ - 'lib/svg_conform/sax_validation_handler.rb'
63
+
17
64
  # Offense count: 643
18
65
  # This cop supports safe autocorrection (--autocorrect).
19
- # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
66
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
20
67
  # URISchemes: http, https
21
68
  Layout/LineLength:
22
69
  Enabled: false
23
70
 
71
+ # Offense count: 2
72
+ # This cop supports safe autocorrection (--autocorrect).
73
+ # Configuration parameters: AllowInHeredoc.
74
+ Layout/TrailingWhitespace:
75
+ Exclude:
76
+ - 'lib/svg_conform/validation_context.rb'
77
+
24
78
  # Offense count: 2
25
79
  # Configuration parameters: AllowedMethods.
26
80
  # AllowedMethods: enums
@@ -32,13 +86,13 @@ Lint/ConstantDefinitionInBlock:
32
86
  # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
33
87
  Lint/DuplicateBranch:
34
88
  Exclude:
89
+ - 'lib/svg_conform/errors/validation_issue.rb'
35
90
  - 'lib/svg_conform/profile.rb'
36
91
  - 'lib/svg_conform/references/reference_classifier.rb'
37
92
  - 'lib/svg_conform/remediations/font_embedding_remediation.rb'
38
93
  - 'lib/svg_conform/remediations/image_embedding_remediation.rb'
39
94
  - 'lib/svg_conform/report_comparator.rb'
40
95
  - 'lib/svg_conform/semantic_comparator.rb'
41
- - 'lib/svg_conform/validation_context.rb'
42
96
  - 'lib/svg_conform/validation_result.rb'
43
97
  - 'lib/svg_conform/validator.rb'
44
98
 
@@ -47,11 +101,15 @@ Lint/DuplicateCaseCondition:
47
101
  Exclude:
48
102
  - 'lib/svg_conform/semantic_comparator.rb'
49
103
 
50
- # Offense count: 2
104
+ # Offense count: 1
51
105
  Lint/DuplicateMethods:
52
106
  Exclude:
53
107
  - 'lib/svg_conform/sax_validation_handler.rb'
54
- - 'lib/svg_conform/validation_context.rb'
108
+
109
+ # Offense count: 2
110
+ Lint/HashCompareByIdentity:
111
+ Exclude:
112
+ - 'lib/svg_conform/document_analyzer.rb'
55
113
 
56
114
  # Offense count: 4
57
115
  # Configuration parameters: AllowedParentClasses.
@@ -66,38 +124,38 @@ Lint/UnreachableCode:
66
124
  Exclude:
67
125
  - 'lib/svg_conform/commands/check.rb'
68
126
 
69
- # Offense count: 151
127
+ # Offense count: 150
70
128
  # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
71
129
  Metrics/AbcSize:
72
130
  Enabled: false
73
131
 
74
- # Offense count: 22
132
+ # Offense count: 23
75
133
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
76
134
  # AllowedMethods: refine
77
135
  Metrics/BlockLength:
78
136
  Max: 253
79
137
 
80
- # Offense count: 8
138
+ # Offense count: 6
81
139
  # Configuration parameters: CountBlocks, CountModifierForms.
82
140
  Metrics/BlockNesting:
83
141
  Max: 4
84
142
 
85
- # Offense count: 128
143
+ # Offense count: 126
86
144
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
87
145
  Metrics/CyclomaticComplexity:
88
146
  Enabled: false
89
147
 
90
- # Offense count: 268
148
+ # Offense count: 262
91
149
  # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
92
150
  Metrics/MethodLength:
93
151
  Max: 154
94
152
 
95
- # Offense count: 4
153
+ # Offense count: 6
96
154
  # Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
97
155
  Metrics/ParameterLists:
98
156
  Max: 9
99
157
 
100
- # Offense count: 103
158
+ # Offense count: 100
101
159
  # Configuration parameters: AllowedMethods, AllowedPatterns, Max.
102
160
  Metrics/PerceivedComplexity:
103
161
  Enabled: false
@@ -200,3 +258,11 @@ Style/OptionalBooleanParameter:
200
258
  Style/RedundantCondition:
201
259
  Exclude:
202
260
  - 'lib/svg_conform/external_checkers/svgcheck/parser.rb'
261
+
262
+ # Offense count: 1
263
+ # This cop supports safe autocorrection (--autocorrect).
264
+ # Configuration parameters: EnforcedStyleForMultiline.
265
+ # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
266
+ Style/TrailingCommaInArguments:
267
+ Exclude:
268
+ - 'lib/svg_conform/sax_validation_handler.rb'
data/Gemfile CHANGED
@@ -5,8 +5,8 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in svg_conform.gemspec
6
6
  gemspec
7
7
 
8
- gem "canon"
9
- gem "openssl"
8
+ gem "canon", "~>0.1.10"
9
+ gem "openssl", "~> 3.0"
10
10
  gem "rake"
11
11
  gem "rspec"
12
12
  gem "rubocop"