comma 4.0.1 → 4.1.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/.rubocop.yml +10 -0
  3. data/.rubocop_todo.yml +422 -0
  4. data/.travis.yml +32 -19
  5. data/Appraisals +7 -7
  6. data/Gemfile +3 -2
  7. data/Gemfile.lock +18 -3
  8. data/Rakefile +5 -5
  9. data/comma.gemspec +2 -1
  10. data/gemfiles/active4.0.13.gemfile +1 -0
  11. data/gemfiles/active4.0.13.gemfile.lock +15 -1
  12. data/gemfiles/active4.1.16.gemfile +1 -0
  13. data/gemfiles/active4.1.16.gemfile.lock +19 -4
  14. data/gemfiles/{active5.0.0.1.gemfile → active4.2.8.gemfile} +3 -2
  15. data/gemfiles/{active4.2.7.1.gemfile.lock → active4.2.8.gemfile.lock} +45 -31
  16. data/gemfiles/active5.0.1.gemfile +10 -0
  17. data/gemfiles/{active5.0.0.1.gemfile.lock → active5.0.1.gemfile.lock} +45 -30
  18. data/gemfiles/active5.1.0.gemfile +10 -0
  19. data/gemfiles/active5.1.0.gemfile.lock +104 -0
  20. data/gemfiles/rails4.0.13.gemfile +1 -0
  21. data/gemfiles/rails4.0.13.gemfile.lock +15 -1
  22. data/gemfiles/rails4.1.16.gemfile +1 -0
  23. data/gemfiles/rails4.1.16.gemfile.lock +19 -4
  24. data/gemfiles/{rails4.2.7.1.gemfile → rails4.2.8.gemfile} +2 -1
  25. data/gemfiles/{rails4.2.7.1.gemfile.lock → rails4.2.8.gemfile.lock} +81 -69
  26. data/gemfiles/{rails5.0.0.1.gemfile → rails5.0.1.gemfile} +2 -1
  27. data/gemfiles/{rails5.0.0.1.gemfile.lock → rails5.0.1.gemfile.lock} +83 -70
  28. data/gemfiles/{active4.2.7.1.gemfile → rails5.1.0.gemfile} +4 -2
  29. data/gemfiles/rails5.1.0.gemfile.lock +194 -0
  30. data/lib/comma/version.rb +1 -1
  31. data/spec/comma/comma_spec.rb +42 -40
  32. data/spec/comma/data_extractor_spec.rb +1 -1
  33. data/spec/comma/header_extractor_spec.rb +1 -1
  34. data/spec/comma/rails/active_record_spec.rb +5 -5
  35. data/spec/comma/rails/data_mapper_collection_spec.rb +1 -1
  36. data/spec/controllers/users_controller_spec.rb +41 -30
  37. data/spec/rails_app/active_record/models.rb +8 -1
  38. data/spec/rails_app/rails_app.rb +27 -3
  39. metadata +19 -13
@@ -3,7 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "rails", "5.0.0.1"
6
+ gem "rubocop", :require => false
7
+ gem "rails", "5.0.1"
7
8
  gem "rspec-rails"
8
9
  gem "test-unit"
9
10
 
@@ -1,45 +1,45 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- comma (4.0.1)
5
- activesupport (>= 4.0.0, < 5.1)
4
+ comma (4.1.0)
5
+ activesupport (>= 4.0.0, < 5.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.0.0.1)
11
- actionpack (= 5.0.0.1)
10
+ actioncable (5.0.1)
11
+ actionpack (= 5.0.1)
12
12
  nio4r (~> 1.2)
13
13
  websocket-driver (~> 0.6.1)
14
- actionmailer (5.0.0.1)
15
- actionpack (= 5.0.0.1)
16
- actionview (= 5.0.0.1)
17
- activejob (= 5.0.0.1)
14
+ actionmailer (5.0.1)
15
+ actionpack (= 5.0.1)
16
+ actionview (= 5.0.1)
17
+ activejob (= 5.0.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.0.0.1)
21
- actionview (= 5.0.0.1)
22
- activesupport (= 5.0.0.1)
20
+ actionpack (5.0.1)
21
+ actionview (= 5.0.1)
22
+ activesupport (= 5.0.1)
23
23
  rack (~> 2.0)
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.0.0.1)
28
- activesupport (= 5.0.0.1)
27
+ actionview (5.0.1)
28
+ activesupport (= 5.0.1)
29
29
  builder (~> 3.1)
