comma 4.7.0 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +2 -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 +63 -58
  8. data/README.md +2 -2
  9. data/gemfiles/{active5.2.5.gemfile → active6.0.6.gemfile} +3 -3
  10. data/gemfiles/{active6.0.3.6.gemfile.lock → active6.0.6.gemfile.lock} +41 -37
  11. data/gemfiles/{active6.1.3.1.gemfile → active6.1.7.6.gemfile} +3 -3
  12. data/gemfiles/{active7.0.0.gemfile.lock → active6.1.7.6.gemfile.lock} +42 -36
  13. data/gemfiles/active7.0.8.gemfile +12 -0
  14. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +40 -38
  15. data/gemfiles/active7.1.3.gemfile +12 -0
  16. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +58 -43
  17. data/gemfiles/{rails6.1.3.1.gemfile → rails6.0.6.gemfile} +2 -2
  18. data/gemfiles/rails6.0.6.gemfile.lock +270 -0
  19. data/gemfiles/{rails6.0.3.6.gemfile → rails6.1.7.6.gemfile} +2 -2
  20. data/gemfiles/rails6.1.7.6.gemfile.lock +273 -0
  21. data/gemfiles/{rails7.0.0.gemfile → rails7.0.8.gemfile} +2 -2
  22. data/gemfiles/rails7.0.8.gemfile.lock +248 -0
  23. data/gemfiles/{active7.0.0.gemfile → rails7.1.3.gemfile} +3 -3
  24. data/gemfiles/rails7.1.3.gemfile.lock +281 -0
  25. data/lib/comma/header_extractor.rb +1 -0
  26. data/lib/comma/version.rb +1 -1
  27. data/lib/comma.rb +1 -0
  28. data/spec/comma/comma_spec.rb +18 -18
  29. data/spec/comma/rails/active_record_spec.rb +1 -1
  30. data/spec/comma/rails/mongoid_spec.rb +1 -1
  31. metadata +38 -23
  32. data/gemfiles/active6.0.3.6.gemfile +0 -12
  33. data/gemfiles/rails5.2.5.gemfile +0 -14
  34. data/gemfiles/rails5.2.5.gemfile.lock +0 -217
  35. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -232
  36. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -235
  37. data/gemfiles/rails7.0.0.gemfile.lock +0 -224
@@ -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 "activesupport", "6.1.3.1"
10
- gem "activerecord", "6.1.3.1"
9
+ gem "activesupport", "6.1.7.6"
10
+ gem "activerecord", "6.1.7.6"
11
11
 
12
12
  gemspec :path => "../"
