comma 4.3.2 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +2 -0
  3. data/.travis.yml +14 -32
  4. data/Appraisals +12 -6
  5. data/Gemfile +3 -1
  6. data/Gemfile.lock +36 -21
  7. data/README.md +2 -2
  8. data/comma.gemspec +1 -4
  9. data/gemfiles/active5.0.7.2.gemfile +3 -1
  10. data/gemfiles/active5.0.7.2.gemfile.lock +26 -21
  11. data/gemfiles/active5.1.7.gemfile +3 -1
  12. data/gemfiles/active5.1.7.gemfile.lock +26 -21
  13. data/gemfiles/active5.2.4.3.gemfile +12 -0
  14. data/gemfiles/{active5.2.3.gemfile.lock → active5.2.4.3.gemfile.lock} +33 -28
  15. data/gemfiles/active6.0.3.1.gemfile +12 -0
  16. data/gemfiles/{active4.2.11.1.gemfile.lock → active6.0.3.1.gemfile.lock} +38 -35
  17. data/gemfiles/rails5.0.7.2.gemfile +4 -1
  18. data/gemfiles/rails5.0.7.2.gemfile.lock +38 -32
  19. data/gemfiles/rails5.1.7.gemfile +4 -1
  20. data/gemfiles/rails5.1.7.gemfile.lock +39 -33
  21. data/gemfiles/{rails6.0.0.gemfile → rails5.2.4.3.gemfile} +5 -2
  22. data/gemfiles/{rails5.2.3.gemfile.lock → rails5.2.4.3.gemfile.lock} +79 -73
  23. data/gemfiles/{rails5.2.3.gemfile → rails6.0.3.1.gemfile} +4 -2
  24. data/gemfiles/rails6.0.3.1.gemfile.lock +227 -0
  25. data/lib/comma.rb +2 -1
  26. data/lib/comma/generator.rb +2 -2
  27. data/lib/comma/version.rb +1 -1
  28. data/spec/comma/comma_spec.rb +3 -3
  29. data/spec/comma/data_extractor_spec.rb +8 -8
  30. data/spec/comma/header_extractor_spec.rb +5 -5
  31. data/spec/comma/rails/active_record_spec.rb +12 -12
  32. data/spec/controllers/users_controller_spec.rb +45 -33
  33. data/spec/spec_helper.rb +14 -1
  34. metadata +13 -31
  35. data/gemfiles/active4.2.11.1.gemfile +0 -10
  36. data/gemfiles/active5.2.3.gemfile +0 -10
  37. data/gemfiles/active6.0.0.gemfile +0 -10
  38. data/gemfiles/active6.0.0.gemfile.lock +0 -108
  39. data/gemfiles/rails4.2.11.1.gemfile +0 -11
  40. data/gemfiles/rails4.2.11.1.gemfile.lock +0 -191
  41. data/gemfiles/rails6.0.0.gemfile.lock +0 -237
@@ -3,9 +3,12 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", :require => false
7
- gem "rails", "6.0.0.beta3"
6
+ gem "rubocop", "~> 0.67.2", :require => false
7
+ gem "rubocop-performance", :require => false
8
+ gem "sqlite3", "~> 1.3.11"
9
+ gem "rails", "5.2.4.3"
8
10
  gem "rspec-rails"
11
+ gem "sprockets", "< 4"
9
12
  gem "test-unit"
10
13
 
11
14
  gemspec :path => "../"
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- comma (4.3.2)
4
+ comma (4.4.0)
5
5
  activesupport (>= 4.2.0, < 6.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.3)
11
- actionpack (= 5.2.3)
10
+ actioncable (5.2.4.3)
11
+ actionpack (= 5.2.4.3)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.3)
15
- actionpack (= 5.2.3)
16
- actionview (= 5.2.3)
17
- activejob (= 5.2.3)
14
+ actionmailer (5.2.4.3)
15
+ actionpack (= 5.2.4.3)
16
+ actionview (= 5.2.4.3)
17
+ activejob (= 5.2.4.3)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.3)
21
- actionview (= 5.2.3)
22
- activesupport (= 5.2.3)
23
- rack (~> 2.0)
20
+ actionpack (5.2.4.3)
21
+ actionview (= 5.2.4.3)
22
+ activesupport (= 5.2.4.3)
23
+ rack (~> 2.0, >= 2.0.8)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.3)
28
- activesupport (= 5.2.3)
27
+ actionview (5.2.4.3)
28
+ activesupport (= 5.2.4.3)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.3)
34
- activesupport (= 5.2.3)
33
+ activejob (5.2.4.3)
34
+ activesupport (= 5.2.4.3)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.3)
37
- activesupport (= 5.2.3)
38
- activerecord (5.2.3)
39
- activemodel (= 5.2.3)
40
- activesupport (= 5.2.3)
36
+ activemodel (5.2.4.3)
37
+ activesupport (= 5.2.4.3)
38
+ activerecord (5.2.4.3)
39
+ activemodel (= 5.2.4.3)
40
+ activesupport (= 5.2.4.3)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.3)
43
- actionpack (= 5.2.3)
44
- activerecord (= 5.2.3)
42
+ activestorage (5.2.4.3)
43
+ actionpack (= 5.2.4.3)
44
+ activerecord (= 5.2.4.3)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.3)
46
+ activesupport (5.2.4.3)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -53,74 +53,74 @@ GEM
53
53
  rake
