arxutils_sqlite3 0.1.49 → 0.1.51
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 +4 -4
- data/.rubocop.yml +3 -2
- data/.rubocop_todo.yml +209 -109
- data/Gemfile +13 -16
- data/Gemfile.lock +112 -0
- data/Rakefile +12 -95
- data/arxutils_sqlite3.gemspec +4 -4
- data/config/.gitignore +1 -0
- data/config/setting.yml +2 -0
- data/exe/arxutils_sqlite3 +5 -6
- data/lib/arxutils_sqlite3/arx.rb +2 -2
- data/lib/arxutils_sqlite3/cli.rb +10 -12
- data/lib/arxutils_sqlite3/config.rb +68 -68
- data/lib/arxutils_sqlite3/dbutil/dbconnect.rb +4 -26
- data/lib/arxutils_sqlite3/dbutil.rb +0 -1
- data/lib/arxutils_sqlite3/hier.rb +3 -3
- data/lib/arxutils_sqlite3/migrate.rb +38 -36
- data/lib/arxutils_sqlite3/rake_task.rb +68 -0
- data/lib/arxutils_sqlite3/util.rb +2 -1
- data/lib/arxutils_sqlite3/version.rb +1 -1
- data/lib/arxutils_sqlite3.rb +2 -1
- data/lib/template/acrecord/db_scheme/{dbsetup.rb → dbsetup.tmpl} +5 -3
- data/lib/template/acrecord/db_scheme/{opts.rb → opts.tmpl} +0 -0
- metadata +18 -16
- data/LICENSE.txt +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6651609533fa181147b0b4c538aa3c45bd85934fde386311095d3994514964cb
|
4
|
+
data.tar.gz: 670aa9b9e25355c36b9108a31b378dd8cae74cae60d20ef64ca290980b4b3a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8513dfaafef1f79c1ec93871dddf4f85dfb3845d6ff1fc3b14dc0568dfa7346faff62f500176fdce2dfdb87806110fdffd84efda453ef8b8e3369f22b5b5b647
|
7
|
+
data.tar.gz: cacf3262387b35efcafc367e3f1bc5ec61221be180cc49eb8b5e6f7b0e7ddabcb1de1b417ef12aac5465d480425b17768a6b926e80d6e89fb25d6107fa815261
|
data/.rubocop.yml
CHANGED
@@ -5,7 +5,7 @@ require:
|
|
5
5
|
- rubocop-rspec
|
6
6
|
|
7
7
|
AllCops:
|
8
|
-
TargetRubyVersion: 2.
|
8
|
+
TargetRubyVersion: 2.6
|
9
9
|
NewCops: enable
|
10
10
|
|
11
11
|
Style/StringLiterals:
|
@@ -17,4 +17,5 @@ Style/StringLiteralsInInterpolation:
|
|
17
17
|
EnforcedStyle: double_quotes
|
18
18
|
|
19
19
|
Layout/LineLength:
|
20
|
-
Max: 120
|
20
|
+
# Max: 120
|
21
|
+
Max: 145
|
data/.rubocop_todo.yml
CHANGED
@@ -1,61 +1,103 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2022-09-
|
3
|
+
# on 2022-09-15 09:40:53 UTC using RuboCop version 1.36.0.
|
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: 2
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
|
12
|
+
# Include: **/*.gemspec
|
13
|
+
Gemspec/OrderedDependencies:
|
14
|
+
Exclude:
|
15
|
+
#- 'arxutils_sqlite3.gemspec'
|
16
|
+
|
17
|
+
# Offense count: 1
|
18
|
+
# Configuration parameters: Include.
|
19
|
+
# Include: **/*.gemspec
|
20
|
+
Gemspec/RequiredRubyVersion:
|
21
|
+
Exclude:
|
22
|
+
#- 'arxutils_sqlite3.gemspec'
|
23
|
+
|
9
24
|
# Offense count: 2
|
10
25
|
# This cop supports safe autocorrection (--autocorrect).
|
11
26
|
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
12
27
|
# SupportedStyles: with_first_element, with_fixed_indentation
|
13
28
|
Layout/ArrayAlignment:
|
14
29
|
Exclude:
|
15
|
-
|
30
|
+
#- 'lib/arxutils_sqlite3/migrate.rb'
|
16
31
|
|
17
32
|
# Offense count: 1
|
18
33
|
# This cop supports safe autocorrection (--autocorrect).
|
19
34
|
Layout/BlockEndNewline:
|
20
35
|
Exclude:
|
21
|
-
|
36
|
+
#- 'lib/arxutils_sqlite3/migrate.rb'
|
22
37
|
|
23
|
-
# Offense count:
|
38
|
+
# Offense count: 1
|
39
|
+
# This cop supports safe autocorrection (--autocorrect).
|
40
|
+
# Configuration parameters: EnforcedStyle, IndentOneStep, IndentationWidth.
|
41
|
+
# SupportedStyles: case, end
|
42
|
+
Layout/CaseIndentation:
|
43
|
+
Exclude:
|
44
|
+
#- 'lib/arxutils_sqlite3/migrate.rb'
|
45
|
+
|
46
|
+
# Offense count: 1
|
47
|
+
# This cop supports safe autocorrection (--autocorrect).
|
48
|
+
Layout/ClosingParenthesisIndentation:
|
49
|
+
Exclude:
|
50
|
+
#- 'lib/arxutils_sqlite3/migrate.rb'
|
51
|
+
|
52
|
+
# Offense count: 4
|
24
53
|
# This cop supports safe autocorrection (--autocorrect).
|
25
54
|
# Configuration parameters: AllowForAlignment.
|
26
55
|
Layout/CommentIndentation:
|
27
56
|
Exclude:
|
28
|
-
|
29
|
-
|
30
|
-
|
57
|
+
#- 'Gemfile'
|
58
|
+
#- 'lib/arxutils_sqlite3/migrate.rb'
|
59
|
+
|
60
|
+
# Offense count: 1
|
61
|
+
# This cop supports safe autocorrection (--autocorrect).
|
62
|
+
# Configuration parameters: AllowBorderComment, AllowMarginComment.
|
63
|
+
Layout/EmptyComment:
|
64
|
+
Exclude:
|
65
|
+
# - 'lib/arxutils_sqlite3/dbutil.rb'
|
31
66
|
|
32
67
|
# Offense count: 1
|
33
68
|
# This cop supports safe autocorrection (--autocorrect).
|
34
69
|
Layout/EmptyLineAfterMagicComment:
|
35
70
|
Exclude:
|
36
|
-
- 'lib/arxutils_sqlite3.rb'
|
71
|
+
# - 'lib/arxutils_sqlite3.rb'
|
37
72
|
|
38
73
|
# Offense count: 1
|
39
74
|
# This cop supports safe autocorrection (--autocorrect).
|
75
|
+
# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
76
|
+
Layout/EmptyLineBetweenDefs:
|
77
|
+
Exclude:
|
78
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
79
|
+
|
80
|
+
# Offense count: 2
|
81
|
+
# This cop supports safe autocorrection (--autocorrect).
|
40
82
|
Layout/EmptyLines:
|
41
83
|
Exclude:
|
42
|
-
- '
|
84
|
+
# - 'lib/arxutils_sqlite3_rake_task.rb'
|
43
85
|
|
44
86
|
# Offense count: 1
|
45
87
|
# This cop supports safe autocorrection (--autocorrect).
|
46
|
-
# Configuration parameters:
|
47
|
-
#
|
48
|
-
Layout/
|
88
|
+
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
|
89
|
+
# AllowedMethods: alias_method, public, protected, private
|
90
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
49
91
|
Exclude:
|
50
|
-
- '
|
92
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
51
93
|
|
52
94
|
# Offense count: 1
|
53
95
|
# This cop supports safe autocorrection (--autocorrect).
|
54
96
|
# Configuration parameters: EnforcedStyle.
|
55
|
-
# SupportedStyles: empty_lines,
|
56
|
-
Layout/
|
97
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
98
|
+
Layout/EmptyLinesAroundBlockBody:
|
57
99
|
Exclude:
|
58
|
-
- '
|
100
|
+
# - 'Gemfile'
|
59
101
|
|
60
102
|
# Offense count: 1
|
61
103
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -63,13 +105,28 @@ Layout/EmptyLinesAroundClassBody:
|
|
63
105
|
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
64
106
|
Layout/EmptyLinesAroundModuleBody:
|
65
107
|
Exclude:
|
66
|
-
- 'lib/
|
108
|
+
# - 'lib/dbacrecord.rb'
|
109
|
+
|
110
|
+
# Offense count: 1
|
111
|
+
# This cop supports safe autocorrection (--autocorrect).
|
112
|
+
# Configuration parameters: EnforcedStyleAlignWith, Severity.
|
113
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
114
|
+
Layout/EndAlignment:
|
115
|
+
Exclude:
|
116
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
117
|
+
|
118
|
+
# Offense count: 3
|
119
|
+
# This cop supports safe autocorrection (--autocorrect).
|
120
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
121
|
+
Layout/ExtraSpacing:
|
122
|
+
Exclude:
|
123
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
67
124
|
|
68
125
|
# Offense count: 1
|
69
126
|
# This cop supports safe autocorrection (--autocorrect).
|
70
127
|
Layout/HeredocIndentation:
|
71
128
|
Exclude:
|
72
|
-
- 'db/migrate/050_create_currentennblist.rb'
|
129
|
+
# - 'db/migrate/050_create_currentennblist.rb'
|
73
130
|
|
74
131
|
# Offense count: 1
|
75
132
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -77,35 +134,36 @@ Layout/HeredocIndentation:
|
|
77
134
|
# SupportedStyles: spaces, tabs
|
78
135
|
Layout/IndentationStyle:
|
79
136
|
Exclude:
|
80
|
-
- 'Gemfile'
|
137
|
+
# - 'Gemfile'
|
81
138
|
|
82
139
|
# Offense count: 2
|
83
140
|
# This cop supports safe autocorrection (--autocorrect).
|
84
141
|
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
|
85
142
|
Layout/IndentationWidth:
|
86
143
|
Exclude:
|
87
|
-
- 'Gemfile'
|
88
|
-
- 'lib/
|
144
|
+
# - 'Gemfile'
|
145
|
+
# - 'lib/dbacrecord.rb'
|
89
146
|
|
90
|
-
# Offense count:
|
147
|
+
# Offense count: 29
|
91
148
|
# This cop supports safe autocorrection (--autocorrect).
|
92
149
|
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
|
93
150
|
Layout/LeadingCommentSpace:
|
94
151
|
Exclude:
|
95
|
-
- 'Gemfile'
|
96
|
-
- '
|
97
|
-
- '
|
98
|
-
- '
|
99
|
-
- 'lib/arxutils_sqlite3/arx.rb'
|
100
|
-
- 'lib/arxutils_sqlite3/
|
101
|
-
- 'lib/arxutils_sqlite3/
|
152
|
+
# - 'Gemfile'
|
153
|
+
# - 'Rakefile'
|
154
|
+
# - 'arxutils_sqlite3.gemspec'
|
155
|
+
# - 'exe/arxutils_sqlite3'
|
156
|
+
# - 'lib/arxutils_sqlite3/arx.rb'
|
157
|
+
# - 'lib/arxutils_sqlite3/cli.rb'
|
158
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
159
|
+
# - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
160
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
102
161
|
|
103
162
|
# Offense count: 1
|
104
163
|
# This cop supports safe autocorrection (--autocorrect).
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
Max: 142
|
164
|
+
Layout/LeadingEmptyLines:
|
165
|
+
Exclude:
|
166
|
+
# - 'lib/arxutils_sqlite3_rake_task.rb'
|
109
167
|
|
110
168
|
# Offense count: 1
|
111
169
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -113,13 +171,13 @@ Layout/LineLength:
|
|
113
171
|
# SupportedStyles: symmetrical, new_line, same_line
|
114
172
|
Layout/MultilineArrayBraceLayout:
|
115
173
|
Exclude:
|
116
|
-
- 'lib/arxutils_sqlite3/migrate.rb'
|
174
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
117
175
|
|
118
176
|
# Offense count: 1
|
119
177
|
# This cop supports safe autocorrection (--autocorrect).
|
120
178
|
Layout/MultilineBlockLayout:
|
121
179
|
Exclude:
|
122
|
-
- 'lib/arxutils_sqlite3/migrate.rb'
|
180
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
123
181
|
|
124
182
|
# Offense count: 2
|
125
183
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -127,35 +185,37 @@ Layout/MultilineBlockLayout:
|
|
127
185
|
# SupportedStyles: symmetrical, new_line, same_line
|
128
186
|
Layout/MultilineMethodCallBraceLayout:
|
129
187
|
Exclude:
|
130
|
-
- '
|
131
|
-
- 'lib/arxutils_sqlite3/
|
188
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
189
|
+
# - 'lib/arxutils_sqlite3/util.rb'
|
132
190
|
|
133
|
-
# Offense count:
|
191
|
+
# Offense count: 3
|
134
192
|
# This cop supports safe autocorrection (--autocorrect).
|
135
193
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
136
194
|
# SupportedStyles: space, no_space
|
137
195
|
# SupportedStylesForEmptyBraces: space, no_space
|
138
196
|
Layout/SpaceBeforeBlockBraces:
|
139
197
|
Exclude:
|
140
|
-
- '
|
198
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
141
199
|
|
142
|
-
# Offense count:
|
200
|
+
# Offense count: 9
|
143
201
|
# This cop supports safe autocorrection (--autocorrect).
|
144
202
|
Layout/SpaceBeforeComma:
|
145
203
|
Exclude:
|
146
|
-
- 'Gemfile'
|
147
|
-
- '
|
148
|
-
- 'lib/arxutils_sqlite3/arx.rb'
|
149
|
-
- 'lib/
|
204
|
+
# - 'Gemfile'
|
205
|
+
# - 'arxutils_sqlite3.gemspec'
|
206
|
+
# - 'lib/arxutils_sqlite3/arx.rb'
|
207
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
208
|
+
# - 'lib/dbacrecord.rb'
|
209
|
+
# - 'spec/arxutils__sqlite3_spec.rb'
|
150
210
|
|
151
|
-
# Offense count:
|
211
|
+
# Offense count: 3
|
152
212
|
# This cop supports safe autocorrection (--autocorrect).
|
153
213
|
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
154
214
|
# SupportedStyles: space, no_space
|
155
215
|
# SupportedStylesForEmptyBraces: space, no_space
|
156
216
|
Layout/SpaceInsideBlockBraces:
|
157
217
|
Exclude:
|
158
|
-
- '
|
218
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
159
219
|
|
160
220
|
# Offense count: 4
|
161
221
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -164,90 +224,99 @@ Layout/SpaceInsideBlockBraces:
|
|
164
224
|
# SupportedStylesForEmptyBraces: space, no_space
|
165
225
|
Layout/SpaceInsideHashLiteralBraces:
|
166
226
|
Exclude:
|
167
|
-
- '
|
227
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
168
228
|
|
169
|
-
# Offense count:
|
229
|
+
# Offense count: 12
|
170
230
|
# This cop supports safe autocorrection (--autocorrect).
|
171
231
|
# Configuration parameters: EnforcedStyle.
|
172
232
|
# SupportedStyles: space, compact, no_space
|
173
233
|
Layout/SpaceInsideParens:
|
174
234
|
Exclude:
|
175
|
-
- '
|
176
|
-
- '
|
235
|
+
# - 'config/dbsetup.rb'
|
236
|
+
# - 'lib/arxutils_sqlite3/cli.rb'
|
237
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
177
238
|
|
178
|
-
# Offense count:
|
239
|
+
# Offense count: 5
|
179
240
|
# This cop supports safe autocorrection (--autocorrect).
|
180
241
|
# Configuration parameters: EnforcedStyle.
|
181
242
|
# SupportedStyles: final_newline, final_blank_line
|
182
243
|
Layout/TrailingEmptyLines:
|
183
244
|
Exclude:
|
184
|
-
- 'Gemfile'
|
245
|
+
# - 'Gemfile'
|
246
|
+
# - 'Rakefile'
|
247
|
+
# - 'lib/arxutils_sqlite3.rb'
|
248
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
249
|
+
# - 'lib/arxutils_sqlite3_rake_task.rb'
|
185
250
|
|
186
|
-
# Offense count:
|
251
|
+
# Offense count: 3
|
187
252
|
# This cop supports safe autocorrection (--autocorrect).
|
188
253
|
# Configuration parameters: AllowInHeredoc.
|
189
254
|
Layout/TrailingWhitespace:
|
190
255
|
Exclude:
|
191
|
-
- 'db/migrate/050_create_currentennblist.rb'
|
256
|
+
# - 'db/migrate/050_create_currentennblist.rb'
|
257
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
258
|
+
# - 'spec/arxutils__sqlite3_spec.rb'
|
192
259
|
|
193
260
|
# Offense count: 1
|
194
261
|
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
195
262
|
Lint/EmptyBlock:
|
196
263
|
Exclude:
|
197
|
-
- 'Gemfile'
|
264
|
+
# - 'Gemfile'
|
198
265
|
|
199
266
|
# Offense count: 1
|
200
267
|
Lint/NestedPercentLiteral:
|
201
268
|
Exclude:
|
202
|
-
- 'lib/template/
|
269
|
+
# - 'lib/template/acrecord/db_scheme/opts.rb'
|
203
270
|
|
204
271
|
# Offense count: 1
|
205
|
-
Lint/RescueException:
|
206
|
-
Exclude:
|
207
|
-
- 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
208
|
-
|
209
|
-
# Offense count: 3
|
210
272
|
# This cop supports safe autocorrection (--autocorrect).
|
211
273
|
Lint/ScriptPermission:
|
212
274
|
Exclude:
|
213
|
-
- '
|
214
|
-
- 'bin/makemigrate'
|
215
|
-
- 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
275
|
+
# - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
216
276
|
|
217
277
|
# Offense count: 1
|
218
|
-
#
|
219
|
-
|
278
|
+
# This cop supports safe autocorrection (--autocorrect).
|
279
|
+
# Configuration parameters: EnforcedStyle.
|
280
|
+
# SupportedStyles: strict, consistent
|
281
|
+
Lint/SymbolConversion:
|
220
282
|
Exclude:
|
221
|
-
- 'lib/arxutils_sqlite3/
|
283
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
222
284
|
|
223
|
-
# Offense count:
|
285
|
+
# Offense count: 2
|
224
286
|
# This cop supports safe autocorrection (--autocorrect).
|
225
287
|
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
|
226
288
|
Lint/UnusedMethodArgument:
|
227
289
|
Exclude:
|
228
|
-
- 'lib/arxutils_sqlite3/
|
290
|
+
# - 'lib/arxutils_sqlite3/cli.rb'
|
229
291
|
|
230
|
-
# Offense count:
|
292
|
+
# Offense count: 13
|
231
293
|
Lint/UselessAssignment:
|
232
294
|
Exclude:
|
233
|
-
- '
|
234
|
-
- 'lib/arxutils_sqlite3/
|
235
|
-
- 'lib/arxutils_sqlite3/
|
295
|
+
# - 'exe/arxutils_sqlite3'
|
296
|
+
# - 'lib/arxutils_sqlite3/cli.rb'
|
297
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
298
|
+
# - 'lib/arxutils_sqlite3/hier.rb'
|
299
|
+
# - 'spec/arxutils__sqlite3_spec.rb'
|
236
300
|
|
237
301
|
# Offense count: 4
|
238
302
|
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
|
239
303
|
Metrics/AbcSize:
|
240
304
|
Max: 27
|
241
305
|
|
242
|
-
# Offense count:
|
306
|
+
# Offense count: 3
|
243
307
|
# Configuration parameters: CountComments, CountAsOne.
|
244
308
|
Metrics/ClassLength:
|
245
|
-
Max:
|
309
|
+
Max: 173
|
310
|
+
|
311
|
+
# Offense count: 1
|
312
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
|
313
|
+
Metrics/CyclomaticComplexity:
|
314
|
+
Max: 8
|
246
315
|
|
247
316
|
# Offense count: 12
|
248
317
|
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
|
249
318
|
Metrics/MethodLength:
|
250
|
-
Max:
|
319
|
+
Max: 49
|
251
320
|
|
252
321
|
# Offense count: 2
|
253
322
|
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
|
@@ -259,19 +328,26 @@ Metrics/ParameterLists:
|
|
259
328
|
Metrics/PerceivedComplexity:
|
260
329
|
Max: 10
|
261
330
|
|
262
|
-
# Offense count:
|
331
|
+
# Offense count: 10
|
332
|
+
Naming/AccessorMethodName:
|
333
|
+
Exclude:
|
334
|
+
- 'lib/arxutils_sqlite3/config.rb'
|
335
|
+
|
336
|
+
# Offense count: 11
|
263
337
|
# Configuration parameters: AllowedNames.
|
264
338
|
# AllowedNames: module_parent
|
265
339
|
Naming/ClassAndModuleCamelCase:
|
266
340
|
Exclude:
|
267
341
|
- 'lib/arxutils_sqlite3.rb'
|
268
342
|
- 'lib/arxutils_sqlite3/arx.rb'
|
343
|
+
- 'lib/arxutils_sqlite3/cli.rb'
|
344
|
+
- 'lib/arxutils_sqlite3/config.rb'
|
269
345
|
- 'lib/arxutils_sqlite3/dbutil.rb'
|
270
346
|
- 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
271
|
-
- 'lib/arxutils_sqlite3/dbutil/dbmgr.rb'
|
272
347
|
- 'lib/arxutils_sqlite3/hier.rb'
|
273
348
|
- 'lib/arxutils_sqlite3/migrate.rb'
|
274
349
|
- 'lib/arxutils_sqlite3/transactstate.rb'
|
350
|
+
- 'lib/arxutils_sqlite3/util.rb'
|
275
351
|
- 'lib/arxutils_sqlite3/version.rb'
|
276
352
|
|
277
353
|
# Offense count: 4
|
@@ -279,22 +355,30 @@ Naming/ClassAndModuleCamelCase:
|
|
279
355
|
# Configuration parameters: PreferredName.
|
280
356
|
Naming/RescuedExceptionsVariableName:
|
281
357
|
Exclude:
|
282
|
-
- '
|
358
|
+
- 'exe/arxutils_sqlite3'
|
359
|
+
- 'lib/arxutils_sqlite3/config.rb'
|
283
360
|
- 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
284
361
|
|
285
|
-
# Offense count:
|
286
|
-
#
|
287
|
-
|
362
|
+
# Offense count: 1
|
363
|
+
# Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
|
364
|
+
# SupportedStyles: snake_case, normalcase, non_integer
|
365
|
+
# AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
|
366
|
+
Naming/VariableNumber:
|
288
367
|
Exclude:
|
289
|
-
- '
|
368
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
369
|
+
|
370
|
+
# Offense count: 2
|
371
|
+
# Configuration parameters: CountAsOne.
|
372
|
+
RSpec/ExampleLength:
|
373
|
+
Max: 7
|
290
374
|
|
291
375
|
# Offense count: 1
|
292
376
|
# This cop supports safe autocorrection (--autocorrect).
|
293
377
|
Style/BlockComments:
|
294
378
|
Exclude:
|
295
|
-
- 'config/dbsetup.rb'
|
379
|
+
# - 'config/dbsetup.rb'
|
296
380
|
|
297
|
-
# Offense count:
|
381
|
+
# Offense count: 4
|
298
382
|
# This cop supports safe autocorrection (--autocorrect).
|
299
383
|
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, IgnoredMethods, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
300
384
|
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
@@ -303,10 +387,10 @@ Style/BlockComments:
|
|
303
387
|
# AllowedMethods: lambda, proc, it
|
304
388
|
Style/BlockDelimiters:
|
305
389
|
Exclude:
|
306
|
-
- '
|
307
|
-
- 'lib/arxutils_sqlite3/migrate.rb'
|
390
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
391
|
+
# - 'lib/arxutils_sqlite3/migrate.rb'
|
308
392
|
|
309
|
-
# Offense count:
|
393
|
+
# Offense count: 7
|
310
394
|
# Configuration parameters: AllowedConstants.
|
311
395
|
Style/Documentation:
|
312
396
|
Exclude:
|
@@ -318,12 +402,13 @@ Style/Documentation:
|
|
318
402
|
- 'db/migrate/030_create_ennblist.rb'
|
319
403
|
- 'db/migrate/040_create_invalidennblist.rb'
|
320
404
|
- 'db/migrate/050_create_currentennblist.rb'
|
405
|
+
- 'lib/arxutils_sqlite3/util.rb'
|
321
406
|
|
322
|
-
# Offense count:
|
407
|
+
# Offense count: 3
|
323
408
|
# This cop supports safe autocorrection (--autocorrect).
|
324
409
|
Style/FileWrite:
|
325
410
|
Exclude:
|
326
|
-
- '
|
411
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
327
412
|
|
328
413
|
# Offense count: 5
|
329
414
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -332,13 +417,19 @@ Style/FileWrite:
|
|
332
417
|
Style/FormatStringToken:
|
333
418
|
EnforcedStyle: unannotated
|
334
419
|
|
335
|
-
# Offense count:
|
420
|
+
# Offense count: 22
|
336
421
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
337
422
|
# Configuration parameters: EnforcedStyle.
|
338
423
|
# SupportedStyles: always, always_true, never
|
339
424
|
Style/FrozenStringLiteralComment:
|
340
425
|
Enabled: false
|
341
426
|
|
427
|
+
# Offense count: 5
|
428
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
429
|
+
Style/GuardClause:
|
430
|
+
Exclude:
|
431
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
432
|
+
|
342
433
|
# Offense count: 10
|
343
434
|
# This cop supports safe autocorrection (--autocorrect).
|
344
435
|
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
@@ -346,22 +437,36 @@ Style/FrozenStringLiteralComment:
|
|
346
437
|
# SupportedShorthandSyntax: always, never, either, consistent
|
347
438
|
Style/HashSyntax:
|
348
439
|
Exclude:
|
349
|
-
- 'db/migrate/010_create_countdatetime.rb'
|
350
|
-
- 'db/migrate/020_create_evnb.rb'
|
351
|
-
- 'db/migrate/030_create_ennblist.rb'
|
352
|
-
- 'db/migrate/040_create_invalidennblist.rb'
|
440
|
+
# - 'db/migrate/010_create_countdatetime.rb'
|
441
|
+
# - 'db/migrate/020_create_evnb.rb'
|
442
|
+
# - 'db/migrate/030_create_ennblist.rb'
|
443
|
+
# - 'db/migrate/040_create_invalidennblist.rb'
|
444
|
+
|
445
|
+
# Offense count: 2
|
446
|
+
# This cop supports safe autocorrection (--autocorrect).
|
447
|
+
Style/IfUnlessModifier:
|
448
|
+
Exclude:
|
449
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
450
|
+
|
451
|
+
# Offense count: 3
|
452
|
+
# This cop supports safe autocorrection (--autocorrect).
|
453
|
+
# Configuration parameters: EnforcedStyle.
|
454
|
+
# SupportedStyles: both, prefix, postfix
|
455
|
+
Style/NegatedIf:
|
456
|
+
Exclude:
|
457
|
+
# - 'lib/arxutils_sqlite3/config.rb'
|
353
458
|
|
354
459
|
# Offense count: 1
|
355
460
|
# This cop supports safe autocorrection (--autocorrect).
|
356
461
|
Style/RedundantCondition:
|
357
462
|
Exclude:
|
358
|
-
- '
|
463
|
+
# - 'exe/arxutils_sqlite3'
|
359
464
|
|
360
465
|
# Offense count: 1
|
361
|
-
# This cop supports
|
362
|
-
Style/
|
466
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
467
|
+
Style/RedundantInterpolation:
|
363
468
|
Exclude:
|
364
|
-
- '
|
469
|
+
# - 'exe/arxutils_sqlite3'
|
365
470
|
|
366
471
|
# Offense count: 1
|
367
472
|
# This cop supports safe autocorrection (--autocorrect).
|
@@ -369,19 +474,14 @@ Style/RedundantFreeze:
|
|
369
474
|
# SupportedStyles: implicit, explicit
|
370
475
|
Style/RescueStandardError:
|
371
476
|
Exclude:
|
372
|
-
- 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
477
|
+
# - 'lib/arxutils_sqlite3/dbutil/dbconnect.rb'
|
373
478
|
|
374
|
-
# Offense count:
|
479
|
+
# Offense count: 5
|
375
480
|
# This cop supports safe autocorrection (--autocorrect).
|
376
481
|
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
377
482
|
# SupportedStyles: single_quotes, double_quotes
|
378
483
|
Style/StringLiterals:
|
379
484
|
Exclude:
|
380
|
-
- '
|
381
|
-
|
382
|
-
#
|
383
|
-
# This cop supports safe autocorrection (--autocorrect).
|
384
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
|
385
|
-
# URISchemes: http, https
|
386
|
-
Layout/LineLength:
|
387
|
-
Max: 142
|
485
|
+
# - 'Rakefile'
|
486
|
+
# - 'lib/dbacrecord.rb'
|
487
|
+
# - 'spec/arxutils__sqlite3_spec.rb'
|
data/Gemfile
CHANGED
@@ -6,21 +6,21 @@ source "https://rubygems.org"
|
|
6
6
|
gemspec
|
7
7
|
|
8
8
|
gem "simpleoptparse"
|
9
|
-
#gem "ykutils"
|
10
|
-
#gem "ykutils" , :path => "C:\Users\ykomi\cur\ruby\ykutils"
|
11
|
-
#gem "ykutils" , :path => "../ykutils"
|
12
|
-
#gem "ykutils" , :github => "ykominami/ykutils"
|
13
|
-
gem "ykutils"
|
9
|
+
# gem "ykutils"
|
10
|
+
# gem "ykutils" , :path => "C:\Users\ykomi\cur\ruby\ykutils"
|
11
|
+
# gem "ykutils" , :path => "../ykutils"
|
12
|
+
# gem "ykutils" , :github => "ykominami/ykutils"
|
13
|
+
gem "ykutils", "> 0.1.3"
|
14
14
|
gem "ykxutils", "> 0.1.0"
|
15
|
-
#gem "ykxutils", :path => "../ykxutils"
|
15
|
+
# gem "ykxutils", :path => "../ykxutils"
|
16
16
|
|
17
17
|
gem "activesupport"
|
18
|
-
|
19
|
-
|
18
|
+
# spec.add_runtime_dependency "erb"
|
19
|
+
# spec.add_runtime_dependency "activerecord", "~> 4.2"
|
20
20
|
gem "activerecord", "~> 6.1"
|
21
21
|
gem "sqlite3"
|
22
|
-
|
23
|
-
#gem "encx"
|
22
|
+
# spec.add_runtime_dependency "mysql2" , "~> 0.4.1"
|
23
|
+
# gem "encx"
|
24
24
|
|
25
25
|
# spec.add_development_dependency "bundler", "~> 2.2.10"
|
26
26
|
gem "rake", "~> 13.0"
|
@@ -31,11 +31,8 @@ gem "rubocop-rake"
|
|
31
31
|
gem "rubocop-rspec"
|
32
32
|
|
33
33
|
group :development do
|
34
|
-
|
35
|
-
gem "yard"
|
36
|
-
end
|
37
|
-
|
38
|
-
group :test do
|
34
|
+
gem "yard"
|
39
35
|
end
|
40
36
|
|
41
|
-
|
37
|
+
# group :test do
|
38
|
+
# end
|