comma 4.6.0 → 4.8.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +4 -24
  3. data/.rubocop.yml +3 -2
  4. data/.rubocop_todo.yml +101 -16
  5. data/Appraisals +25 -34
  6. data/Gemfile +1 -1
  7. data/Gemfile.lock +70 -65
  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} +43 -35
  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} +44 -34
  13. data/gemfiles/{active7.0.0.gemfile → active7.0.8.gemfile} +3 -3
  14. data/gemfiles/{active6.1.3.1.gemfile.lock → active7.0.8.gemfile.lock} +42 -36
  15. data/gemfiles/active7.1.3.gemfile +12 -0
  16. data/gemfiles/{active5.2.5.gemfile.lock → active7.1.3.gemfile.lock} +60 -41
  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/rails7.1.3.gemfile +12 -0
  24. data/gemfiles/rails7.1.3.gemfile.lock +281 -0
  25. data/lib/comma/header_extractor.rb +1 -0
  26. data/lib/comma/mongoid.rb +2 -1
  27. data/lib/comma/version.rb +1 -1
  28. data/lib/comma.rb +1 -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. metadata +22 -22
  33. data/gemfiles/active6.0.3.6.gemfile +0 -12
  34. data/gemfiles/rails5.2.5.gemfile +0 -14
  35. data/gemfiles/rails5.2.5.gemfile.lock +0 -213
  36. data/gemfiles/rails6.0.3.6.gemfile.lock +0 -228
  37. data/gemfiles/rails6.1.3.1.gemfile.lock +0 -231
  38. data/gemfiles/rails7.0.0.gemfile.lock +0 -220
@@ -3,10 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", "~> 0.67.2", :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.6.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
- jaro_winkler (1.5.4)
37
- json (2.6.1)
37
+ json (2.7.1)
38
+ mini_portile2 (2.8.5)
38
39
  minitest (5.14.4)
39
- parallel (1.21.0)
40
- parser (3.0.3.2)
40
+ parallel (1.24.0)
41
+ parser (3.3.0.4)
41
42
  ast (~> 2.4.1)
42
- psych (4.0.2)
43
- rainbow (3.0.0)
43
+ racc
44
+ racc (1.7.3)
45
+ rainbow (3.1.1)
44
46
  rake (13.0.6)
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,39 +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 (0.67.2)
66
- jaro_winkler (~> 1.5.1)
69
+ rubocop (1.30.1)
67
70
  parallel (~> 1.10)
68
- parser (>= 2.5, != 2.5.1.1)
69
- psych (>= 3.1.0)
71
+ parser (>= 3.1.0.0)
70
72
  rainbow (>= 2.2.2, < 4.0)
73
+ regexp_parser (>= 1.8, < 3.0)
74
+ rexml (>= 3.2.5, < 4.0)
75
+ rubocop-ast (>= 1.18.0, < 2.0)
71
76
  ruby-progressbar (~> 1.7)
72
- unicode-display_width (>= 1.4.0, < 1.6)
73
- rubocop-performance (1.1.0)
74
- rubocop (>= 0.67.0)
75
- ruby-progressbar (1.11.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)
82
+ rubocop-ast (>= 0.4.0)
83
+ ruby-progressbar (1.13.0)
76
84
  simplecov (0.16.1)
77
85
  docile (~> 1.1)
78
86
  json (>= 1.8, < 3)
79
87
  simplecov-html (~> 0.10.0)
80
88
  simplecov-html (0.10.2)
81
- sqlite3 (1.4.2)
89
+ sqlite3 (1.7.0)
90
+ mini_portile2 (~> 2.8.0)
82
91
  sync (0.5.0)
83
92
  term-ansicolor (1.7.1)
84
93
  tins (~> 1.0)
85
- thor (1.1.0)
86
- tins (1.29.1)
94
+ thor (1.3.0)
95
+ tins (1.32.1)
87
96
  sync
88
- tzinfo (2.0.4)
97
+ tzinfo (2.0.6)
89
98
  concurrent-ruby (~> 1.0)
