comma 4.7.0 → 4.9.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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +4 -23
  3. data/.rubocop.yml +1 -1
  4. data/.rubocop_todo.yml +96 -49
  5. data/Appraisals +25 -34
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +67 -58
  8. data/README.md +2 -2
  9. data/comma.gemspec +5 -0
  10. data/gemfiles/{active5.2.5.gemfile → active6.0.6.gemfile} +3 -3
  11. data/gemfiles/{active6.0.3.6.gemfile.lock → active6.0.6.gemfile.lock} +55 -37
  12. data/gemfiles/{active6.1.3.1.gemfile → active6.1.7.6.gemfile} +3 -3
  13. data/gemfiles/{active7.0.0.gemfile.lock → active6.1.7.6.gemfile.lock} +56 -36
  14. data/gemfiles/active7.0.8.gemfile +12 -0
  15. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +54 -38
  16. data/gemfiles/active7.1.3.gemfile +12 -0
  17. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +64 -43
  18. data/gemfiles/{rails6.1.3.1.gemfile → rails6.0.6.gemfile} +2 -2
  19. data/gemfiles/rails6.0.6.gemfile.lock +268 -0
  20. data/gemfiles/{rails6.0.3.6.gemfile → rails6.1.7.6.gemfile} +2 -2
  21. data/gemfiles/rails6.1.7.6.gemfile.lock +271 -0
  22. data/gemfiles/{rails7.0.0.gemfile → rails7.0.8.gemfile} +2 -2
  23. data/gemfiles/rails7.0.8.gemfile.lock +266 -0
  24. data/gemfiles/{active7.0.0.gemfile → rails7.1.3.gemfile} +3 -3
  25. data/gemfiles/rails7.1.3.gemfile.lock +289 -0
  26. data/lib/comma/header_extractor.rb +1 -0
  27. data/lib/comma/version.rb +1 -1
  28. data/lib/comma.rb +2 -0
  29. data/spec/comma/comma_spec.rb +18 -18
  30. data/spec/comma/rails/active_record_spec.rb +1 -1
  31. data/spec/comma/rails/mongoid_spec.rb +1 -1
  32. data/spec/spec_helper.rb +1 -0
  33. metadata +108 -23
  34. data/gemfiles/active6.0.3.6.gemfile +0 -12
  35. data/gemfiles/rails5.2.5.gemfile +0 -14
  36. data/gemfiles/rails5.2.5.gemfile.lock +0 -217
  37. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -232
  38. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -235
  39. data/gemfiles/rails7.0.0.gemfile.lock +0 -224
@@ -1,54 +1,68 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.9.0)
5
5
  activesupport (>= 4.2.0)
6
+ csv (>= 3.3)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- activemodel (5.2.5)
11
- activesupport (= 5.2.5)
12
- activerecord (5.2.5)
13
- activemodel (= 5.2.5)
14
- activesupport (= 5.2.5)
15
- arel (>= 9.0)
16
- activesupport (5.2.5)
11
+ activemodel (7.1.3)
12
+ activesupport (= 7.1.3)
13
+ activerecord (7.1.3)
14
+ activemodel (= 7.1.3)
15
+ activesupport (= 7.1.3)
16
+ timeout (>= 0.4.0)
17
+ activesupport (7.1.3)
18
+ base64
19
+ bigdecimal
17
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 0.7, < 2)
19
- minitest (~> 5.1)
20
- tzinfo (~> 1.1)
21
+ connection_pool (>= 2.2.5)
22
+ drb
23
+ i18n (>= 1.6, < 2)
24
+ minitest (>= 5.1)
25
+ mutex_m
26
+ tzinfo (~> 2.0)
21
27
  appraisal (1.0.3)
22
28
  bundler
23
29
  rake
24
30
  thor (>= 0.14.0)
25
- arel (9.0.0)
26
31
  ast (2.4.2)
27
- concurrent-ruby (1.1.9)
32
+ base64 (0.3.0)
33
+ bigdecimal (4.1.2)
34
+ concurrent-ruby (1.3.6)
35
+ connection_pool (2.5.5)
28
36
  coveralls (0.8.23)