@@ -1,52 +1,56 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.8.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (7.0.0)
11
- activesupport (= 7.0.0)
12
- activerecord (7.0.0)
13
- activemodel (= 7.0.0)
14
- activesupport (= 7.0.0)
15
- activesupport (7.0.0)
10
+ activemodel (6.1.7.6)
11
+ activesupport (= 6.1.7.6)
12
+ activerecord (6.1.7.6)
13
+ activemodel (= 6.1.7.6)
14
+ activesupport (= 6.1.7.6)
15
+ activesupport (6.1.7.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
20
21
  appraisal (1.0.3)
21
22
  bundler
22
23
  rake
23
24
  thor (>= 0.14.0)
24
25
  ast (2.4.2)
25
- concurrent-ruby (1.1.9)
26
+ concurrent-ruby (1.2.3)
26
27
  coveralls (0.8.23)
27
28
  json (>= 1.8, < 3)
28
29
  simplecov (~> 0.16.1)
29
30
  term-ansicolor (~> 1.3)
30
31
  thor (>= 0.19.4, < 2.0)
31
32
  tins (~> 1.6)
32
- diff-lcs (1.4.4)
33
+ diff-lcs (1.5.0)
33
34
  docile (1.4.0)
34
- i18n (1.8.11)
35
+ i18n (1.14.1)
35
36
  concurrent-ruby (~> 1.0)
36
- json (2.6.1)
37
+ json (2.7.1)
38
+ mini_portile2 (2.8.5)
37
39
  minitest (5.14.4)
38
- parallel (1.22.1)
39
- parser (3.1.2.0)
40
+ parallel (1.24.0)
41
+ parser (3.3.0.4)
40
42
  ast (~> 2.4.1)
43
+ racc
44
+ racc (1.7.3)
41
45
  rainbow (3.1.1)
42
46
  rake (13.0.6)
43
- regexp_parser (2.5.0)
44
- rexml (3.2.5)
47
+ regexp_parser (2.9.0)
48
+ rexml (3.2.6)
45
49
  rspec (3.5.0)
46
50
  rspec-core (~> 3.5.0)
47
51
  rspec-expectations (~> 3.5.0)
48
52
  rspec-mocks (~> 3.5.0)
49
- rspec-activemodel-mocks (1.1.0)
53
+ rspec-activemodel-mocks (1.2.0)
50
54
  activemodel (>= 3.0)
51
55
  activesupport (>= 3.0)
52
56
  rspec-mocks (>= 2.99, < 4.0)
@@ -62,43 +66,45 @@ GEM
62
66
  diff-lcs (>= 1.2.0, < 2.0)
63
67
  rspec-support (~> 3.5.0)
64
68
  rspec-support (3.5.0)
65
- rubocop (1.0.0)
69
+ rubocop (1.30.1)
66
70
  parallel (~> 1.10)
67
- parser (>= 2.7.1.5)
71
+ parser (>= 3.1.0.0)
68
72
  rainbow (>= 2.2.2, < 4.0)
69
- regexp_parser (>= 1.8)
70
- rexml
71
- rubocop-ast (>= 0.6.0)
73
+ regexp_parser (>= 1.8, < 3.0)
74
+ rexml (>= 3.2.5, < 4.0)
75
+ rubocop-ast (>= 1.18.0, < 2.0)
72
76
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 2.0)
74
- rubocop-ast (1.19.1)
75
- parser (>= 3.1.1.0)
76
- rubocop-performance (1.10.2)
77
- rubocop (>= 0.90.0, < 2.0)
77
+ unicode-display_width (>= 1.4.0, < 3.0)
78
+ rubocop-ast (1.30.0)
79
+ parser (>= 3.2.1.0)
80
+ rubocop-performance (1.19.1)
81
+ rubocop (>= 1.7.0, < 2.0)
78
82
  rubocop-ast (>= 0.4.0)
79
- ruby-progressbar (1.11.0)
83
+ ruby-progressbar (1.13.0)
80
84
  simplecov (0.16.1)
81
85
  docile (~> 1.1)
82
86
  json (>= 1.8, < 3)
83
87
  simplecov-html (~> 0.10.0)
84
88
  simplecov-html (0.10.2)
85
- sqlite3 (1.4.2)
89
+ sqlite3 (1.7.0)
90
+ mini_portile2 (~> 2.8.0)
86
91
  sync (0.5.0)
87
92
  term-ansicolor (1.7.1)
88
93
  tins (~> 1.0)
89
- thor (1.1.0)
90
- tins (1.29.1)
94
+ thor (1.3.0)
95
+ tins (1.32.1)
91
96
  sync
92
- tzinfo (2.0.4)
97
+ tzinfo (2.0.6)
93
98
  concurrent-ruby (~> 1.0)
94
- unicode-display_width (1.8.0)
99
+ unicode-display_width (2.5.0)
100
+ zeitwerk (2.6.12)
95
101
 
96
102
  PLATFORMS
97
103
  ruby
98
104
 
99
105
  DEPENDENCIES
100
- activerecord (= 7.0.0)
101
- activesupport (= 7.0.0)
106
+ activerecord (= 6.1.7.6)
107
+ activesupport (= 6.1.7.6)
102
108
  appraisal (~> 1.0.0)
103
109
  comma!
104
110
  coveralls
@@ -107,9 +113,9 @@ DEPENDENCIES
107
113
  rspec (~> 3.5.0)
108
114
  rspec-activemodel-mocks
109
115
  rspec-its
110
- rubocop (~> 1.0.0)
116
+ rubocop (~> 1.30.0)
111
117
  rubocop-performance
112
118
  sqlite3
