content_signals 0.1.0 → 0.1.1

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: 55d9e7a24261e263991e702b01ba54ab83dee3c932b0ba2dc8086f01e99e710b
4
- data.tar.gz: f6b6403354cce75c681afe415b7107dfed68e3d714d8655ff9384b0581798cbf
3
+ metadata.gz: 511a0ac5433ad420855aad0d53f64839b1b9c05dd46f2a1cca26c86c4898c372
4
+ data.tar.gz: f20269439262403253d17dc0873007f5f30a7c94f3d612ad86e781137db3398c
5
5
  SHA512:
6
- metadata.gz: 0fddc295026c2114aa277f5130978423faee7d4c91f836a125c0e133e4e6cf1c855dfdbd03798017b666ff3e8d8502fe81a7452e942128d74b43843055d22f54
7
- data.tar.gz: 788c19d4abff86e9dd8379af1acbd6039796c24974f9b885591b558a7193ce2c06bfba941c43c177244fa1cc8a60d05bf5943a8fd9db831fccf8c33a665caa29
6
+ metadata.gz: 890fc8d708a4fdc971e230312507801b914538ff55d9b2236e6002c9508c96872919230501fd06cc07e224fbf7208cdf6504a9158e475737f6d243f33c02c859
7
+ data.tar.gz: b05443d219acda5b7d3e41ee8532dea8c130c2b0b97031d91e433adf07e8b4eceeea5c3827cbb716b8d7363c8cb8aea530096cec6e148f95165c1e9bfc8049c7
data/.rubocop.yml ADDED
@@ -0,0 +1,48 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ # RuboCop configuration for ContentSignals gem
4
+
5
+ AllCops:
6
+ NewCops: enable
7
+ TargetRubyVersion: 3.0
8
+ Exclude:
9
+ - 'bin/**/*'
10
+ - 'vendor/**/*'
11
+ - 'node_modules/**/*'
12
+ - 'tmp/**/*'
13
+ - 'db/schema.rb'
14
+
15
+ # Ignore string literal quote style - allow both single and double quotes
16
+ Style/StringLiterals:
17
+ Enabled: false
18
+
19
+ Style/StringLiteralsInInterpolation:
20
+ Enabled: false
21
+
22
+ # Common relaxations for gem development
23
+ Metrics/BlockLength:
24
+ Exclude:
25
+ - 'spec/**/*'
26
+ - '*.gemspec'
27
+
28
+ Layout/LineLength:
29
+ Max: 120
30
+ Exclude:
31
+ - 'spec/**/*'
32
+
33
+ Metrics/MethodLength:
34
+ Max: 15
35
+ Exclude:
36
+ - 'spec/**/*'
37
+
38
+ Metrics/AbcSize:
39
+ Max: 20
40
+ Exclude:
41
+ - 'spec/**/*'
42
+
43
+ Style/Documentation:
44
+ Enabled: false
45
+
46
+ Style/FrozenStringLiteralComment:
47
+ Enabled: true
48
+ EnforcedStyle: always
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,146 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2026-01-06 16:31:13 UTC using RuboCop version 1.82.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 3
10
+ # Configuration parameters: EnforcedStyle, AllowedGems.
11
+ # SupportedStyles: Gemfile, gems.rb, gemspec
12
+ Gemspec/DevelopmentDependencies:
13
+ Exclude:
14
+ - 'content_signals.gemspec'
15
+
16
+ # Offense count: 3
17
+ # This cop supports safe autocorrection (--autocorrect).
18
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
19
+ Gemspec/OrderedDependencies:
20
+ Exclude:
21
+ - 'content_signals.gemspec'
22
+
23
+ # Offense count: 1
24
+ # This cop supports safe autocorrection (--autocorrect).
25
+ Gemspec/RequireMFA:
26
+ Exclude:
27
+ - 'content_signals.gemspec'
28
+
29
+ # Offense count: 8
30
+ # This cop supports safe autocorrection (--autocorrect).
31
+ # Configuration parameters: IndentOneStep, IndentationWidth.
32
+ # SupportedStyles: case, end
33
+ Layout/CaseIndentation:
34
+ EnforcedStyle: end
35
+
36
+ # Offense count: 1
37
+ # This cop supports safe autocorrection (--autocorrect).
38
+ Layout/EmptyLineAfterGuardClause:
39
+ Exclude:
40
+ - 'lib/content_signals/models/page_view.rb'
41
+
42
+ # Offense count: 2
43
+ # This cop supports safe autocorrection (--autocorrect).
44
+ # Configuration parameters: EnforcedStyleAlignWith.
45
+ # SupportedStylesAlignWith: keyword, variable, start_of_line
46
+ Layout/EndAlignment:
47
+ Exclude:
48
+ - 'lib/content_signals/models/page_view.rb'
49
+
50
+ # Offense count: 2
51
+ # This cop supports safe autocorrection (--autocorrect).
52
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
53
+ # URISchemes: http, https
54
+ Layout/LineLength:
55
+ Max: 172
56
+
57
+ # Offense count: 28
58
+ # This cop supports safe autocorrection (--autocorrect).
59
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
60
+ # SupportedStyles: aligned, indented, indented_relative_to_receiver
61
+ Layout/MultilineMethodCallIndentation:
62
+ Exclude:
63
+ - 'lib/content_signals/models/page_view.rb'
64
+
65
+ # Offense count: 1
66
+ # This cop supports safe autocorrection (--autocorrect).
67
+ # Configuration parameters: EnforcedStyle.
68
+ # SupportedStyles: final_newline, final_blank_line
69
+ Layout/TrailingEmptyLines:
70
+ Exclude:
71
+ - 'lib/content_signals/engine.rb'
72
+
73
+ # Offense count: 1
74
+ # This cop supports unsafe autocorrection (--autocorrect-all).
75
+ Lint/RedundantDirGlobSort:
76
+ Exclude:
77
+ - 'spec/rails_helper.rb'
78
+
79
+ # Offense count: 2
80
+ # This cop supports unsafe autocorrection (--autocorrect-all).
81
+ Lint/UselessTimes:
82
+ Exclude:
83
+ - 'spec/models/page_view_spec.rb'
84
+
85
+ # Offense count: 1
86
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
87
+ Metrics/AbcSize:
88
+ Exclude:
89
+ - 'spec/**/*'
90
+ - 'lib/content_signals/models/page_view.rb'
91
+
92
+ # Offense count: 1
93
+ # Configuration parameters: CountComments, CountAsOne.
94
+ Metrics/ClassLength:
95
+ Max: 174
96
+
97
+ # Offense count: 1
98
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
99
+ Metrics/CyclomaticComplexity:
100
+ Max: 10
101
+
102
+ # Offense count: 1
103
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
104
+ Metrics/MethodLength:
105
+ Exclude:
106
+ - 'spec/**/*'
107
+ - 'lib/content_signals/models/page_view.rb'
108
+
109
+ # Offense count: 1
110
+ # This cop supports safe autocorrection (--autocorrect).
111
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
112
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
113
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
114
+ # FunctionalMethods: let, let!, subject, watch
115
+ # AllowedMethods: lambda, proc, it
116
+ Style/BlockDelimiters:
117
+ Exclude:
118
+ - 'spec/models/page_view_spec.rb'
119
+
120
+ # Offense count: 2
121
+ # This cop supports safe autocorrection (--autocorrect).
122
+ Style/IfUnlessModifier:
123
+ Exclude:
124
+ - 'lib/content_signals.rb'
125
+ - 'lib/content_signals/engine.rb'
126
+
127
+ # Offense count: 1
128
+ # This cop supports safe autocorrection (--autocorrect).
129
+ # Configuration parameters: AllowModifier.
130
+ Style/SoleNestedConditional:
131
+ Exclude:
132
+ - 'lib/content_signals/engine.rb'
133
+
134
+ # Offense count: 6
135
+ # This cop supports safe autocorrection (--autocorrect).
136
+ # Configuration parameters: MinSize.
137
+ # SupportedStyles: percent, brackets
138
+ Style/SymbolArray:
139
+ EnforcedStyle: brackets
140
+
141
+ # Offense count: 2
142
+ # This cop supports safe autocorrection (--autocorrect).
143
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
144
+ # URISchemes: http, https
145
+ Layout/LineLength:
146
+ Max: 172