30
30
  erubis (~> 2.7.0)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
33
- activejob (5.0.0.1)
34
- activesupport (= 5.0.0.1)
33
+ activejob (5.0.1)
34
+ activesupport (= 5.0.1)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.0.0.1)
37
- activesupport (= 5.0.0.1)
38
- activerecord (5.0.0.1)
39
- activemodel (= 5.0.0.1)
40
- activesupport (= 5.0.0.1)
36
+ activemodel (5.0.1)
37
+ activesupport (= 5.0.1)
38
+ activerecord (5.0.1)
39
+ activemodel (= 5.0.1)
40
+ activesupport (= 5.0.1)
41
41
  arel (~> 7.0)
42
- activesupport (5.0.0.1)
42
+ activesupport (5.0.1)
43
43
  concurrent-ruby (~> 1.0, >= 1.0.2)
44
44
  i18n (~> 0.7)
45
45
  minitest (~> 5.1)
@@ -48,64 +48,68 @@ GEM
48
48
  bundler
49
49
  rake
50
50
  thor (>= 0.14.0)
51
- arel (7.1.1)
52
- builder (3.2.2)
53
- concurrent-ruby (1.0.2)
54
- coveralls (0.8.15)
51
+ arel (7.1.4)
52
+ ast (2.3.0)
53
+ builder (3.2.3)
54
+ concurrent-ruby (1.0.5)
55
+ coveralls (0.8.21)
55
56
  json (>= 1.8, < 3)
56
- simplecov (~> 0.12.0)
57
+ simplecov (~> 0.14.1)
57
58
  term-ansicolor (~> 1.3)
58
- thor (~> 0.19.1)
59
- tins (>= 1.6.0, < 2)
60
- diff-lcs (1.2.5)
59
+ thor (~> 0.19.4)
60
+ tins (~> 1.6)
61
+ diff-lcs (1.3)
61
62
  docile (1.1.5)
62
63
  erubis (2.7.0)
63
- globalid (0.3.7)
64
- activesupport (>= 4.1.0)
65
- i18n (0.7.0)
66
- json (2.0.2)
64
+ globalid (0.4.0)
65
+ activesupport (>= 4.2.0)
66
+ i18n (0.8.1)
67
+ json (2.1.0)
67
68
  loofah (2.0.3)
68
69
  nokogiri (>= 1.5.9)
69
- mail (2.6.4)
70
+ mail (2.6.5)
70
71
  mime-types (>= 1.16, < 4)
71
72
  method_source (0.8.2)
72
73
  mime-types (3.1)
73
74
  mime-types-data (~> 3.2015)
74
75
  mime-types-data (3.2016.0521)
75
76
  mini_portile2 (2.1.0)
76
- minitest (5.9.0)
77
+ minitest (5.10.1)
77
78
  nio4r (1.2.1)
78
- nokogiri (1.6.8)
79
+ nokogiri (1.7.1)
79
80
  mini_portile2 (~> 2.1.0)
80
- pkg-config (~> 1.1.7)
81
- pkg-config (1.1.7)
82
- power_assert (0.3.0)
81
+ parser (2.4.0.0)
82
+ ast (~> 2.2)
83
+ power_assert (1.0.2)
84
+ powerpack (0.1.1)
83
85
  rack (2.0.1)
84
86
  rack-test (0.6.3)
85
87
  rack (>= 1.0)
86
- rails (5.0.0.1)
87
- actioncable (= 5.0.0.1)
88
- actionmailer (= 5.0.0.1)
89
- actionpack (= 5.0.0.1)
90
- actionview (= 5.0.0.1)
91
- activejob (= 5.0.0.1)
92
- activemodel (= 5.0.0.1)
93
- activerecord (= 5.0.0.1)
94
- activesupport (= 5.0.0.1)
88
+ rails (5.0.1)
89
+ actioncable (= 5.0.1)
90
+ actionmailer (= 5.0.1)
91
+ actionpack (= 5.0.1)
92
+ actionview (= 5.0.1)
93
+ activejob (= 5.0.1)
94
+ activemodel (= 5.0.1)
95
+ activerecord (= 5.0.1)
96
+ activesupport (= 5.0.1)
95
97
  bundler (>= 1.3.0, < 2.0)
