easy_cols 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: 124958eb0088942e122c1457c506851291c6489bd666c65a181f5e8e1114c1c1
4
- data.tar.gz: 15723dbafa8016ef5fb8d9ff2f32720647b8f20f6d6119112bb9c75fd297cc05
3
+ metadata.gz: e17c61c68266db807d74b2c7033aae8017ef54b992aee41700c2a53349f94d28
4
+ data.tar.gz: 41eddb43a4d4d5e7dded84f5f8fd478920ba5634ceb66030159df7da0c13ebc0
5
5
  SHA512:
6
- metadata.gz: eba5bb501884e307804db44a06da1d03b19190b81ec6b0e48732f0c69bfee350fba687e7e3b94695a8a48df04325b69db7eb493d1ae5617147af9e39645fc5d2
7
- data.tar.gz: f0b8554136cff84e1e095b64d39dd1e941e8668153bd4398cea9e7287de6815bcd99f2f52eb6ea885b09cea92e727ab9e2693825dd080e51850746639256d99d
6
+ metadata.gz: cb6b4667d43151b63a8fe23635b94b2124d3eed9d941f643583d6c8b4f4796aab963fdecfbada59595d295e494346ca504af13fb2616f2f640c81244bac45182
7
+ data.tar.gz: b472b687687bda6ae832d3ec668c5b3769c1466b4f1c72afc9c00b1e994df54b3d0b67c54be1554839825115bffcc46b2191e2585672125a022b95148ef64467
data/.rubocop.yml ADDED
@@ -0,0 +1 @@
1
+ inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,208 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2025-11-03 21:04:59 UTC using RuboCop version 1.80.2.
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: 1
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
12
+ Bundler/OrderedGems:
13
+ Exclude:
14
+ - 'Gemfile'
15
+
16
+ # Offense count: 1
17
+ # This cop supports safe autocorrection (--autocorrect).
18
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
19
+ Gemspec/OrderedDependencies:
20
+ Exclude:
21
+ - 'cols.gemspec'
22
+
23
+ # Offense count: 1
24
+ # This cop supports safe autocorrection (--autocorrect).
25
+ Layout/EmptyLineAfterGuardClause:
26
+ Exclude:
27
+ - 'lib/easy_cols/parser.rb'
28
+
29
+ # Offense count: 3
30
+ # This cop supports safe autocorrection (--autocorrect).
31
+ # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
32
+ Layout/ExtraSpacing:
33
+ Exclude:
34
+ - 'lib/easy_cols/parser.rb'
35
+ - 'spec/easy_cols/cli/run_spec.rb'
36
+ - 'spec/easy_cols/formatter_spec.rb'
37
+
38
+ # Offense count: 9
39
+ # This cop supports safe autocorrection (--autocorrect).
40
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
41
+ # SupportedHashRocketStyles: key, separator, table
42
+ # SupportedColonStyles: key, separator, table
43
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
44
+ Layout/HashAlignment:
45
+ Exclude:
46
+ - 'lib/easy_cols/parser.rb'
47
+
48
+ # Offense count: 15
49
+ # This cop supports safe autocorrection (--autocorrect).
50
+ # Configuration parameters: EnforcedStyle.
51
+ # SupportedStyles: final_newline, final_blank_line
52
+ Layout/TrailingEmptyLines:
53
+ Exclude:
54
+ - 'Gemfile'
55
+ - 'Rakefile'
56
+ - 'bin/easy_cols'
57
+ - 'bin/ec'
58
+ - 'lib/easy_cols.rb'
59
+ - 'lib/easy_cols/column_selector.rb'
60
+ - 'spec/easy_cols/cli/parse_column_selectors_spec.rb'
61
+ - 'spec/easy_cols/cli/run_spec.rb'
62
+ - 'spec/easy_cols/column_selector_spec.rb'
63
+ - 'spec/easy_cols/formatter_spec.rb'
64
+ - 'spec/easy_cols/parser_spec.rb'
65
+ - 'spec/easy_cols/version_spec.rb'
66
+ - 'spec/integration/cli_integration_spec.rb'
67
+ - 'spec/spec_helper.rb'
68
+ - 'spec/support/output_helpers.rb'
69
+
70
+ # Offense count: 1
71
+ # This cop supports safe autocorrection (--autocorrect).
72
+ Lint/UselessAssignment:
73
+ Exclude:
74
+ - 'spec/easy_cols/parser_spec.rb'
75
+
76
+ # Offense count: 8
77
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
78
+ Metrics/AbcSize:
79
+ Max: 57
80
+
81
+ # Offense count: 17
82
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
83
+ # AllowedMethods: refine
84
+ Metrics/BlockLength:
85
+ Max: 248
86
+
87
+ # Offense count: 2
88
+ # Configuration parameters: CountComments, CountAsOne.
89
+ Metrics/ClassLength:
90
+ Max: 170
91
+
92
+ # Offense count: 9
93
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
94
+ Metrics/CyclomaticComplexity:
95
+ Max: 16
96
+
97
+ # Offense count: 14
98
+ # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
99
+ Metrics/MethodLength:
100
+ Max: 75
101
+
102
+ # Offense count: 4
103
+ # Configuration parameters: AllowedMethods, AllowedPatterns.
104
+ Metrics/PerceivedComplexity:
105
+ Max: 16
106
+
107
+ # Offense count: 5
108
+ # Configuration parameters: AllowedConstants.
109
+ Style/Documentation:
110
+ Exclude:
111
+ - 'spec/**/*'
112
+ - 'test/**/*'
113
+ - 'lib/easy_cols/cli.rb'
114
+ - 'lib/easy_cols/column_selector.rb'
115
+ - 'lib/easy_cols/formatter.rb'
116
+ - 'lib/easy_cols/parser.rb'
117
+
118
+ # Offense count: 8
119
+ # Configuration parameters: AllowedVariables.
120
+ Style/GlobalVars:
121
+ Exclude:
122
+ - 'lib/easy_cols/cli.rb'
123
+
124
+ # Offense count: 2
125
+ # This cop supports safe autocorrection (--autocorrect).
126
+ # Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
127
+ Style/GuardClause:
128
+ Exclude:
129
+ - 'lib/easy_cols/column_selector.rb'
130
+
131
+ # Offense count: 7
132
+ # This cop supports safe autocorrection (--autocorrect).
133
+ Style/IfUnlessModifier:
134
+ Exclude:
135
+ - 'Rakefile'
136
+ - 'lib/easy_cols/cli.rb'
137
+ - 'lib/easy_cols/parser.rb'
138
+
139
+ # Offense count: 1
140
+ # This cop supports safe autocorrection (--autocorrect).
141
+ # Configuration parameters: AllowMethodComparison, ComparisonsThreshold.
142
+ Style/MultipleComparison:
143
+ Exclude:
144
+ - 'lib/easy_cols/cli.rb'
145
+
146
+ # Offense count: 1
147
+ # This cop supports safe autocorrection (--autocorrect).
148
+ # Configuration parameters: EnforcedStyle, MinBodyLength, AllowConsecutiveConditionals.
149
+ # SupportedStyles: skip_modifier_ifs, always
150
+ Style/Next:
151
+ Exclude:
152
+ - 'lib/easy_cols/parser.rb'
153
+
154
+ # Offense count: 1
155
+ # This cop supports unsafe autocorrection (--autocorrect-all).
156
+ # Configuration parameters: RequireEnglish.
157
+ # SupportedStyles: use_perl_names, use_english_names, use_builtin_english_names
158
+ Style/SpecialGlobalVars:
159
+ EnforcedStyle: use_perl_names
160
+
161
+ # Offense count: 19
162
+ # This cop supports safe autocorrection (--autocorrect).
163
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
164
+ # SupportedStyles: single_quotes, double_quotes
165
+ Style/StringLiterals:
166
+ Exclude:
167
+ - 'Rakefile'
168
+ - 'lib/easy_cols/cli.rb'
169
+ - 'spec/easy_cols/cli/run_spec.rb'
170
+ - 'spec/easy_cols/formatter_spec.rb'
171
+
172
+ # Offense count: 1
173
+ # This cop supports safe autocorrection (--autocorrect).
174
+ # Configuration parameters: EnforcedStyleForMultiline.
175
+ # SupportedStylesForMultiline: comma, consistent_comma, diff_comma, no_comma
176
+ Style/TrailingCommaInHashLiteral:
177
+ Exclude:
178
+ - 'lib/easy_cols/parser.rb'
179
+
180
+ # Offense count: 5
181
+ # This cop supports safe autocorrection (--autocorrect).
182
+ # Configuration parameters: AllowNamedUnderscoreVariables.
183
+ Style/TrailingUnderscoreVariable:
184
+ Exclude:
185
+ - 'Rakefile'
186
+
187
+ # Offense count: 1
188
+ # This cop supports safe autocorrection (--autocorrect).
189
+ # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, AllowedMethods.
190
+ # AllowedMethods: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
191
+ Style/TrivialAccessors:
192
+ Exclude:
193
+ - 'lib/easy_cols/parser.rb'
194
+
195
+ # Offense count: 26
196
+ # This cop supports safe autocorrection (--autocorrect).
197
+ # Configuration parameters: WordRegex.
198
+ # SupportedStyles: percent, brackets
199
+ Style/WordArray:
200
+ EnforcedStyle: percent
201
+ MinSize: 5
202
+
203
+ # Offense count: 1
204
+ # This cop supports safe autocorrection (--autocorrect).
205
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
206
+ # URISchemes: http, https
207
+ Layout/LineLength:
208
+ Max: 123
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy_cols (0.1.0)
4
+ easy_cols (0.1.1)
5
5
  csv (~> 3.0)
6
6
  optparse (~> 0.1)
7
7
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EasyCols
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_cols
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan K. Stebbens
@@ -140,6 +140,8 @@ files:
140
140
  - ".github/workflows/ci.yml"
141
141
  - ".gitignore"
142
142
  - ".rspec"
143
+ - ".rubocop.yml"
144
+ - ".rubocop_todo.yml"
143
145
  - Gemfile
144
146
  - Gemfile.lock
145
147
  - LICENSE