comma 4.4.0 → 4.7.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +48 -0
  3. data/.rubocop.yml +3 -1
  4. data/.rubocop_todo.yml +40 -2
  5. data/.travis.yml +12 -1
  6. data/Appraisals +27 -8
  7. data/Gemfile +1 -1
  8. data/Gemfile.lock +34 -33
  9. data/README.md +2 -2
  10. data/comma.gemspec +2 -1
  11. data/gemfiles/{active5.1.7.gemfile → active5.2.5.gemfile} +3 -3
  12. data/gemfiles/{active5.2.4.3.gemfile.lock → active5.2.5.gemfile.lock} +44 -39
  13. data/gemfiles/{active5.2.4.3.gemfile → active6.0.3.6.gemfile} +3 -3
  14. data/gemfiles/{active6.0.3.1.gemfile.lock → active6.0.3.6.gemfile.lock} +44 -39
  15. data/gemfiles/{active6.0.3.1.gemfile → active6.1.3.1.gemfile} +3 -3
  16. data/gemfiles/{active5.0.7.2.gemfile.lock → active6.1.3.1.gemfile.lock} +50 -46
  17. data/gemfiles/active7.0.0.gemfile +12 -0
  18. data/gemfiles/{active5.1.7.gemfile.lock → active7.0.0.gemfile.lock} +47 -45
  19. data/gemfiles/{rails5.1.7.gemfile → rails5.2.5.gemfile} +2 -2
  20. data/gemfiles/{rails5.2.4.3.gemfile.lock → rails5.2.5.gemfile.lock} +90 -85
  21. data/gemfiles/{rails6.0.3.1.gemfile → rails6.0.3.6.gemfile} +2 -2
  22. data/gemfiles/{rails6.0.3.1.gemfile.lock → rails6.0.3.6.gemfile.lock} +106 -101
  23. data/gemfiles/rails6.1.3.1.gemfile +13 -0
  24. data/gemfiles/rails6.1.3.1.gemfile.lock +235 -0
  25. data/gemfiles/rails7.0.0.gemfile +12 -0
  26. data/gemfiles/rails7.0.0.gemfile.lock +224 -0
  27. data/lib/comma/mongoid.rb +2 -1
  28. data/lib/comma/version.rb +1 -1
  29. data/spec/controllers/users_controller_spec.rb +10 -10
  30. data/spec/rails_app/active_record/models.rb +1 -8
  31. metadata +35 -41
  32. data/gemfiles/active5.0.7.2.gemfile +0 -12
  33. data/gemfiles/rails5.0.7.2.gemfile +0 -14
  34. data/gemfiles/rails5.0.7.2.gemfile.lock +0 -204
  35. data/gemfiles/rails5.1.7.gemfile.lock +0 -204
  36. data/gemfiles/rails5.2.4.3.gemfile +0 -14
@@ -1,18 +1,18 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.4.0)
5
- activesupport (>= 4.2.0, < 6.1)
4
+ comma (4.7.0)
5
+ activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (6.0.3.1)
11
- activesupport (= 6.0.3.1)
12
- activerecord (6.0.3.1)
13
- activemodel (= 6.0.3.1)
14
- activesupport (= 6.0.3.1)
15
- activesupport (6.0.3.1)
10
+ activemodel (6.0.3.6)
11
+ activesupport (= 6.0.3.6)
12
+ activerecord (6.0.3.6)
13
+ activemodel (= 6.0.3.6)
14
+ activesupport (= 6.0.3.6)
15
+ activesupport (6.0.3.6)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 0.7, < 2)
18
18
  minitest (~> 5.1)
@@ -22,27 +22,27 @@ GEM
22
22
  bundler
23
23
  rake
24
24
  thor (>= 0.14.0)
25
- ast (2.4.1)
26
- concurrent-ruby (1.1.6)
25
+ ast (2.4.2)
26
+ concurrent-ruby (1.1.9)
27
27
  coveralls (0.8.23)
28
28
  json (>= 1.8, < 3)
29
29
  simplecov (~> 0.16.1)
30
30
  term-ansicolor (~> 1.3)
31
31
  thor (>= 0.19.4, < 2.0)
32
32
  tins (~> 1.6)
33
- diff-lcs (1.3)
34
- docile (1.3.2)
35
- i18n (1.8.3)
33
+ diff-lcs (1.4.4)
34
+ docile (1.4.0)
35
+ i18n (1.8.11)
36
36
  concurrent-ruby (~> 1.0)
