otto 1.2.0 → 1.3.0

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.
data/.rubocop_todo.yml DELETED
@@ -1,152 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2025-07-18 21:29:04 UTC using RuboCop version 1.78.0.
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: 2
10
- # This cop supports unsafe autocorrection (--autocorrect-all).
11
- # Configuration parameters: AllowSafeAssignment.
12
- Lint/AssignmentInCondition:
13
- Exclude:
14
- - 'lib/otto.rb'
15
-
16
- # Offense count: 1
17
- # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
18
- Metrics/MethodLength:
19
- Exclude:
20
- - 'lib/otto.rb'
21
-
22
- # Offense count: 5
23
- # Configuration parameters: AllowedMethods, AllowedPatterns.
24
- Metrics/PerceivedComplexity:
25
- Max: 36
26
-
27
- # Offense count: 1
28
- Security/Eval:
29
- Exclude:
30
- - 'lib/otto/route.rb'
31
-
32
- # Offense count: 6
33
- # Configuration parameters: AllowedConstants.
34
- Style/Documentation:
35
- Exclude:
36
- - 'spec/**/*'
37
- - 'test/**/*'
38
- - 'example/app.rb'
39
- - 'lib/otto.rb'
40
- - 'lib/otto/helpers/request.rb'
41
- - 'lib/otto/helpers/response.rb'
42
- - 'lib/otto/route.rb'
43
- - 'lib/otto/static.rb'
44
-
45
- # Offense count: 9
46
- # This cop supports unsafe autocorrection (--autocorrect-all).
47
- # Configuration parameters: EnforcedStyle.
48
- # SupportedStyles: always, always_true, never
49
- Style/FrozenStringLiteralComment:
50
- Exclude:
51
- - '**/*.arb'
52
- - 'example/app.rb'
53
- - 'example/config.ru'
54
- - 'lib/otto.rb'
55
- - 'lib/otto/helpers/request.rb'
56
- - 'lib/otto/helpers/response.rb'
57
- - 'lib/otto/route.rb'
58
- - 'lib/otto/static.rb'
59
- - 'lib/otto/version.rb'
60
- - 'otto.gemspec'
61
-
62
- # Offense count: 1
63
- # This cop supports unsafe autocorrection (--autocorrect-all).
64
- # Configuration parameters: EnforcedStyle, Autocorrect.
65
- # SupportedStyles: module_function, extend_self, forbidden
66
- Style/ModuleFunction:
67
- Exclude:
68
- - 'lib/otto/static.rb'
69
-
70
- # Offense count: 2
71
- Style/MultilineBlockChain:
72
- Exclude:
73
- - 'lib/otto.rb'
74
-
75
- # Offense count: 2
76
- # This cop supports unsafe autocorrection (--autocorrect-all).
77
- # Configuration parameters: EnforcedStyle.
78
- # SupportedStyles: literals, strict
79
- Style/MutableConstant:
80
- Exclude:
81
- - 'example/config.ru'
82
-
83
- # Offense count: 1
84
- # Configuration parameters: AllowedMethods.
85
- # AllowedMethods: respond_to_missing?
86
- Style/OptionalBooleanParameter:
87
- Exclude:
88
- - 'lib/otto/helpers/response.rb'
89
-
90
- # Offense count: 1
91
- # This cop supports unsafe autocorrection (--autocorrect-all).
92
- # Configuration parameters: EnforcedStyle.
93
- # SupportedStyles: short, verbose
94
- Style/PreferredHashMethods:
95
- Exclude:
96
- - 'lib/otto.rb'
97
-
98
- # Offense count: 1
99
- # This cop supports unsafe autocorrection (--autocorrect-all).
100
- Style/RedundantFilterChain:
101
- Exclude:
102
- - 'lib/otto.rb'
103
-
104
- # Offense count: 1
105
- # This cop supports unsafe autocorrection (--autocorrect-all).
106
- Style/RedundantInterpolation:
107
- Exclude:
108
- - 'example/config.ru'
109
-
110
- # Offense count: 1
111
- # This cop supports unsafe autocorrection (--autocorrect-all).
112
- Style/SelectByRegexp:
113
- Exclude:
114
- - 'lib/otto.rb'
115
-
116
- # Offense count: 1
117
- # This cop supports unsafe autocorrection (--autocorrect-all).
118
- Style/SlicingWithRange:
119
- Exclude:
120
- - 'lib/otto/route.rb'
121
-
122
- # Offense count: 4
123
- # This cop supports unsafe autocorrection (--autocorrect-all).
124
- # Configuration parameters: RequireEnglish.
125
- # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
126
- Style/SpecialGlobalVars:
127
- EnforcedStyle: use_perl_names
128
-
129
- # Offense count: 1
130
- # Configuration parameters: ActiveSupportClassAttributeAllowed.
131
- ThreadSafety/ClassAndModuleAttributes:
132
- Exclude:
133
- - 'lib/otto.rb'
134
-
135
- # Offense count: 9
136
- ThreadSafety/ClassInstanceVariable:
137
- Exclude:
138
- - 'lib/otto.rb'
139
- - 'lib/otto/version.rb'
140
-
141
- # Offense count: 1
142
- # Configuration parameters: AllowCallWithBlock.
143
- ThreadSafety/DirChdir:
144
- Exclude:
145
- - 'otto.gemspec'
146
-
147
- # Offense count: 1
148
- # This cop supports safe autocorrection (--autocorrect).
149
- # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
150
- # URISchemes: http, https
151
- Layout/LineLength:
152
- Max: 135
data/VERSION.yml DELETED
@@ -1,5 +0,0 @@
1
- # VERSION.yml
2
- ---
3
- :MAJOR: 1
4
- :MINOR: 2
5
- :PATCH: 0