96
- railties (= 5.0.0.1)
98
+ railties (= 5.0.1)
97
99
  sprockets-rails (>= 2.0.0)
98
- rails-dom-testing (2.0.1)
100
+ rails-dom-testing (2.0.2)
99
101
  activesupport (>= 4.2.0, < 6.0)
100
- nokogiri (~> 1.6.0)
102
+ nokogiri (~> 1.6)
101
103
  rails-html-sanitizer (1.0.3)
102
104
  loofah (~> 2.0)
103
- railties (5.0.0.1)
104
- actionpack (= 5.0.0.1)
105
- activesupport (= 5.0.0.1)
105
+ railties (5.0.1)
106
+ actionpack (= 5.0.1)
107
+ activesupport (= 5.0.1)
106
108
  method_source
107
109
  rake (>= 0.8.7)
108
110
  thor (>= 0.18.1, < 2.0)
111
+ rainbow (2.2.2)
112
+ rake
109
113
  rake (10.5.0)
110
114
  rspec (3.5.0)
111
115
  rspec-core (~> 3.5.0)
@@ -115,7 +119,7 @@ GEM
115
119
  activemodel (>= 3.0)
116
120
  activesupport (>= 3.0)
117
121
  rspec-mocks (>= 2.99, < 4.0)
118
- rspec-core (3.5.2)
122
+ rspec-core (3.5.4)
119
123
  rspec-support (~> 3.5.0)
120
124
  rspec-expectations (3.5.0)
121
125
  diff-lcs (>= 1.2.0, < 2.0)
@@ -126,7 +130,7 @@ GEM
126
130
  rspec-mocks (3.5.0)
127
131
  diff-lcs (>= 1.2.0, < 2.0)
128
132
  rspec-support (~> 3.5.0)
129
- rspec-rails (3.5.1)
133
+ rspec-rails (3.5.2)
130
134
  actionpack (>= 3.0)
131
135
  activesupport (>= 3.0)
132
136
  railties (>= 3.0)
@@ -135,29 +139,37 @@ GEM
135
139
  rspec-mocks (~> 3.5.0)
136
140
  rspec-support (~> 3.5.0)
137
141
  rspec-support (3.5.0)
138
- simplecov (0.12.0)
142
+ rubocop (0.48.1)
143
+ parser (>= 2.3.3.1, < 3.0)
144
+ powerpack (~> 0.1)
145
+ rainbow (>= 1.99.1, < 3.0)
146
+ ruby-progressbar (~> 1.7)
147
+ unicode-display_width (~> 1.0, >= 1.0.1)
148
+ ruby-progressbar (1.8.1)
149
+ simplecov (0.14.1)
139
150
  docile (~> 1.1.0)
140
151
  json (>= 1.8, < 3)
141
152
  simplecov-html (~> 0.10.0)
142
153
  simplecov-html (0.10.0)
143
- sprockets (3.7.0)
154
+ sprockets (3.7.1)
144
155
  concurrent-ruby (~> 1.0)
145
156
  rack (> 1, < 3)
146
- sprockets-rails (3.1.1)
157
+ sprockets-rails (3.2.0)
147
158
  actionpack (>= 4.0)
148
159
  activesupport (>= 4.0)
149
160
  sprockets (>= 3.0.0)
150
- sqlite3 (1.3.11)
151
- term-ansicolor (1.3.2)
161
+ sqlite3 (1.3.13)
162
+ term-ansicolor (1.6.0)
152
163
  tins (~> 1.0)
153
- test-unit (3.2.1)
164
+ test-unit (3.2.3)
154
165
  power_assert
155
- thor (0.19.1)
156
- thread_safe (0.3.5)
157
- tins (1.12.0)
158
- tzinfo (1.2.2)
166
+ thor (0.19.4)
167
+ thread_safe (0.3.6)
168
+ tins (1.13.2)
169
+ tzinfo (1.2.3)
159
170
  thread_safe (~> 0.1)