54
54
  thor (>= 0.14.0)
55
55
  arel (9.0.0)
56
- ast (2.4.0)
57
- builder (3.2.3)
58
- concurrent-ruby (1.1.5)
59
- coveralls (0.8.22)
56
+ ast (2.4.1)
57
+ builder (3.2.4)
58
+ concurrent-ruby (1.1.6)
59
+ coveralls (0.8.23)
60
60
  json (>= 1.8, < 3)
61
61
  simplecov (~> 0.16.1)
62
62
  term-ansicolor (~> 1.3)
63
- thor (~> 0.19.4)
63
+ thor (>= 0.19.4, < 2.0)
64
64
  tins (~> 1.6)
65
- crass (1.0.4)
65
+ crass (1.0.6)
66
66
  diff-lcs (1.3)
67
- docile (1.3.1)
68
- erubi (1.8.0)
67
+ docile (1.3.2)
68
+ erubi (1.9.0)
69
69
  globalid (0.4.2)
70
70
  activesupport (>= 4.2.0)
71
- i18n (1.6.0)
71
+ i18n (1.8.3)
72
72
  concurrent-ruby (~> 1.0)
73
- jaro_winkler (1.5.2)
74
- json (2.2.0)
75
- loofah (2.2.3)
73
+ jaro_winkler (1.5.4)
74
+ json (2.3.0)
75
+ loofah (2.5.0)
76
76
  crass (~> 1.0.2)
77
77
  nokogiri (>= 1.5.9)
78
78
  mail (2.7.1)
79
79
  mini_mime (>= 0.1.1)
80
80
  marcel (0.3.3)
81
81
  mimemagic (~> 0.3.2)
82
- method_source (0.9.2)
83
- mimemagic (0.3.3)
84
- mini_mime (1.0.1)
82
+ method_source (1.0.0)
83
+ mimemagic (0.3.5)
84
+ mini_mime (1.0.2)
85
85
  mini_portile2 (2.4.0)
86
- minitest (5.11.3)
87
- nio4r (2.3.1)
88
- nokogiri (1.10.2)
86
+ minitest (5.14.1)
87
+ nio4r (2.5.2)
88
+ nokogiri (1.10.9)
89
89
  mini_portile2 (~> 2.4.0)
90
- parallel (1.17.0)
91
- parser (2.6.2.1)
90
+ parallel (1.19.1)
91
+ parser (2.7.1.3)
92
92
  ast (~> 2.4.0)
93
- power_assert (1.1.4)
93
+ power_assert (1.2.0)
94
94
  psych (3.1.0)
95
- rack (2.0.7)
95
+ rack (2.2.3)
96
96
  rack-test (1.1.0)
97
97
  rack (>= 1.0, < 3)
98
- rails (5.2.3)
99
- actioncable (= 5.2.3)
100
- actionmailer (= 5.2.3)
101
- actionpack (= 5.2.3)
102
- actionview (= 5.2.3)
103
- activejob (= 5.2.3)
104
- activemodel (= 5.2.3)
105
- activerecord (= 5.2.3)
106
- activestorage (= 5.2.3)
107
- activesupport (= 5.2.3)
98
+ rails (5.2.4.3)
99
+ actioncable (= 5.2.4.3)
100
+ actionmailer (= 5.2.4.3)
101
+ actionpack (= 5.2.4.3)
102
+ actionview (= 5.2.4.3)
103
+ activejob (= 5.2.4.3)
104
+ activemodel (= 5.2.4.3)
105
+ activerecord (= 5.2.4.3)
106
+ activestorage (= 5.2.4.3)
107
+ activesupport (= 5.2.4.3)
108
108
  bundler (>= 1.3.0)