113
119
 
114
120
  BUNDLED WITH
115
- 2.1.4
121
+ 2.5.5
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "coveralls", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
+ gem "rubocop-performance", :require => false
8
+ gem "sqlite3"
9
+ gem "activesupport", "7.0.8"
10
+ gem "activerecord", "7.0.8"
11
+
12
+ gemspec :path => "../"
@@ -1,53 +1,55 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.8.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (6.1.3.1)
11
- activesupport (= 6.1.3.1)
12
- activerecord (6.1.3.1)
13
- activemodel (= 6.1.3.1)
14
- activesupport (= 6.1.3.1)
15
- activesupport (6.1.3.1)
10
+ activemodel (7.0.8)
11
+ activesupport (= 7.0.8)
12
+ activerecord (7.0.8)
13
+ activemodel (= 7.0.8)
14
+ activesupport (= 7.0.8)
15
+ activesupport (7.0.8)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
- zeitwerk (~> 2.3)
21
20
  appraisal (1.0.3)
22
21
  bundler
23
22
  rake
24
23
  thor (>= 0.14.0)
25
24
  ast (2.4.2)
26
- concurrent-ruby (1.1.9)
25
+ concurrent-ruby (1.2.3)
27
26
  coveralls (0.8.23)
28
27
  json (>= 1.8, < 3)
29
28
  simplecov (~> 0.16.1)
30
29
  term-ansicolor (~> 1.3)
31
30
  thor (>= 0.19.4, < 2.0)
32
31
  tins (~> 1.6)
33
- diff-lcs (1.4.4)
32
+ diff-lcs (1.5.0)
34
33
  docile (1.4.0)
35
- i18n (1.8.11)
34
+ i18n (1.14.1)
36
35
  concurrent-ruby (~> 1.0)
37
- json (2.6.1)
36
+ json (2.7.1)
37
+ mini_portile2 (2.8.5)
38
38
  minitest (5.14.4)
39
- parallel (1.22.1)
40
- parser (3.1.2.0)
39
+ parallel (1.24.0)
40
+ parser (3.3.0.4)
41
41
  ast (~> 2.4.1)
42
+ racc
43
+ racc (1.7.3)
42
44
  rainbow (3.1.1)
43
45
  rake (13.0.6)
44
- regexp_parser (2.5.0)
45
- rexml (3.2.5)
46
+ regexp_parser (2.9.0)
47
+ rexml (3.2.6)
46
48
  rspec (3.5.0)
47
49
  rspec-core (~> 3.5.0)
48
50
  rspec-expectations (~> 3.5.0)
49
51
  rspec-mocks (~> 3.5.0)
50
- rspec-activemodel-mocks (1.1.0)
52
+ rspec-activemodel-mocks (1.2.0)
51
53
  activemodel (>= 3.0)
52
54
  activesupport (>= 3.0)
53
55
  rspec-mocks (>= 2.99, < 4.0)
@@ -63,44 +65,44 @@ GEM
63
65
  diff-lcs (>= 1.2.0, < 2.0)
64
66
  rspec-support (~> 3.5.0)
65
67
  rspec-support (3.5.0)
66
- rubocop (1.0.0)
68
+ rubocop (1.30.1)
67
69
  parallel (~> 1.10)
68
- parser (>= 2.7.1.5)
70
+ parser (>= 3.1.0.0)
69
71
  rainbow (>= 2.2.2, < 4.0)
70
- regexp_parser (>= 1.8)
71
- rexml
72
- rubocop-ast (>= 0.6.0)
72
+ regexp_parser (>= 1.8, < 3.0)
73
+ rexml (>= 3.2.5, < 4.0)
74
+ rubocop-ast (>= 1.18.0, < 2.0)
73
75
  ruby-progressbar (~> 1.7)
74
- unicode-display_width (>= 1.4.0, < 2.0)
75
- rubocop-ast (1.17.0)
76
- parser (>= 3.1.1.0)
77
- rubocop-performance (1.10.2)
78
- rubocop (>= 0.90.0, < 2.0)
76
+ unicode-display_width (>= 1.4.0, < 3.0)
77
+ rubocop-ast (1.30.0)
78
+ parser (>= 3.2.1.0)
79
+ rubocop-performance (1.19.1)
80
+ rubocop (>= 1.7.0, < 2.0)
79
81
  rubocop-ast (>= 0.4.0)