29
37
  json (>= 1.8, < 3)
30
38
  simplecov (~> 0.16.1)
31
39
  term-ansicolor (~> 1.3)
32
40
  thor (>= 0.19.4, < 2.0)
33
41
  tins (~> 1.6)
34
- diff-lcs (1.4.4)
42
+ csv (3.3.5)
43
+ diff-lcs (1.5.0)
35
44
  docile (1.4.0)
36
- i18n (1.8.11)
45
+ drb (2.2.3)
46
+ i18n (1.14.8)
37
47
  concurrent-ruby (~> 1.0)
38
- json (2.6.1)
48
+ json (2.7.1)
49
+ mini_portile2 (2.8.5)
39
50
  minitest (5.14.4)
40
- parallel (1.22.1)
41
- parser (3.1.2.0)
51
+ mutex_m (0.3.0)
52
+ parallel (1.24.0)
53
+ parser (3.3.0.4)
42
54
  ast (~> 2.4.1)
55
+ racc
56
+ racc (1.7.3)
43
57
  rainbow (3.1.1)
44
58
  rake (13.0.6)
45
- regexp_parser (2.5.0)
46
- rexml (3.2.5)
59
+ regexp_parser (2.9.0)
60
+ rexml (3.2.6)
47
61
  rspec (3.5.0)
48
62
  rspec-core (~> 3.5.0)
49
63
  rspec-expectations (~> 3.5.0)
50
64
  rspec-mocks (~> 3.5.0)
51
- rspec-activemodel-mocks (1.1.0)
65
+ rspec-activemodel-mocks (1.2.0)
52
66
  activemodel (>= 3.0)
53
67
  activesupport (>= 3.0)
54
68
  rspec-mocks (>= 2.99, < 4.0)
@@ -64,55 +78,62 @@ GEM
64
78
  diff-lcs (>= 1.2.0, < 2.0)
65
79
  rspec-support (~> 3.5.0)
66
80
  rspec-support (3.5.0)
67
- rubocop (1.0.0)
81
+ rubocop (1.30.1)
68
82
  parallel (~> 1.10)
69
- parser (>= 2.7.1.5)
83
+ parser (>= 3.1.0.0)
70
84
  rainbow (>= 2.2.2, < 4.0)
71
- regexp_parser (>= 1.8)
72
- rexml
73
- rubocop-ast (>= 0.6.0)
85
+ regexp_parser (>= 1.8, < 3.0)
86
+ rexml (>= 3.2.5, < 4.0)
87
+ rubocop-ast (>= 1.18.0, < 2.0)
74
88
  ruby-progressbar (~> 1.7)
75
- unicode-display_width (>= 1.4.0, < 2.0)
76
- rubocop-ast (1.17.0)
77
- parser (>= 3.1.1.0)
78
- rubocop-performance (1.10.2)
79
- rubocop (>= 0.90.0, < 2.0)
89
+ unicode-display_width (>= 1.4.0, < 3.0)
90
+ rubocop-ast (1.30.0)
91
+ parser (>= 3.2.1.0)
92
+ rubocop-performance (1.19.1)
93
+ rubocop (>= 1.7.0, < 2.0)
80
94
  rubocop-ast (>= 0.4.0)
81
- ruby-progressbar (1.11.0)
95
+ ruby-progressbar (1.13.0)
82
96
  simplecov (0.16.1)
83
97
  docile (~> 1.1)
84
98
  json (>= 1.8, < 3)
85
99
  simplecov-html (~> 0.10.0)
86
100
  simplecov-html (0.10.2)
87
- sqlite3 (1.4.2)
101
+ sqlite3 (1.7.0)
102
+ mini_portile2 (~> 2.8.0)
103
+ sqlite3 (1.7.0-x86_64-linux)
88
104
  sync (0.5.0)
89
105
  term-ansicolor (1.7.1)
90
106
  tins (~> 1.0)