109
- railties (= 5.2.3)
109
+ railties (= 5.2.4.3)
110
110
  sprockets-rails (>= 2.0.0)
111
111
  rails-dom-testing (2.0.3)
112
112
  activesupport (>= 4.2.0)
113
113
  nokogiri (>= 1.6)
114
- rails-html-sanitizer (1.0.4)
115
- loofah (~> 2.2, >= 2.2.2)
116
- railties (5.2.3)
117
- actionpack (= 5.2.3)
118
- activesupport (= 5.2.3)
114
+ rails-html-sanitizer (1.3.0)
115
+ loofah (~> 2.3)
116
+ railties (5.2.4.3)
117
+ actionpack (= 5.2.4.3)
118
+ activesupport (= 5.2.4.3)
119
119
  method_source
120
120
  rake (>= 0.8.7)
121
121
  thor (>= 0.19.0, < 2.0)
122
122
  rainbow (3.0.0)
123
- rake (10.5.0)
123
+ rake (13.0.1)
124
124
  rspec (3.5.0)
125
125
  rspec-core (~> 3.5.0)
126
126
  rspec-expectations (~> 3.5.0)
@@ -157,7 +157,9 @@ GEM
157
157
  rainbow (>= 2.2.2, < 4.0)
158
158
  ruby-progressbar (~> 1.7)
159
159
  unicode-display_width (>= 1.4.0, < 1.6)
160
- ruby-progressbar (1.10.0)
160
+ rubocop-performance (1.1.0)
161
+ rubocop (>= 0.67.0)
162
+ ruby-progressbar (1.10.1)
161
163
  simplecov (0.16.1)
162
164
  docile (~> 1.1)
163
165
  json (>= 1.8, < 3)
@@ -171,19 +173,21 @@ GEM
171
173
  activesupport (>= 4.0)
172
174
  sprockets (>= 3.0.0)
173
175
  sqlite3 (1.3.13)
176
+ sync (0.5.0)
174
177
  term-ansicolor (1.7.1)
175
178
  tins (~> 1.0)
176
- test-unit (3.3.2)
179
+ test-unit (3.3.6)
177
180
  power_assert
178
- thor (0.19.4)
181
+ thor (1.0.1)
179
182
  thread_safe (0.3.6)
180
- tins (1.20.2)
181
- tzinfo (1.2.5)
183
+ tins (1.25.0)
184
+ sync
185
+ tzinfo (1.2.7)
182
186
  thread_safe (~> 0.1)
183
187
  unicode-display_width (1.5.0)
184
- websocket-driver (0.7.0)
188
+ websocket-driver (0.7.2)
185
189
  websocket-extensions (>= 0.1.0)
186
- websocket-extensions (0.1.3)
190
+ websocket-extensions (0.1.5)
187
191
 
188
192
  PLATFORMS
189
193
  ruby
@@ -192,13 +196,15 @@ DEPENDENCIES
192
196
  appraisal (~> 1.0.0)
193
197
  comma!
194
198
  coveralls
195
- rails (= 5.2.3)
196
- rake (~> 10.5.0)
199
+ rails (= 5.2.4.3)
200
+ rake (~> 13.0.1)
197
201
  rspec (~> 3.5.0)
198
202
  rspec-activemodel-mocks
199
203
  rspec-its
200
204
  rspec-rails
201
- rubocop
205
+ rubocop (~> 0.67.2)
206
+ rubocop-performance
207
+ sprockets (< 4)
202
208
  sqlite3 (~> 1.3.11)
203
209
  test-unit
204
210
 
@@ -3,8 +3,10 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rubocop", :require => false
7
- gem "rails", "5.2.3"
6
+ gem "rubocop", "~> 0.67.2", :require => false
7
+ gem "rubocop-performance", :require => false
8
+ gem "sqlite3"
9
+ gem "rails", "6.0.3.1"
8
10
  gem "rspec-rails"
9
11
  gem "test-unit"
10
12
 