80
- ruby-progressbar (1.11.0)
82
+ ruby-progressbar (1.13.0)
81
83
  simplecov (0.16.1)
82
84
  docile (~> 1.1)
83
85
  json (>= 1.8, < 3)
84
86
  simplecov-html (~> 0.10.0)
85
87
  simplecov-html (0.10.2)
86
- sqlite3 (1.4.2)
88
+ sqlite3 (1.7.0)
89
+ mini_portile2 (~> 2.8.0)
87
90
  sync (0.5.0)
88
91
  term-ansicolor (1.7.1)
89
92
  tins (~> 1.0)
90
- thor (1.1.0)
91
- tins (1.29.1)
93
+ thor (1.3.0)
94
+ tins (1.32.1)
92
95
  sync
93
- tzinfo (2.0.4)
96
+ tzinfo (2.0.6)
94
97
  concurrent-ruby (~> 1.0)
95
- unicode-display_width (1.8.0)
96
- zeitwerk (2.5.1)
98
+ unicode-display_width (2.5.0)
97
99
 
98
100
  PLATFORMS
99
101
  ruby
100
102
 
101
103
  DEPENDENCIES
102
- activerecord (= 6.1.3.1)
103
- activesupport (= 6.1.3.1)
104
+ activerecord (= 7.0.8)
105
+ activesupport (= 7.0.8)
104
106
  appraisal (~> 1.0.0)
105
107
  comma!
106
108
  coveralls
@@ -109,9 +111,9 @@ DEPENDENCIES
109
111
  rspec (~> 3.5.0)
110
112
  rspec-activemodel-mocks
111
113
  rspec-its
112
- rubocop (~> 1.0.0)
114
+ rubocop (~> 1.30.0)
113
115
  rubocop-performance
114
116
  sqlite3
115
117
 
116
118
  BUNDLED WITH
117
- 2.1.4
119
+ 2.5.5
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "coveralls", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
+ gem "rubocop-performance", :require => false
8
+ gem "sqlite3"
9
+ gem "activesupport", "7.1.3"
10
+ gem "activerecord", "7.1.3"
11
+
12
+ gemspec :path => "../"
@@ -1,54 +1,67 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.7.0)
4
+ comma (4.8.0)
5
5
  activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  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)
10
+ activemodel (7.1.3)
11
+ activesupport (= 7.1.3)
12
+ activerecord (7.1.3)
13
+ activemodel (= 7.1.3)
14
+ activesupport (= 7.1.3)
15
+ timeout (>= 0.4.0)
16
+ activesupport (7.1.3)
17
+ base64
18
+ bigdecimal
17
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 0.7, < 2)
19
- minitest (~> 5.1)
20
- tzinfo (~> 1.1)
20
+ connection_pool (>= 2.2.5)
21
+ drb
22
+ i18n (>= 1.6, < 2)
23
+ minitest (>= 5.1)
24
+ mutex_m
25
+ tzinfo (~> 2.0)
21
26
  appraisal (1.0.3)
22
27
  bundler
23
28
  rake
24
29
  thor (>= 0.14.0)
25
- arel (9.0.0)
26
30
  ast (2.4.2)
27
- concurrent-ruby (1.1.9)
31
+ base64 (0.2.0)
32
+ bigdecimal (3.1.6)
33
+ concurrent-ruby (1.2.3)
34
+ connection_pool (2.4.1)
28
35
  coveralls (0.8.23)
29
36
  json (>= 1.8, < 3)
30
37
  simplecov (~> 0.16.1)
31
38
  term-ansicolor (~> 1.3)
32
39
  thor (>= 0.19.4, < 2.0)
33
40
  tins (~> 1.6)
34
- diff-lcs (1.4.4)
41
+ diff-lcs (1.5.0)
35
42
  docile (1.4.0)
