comma 4.2.0 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +10 -1
  3. data/.rubocop_todo.yml +3 -364
  4. data/.travis.yml +36 -55
  5. data/Appraisals +14 -1
  6. data/Gemfile +2 -0
  7. data/Gemfile.lock +19 -16
  8. data/README.md +2 -2
  9. data/Rakefile +2 -0
  10. data/comma.gemspec +13 -11
  11. data/gemfiles/{active4.1.16.gemfile → active4.2.11.1.gemfile} +2 -2
  12. data/gemfiles/{active4.2.8.gemfile.lock → active4.2.11.1.gemfile.lock} +43 -38
  13. data/gemfiles/{active4.0.13.gemfile → active5.0.7.2.gemfile} +2 -2
  14. data/gemfiles/{active5.0.1.gemfile.lock → active5.0.7.2.gemfile.lock} +44 -40
  15. data/gemfiles/{active5.1.0.gemfile → active5.1.7.gemfile} +2 -2
  16. data/gemfiles/{active5.1.0.gemfile.lock → active5.1.7.gemfile.lock} +44 -40
  17. data/gemfiles/{active4.2.8.gemfile → active5.2.3.gemfile} +2 -2
  18. data/gemfiles/active5.2.3.gemfile.lock +108 -0
  19. data/gemfiles/{active5.0.1.gemfile → active6.0.0.gemfile} +2 -2
  20. data/gemfiles/{active5.2.0.gemfile.lock → active6.0.0.gemfile.lock} +31 -29
  21. data/gemfiles/{rails4.1.16.gemfile → rails4.2.11.1.gemfile} +1 -1
  22. data/gemfiles/{rails4.2.8.gemfile.lock → rails4.2.11.1.gemfile.lock} +84 -80
  23. data/gemfiles/{rails4.0.13.gemfile → rails5.0.7.2.gemfile} +1 -1
  24. data/gemfiles/rails5.0.7.2.gemfile.lock +198 -0
  25. data/gemfiles/{rails5.1.0.gemfile → rails5.1.7.gemfile} +1 -1
  26. data/gemfiles/rails5.1.7.gemfile.lock +198 -0
  27. data/gemfiles/{rails5.2.0.gemfile → rails5.2.3.gemfile} +1 -1
  28. data/gemfiles/{rails5.2.0.gemfile.lock → rails5.2.3.gemfile.lock} +82 -80
  29. data/gemfiles/{rails4.2.8.gemfile → rails6.0.0.gemfile} +1 -1
  30. data/gemfiles/rails6.0.0.gemfile.lock +237 -0
  31. data/init.rb +2 -0
  32. data/lib/comma.rb +23 -33
  33. data/lib/comma/array.rb +2 -0
  34. data/lib/comma/data_extractor.rb +5 -5
  35. data/lib/comma/data_mapper_collection.rb +9 -3
  36. data/lib/comma/extractor.rb +3 -5
  37. data/lib/comma/generator.rb +11 -11
  38. data/lib/comma/header_extractor.rb +18 -14
  39. data/lib/comma/mongoid.rb +10 -7
  40. data/lib/comma/object.rb +5 -1
  41. data/lib/comma/relation.rb +16 -10
  42. data/lib/comma/version.rb +3 -1
  43. data/spec/comma/comma_spec.rb +68 -47
  44. data/spec/comma/data_extractor_spec.rb +6 -10
  45. data/spec/comma/header_extractor_spec.rb +2 -8
  46. data/spec/comma/rails/active_record_spec.rb +28 -26
  47. data/spec/comma/rails/data_mapper_collection_spec.rb +4 -3
  48. data/spec/comma/rails/mongoid_spec.rb +8 -7
  49. data/spec/controllers/users_controller_spec.rb +48 -47
  50. data/spec/non_rails_app/ruby_classes.rb +13 -6
  51. data/spec/rails_app/active_record/config.rb +3 -1
  52. data/spec/rails_app/active_record/models.rb +4 -2
  53. data/spec/rails_app/data_mapper/config.rb +2 -0
  54. data/spec/rails_app/mongoid/config.rb +4 -2
  55. data/spec/rails_app/rails_app.rb +12 -11
  56. data/spec/rails_app/tmp/.gitkeep +0 -0
  57. data/spec/spec_helper.rb +7 -3
  58. metadata +27 -30
  59. data/gemfiles/active4.0.13.gemfile.lock +0 -107
  60. data/gemfiles/active4.1.16.gemfile.lock +0 -106
  61. data/gemfiles/active5.2.0.gemfile +0 -10
  62. data/gemfiles/rails4.0.13.gemfile.lock +0 -158
  63. data/gemfiles/rails4.1.16.gemfile.lock +0 -162
  64. data/gemfiles/rails5.0.1.gemfile +0 -11
  65. data/gemfiles/rails5.0.1.gemfile.lock +0 -194
  66. data/gemfiles/rails5.1.0.gemfile.lock +0 -194
@@ -1,194 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- comma (4.2.0)
5
- activesupport (>= 4.0.0, < 6)
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.16.1