@@ -0,0 +1,227 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ comma (4.4.0)
5
+ activesupport (>= 4.2.0, < 6.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (6.0.3.1)
11
+ actionpack (= 6.0.3.1)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.0.3.1)
15
+ actionpack (= 6.0.3.1)
16
+ activejob (= 6.0.3.1)
17
+ activerecord (= 6.0.3.1)
18
+ activestorage (= 6.0.3.1)
19
+ activesupport (= 6.0.3.1)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.0.3.1)
22
+ actionpack (= 6.0.3.1)
23
+ actionview (= 6.0.3.1)
24
+ activejob (= 6.0.3.1)
25
+ mail (~> 2.5, >= 2.5.4)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (6.0.3.1)
28
+ actionview (= 6.0.3.1)
29
+ activesupport (= 6.0.3.1)
30
+ rack (~> 2.0, >= 2.0.8)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
34
+ actiontext (6.0.3.1)
35
+ actionpack (= 6.0.3.1)
36
+ activerecord (= 6.0.3.1)
37
+ activestorage (= 6.0.3.1)
38
+ activesupport (= 6.0.3.1)
39
+ nokogiri (>= 1.8.5)
40
+ actionview (6.0.3.1)
41
+ activesupport (= 6.0.3.1)
42
+ builder (~> 3.1)
43
+ erubi (~> 1.4)
44
+ rails-dom-testing (~> 2.0)
45
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
46
+ activejob (6.0.3.1)
47
+ activesupport (= 6.0.3.1)
48
+ globalid (>= 0.3.6)
49
+ activemodel (6.0.3.1)
50
+ activesupport (= 6.0.3.1)
51
+ activerecord (6.0.3.1)
52
+ activemodel (= 6.0.3.1)
53
+ activesupport (= 6.0.3.1)
54
+ activestorage (6.0.3.1)
55
+ actionpack (= 6.0.3.1)
56
+ activejob (= 6.0.3.1)
57
+ activerecord (= 6.0.3.1)
58
+ marcel (~> 0.3.1)
59
+ activesupport (6.0.3.1)
60
+ concurrent-ruby (~> 1.0, >= 1.0.2)
61
+ i18n (>= 0.7, < 2)
62
+ minitest (~> 5.1)
63
+ tzinfo (~> 1.1)
64
+ zeitwerk (~> 2.2, >= 2.2.2)
65
+ appraisal (1.0.3)
66
+ bundler
67
+ rake
68
+ thor (>= 0.14.0)
69
+ ast (2.4.1)
70
+ builder (3.2.4)
71
+ concurrent-ruby (1.1.6)
72
+ coveralls (0.8.23)
73
+ json (>= 1.8, < 3)
74
+ simplecov (~> 0.16.1)
75
+ term-ansicolor (~> 1.3)
76
+ thor (>= 0.19.4, < 2.0)
77
+ tins (~> 1.6)
78
+ crass (1.0.6)
79
+ diff-lcs (1.3)
80
+ docile (1.3.2)
81
+ erubi (1.9.0)
82
+ globalid (0.4.2)
83
+ activesupport (>= 4.2.0)
84
+ i18n (1.8.3)
85
+ concurrent-ruby (~> 1.0)
86
+ jaro_winkler (1.5.4)
87
+ json (2.3.0)
88
+ loofah (2.5.0)
89
+ crass (~> 1.0.2)
90
+ nokogiri (>= 1.5.9)
91
+ mail (2.7.1)
92
+ mini_mime (>= 0.1.1)
93
+ marcel (0.3.3)
94
+ mimemagic (~> 0.3.2)
95
+ method_source (1.0.0)
96
+ mimemagic (0.3.5)
97
+ mini_mime (1.0.2)
98
+ mini_portile2 (2.4.0)
99
+ minitest (5.14.1)
100
+ nio4r (2.5.2)
101
+ nokogiri (1.10.9)
102
+ mini_portile2 (~> 2.4.0)
103
+ parallel (1.19.1)
104
+ parser (2.7.1.3)
105
+ ast (~> 2.4.0)
106
+ power_assert (1.2.0)
107
+ psych (3.1.0)
108
+ rack (2.2.3)
109
+ rack-test (1.1.0)
110
+ rack (>= 1.0, < 3)
111
+ rails (6.0.3.1)
112
+ actioncable (= 6.0.3.1)
113
+ actionmailbox (= 6.0.3.1)
114
+ actionmailer (= 6.0.3.1)
115
+ actionpack (= 6.0.3.1)
116
+ actiontext (= 6.0.3.1)
117
+ actionview (= 6.0.3.1)
118
+ activejob (= 6.0.3.1)
119
+ activemodel (= 6.0.3.1)
120
+ activerecord (= 6.0.3.1)
121
+ activestorage (= 6.0.3.1)
122
+ activesupport (= 6.0.3.1)
123
+ bundler (>= 1.3.0)
124
+ railties (= 6.0.3.1)
125
+ sprockets-rails (>= 2.0.0)
126
+ rails-dom-testing (2.0.3)
127
+ activesupport (>= 4.2.0)
128
+ nokogiri (>= 1.6)
129
+ rails-html-sanitizer (1.3.0)
130
+ loofah (~> 2.3)
131
+ railties (6.0.3.1)
132
+ actionpack (= 6.0.3.1)
133
+ activesupport (= 6.0.3.1)
134
+ method_source
135
+ rake (>= 0.8.7)
136
+ thor (>= 0.20.3, < 2.0)
137
+ rainbow (3.0.0)
138
+ rake (13.0.1)
139
+ rspec (3.5.0)
140
+ rspec-core (~> 3.5.0)
141
+ rspec-expectations (~> 3.5.0)
142
+ rspec-mocks (~> 3.5.0)
143
+ rspec-activemodel-mocks (1.1.0)
144
+ activemodel (>= 3.0)
145
+ activesupport (>= 3.0)
146
+ rspec-mocks (>= 2.99, < 4.0)
147
+ rspec-core (3.5.4)
148
+ rspec-support (~> 3.5.0)
149
+ rspec-expectations (3.5.0)
150
+ diff-lcs (>= 1.2.0, < 2.0)
151
+ rspec-support (~> 3.5.0)
152
+ rspec-its (1.3.0)
153
+ rspec-core (>= 3.0.0)
154
+ rspec-expectations (>= 3.0.0)
155
+ rspec-mocks (3.5.0)
156
+ diff-lcs (>= 1.2.0, < 2.0)
157
+ rspec-support (~> 3.5.0)
158
+ rspec-rails (3.5.2)
159
+ actionpack (>= 3.0)
160
+ activesupport (>= 3.0)
161
+ railties (>= 3.0)
162
+ rspec-core (~> 3.5.0)
163
+ rspec-expectations (~> 3.5.0)
164
+ rspec-mocks (~> 3.5.0)
165
+ rspec-support (~> 3.5.0)
166
+ rspec-support (3.5.0)
167
+ rubocop (0.67.2)
168
+ jaro_winkler (~> 1.5.1)
169
+ parallel (~> 1.10)
170
+ parser (>= 2.5, != 2.5.1.1)
171
+ psych (>= 3.1.0)
172
+ rainbow (>= 2.2.2, < 4.0)
173
+ ruby-progressbar (~> 1.7)
174
+ unicode-display_width (>= 1.4.0, < 1.6)
175
+ rubocop-performance (1.1.0)
176
+ rubocop (>= 0.67.0)
177
+ ruby-progressbar (1.10.1)
178
+ simplecov (0.16.1)
179
+ docile (~> 1.1)
180
+ json (>= 1.8, < 3)
181
+ simplecov-html (~> 0.10.0)
182
+ simplecov-html (0.10.2)
183
+ sprockets (3.7.2)
184
+ concurrent-ruby (~> 1.0)
185
+ rack (> 1, < 3)
186
+ sprockets-rails (3.2.1)
187
+ actionpack (>= 4.0)
188
+ activesupport (>= 4.0)
189
+ sprockets (>= 3.0.0)
190
+ sqlite3 (1.4.2)
191
+ sync (0.5.0)
192
+ term-ansicolor (1.7.1)
193
+ tins (~> 1.0)
194
+ test-unit (3.3.6)
195
+ power_assert
196
+ thor (1.0.1)
197
+ thread_safe (0.3.6)
198
+ tins (1.25.0)
199
+ sync
200
+ tzinfo (1.2.7)
201
+ thread_safe (~> 0.1)
202
+ unicode-display_width (1.5.0)
203
+ websocket-driver (0.7.2)
204
+ websocket-extensions (>= 0.1.0)
205
+ websocket-extensions (0.1.5)
206
+ zeitwerk (2.3.0)
207
+
208
+ PLATFORMS
209
+ ruby
210
+
211
+ DEPENDENCIES
212
+ appraisal (~> 1.0.0)
213
+ comma!
214
+ coveralls
215
+ rails (= 6.0.3.1)
216
+ rake (~> 13.0.1)
217
+ rspec (~> 3.5.0)
218
+ rspec-activemodel-mocks
219
+ rspec-its
220
+ rspec-rails
221
+ rubocop (~> 0.67.2)
222
+ rubocop-performance
223
+ sqlite3
224
+ test-unit
225
+
226
+ BUNDLED WITH
227
+ 1.17.3