37
- jaro_winkler (1.5.4)
38
- json (2.3.0)
39
- minitest (5.14.1)
40
- parallel (1.19.1)
41
- parser (2.7.1.3)
42
- ast (~> 2.4.0)
43
- psych (3.1.0)
44
- rainbow (3.0.0)
45
- rake (13.0.1)
37
+ json (2.6.1)
38
+ minitest (5.14.4)
39
+ parallel (1.22.1)
40
+ parser (3.1.2.0)
41
+ ast (~> 2.4.1)
42
+ rainbow (3.1.1)
43
+ rake (13.0.6)
44
+ regexp_parser (2.5.0)
45
+ rexml (3.2.5)
46
46
  rspec (3.5.0)
47
47
  rspec-core (~> 3.5.0)
48
48
  rspec-expectations (~> 3.5.0)
@@ -63,17 +63,21 @@ GEM
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.5.0)
65
65
  rspec-support (3.5.0)
66
- rubocop (0.67.2)
67
- jaro_winkler (~> 1.5.1)
66
+ rubocop (1.0.0)
68
67
  parallel (~> 1.10)
69
- parser (>= 2.5, != 2.5.1.1)
70
- psych (>= 3.1.0)
68
+ parser (>= 2.7.1.5)
71
69
  rainbow (>= 2.2.2, < 4.0)
70
+ regexp_parser (>= 1.8)
71
+ rexml
72
+ rubocop-ast (>= 0.6.0)
72
73
  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.10.1)
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)
79
+ rubocop-ast (>= 0.4.0)
80
+ ruby-progressbar (1.11.0)
77
81
  simplecov (0.16.1)
78
82
  docile (~> 1.1)
79
83
  json (>= 1.8, < 3)
@@ -83,31 +87,32 @@ GEM
83
87
  sync (0.5.0)
84
88
  term-ansicolor (1.7.1)
85
89
  tins (~> 1.0)
86
- thor (1.0.1)
90
+ thor (1.1.0)
87
91
  thread_safe (0.3.6)
88
- tins (1.25.0)
92
+ tins (1.29.1)
89
93
  sync
90
- tzinfo (1.2.7)
94
+ tzinfo (1.2.9)
91
95
  thread_safe (~> 0.1)
92
- unicode-display_width (1.5.0)
93
- zeitwerk (2.3.0)
96
+ unicode-display_width (1.8.0)
97
+ zeitwerk (2.5.1)
94
98
 
95
99
  PLATFORMS
96
100
  ruby
97
101
 
98
102
  DEPENDENCIES
99
- activerecord (= 6.0.3.1)
100
- activesupport (= 6.0.3.1)
103
+ activerecord (= 6.0.3.6)
104
+ activesupport (= 6.0.3.6)
101
105
  appraisal (~> 1.0.0)
102
106
  comma!
103
107
  coveralls
108
+ minitest (= 5.14.4)
104
109
  rake (~> 13.0.1)
105
110
  rspec (~> 3.5.0)
106
111
  rspec-activemodel-mocks
107
112
  rspec-its
108
- rubocop (~> 0.67.2)
113
+ rubocop (~> 1.0.0)
109
114
  rubocop-performance
110
115
  sqlite3
111
116
 
112
117
  BUNDLED WITH
113
- 1.17.3
118
+ 2.1.4
@@ -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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3"
9
- gem "activesupport", "6.0.3.1"
10
- gem "activerecord", "6.0.3.1"
9
+ gem "activesupport", "6.1.3.1"
10
+ gem "activerecord", "6.1.3.1"
11
11
 
12
12
  gemspec :path => "../"
@@ -1,49 +1,48 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.4.0)
5
- activesupport (>= 4.2.0, < 6.1)
4
+ comma (4.7.0)
5
+ activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.0.7.2)
11
- activesupport (= 5.0.7.2)
12
- activerecord (5.0.7.2)
13
- activemodel (= 5.0.7.2)
14
- activesupport (= 5.0.7.2)
15
- arel (~> 7.0)
16
- activesupport (5.0.7.2)
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)
17
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 0.7, < 2)
19
- minitest (~> 5.1)
20
- tzinfo (~> 1.1)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
21
21
  appraisal (1.0.3)
22
22
  bundler
23
23
  rake
24
24
  thor (>= 0.14.0)
25
- arel (7.1.4)
26
- ast (2.4.1)
27
- concurrent-ruby (1.1.6)
25
+ ast (2.4.2)
26
+ concurrent-ruby (1.1.9)
28
27
  coveralls (0.8.23)
29
28
  json (>= 1.8, < 3)
30
29
  simplecov (~> 0.16.1)
31
30
  term-ansicolor (~> 1.3)
32
31
  thor (>= 0.19.4, < 2.0)
33
32
  tins (~> 1.6)