90
- unicode-display_width (1.5.0)
99
+ unicode-display_width (2.5.0)
100
+ zeitwerk (2.6.12)
91
101
 
92
102
  PLATFORMS
93
103
  ruby
94
104
 
95
105
  DEPENDENCIES
96
- activerecord (= 7.0.0)
97
- activesupport (= 7.0.0)
106
+ activerecord (= 6.1.7.6)
107
+ activesupport (= 6.1.7.6)
98
108
  appraisal (~> 1.0.0)
99
109
  comma!
100
110
  coveralls
@@ -103,9 +113,9 @@ DEPENDENCIES
103
113
  rspec (~> 3.5.0)
104
114
  rspec-activemodel-mocks
105
115
  rspec-its
106
- rubocop (~> 0.67.2)
116
+ rubocop (~> 1.30.0)
107
117
  rubocop-performance
108
118
  sqlite3
109
119
 
110
120
  BUNDLED WITH
111
- 2.1.4
121
+ 2.5.5
@@ -3,10 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", "~> 0.67.2", :require => false
6
+ gem "rubocop", "~> 1.30.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
- gem "activesupport", "7.0.0"
10
- gem "activerecord", "7.0.0"
9
+ gem "activesupport", "7.0.8"
10
+ gem "activerecord", "7.0.8"
11
11
 
12
12
  gemspec :path => "../"
@@ -1,53 +1,55 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.6.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
- jaro_winkler (1.5.4)
38
- json (2.6.1)
36
+ json (2.7.1)
37
+ mini_portile2 (2.8.5)
39
38
  minitest (5.14.4)
40
- parallel (1.21.0)
41
- parser (3.0.2.0)
39
+ parallel (1.24.0)
40
+ parser (3.3.0.4)
42
41
  ast (~> 2.4.1)
43
- psych (3.3.0)
44
- rainbow (3.0.0)
42
+ racc
43
+ racc (1.7.3)
44
+ rainbow (3.1.1)
45
45
  rake (13.0.6)
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,40 +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 (0.67.2)
67
- jaro_winkler (~> 1.5.1)
68
+ rubocop (1.30.1)
68
69
  parallel (~> 1.10)
69
- parser (>= 2.5, != 2.5.1.1)
70
- psych (>= 3.1.0)
70
+ parser (>= 3.1.0.0)
71
71
  rainbow (>= 2.2.2, < 4.0)
72
+ regexp_parser (>= 1.8, < 3.0)
73
+ rexml (>= 3.2.5, < 4.0)
74
+ rubocop-ast (>= 1.18.0, < 2.0)
72
75
  ruby-progressbar (~> 1.7)
73
- unicode-display_width (>= 1.4.0, < 1.6)
74
- rubocop-performance (1.1.0)
75
- rubocop (>= 0.67.0)
76
- ruby-progressbar (1.11.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)
81
+ rubocop-ast (>= 0.4.0)
82
+ ruby-progressbar (1.13.0)
77
83
  simplecov (0.16.1)
78
84
  docile (~> 1.1)
79
85
  json (>= 1.8, < 3)
80
86
  simplecov-html (~> 0.10.0)
81
87
  simplecov-html (0.10.2)
82
- sqlite3 (1.4.2)
88
+ sqlite3 (1.7.0)
89
+ mini_portile2 (~> 2.8.0)
83
90
  sync (0.5.0)
84
91
  term-ansicolor (1.7.1)
85
92
  tins (~> 1.0)
86
- thor (1.1.0)
87
- tins (1.29.1)
93
+ thor (1.3.0)
94
+ tins (1.32.1)
88
95
  sync
89
- tzinfo (2.0.4)
96
+ tzinfo (2.0.6)
90
97
  concurrent-ruby (~> 1.0)
91
- unicode-display_width (1.5.0)
92
- zeitwerk (2.5.1)
98
+ unicode-display_width (2.5.0)
93
99
 
94
100
  PLATFORMS
95
101
  ruby
96
102
 
97
103
  DEPENDENCIES