91
- thor (1.1.0)
92
- thread_safe (0.3.6)
93
- tins (1.29.1)
107
+ thor (1.3.0)
108
+ timeout (0.4.1)
109
+ tins (1.32.1)
94
110
  sync
95
- tzinfo (1.2.9)
96
- thread_safe (~> 0.1)
97
- unicode-display_width (1.8.0)
111
+ tzinfo (2.0.6)
112
+ concurrent-ruby (~> 1.0)
113
+ unicode-display_width (2.5.0)
98
114
 
99
115
  PLATFORMS
100
116
  ruby
117
+ x86_64-linux
101
118
 
102
119
  DEPENDENCIES
103
- activerecord (= 5.2.5)
104
- activesupport (= 5.2.5)
120
+ activerecord (= 7.1.3)
121
+ activesupport (= 7.1.3)
105
122
  appraisal (~> 1.0.0)
123
+ base64
124
+ bigdecimal
106
125
  comma!
107
126
  coveralls
127
+ drb
108
128
  minitest (= 5.14.4)
129
+ mutex_m
109
130
  rake (~> 13.0.1)
110
131
  rspec (~> 3.5.0)
111
132
  rspec-activemodel-mocks
112
133
  rspec-its
113
- rubocop (~> 1.0.0)
134
+ rubocop (~> 1.30.0)
114
135
  rubocop-performance
115
136
  sqlite3
116
137
 
117
138
  BUNDLED WITH
118
- 2.1.4
139
+ 2.5.5
@@ -3,10 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", "~> 1.0.0", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
- gem "rails", "6.1.3.1"
9
+ gem "rails", "6.0.6"
10
10
  gem "rspec-rails"
11
11
  gem "test-unit"
12
12
 