34
- diff-lcs (1.3)
35
- docile (1.3.2)
36
- i18n (1.8.3)
33
+ diff-lcs (1.4.4)
34
+ docile (1.4.0)
35
+ i18n (1.8.11)
37
36
  concurrent-ruby (~> 1.0)
38
- jaro_winkler (1.5.4)
39
- json (2.3.0)
40
- minitest (5.14.1)
41
- parallel (1.19.1)
42
- parser (2.7.1.3)
43
- ast (~> 2.4.0)
44
- psych (3.1.0)
45
- rainbow (3.0.0)
46
- rake (13.0.1)
37
+ json (2.6.1)
38
+ minitest (5.14.4)
39
+ parallel (1.22.1)
40
+ parser (3.1.2.0)
41
+ ast (~> 2.4.1)
42
+ rainbow (3.1.1)
43
+ rake (13.0.6)
44
+ regexp_parser (2.5.0)
45
+ rexml (3.2.5)
47
46
  rspec (3.5.0)
48
47
  rspec-core (~> 3.5.0)
49
48
  rspec-expectations (~> 3.5.0)
@@ -64,50 +63,55 @@ GEM
64
63
  diff-lcs (>= 1.2.0, < 2.0)
65
64
  rspec-support (~> 3.5.0)
66
65
  rspec-support (3.5.0)
67
- rubocop (0.67.2)
68
- jaro_winkler (~> 1.5.1)
66
+ rubocop (1.0.0)
69
67
  parallel (~> 1.10)
70
- parser (>= 2.5, != 2.5.1.1)
71
- psych (>= 3.1.0)
68
+ parser (>= 2.7.1.5)
72
69
  rainbow (>= 2.2.2, < 4.0)
70
+ regexp_parser (>= 1.8)
71
+ rexml
72
+ rubocop-ast (>= 0.6.0)
73
73
  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.10.1)
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)
79
+ rubocop-ast (>= 0.4.0)
80
+ ruby-progressbar (1.11.0)
78
81
  simplecov (0.16.1)
79
82
  docile (~> 1.1)
80
83
  json (>= 1.8, < 3)
81
84
  simplecov-html (~> 0.10.0)
82
85
  simplecov-html (0.10.2)
83
- sqlite3 (1.3.11)
86
+ sqlite3 (1.4.2)
84
87
  sync (0.5.0)
85
88
  term-ansicolor (1.7.1)
86
89
  tins (~> 1.0)
87
- thor (1.0.1)
88
- thread_safe (0.3.6)
89
- tins (1.25.0)
90
+ thor (1.1.0)
91
+ tins (1.29.1)
90
92
  sync
91
- tzinfo (1.2.7)
92
- thread_safe (~> 0.1)
93
- unicode-display_width (1.5.0)
93
+ tzinfo (2.0.4)
94
+ concurrent-ruby (~> 1.0)
95
+ unicode-display_width (1.8.0)
96
+ zeitwerk (2.5.1)
94
97
 
95
98
  PLATFORMS
96
99
  ruby
97
100
 
98
101
  DEPENDENCIES
99
- activerecord (= 5.0.7.2)
100
- activesupport (= 5.0.7.2)
102
+ activerecord (= 6.1.3.1)
103
+ activesupport (= 6.1.3.1)
101
104
  appraisal (~> 1.0.0)
102
105
  comma!
103
106
  coveralls
107
+ minitest (= 5.14.4)
104
108
  rake (~> 13.0.1)
105
109
  rspec (~> 3.5.0)
106
110
  rspec-activemodel-mocks
107
111
  rspec-its
108
- rubocop (~> 0.67.2)
112
+ rubocop (~> 1.0.0)
109
113
  rubocop-performance
110
114
  sqlite3
111
115
 
112
116
  BUNDLED WITH
113
- 1.17.3
117
+ 2.1.4
@@ -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.0.0", :require => false
7
+ gem "rubocop-performance", :require => false
8
+ gem "sqlite3"
9
+ gem "activesupport", "7.0.0"
10
+ gem "activerecord", "7.0.0"
11
+
12
+ gemspec :path => "../"
@@ -1,49 +1,47 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.4.0)
5
- activesupport (>= 4.2.0, < 6.1)
4
+ comma (4.7.0)
5
+ activesupport (>= 4.2.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (5.1.7)
11
- activesupport (= 5.1.7)
12
- activerecord (5.1.7)
13
- activemodel (= 5.1.7)
14
- activesupport (= 5.1.7)
15
- arel (~> 8.0)
16
- activesupport (5.1.7)
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)
17
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 0.7, < 2)
19
- minitest (~> 5.1)
20
- tzinfo (~> 1.1)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
21
20
  appraisal (1.0.3)