98
- activerecord (= 6.1.3.1)
99
- activesupport (= 6.1.3.1)
104
+ activerecord (= 7.0.8)
105
+ activesupport (= 7.0.8)
100
106
  appraisal (~> 1.0.0)
101
107
  comma!
102
108
  coveralls
@@ -105,9 +111,9 @@ DEPENDENCIES
105
111
  rspec (~> 3.5.0)
106
112
  rspec-activemodel-mocks
107
113
  rspec-its
108
- rubocop (~> 0.67.2)
114
+ rubocop (~> 1.30.0)
109
115
  rubocop-performance
110
116
  sqlite3
111
117
 
112
118
  BUNDLED WITH
113
- 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.6.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
- jaro_winkler (1.5.4)
39
- json (2.6.1)
47
+ json (2.7.1)
48
+ mini_portile2 (2.8.5)
40
49
  minitest (5.14.4)
41
- parallel (1.21.0)
42
- parser (3.0.2.0)
50
+ mutex_m (0.2.0)
51
+ parallel (1.24.0)
52
+ parser (3.3.0.4)
43
53
  ast (~> 2.4.1)
44
- psych (3.3.0)
45
- rainbow (3.0.0)
54
+ racc
55
+ racc (1.7.3)
56
+ rainbow (3.1.1)
46
57
  rake (13.0.6)
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,40 +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 (0.67.2)
68
- jaro_winkler (~> 1.5.1)
80
+ rubocop (1.30.1)
69
81
  parallel (~> 1.10)
70
- parser (>= 2.5, != 2.5.1.1)
71
- psych (>= 3.1.0)
82
+ parser (>= 3.1.0.0)
72
83
  rainbow (>= 2.2.2, < 4.0)
84
+ regexp_parser (>= 1.8, < 3.0)
85
+ rexml (>= 3.2.5, < 4.0)
86
+ rubocop-ast (>= 1.18.0, < 2.0)
73
87
  ruby-progressbar (~> 1.7)
74
- unicode-display_width (>= 1.4.0, < 1.6)
75
- rubocop-performance (1.1.0)
76
- rubocop (>= 0.67.0)
77
- ruby-progressbar (1.11.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)
93
+ rubocop-ast (>= 0.4.0)
94
+ ruby-progressbar (1.13.0)
95
+ ruby2_keywords (0.0.5)
78
96
  simplecov (0.16.1)
79
97
  docile (~> 1.1)
80
98
  json (>= 1.8, < 3)
81
99
  simplecov-html (~> 0.10.0)
82
100
  simplecov-html (0.10.2)
83
- sqlite3 (1.4.2)
101
+ sqlite3 (1.7.0)
102
+ mini_portile2 (~> 2.8.0)
84
103
  sync (0.5.0)
85
104
  term-ansicolor (1.7.1)
86
105
  tins (~> 1.0)
87
- thor (1.1.0)
88
- thread_safe (0.3.6)
89
- tins (1.29.1)
106
+ thor (1.3.0)
107
+ timeout (0.4.1)
108
+ tins (1.32.1)
90
109
  sync
91
- tzinfo (1.2.9)
92
- thread_safe (~> 0.1)
93
- unicode-display_width (1.5.0)
110
+ tzinfo (2.0.6)
111
+ concurrent-ruby (~> 1.0)
112
+ unicode-display_width (2.5.0)
94
113
 
95
114
  PLATFORMS
96
115
  ruby
97
116
 
98
117
  DEPENDENCIES
99
- activerecord (= 5.2.5)
100
- activesupport (= 5.2.5)
118
+ activerecord (= 7.1.3)
119
+ activesupport (= 7.1.3)
101
120
  appraisal (~> 1.0.0)
102
121
  comma!
103
122
  coveralls
@@ -106,9 +125,9 @@ DEPENDENCIES
106
125
  rspec (~> 3.5.0)
107
126
  rspec-activemodel-mocks
108
127
  rspec-its
109
- rubocop (~> 0.67.2)
128
+ rubocop (~> 1.30.0)
110
129
  rubocop-performance
111
130
  sqlite3
112
131
 
113
132
  BUNDLED WITH
114
- 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", "~> 0.67.2", :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