160
- websocket-driver (0.6.4)
171
+ unicode-display_width (1.2.1)
172
+ websocket-driver (0.6.5)
161
173
  websocket-extensions (>= 0.1.0)
162
174
  websocket-extensions (0.1.2)
163
175
 
@@ -168,14 +180,15 @@ DEPENDENCIES
168
180
  appraisal (~> 1.0.0)
169
181
  comma!
170
182
  coveralls
171
- rails (= 5.0.0.1)
183
+ rails (= 5.0.1)
172
184
  rake (~> 10.5.0)
173
185
  rspec (~> 3.5.0)
174
186
  rspec-activemodel-mocks
175
187
  rspec-its
176
188
  rspec-rails
189
+ rubocop
177
190
  sqlite3 (~> 1.3.11)
178
191
  test-unit
179
192
 
180
193
  BUNDLED WITH
181
- 1.11.2
194
+ 1.14.6
@@ -3,7 +3,9 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "coveralls", :require => false
6
- gem "activesupport", "4.2.7.1"
7
- gem "activerecord", "4.2.7.1"
6
+ gem "rubocop", :require => false
7
+ gem "rails", "5.1.0"
8
+ gem "rspec-rails"
9
+ gem "test-unit"
8
10
 
9
11
  gemspec :path => "../"