22
21
  bundler
23
22
  rake
24
23
  thor (>= 0.14.0)
25
- arel (8.0.0)
26
- ast (2.4.1)
27
- concurrent-ruby (1.1.6)
24
+ ast (2.4.2)
25
+ concurrent-ruby (1.1.9)
28
26
  coveralls (0.8.23)
29
27
  json (>= 1.8, < 3)
30
28
  simplecov (~> 0.16.1)
31
29
  term-ansicolor (~> 1.3)
32
30
  thor (>= 0.19.4, < 2.0)
33
31
  tins (~> 1.6)
34
- diff-lcs (1.3)
35
- docile (1.3.2)
36
- i18n (1.8.3)
32
+ diff-lcs (1.4.4)
33
+ docile (1.4.0)
34
+ i18n (1.8.11)
37
35
  concurrent-ruby (~> 1.0)
38
- jaro_winkler (1.5.4)
39
- json (2.3.0)
40
- minitest (5.14.1)
41
- parallel (1.19.1)
42
- parser (2.7.1.3)
43
- ast (~> 2.4.0)
44
- psych (3.1.0)
45
- rainbow (3.0.0)
46
- rake (13.0.1)
36
+ json (2.6.1)
37
+ minitest (5.14.4)
38
+ parallel (1.22.1)
39
+ parser (3.1.2.0)
40
+ ast (~> 2.4.1)
41
+ rainbow (3.1.1)
42
+ rake (13.0.6)
43
+ regexp_parser (2.5.0)
44
+ rexml (3.2.5)
47
45
  rspec (3.5.0)
48
46
  rspec-core (~> 3.5.0)
49
47
  rspec-expectations (~> 3.5.0)
@@ -64,17 +62,21 @@ GEM
64
62
  diff-lcs (>= 1.2.0, < 2.0)
65
63
  rspec-support (~> 3.5.0)
66
64
  rspec-support (3.5.0)
67
- rubocop (0.67.2)
68
- jaro_winkler (~> 1.5.1)
65
+ rubocop (1.0.0)
69
66
  parallel (~> 1.10)
70
- parser (>= 2.5, != 2.5.1.1)
71
- psych (>= 3.1.0)
67
+ parser (>= 2.7.1.5)
72
68
  rainbow (>= 2.2.2, < 4.0)
69
+ regexp_parser (>= 1.8)
70
+ rexml
71
+ rubocop-ast (>= 0.6.0)
73
72
  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.10.1)
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)
78
+ rubocop-ast (>= 0.4.0)
79
+ ruby-progressbar (1.11.0)
78
80
  simplecov (0.16.1)
79
81
  docile (~> 1.1)
80
82
  json (>= 1.8, < 3)
@@ -84,30 +86,30 @@ GEM
84
86
  sync (0.5.0)
85
87
  term-ansicolor (1.7.1)
86
88
  tins (~> 1.0)
87
- thor (1.0.1)
88
- thread_safe (0.3.6)
89
- tins (1.25.0)
89
+ thor (1.1.0)
90
+ tins (1.29.1)
90
91
  sync
91
- tzinfo (1.2.7)
92
- thread_safe (~> 0.1)
93
- unicode-display_width (1.5.0)
92
+ tzinfo (2.0.4)
93
+ concurrent-ruby (~> 1.0)
94
+ unicode-display_width (1.8.0)
94
95
 
95
96
  PLATFORMS
96
97
  ruby
97
98
 
98
99
  DEPENDENCIES
99
- activerecord (= 5.1.7)
100
- activesupport (= 5.1.7)
100
+ activerecord (= 7.0.0)
101
+ activesupport (= 7.0.0)
101
102
  appraisal (~> 1.0.0)
102
103
  comma!
103
104
  coveralls
105
+ minitest (= 5.14.4)
104
106
  rake (~> 13.0.1)
105
107
  rspec (~> 3.5.0)
106
108
  rspec-activemodel-mocks
107
109
  rspec-its
108
- rubocop (~> 0.67.2)
110
+ rubocop (~> 1.0.0)
109
111
  rubocop-performance
110
112
  sqlite3
111
113
 
112
114
  BUNDLED WITH
113
- 1.17.3
115
+ 2.1.4
@@ -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.0.0", :require => false
7
7
  gem "rubocop-performance", :require => false
8
8
  gem "sqlite3", "~> 1.3.11"
9
- gem "rails", "5.1.7"
9
+ gem "rails", "5.2.5"
10
10
  gem "rspec-rails"
11
11
  gem "sprockets", "< 4"
12
12
  gem "test-unit"