36
- i18n (1.8.11)
43
+ drb (2.2.0)
44
+ ruby2_keywords
45
+ i18n (1.14.1)
37
46
  concurrent-ruby (~> 1.0)
38
- json (2.6.1)
47
+ json (2.7.1)
48
+ mini_portile2 (2.8.5)
39
49
  minitest (5.14.4)
40
- parallel (1.22.1)
41
- parser (3.1.2.0)
50
+ mutex_m (0.2.0)
51
+ parallel (1.24.0)
52
+ parser (3.3.0.4)
42
53
  ast (~> 2.4.1)
54
+ racc
55
+ racc (1.7.3)
43
56
  rainbow (3.1.1)
44
57
  rake (13.0.6)
45
- regexp_parser (2.5.0)
46
- rexml (3.2.5)
58
+ regexp_parser (2.9.0)
59
+ rexml (3.2.6)
47
60
  rspec (3.5.0)
48
61
  rspec-core (~> 3.5.0)
49
62
  rspec-expectations (~> 3.5.0)
50
63
  rspec-mocks (~> 3.5.0)
51
- rspec-activemodel-mocks (1.1.0)
64
+ rspec-activemodel-mocks (1.2.0)
52
65
  activemodel (>= 3.0)
53
66
  activesupport (>= 3.0)
54
67
  rspec-mocks (>= 2.99, < 4.0)
@@ -64,44 +77,46 @@ GEM
64
77
  diff-lcs (>= 1.2.0, < 2.0)
65
78
  rspec-support (~> 3.5.0)
66
79
  rspec-support (3.5.0)
67
- rubocop (1.0.0)
80
+ rubocop (1.30.1)
68
81
  parallel (~> 1.10)
69
- parser (>= 2.7.1.5)
82
+ parser (>= 3.1.0.0)
70
83
  rainbow (>= 2.2.2, < 4.0)
71
- regexp_parser (>= 1.8)
72
- rexml
73
- rubocop-ast (>= 0.6.0)
84
+ regexp_parser (>= 1.8, < 3.0)
85
+ rexml (>= 3.2.5, < 4.0)
86
+ rubocop-ast (>= 1.18.0, < 2.0)
74
87
  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)
88
+ unicode-display_width (>= 1.4.0, < 3.0)
89
+ rubocop-ast (1.30.0)
90
+ parser (>= 3.2.1.0)
91
+ rubocop-performance (1.19.1)
92
+ rubocop (>= 1.7.0, < 2.0)
80
93
  rubocop-ast (>= 0.4.0)
81
- ruby-progressbar (1.11.0)
94
+ ruby-progressbar (1.13.0)
95
+ ruby2_keywords (0.0.5)
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)
88
103
  sync (0.5.0)
89
104
  term-ansicolor (1.7.1)
90
105
  tins (~> 1.0)
91
- thor (1.1.0)
92
- thread_safe (0.3.6)
93
- tins (1.29.1)
106
+ thor (1.3.0)
107
+ timeout (0.4.1)
108
+ tins (1.32.1)
94
109
  sync
95
- tzinfo (1.2.9)
96
- thread_safe (~> 0.1)
97
- unicode-display_width (1.8.0)
110
+ tzinfo (2.0.6)
111
+ concurrent-ruby (~> 1.0)
112
+ unicode-display_width (2.5.0)
98
113
 
99
114
  PLATFORMS
100
115
  ruby
101
116
 
102
117
  DEPENDENCIES
103
- activerecord (= 5.2.5)
104
- activesupport (= 5.2.5)
118
+ activerecord (= 7.1.3)
119
+ activesupport (= 7.1.3)
105
120
  appraisal (~> 1.0.0)
106
121
  comma!
107
122
  coveralls
@@ -110,9 +125,9 @@ DEPENDENCIES
110
125
  rspec (~> 3.5.0)
111
126
  rspec-activemodel-mocks
112
127
  rspec-its
113
- rubocop (~> 1.0.0)
128
+ rubocop (~> 1.30.0)
114
129
  rubocop-performance
115
130
  sqlite3
116
131
 
117
132
  BUNDLED WITH
118
- 2.1.4
133
+ 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