@@ -0,0 +1,194 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ comma (4.1.0)
5
+ activesupport (>= 4.0.0, < 5.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.0)
11
+ actionpack (= 5.1.0)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.0)
15
+ actionpack (= 5.1.0)
16
+ actionview (= 5.1.0)
17
+ activejob (= 5.1.0)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.0)
21
+ actionview (= 5.1.0)
22
+ activesupport (= 5.1.0)
23
+ rack (~> 2.0)
24
+ rack-test (~> 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.1.0)
28
+ activesupport (= 5.1.0)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.1.0)
34
+ activesupport (= 5.1.0)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.0)
37
+ activesupport (= 5.1.0)
38
+ activerecord (5.1.0)
39
+ activemodel (= 5.1.0)
40
+ activesupport (= 5.1.0)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.0)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (~> 0.7)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ appraisal (1.0.3)
48
+ bundler
49
+ rake
50
+ thor (>= 0.14.0)
51
+ arel (8.0.0)
52
+ ast (2.3.0)
53
+ builder (3.2.3)
54
+ concurrent-ruby (1.0.5)
55
+ coveralls (0.8.21)
56
+ json (>= 1.8, < 3)
57
+ simplecov (~> 0.14.1)
58
+ term-ansicolor (~> 1.3)
59
+ thor (~> 0.19.4)
60
+ tins (~> 1.6)
61
+ diff-lcs (1.3)
62
+ docile (1.1.5)
63
+ erubi (1.6.0)
64
+ globalid (0.4.0)
65
+ activesupport (>= 4.2.0)
66
+ i18n (0.8.1)
67
+ json (2.1.0)
68
+ loofah (2.0.3)
69
+ nokogiri (>= 1.5.9)
70
+ mail (2.6.5)
71
+ mime-types (>= 1.16, < 4)
72
+ method_source (0.8.2)
73
+ mime-types (3.1)
74
+ mime-types-data (~> 3.2015)
75
+ mime-types-data (3.2016.0521)
76
+ mini_portile2 (2.1.0)
77
+ minitest (5.10.1)
78
+ nio4r (2.0.0)
79
+ nokogiri (1.7.1)
80
+ mini_portile2 (~> 2.1.0)
81
+ parser (2.4.0.0)
82
+ ast (~> 2.2)
83
+ power_assert (1.0.2)
84
+ powerpack (0.1.1)
85
+ rack (2.0.1)
86
+ rack-test (0.6.3)
87
+ rack (>= 1.0)
88
+ rails (5.1.0)
89
+ actioncable (= 5.1.0)
90
+ actionmailer (= 5.1.0)
91
+ actionpack (= 5.1.0)
92
+ actionview (= 5.1.0)
93
+ activejob (= 5.1.0)
94
+ activemodel (= 5.1.0)
95
+ activerecord (= 5.1.0)
96
+ activesupport (= 5.1.0)
97
+ bundler (>= 1.3.0, < 2.0)
98
+ railties (= 5.1.0)
99
+ sprockets-rails (>= 2.0.0)
100
+ rails-dom-testing (2.0.2)
101
+ activesupport (>= 4.2.0, < 6.0)
102
+ nokogiri (~> 1.6)
103
+ rails-html-sanitizer (1.0.3)
104
+ loofah (~> 2.0)
105
+ railties (5.1.0)
106
+ actionpack (= 5.1.0)
107
+ activesupport (= 5.1.0)
108
+ method_source
109
+ rake (>= 0.8.7)
110
+ thor (>= 0.18.1, < 2.0)
111
+ rainbow (2.2.2)
112
+ rake
113
+ rake (10.5.0)
114
+ rspec (3.5.0)
115
+ rspec-core (~> 3.5.0)
116
+ rspec-expectations (~> 3.5.0)
117
+ rspec-mocks (~> 3.5.0)
118
+ rspec-activemodel-mocks (1.0.3)
119
+ activemodel (>= 3.0)
120
+ activesupport (>= 3.0)
121
+ rspec-mocks (>= 2.99, < 4.0)
122
+ rspec-core (3.5.4)
123
+ rspec-support (~> 3.5.0)
124
+ rspec-expectations (3.5.0)
125
+ diff-lcs (>= 1.2.0, < 2.0)
126
+ rspec-support (~> 3.5.0)
127
+ rspec-its (1.2.0)
128
+ rspec-core (>= 3.0.0)
129
+ rspec-expectations (>= 3.0.0)
130
+ rspec-mocks (3.5.0)
131
+ diff-lcs (>= 1.2.0, < 2.0)
132
+ rspec-support (~> 3.5.0)
133
+ rspec-rails (3.5.2)
134
+ actionpack (>= 3.0)
135
+ activesupport (>= 3.0)
136
+ railties (>= 3.0)
137
+ rspec-core (~> 3.5.0)
138
+ rspec-expectations (~> 3.5.0)
139
+ rspec-mocks (~> 3.5.0)
140
+ rspec-support (~> 3.5.0)
141
+ rspec-support (3.5.0)
142
+ rubocop (0.48.1)
143
+ parser (>= 2.3.3.1, < 3.0)
144
+ powerpack (~> 0.1)
145
+ rainbow (>= 1.99.1, < 3.0)
146
+ ruby-progressbar (~> 1.7)
147
+ unicode-display_width (~> 1.0, >= 1.0.1)
148
+ ruby-progressbar (1.8.1)
149
+ simplecov (0.14.1)
150
+ docile (~> 1.1.0)
151
+ json (>= 1.8, < 3)
152
+ simplecov-html (~> 0.10.0)
153
+ simplecov-html (0.10.0)
154
+ sprockets (3.7.1)
155
+ concurrent-ruby (~> 1.0)
156
+ rack (> 1, < 3)
157
+ sprockets-rails (3.2.0)
158
+ actionpack (>= 4.0)
159
+ activesupport (>= 4.0)
160
+ sprockets (>= 3.0.0)
161
+ sqlite3 (1.3.13)
162
+ term-ansicolor (1.6.0)
163
+ tins (~> 1.0)
164
+ test-unit (3.2.3)
165
+ power_assert
166
+ thor (0.19.4)
167
+ thread_safe (0.3.6)
168
+ tins (1.13.2)
169
+ tzinfo (1.2.3)
170
+ thread_safe (~> 0.1)
171
+ unicode-display_width (1.2.1)
172
+ websocket-driver (0.6.5)
173
+ websocket-extensions (>= 0.1.0)
174
+ websocket-extensions (0.1.2)
175
+
176
+ PLATFORMS
177
+ ruby
178
+
179
+ DEPENDENCIES
180
+ appraisal (~> 1.0.0)
181
+ comma!
182
+ coveralls
183
+ rails (= 5.1.0)
184
+ rake (~> 10.5.0)
185
+ rspec (~> 3.5.0)
186
+ rspec-activemodel-mocks
187
+ rspec-its
188
+ rspec-rails
189
+ rubocop
190
+ sqlite3 (~> 1.3.11)
191
+ test-unit
192
+
193
+ BUNDLED WITH
194
+ 1.14.6