@@ -0,0 +1,268 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ comma (4.9.0)
5
+ activesupport (>= 4.2.0)
6
+ csv (>= 3.3)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (6.0.6)
12
+ actionpack (= 6.0.6)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailbox (6.0.6)
16
+ actionpack (= 6.0.6)
17
+ activejob (= 6.0.6)
18
+ activerecord (= 6.0.6)
19
+ activestorage (= 6.0.6)
20
+ activesupport (= 6.0.6)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.6)
23
+ actionpack (= 6.0.6)
24
+ actionview (= 6.0.6)
25
+ activejob (= 6.0.6)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.0.6)
29
+ actionview (= 6.0.6)
30
+ activesupport (= 6.0.6)
31
+ rack (~> 2.0, >= 2.0.8)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.0.6)
36
+ actionpack (= 6.0.6)
37
+ activerecord (= 6.0.6)
38
+ activestorage (= 6.0.6)
39
+ activesupport (= 6.0.6)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.6)
42
+ activesupport (= 6.0.6)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.0.6)
48
+ activesupport (= 6.0.6)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.0.6)
51
+ activesupport (= 6.0.6)
52
+ activerecord (6.0.6)
53
+ activemodel (= 6.0.6)
54
+ activesupport (= 6.0.6)
55
+ activestorage (6.0.6)
56
+ actionpack (= 6.0.6)
57
+ activejob (= 6.0.6)
58
+ activerecord (= 6.0.6)
59
+ marcel (~> 1.0)
60
+ activesupport (6.0.6)
61
+ concurrent-ruby (~> 1.0, >= 1.0.2)
62
+ i18n (>= 0.7, < 2)
63
+ minitest (~> 5.1)
64
+ tzinfo (~> 1.1)
65
+ zeitwerk (~> 2.2, >= 2.2.2)
66
+ appraisal (1.0.3)
67
+ bundler
68
+ rake
69
+ thor (>= 0.14.0)
70
+ ast (2.4.2)
71
+ base64 (0.3.0)
72
+ bigdecimal (4.1.2)
73
+ builder (3.2.4)
74
+ concurrent-ruby (1.3.6)
75
+ coveralls (0.8.23)
76
+ json (>= 1.8, < 3)
77
+ simplecov (~> 0.16.1)
78
+ term-ansicolor (~> 1.3)
79
+ thor (>= 0.19.4, < 2.0)
80
+ tins (~> 1.6)
81
+ crass (1.0.6)
82
+ csv (3.3.5)
83
+ date (3.3.4)
84
+ diff-lcs (1.5.0)
85
+ docile (1.4.0)
86
+ drb (2.2.3)
87
+ erubi (1.12.0)
88
+ globalid (1.1.0)
89
+ activesupport (>= 5.0)
90
+ i18n (1.14.8)
91
+ concurrent-ruby (~> 1.0)
92
+ json (2.7.1)
93
+ loofah (2.22.0)
94
+ crass (~> 1.0.2)
95
+ nokogiri (>= 1.12.0)
96
+ mail (2.8.1)
97
+ mini_mime (>= 0.1.1)
98
+ net-imap
99
+ net-pop
100
+ net-smtp
101
+ marcel (1.0.2)
102
+ method_source (1.0.0)
103
+ mini_mime (1.1.5)
104
+ mini_portile2 (2.8.9)
105
+ minitest (5.14.4)
106
+ mutex_m (0.3.0)
107
+ net-imap (0.4.9.1)
108
+ date
109
+ net-protocol
110
+ net-pop (0.1.2)
111
+ net-protocol
112
+ net-protocol (0.2.2)
113
+ timeout
114
+ net-smtp (0.4.0.1)
115
+ net-protocol
116
+ nio4r (2.7.0)
117
+ nokogiri (1.16.0)
118
+ mini_portile2 (~> 2.8.2)
119
+ racc (~> 1.4)
120
+ nokogiri (1.16.0-x86_64-darwin)
121
+ racc (~> 1.4)
122
+ nokogiri (1.16.0-x86_64-linux)
123
+ racc (~> 1.4)
124
+ parallel (1.24.0)
125
+ parser (3.3.0.4)
126
+ ast (~> 2.4.1)
127
+ racc
128
+ power_assert (2.0.3)
129
+ racc (1.7.3)
130
+ rack (2.2.8)
131
+ rack-test (2.1.0)
132
+ rack (>= 1.3)
133
+ rails (6.0.6)
134
+ actioncable (= 6.0.6)
135
+ actionmailbox (= 6.0.6)
136
+ actionmailer (= 6.0.6)
137
+ actionpack (= 6.0.6)
138
+ actiontext (= 6.0.6)
139
+ actionview (= 6.0.6)
140
+ activejob (= 6.0.6)
141
+ activemodel (= 6.0.6)
142
+ activerecord (= 6.0.6)
143
+ activestorage (= 6.0.6)
144
+ activesupport (= 6.0.6)
145
+ bundler (>= 1.3.0)
146
+ railties (= 6.0.6)
147
+ sprockets-rails (>= 2.0.0)
148
+ rails-dom-testing (2.2.0)
149
+ activesupport (>= 5.0.0)
150
+ minitest
151
+ nokogiri (>= 1.6)
152
+ rails-html-sanitizer (1.6.0)
153
+ loofah (~> 2.21)
154
+ nokogiri (~> 1.14)
155
+ railties (6.0.6)
156
+ actionpack (= 6.0.6)
157
+ activesupport (= 6.0.6)
158
+ method_source
159
+ rake (>= 0.8.7)
160
+ thor (>= 0.20.3, < 2.0)
161
+ rainbow (3.1.1)
162
+ rake (13.0.6)
163
+ regexp_parser (2.9.0)
164
+ rexml (3.2.6)
165
+ rspec (3.5.0)
166
+ rspec-core (~> 3.5.0)
167
+ rspec-expectations (~> 3.5.0)
168
+ rspec-mocks (~> 3.5.0)
169
+ rspec-activemodel-mocks (1.2.0)
170
+ activemodel (>= 3.0)
171
+ activesupport (>= 3.0)
172
+ rspec-mocks (>= 2.99, < 4.0)
173
+ rspec-core (3.5.4)
174
+ rspec-support (~> 3.5.0)
175
+ rspec-expectations (3.5.0)
176
+ diff-lcs (>= 1.2.0, < 2.0)
177
+ rspec-support (~> 3.5.0)
178
+ rspec-its (1.3.0)
179
+ rspec-core (>= 3.0.0)
180
+ rspec-expectations (>= 3.0.0)
181
+ rspec-mocks (3.5.0)
182
+ diff-lcs (>= 1.2.0, < 2.0)
183
+ rspec-support (~> 3.5.0)
184
+ rspec-rails (3.5.2)
185
+ actionpack (>= 3.0)
186
+ activesupport (>= 3.0)
187
+ railties (>= 3.0)
188
+ rspec-core (~> 3.5.0)
189
+ rspec-expectations (~> 3.5.0)
190
+ rspec-mocks (~> 3.5.0)
191
+ rspec-support (~> 3.5.0)
192
+ rspec-support (3.5.0)
193
+ rubocop (1.30.1)
194
+ parallel (~> 1.10)
195
+ parser (>= 3.1.0.0)
196
+ rainbow (>= 2.2.2, < 4.0)
197
+ regexp_parser (>= 1.8, < 3.0)
198
+ rexml (>= 3.2.5, < 4.0)
199
+ rubocop-ast (>= 1.18.0, < 2.0)
200
+ ruby-progressbar (~> 1.7)
201
+ unicode-display_width (>= 1.4.0, < 3.0)
202
+ rubocop-ast (1.30.0)
203
+ parser (>= 3.2.1.0)
204
+ rubocop-performance (1.19.1)
205
+ rubocop (>= 1.7.0, < 2.0)
206
+ rubocop-ast (>= 0.4.0)
207
+ ruby-progressbar (1.13.0)
208
+ simplecov (0.16.1)
209
+ docile (~> 1.1)
210
+ json (>= 1.8, < 3)
211
+ simplecov-html (~> 0.10.0)
212
+ simplecov-html (0.10.2)
213
+ sprockets (4.2.1)
214
+ concurrent-ruby (~> 1.0)
215
+ rack (>= 2.2.4, < 4)
216
+ sprockets-rails (3.4.2)
217
+ actionpack (>= 5.2)
218
+ activesupport (>= 5.2)
219
+ sprockets (>= 3.0.0)
220
+ sqlite3 (1.7.0)
221
+ mini_portile2 (~> 2.8.0)
222
+ sqlite3 (1.7.0-x86_64-darwin)
223
+ sqlite3 (1.7.0-x86_64-linux)
224
+ sync (0.5.0)
225
+ term-ansicolor (1.7.1)
226
+ tins (~> 1.0)
227
+ test-unit (3.6.1)
228
+ power_assert
229
+ thor (1.3.0)
230
+ thread_safe (0.3.6)
231
+ timeout (0.4.1)
232
+ tins (1.32.1)
233
+ sync
234
+ tzinfo (1.2.11)
235
+ thread_safe (~> 0.1)
236
+ unicode-display_width (2.5.0)
237
+ websocket-driver (0.7.6)
238
+ websocket-extensions (>= 0.1.0)
239
+ websocket-extensions (0.1.5)
240
+ zeitwerk (2.6.18)
241
+
242
+ PLATFORMS
243
+ ruby
244
+ x86_64-darwin-23
245
+ x86_64-linux
246
+
247
+ DEPENDENCIES
248
+ appraisal (~> 1.0.0)
249
+ base64
250
+ bigdecimal
251
+ comma!
252
+ coveralls
253
+ drb
254
+ minitest (= 5.14.4)
255
+ mutex_m
256
+ rails (= 6.0.6)
257
+ rake (~> 13.0.1)
258
+ rspec (~> 3.5.0)
259
+ rspec-activemodel-mocks
260
+ rspec-its
261
+ rspec-rails
262
+ rubocop (~> 1.30.0)
263
+ rubocop-performance
264
+ sqlite3
265
+ test-unit
266
+
267
+ BUNDLED WITH
268
+ 2.5.5
@@ -3,10 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", "~> 1.0.0", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
- gem "rails", "6.0.3.6"
9
+ gem "rails", "6.1.7.6"
10
10
  gem "rspec-rails"
11
11
  gem "test-unit"
12
12