grape 1.1.0 → 1.2.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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/Appraisals +3 -7
  3. data/CHANGELOG.md +21 -1
  4. data/Gemfile.lock +26 -26
  5. data/README.md +109 -29
  6. data/UPGRADING.md +45 -0
  7. data/gemfiles/rack_1.5.2.gemfile.lock +232 -0
  8. data/gemfiles/rails_3.gemfile +1 -1
  9. data/gemfiles/rails_3.gemfile.lock +288 -0
  10. data/gemfiles/rails_4.gemfile +1 -1
  11. data/gemfiles/rails_4.gemfile.lock +280 -0
  12. data/gemfiles/rails_5.gemfile +1 -1
  13. data/gemfiles/rails_5.gemfile.lock +312 -0
  14. data/lib/grape.rb +1 -0
  15. data/lib/grape/api.rb +74 -195
  16. data/lib/grape/api/instance.rb +242 -0
  17. data/lib/grape/dsl/desc.rb +17 -1
  18. data/lib/grape/dsl/middleware.rb +7 -0
  19. data/lib/grape/dsl/parameters.rb +9 -4
  20. data/lib/grape/dsl/routing.rb +5 -1
  21. data/lib/grape/endpoint.rb +1 -1
  22. data/lib/grape/exceptions/base.rb +9 -1
  23. data/lib/grape/exceptions/invalid_response.rb +9 -0
  24. data/lib/grape/locale/en.yml +1 -0
  25. data/lib/grape/middleware/error.rb +8 -2
  26. data/lib/grape/middleware/versioner/header.rb +2 -2
  27. data/lib/grape/validations/params_scope.rb +1 -0
  28. data/lib/grape/validations/validators/multiple_params_base.rb +1 -1
  29. data/lib/grape/version.rb +1 -1
  30. data/pkg/grape-1.2.0.gem +0 -0
  31. data/spec/grape/api/routes_with_requirements_spec.rb +59 -0
  32. data/spec/grape/api_remount_spec.rb +85 -0
  33. data/spec/grape/api_spec.rb +70 -1
  34. data/spec/grape/dsl/desc_spec.rb +17 -1
  35. data/spec/grape/dsl/middleware_spec.rb +8 -0
  36. data/spec/grape/dsl/routing_spec.rb +10 -0
  37. data/spec/grape/exceptions/base_spec.rb +61 -0
  38. data/spec/grape/exceptions/invalid_response_spec.rb +11 -0
  39. data/spec/grape/middleware/auth/dsl_spec.rb +3 -3
  40. data/spec/grape/middleware/exception_spec.rb +1 -1
  41. data/spec/grape/middleware/versioner/header_spec.rb +6 -0
  42. data/spec/grape/validations/params_scope_spec.rb +133 -0
  43. data/spec/spec_helper.rb +3 -1
  44. metadata +99 -87
  45. data/gemfiles/rack_1.5.2.gemfile +0 -35
  46. data/pkg/grape-0.17.0.gem +0 -0
  47. data/pkg/grape-0.19.0.gem +0 -0
@@ -1,6 +1,51 @@
1
1
  Upgrading Grape
2
2
  ===============
3
3
 
4
+ ### Upgrading to >= 1.2.0
5
+
6
+ #### Changes in the Grape::API class
7
+
8
+ In an effort to make APIs re-mountable, The class `Grape::API` no longer refers to an API instance,
9
+ rather, what used to be `Grape::API` is now `Grape::API::Instance` and `Grape::API` was replaced
10
+ with a class that can contain several instances of `Grape::API`.
11
+
12
+ This changes were done in such a way that no code-changes should be required.
13
+ However, if experiencing problems, or relying on private methods and internal behaviour too deeply, it is possible to restore the prior behaviour by replacing the references from `Grape::API` to `Grape::API::Instance`.
14
+
15
+ Note, this is particularly relevant if you are opening the class `Grape::API` for modification.
16
+
17
+ **Deprecated**
18
+ ```ruby
19
+ class Grape::API
20
+ # your patched logic
21
+ ...
22
+ end
23
+ ```
24
+ **New**
25
+ ```ruby
26
+ class Grape::API::Instance
27
+ # your patched logic
28
+ ...
29
+ end
30
+ ```
31
+
32
+ #### Changes in rescue_from returned object
33
+
34
+ Grape will now check the object returned from `rescue_from` and ensure that it is a `Rack::Response`. That makes sure response is valid and avoids exposing service information. Change any code that invoked `Rack::Response.new(...).finish` in a custom `rescue_from` block to `Rack::Response.new(...)` to comply with the validation.
35
+
36
+ ```ruby
37
+ class Twitter::API < Grape::API
38
+ rescue_from :all do |e|
39
+ # version prior to 1.2.0
40
+ Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' }).finish
41
+ # 1.2.0 version
42
+ Rack::Response.new([ e.message ], 500, { 'Content-type' => 'text/error' })
43
+ end
44
+ end
45
+ ```
46
+
47
+ See [#1757](https://github.com/ruby-grape/grape/pull/1757) and [#1776](https://github.com/ruby-grape/grape/pull/1776) for more information.
48
+
4
49
  ### Upgrading to >= 1.1.0
5
50
 
6
51
  #### Changes in HTTP Response Code for Unsupported Content Type
@@ -0,0 +1,232 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ grape (1.1.1)
5
+ activesupport
6
+ builder
7
+ mustermann-grape (~> 1.0.0)
8
+ rack (>= 1.3.0)
9
+ rack-accept
10
+ virtus (>= 1.0.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ activesupport (5.2.1)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 0.7, < 2)
18
+ minitest (~> 5.1)
19
+ tzinfo (~> 1.1)
20
+ addressable (2.5.2)
21
+ public_suffix (>= 2.0.2, < 4.0)
22
+ appraisal (2.2.0)
23
+ bundler
24
+ rake
25
+ thor (>= 0.14.0)
26
+ ast (2.4.0)
27
+ axiom-types (0.1.1)
28
+ descendants_tracker (~> 0.0.4)
29
+ ice_nine (~> 0.11.0)
30
+ thread_safe (~> 0.3, >= 0.3.1)
31
+ benchmark-ips (2.7.2)
32
+ builder (3.2.3)
33
+ claide (1.0.2)
34
+ claide-plugins (0.9.2)
35
+ cork
36
+ nap
37
+ open4 (~> 1.3)
38
+ coderay (1.1.2)
39
+ coercible (1.0.0)
40
+ descendants_tracker (~> 0.0.1)
41
+ colored (1.2)
42
+ colored2 (3.1.2)
43
+ concurrent-ruby (1.0.5)
44
+ cookiejar (0.3.3)
45
+ cork (0.3.0)
46
+ colored2 (~> 3.1)
47
+ coveralls (0.8.22)
48
+ json (>= 1.8, < 3)
49
+ simplecov (~> 0.16.1)
50
+ term-ansicolor (~> 1.3)
51
+ thor (~> 0.19.4)
52
+ tins (~> 1.6)
53
+ danger (4.0.5)
54
+ claide (~> 1.0)
55
+ claide-plugins (>= 0.9.2)
56
+ colored (~> 1.2)
57
+ cork (~> 0.1)
58
+ faraday (~> 0.9)
59
+ faraday-http-cache (~> 1.0)
60
+ git (~> 1)
61
+ kramdown (~> 1.5)
62
+ octokit (~> 4.2)
63
+ terminal-table (~> 1)
64
+ danger-changelog (0.2.1)
65
+ danger-plugin-api (~> 1.0)
66
+ danger-plugin-api (1.0.0)
67
+ danger (> 2.0)
68
+ danger-toc (0.1.3)
69
+ activesupport
70
+ danger-plugin-api (~> 1.0)
71
+ kramdown
72
+ descendants_tracker (0.0.4)
73
+ thread_safe (~> 0.3, >= 0.3.1)
74
+ diff-lcs (1.3)
75
+ docile (1.3.1)
76
+ equalizer (0.0.11)
77
+ faraday (0.15.3)
78
+ multipart-post (>= 1.2, < 3)
79
+ faraday-http-cache (1.3.1)
80
+ faraday (~> 0.8)
81
+ ffi (1.9.25)
82
+ formatador (0.2.5)
83
+ git (1.5.0)
84
+ grape-entity (0.7.1)
85
+ activesupport (>= 4.0)
86
+ multi_json (>= 1.3.2)
87
+ guard (2.14.2)
88
+ formatador (>= 0.2.4)
89
+ listen (>= 2.7, < 4.0)
90
+ lumberjack (>= 1.0.12, < 2.0)
91
+ nenv (~> 0.1)
92
+ notiffany (~> 0.0)
93
+ pry (>= 0.9.12)
94
+ shellany (~> 0.0)
95
+ thor (>= 0.18.1)
96
+ guard-compat (1.2.1)
97
+ guard-rspec (4.7.3)
98
+ guard (~> 2.1)
99
+ guard-compat (~> 1.1)
100
+ rspec (>= 2.99.0, < 4.0)
101
+ guard-rubocop (1.3.0)
102
+ guard (~> 2.0)
103
+ rubocop (~> 0.20)
104
+ hashie (3.6.0)
105
+ i18n (1.1.1)
106
+ concurrent-ruby (~> 1.0)
107
+ ice_nine (0.11.2)
108
+ json (2.1.0)
109
+ kramdown (1.17.0)
110
+ listen (3.1.5)
111
+ rb-fsevent (~> 0.9, >= 0.9.4)
112
+ rb-inotify (~> 0.9, >= 0.9.7)
113
+ ruby_dep (~> 1.2)
114
+ lumberjack (1.0.13)
115
+ maruku (0.7.3)
116
+ method_source (0.9.0)
117
+ mime-types (3.2.2)
118
+ mime-types-data (~> 3.2015)
119
+ mime-types-data (3.2018.0812)
120
+ minitest (5.11.3)
121
+ multi_json (1.13.1)
122
+ multipart-post (2.0.0)
123
+ mustermann (1.0.3)
124
+ mustermann-grape (1.0.0)
125
+ mustermann (~> 1.0.0)
126
+ nap (1.1.0)
127
+ nenv (0.3.0)
128
+ notiffany (0.1.1)
129
+ nenv (~> 0.1)
130
+ shellany (~> 0.0)
131
+ octokit (4.13.0)
132
+ sawyer (~> 0.8.0, >= 0.5.3)
133
+ open4 (1.3.4)
134
+ parallel (1.12.1)
135
+ parser (2.5.1.2)
136
+ ast (~> 2.4.0)
137
+ powerpack (0.1.2)
138
+ pry (0.11.3)
139
+ coderay (~> 1.1.0)
140
+ method_source (~> 0.9.0)
141
+ public_suffix (3.0.3)
142
+ rack (1.5.2)
143
+ rack-accept (0.4.5)
144
+ rack (>= 0.4)
145
+ rack-jsonp (1.3.1)
146
+ rack
147
+ rack-test (0.6.3)
148
+ rack (>= 1.0)
149
+ rainbow (2.2.2)
150
+ rake
151
+ rake (12.3.1)
152
+ rb-fsevent (0.10.3)
153
+ rb-inotify (0.9.10)
154
+ ffi (>= 0.5.0, < 2)
155
+ rspec (3.8.0)
156
+ rspec-core (~> 3.8.0)
157
+ rspec-expectations (~> 3.8.0)
158
+ rspec-mocks (~> 3.8.0)
159
+ rspec-core (3.8.0)
160
+ rspec-support (~> 3.8.0)
161
+ rspec-expectations (3.8.2)
162
+ diff-lcs (>= 1.2.0, < 2.0)
163
+ rspec-support (~> 3.8.0)
164
+ rspec-mocks (3.8.0)
165
+ diff-lcs (>= 1.2.0, < 2.0)
166
+ rspec-support (~> 3.8.0)
167
+ rspec-support (3.8.0)
168
+ rubocop (0.51.0)
169
+ parallel (~> 1.10)
170
+ parser (>= 2.3.3.1, < 3.0)
171
+ powerpack (~> 0.1)
172
+ rainbow (>= 2.2.2, < 3.0)
173
+ ruby-progressbar (~> 1.7)
174
+ unicode-display_width (~> 1.0, >= 1.0.1)
175
+ ruby-grape-danger (0.1.1)
176
+ danger (~> 4.0.1)
177
+ danger-changelog (~> 0.2.0)
178
+ ruby-progressbar (1.10.0)
179
+ ruby_dep (1.5.0)
180
+ sawyer (0.8.1)
181
+ addressable (>= 2.3.5, < 2.6)
182
+ faraday (~> 0.8, < 1.0)
183
+ shellany (0.0.1)
184
+ simplecov (0.16.1)
185
+ docile (~> 1.1)
186
+ json (>= 1.8, < 3)
187
+ simplecov-html (~> 0.10.0)
188
+ simplecov-html (0.10.2)
189
+ term-ansicolor (1.6.0)
190
+ tins (~> 1.0)
191
+ terminal-table (1.8.0)
192
+ unicode-display_width (~> 1.1, >= 1.1.1)
193
+ thor (0.19.4)
194
+ thread_safe (0.3.6)
195
+ tins (1.17.0)
196
+ tzinfo (1.2.5)
197
+ thread_safe (~> 0.1)
198
+ unicode-display_width (1.4.0)
199
+ virtus (1.0.5)
200
+ axiom-types (~> 0.1)
201
+ coercible (~> 1.0)
202
+ descendants_tracker (~> 0.0, >= 0.0.3)
203
+ equalizer (~> 0.0, >= 0.0.9)
204
+
205
+ PLATFORMS
206
+ ruby
207
+
208
+ DEPENDENCIES
209
+ appraisal
210
+ benchmark-ips
211
+ bundler
212
+ cookiejar
213
+ coveralls (~> 0.8.17)
214
+ danger-toc (~> 0.1.2)
215
+ grape!
216
+ grape-entity (~> 0.6)
217
+ guard
218
+ guard-rspec
219
+ guard-rubocop
220
+ hashie
221
+ maruku
222
+ mime-types
223
+ rack (= 1.5.2)
224
+ rack-jsonp
225
+ rack-test (~> 0.6.3)
226
+ rake
227
+ rspec (~> 3.0)
228
+ rubocop (= 0.51.0)
229
+ ruby-grape-danger (~> 0.1.0)
230
+
231
+ BUNDLED WITH
232
+ 1.16.2
@@ -2,7 +2,7 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- gem 'rails', '3.2.19'
5
+ gem 'rails', '3.2.22.5'
6
6
  gem 'rack-cache', '<= 1.2'
7
7
 
8
8
  group :development, :test do
@@ -0,0 +1,288 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ grape (1.1.1)
5
+ activesupport
6
+ builder
7
+ mustermann-grape (~> 1.0.0)
8
+ rack (>= 1.3.0)
9
+ rack-accept
10
+ virtus (>= 1.0.0)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ actionmailer (3.2.19)
16
+ actionpack (= 3.2.19)
17
+ mail (~> 2.5.4)
18
+ actionpack (3.2.19)
19
+ activemodel (= 3.2.19)
20
+ activesupport (= 3.2.19)
21
+ builder (~> 3.0.0)
22
+ erubis (~> 2.7.0)
23
+ journey (~> 1.0.4)
24
+ rack (~> 1.4.5)
25
+ rack-cache (~> 1.2)
26
+ rack-test (~> 0.6.1)
27
+ sprockets (~> 2.2.1)
28
+ activemodel (3.2.19)
29
+ activesupport (= 3.2.19)
30
+ builder (~> 3.0.0)
31
+ activerecord (3.2.19)
32
+ activemodel (= 3.2.19)
33
+ activesupport (= 3.2.19)
34
+ arel (~> 3.0.2)
35
+ tzinfo (~> 0.3.29)
36
+ activeresource (3.2.19)
37
+ activemodel (= 3.2.19)
38
+ activesupport (= 3.2.19)
39
+ activesupport (3.2.19)
40
+ i18n (~> 0.6, >= 0.6.4)
41
+ multi_json (~> 1.0)
42
+ addressable (2.5.2)
43
+ public_suffix (>= 2.0.2, < 4.0)
44
+ appraisal (2.2.0)
45
+ bundler
46
+ rake
47
+ thor (>= 0.14.0)
48
+ arel (3.0.3)
49
+ ast (2.4.0)
50
+ axiom-types (0.1.1)
51
+ descendants_tracker (~> 0.0.4)
52
+ ice_nine (~> 0.11.0)
53
+ thread_safe (~> 0.3, >= 0.3.1)
54
+ benchmark-ips (2.7.2)
55
+ builder (3.0.4)
56
+ claide (1.0.2)
57
+ claide-plugins (0.9.2)
58
+ cork
59
+ nap
60
+ open4 (~> 1.3)
61
+ coderay (1.1.2)
62
+ coercible (1.0.0)
63
+ descendants_tracker (~> 0.0.1)
64
+ colored (1.2)
65
+ colored2 (3.1.2)
66
+ concurrent-ruby (1.0.5)
67
+ cookiejar (0.3.3)
68
+ cork (0.3.0)
69
+ colored2 (~> 3.1)
70
+ coveralls (0.8.22)
71
+ json (>= 1.8, < 3)
72
+ simplecov (~> 0.16.1)
73
+ term-ansicolor (~> 1.3)
74
+ thor (~> 0.19.4)
75
+ tins (~> 1.6)
76
+ danger (4.0.5)
77
+ claide (~> 1.0)
78
+ claide-plugins (>= 0.9.2)
79
+ colored (~> 1.2)
80
+ cork (~> 0.1)
81
+ faraday (~> 0.9)
82
+ faraday-http-cache (~> 1.0)
83
+ git (~> 1)
84
+ kramdown (~> 1.5)
85
+ octokit (~> 4.2)
86
+ terminal-table (~> 1)
87
+ danger-changelog (0.2.1)
88
+ danger-plugin-api (~> 1.0)
89
+ danger-plugin-api (1.0.0)
90
+ danger (> 2.0)
91
+ danger-toc (0.1.3)
92
+ activesupport
93
+ danger-plugin-api (~> 1.0)
94
+ kramdown
95
+ descendants_tracker (0.0.4)
96
+ thread_safe (~> 0.3, >= 0.3.1)
97
+ diff-lcs (1.3)
98
+ docile (1.3.1)
99
+ equalizer (0.0.11)
100
+ erubis (2.7.0)
101
+ faraday (0.15.3)
102
+ multipart-post (>= 1.2, < 3)
103
+ faraday-http-cache (1.3.1)
104
+ faraday (~> 0.8)
105
+ ffi (1.9.25)
106
+ formatador (0.2.5)
107
+ git (1.5.0)
108
+ grape-entity (0.6.0)
109
+ activesupport
110
+ multi_json (>= 1.3.2)
111
+ guard (2.14.2)
112
+ formatador (>= 0.2.4)
113
+ listen (>= 2.7, < 4.0)
114
+ lumberjack (>= 1.0.12, < 2.0)
115
+ nenv (~> 0.1)
116
+ notiffany (~> 0.0)
117
+ pry (>= 0.9.12)
118
+ shellany (~> 0.0)
119
+ thor (>= 0.18.1)
120
+ guard-compat (1.2.1)
121
+ guard-rspec (4.7.3)
122
+ guard (~> 2.1)
123
+ guard-compat (~> 1.1)
124
+ rspec (>= 2.99.0, < 4.0)
125
+ guard-rubocop (1.3.0)
126
+ guard (~> 2.0)
127
+ rubocop (~> 0.20)
128
+ hashie (3.6.0)
129
+ hike (1.2.3)
130
+ i18n (0.9.5)
131
+ concurrent-ruby (~> 1.0)
132
+ ice_nine (0.11.2)
133
+ journey (1.0.4)
134
+ json (2.1.0)
135
+ kramdown (1.17.0)
136
+ listen (3.1.5)
137
+ rb-fsevent (~> 0.9, >= 0.9.4)
138
+ rb-inotify (~> 0.9, >= 0.9.7)
139
+ ruby_dep (~> 1.2)
140
+ lumberjack (1.0.13)
141
+ mail (2.5.5)
142
+ mime-types (~> 1.16)
143
+ treetop (~> 1.4.8)
144
+ maruku (0.7.3)
145
+ method_source (0.9.0)
146
+ mime-types (1.25.1)
147
+ multi_json (1.13.1)
148
+ multipart-post (2.0.0)
149
+ mustermann (1.0.3)
150
+ mustermann-grape (1.0.0)
151
+ mustermann (~> 1.0.0)
152
+ nap (1.1.0)
153
+ nenv (0.3.0)
154
+ notiffany (0.1.1)
155
+ nenv (~> 0.1)
156
+ shellany (~> 0.0)
157
+ octokit (4.13.0)
158
+ sawyer (~> 0.8.0, >= 0.5.3)
159
+ open4 (1.3.4)
160
+ parallel (1.12.1)
161
+ parser (2.5.1.2)
162
+ ast (~> 2.4.0)
163
+ polyglot (0.3.5)
164
+ powerpack (0.1.2)
165
+ pry (0.11.3)
166
+ coderay (~> 1.1.0)
167
+ method_source (~> 0.9.0)
168
+ public_suffix (3.0.3)
169
+ rack (1.4.7)
170
+ rack-accept (0.4.5)
171
+ rack (>= 0.4)
172
+ rack-cache (1.2)
173
+ rack (>= 0.4)
174
+ rack-jsonp (1.3.1)
175
+ rack
176
+ rack-ssl (1.3.4)
177
+ rack
178
+ rack-test (0.6.3)
179
+ rack (>= 1.0)
180
+ rails (3.2.19)
181
+ actionmailer (= 3.2.19)
182
+ actionpack (= 3.2.19)
183
+ activerecord (= 3.2.19)
184
+ activeresource (= 3.2.19)
185
+ activesupport (= 3.2.19)
186
+ bundler (~> 1.0)
187
+ railties (= 3.2.19)
188
+ railties (3.2.19)
189
+ actionpack (= 3.2.19)
190
+ activesupport (= 3.2.19)
191
+ rack-ssl (~> 1.3.2)
192
+ rake (>= 0.8.7)
193
+ rdoc (~> 3.4)
194
+ thor (>= 0.14.6, < 2.0)
195
+ rainbow (2.2.2)
196
+ rake
197
+ rake (12.3.1)
198
+ rb-fsevent (0.10.3)
199
+ rb-inotify (0.9.10)
200
+ ffi (>= 0.5.0, < 2)
201
+ rdoc (3.9.5)
202
+ rspec (3.8.0)
203
+ rspec-core (~> 3.8.0)
204
+ rspec-expectations (~> 3.8.0)
205
+ rspec-mocks (~> 3.8.0)
206
+ rspec-core (3.8.0)
207
+ rspec-support (~> 3.8.0)
208
+ rspec-expectations (3.8.2)
209
+ diff-lcs (>= 1.2.0, < 2.0)
210
+ rspec-support (~> 3.8.0)
211
+ rspec-mocks (3.8.0)
212
+ diff-lcs (>= 1.2.0, < 2.0)
213
+ rspec-support (~> 3.8.0)
214
+ rspec-support (3.8.0)
215
+ rubocop (0.51.0)
216
+ parallel (~> 1.10)
217
+ parser (>= 2.3.3.1, < 3.0)
218
+ powerpack (~> 0.1)
219
+ rainbow (>= 2.2.2, < 3.0)
220
+ ruby-progressbar (~> 1.7)
221
+ unicode-display_width (~> 1.0, >= 1.0.1)
222
+ ruby-grape-danger (0.1.1)
223
+ danger (~> 4.0.1)
224
+ danger-changelog (~> 0.2.0)
225
+ ruby-progressbar (1.10.0)
226
+ ruby_dep (1.5.0)
227
+ sawyer (0.8.1)
228
+ addressable (>= 2.3.5, < 2.6)
229
+ faraday (~> 0.8, < 1.0)
230
+ shellany (0.0.1)
231
+ simplecov (0.16.1)
232
+ docile (~> 1.1)
233
+ json (>= 1.8, < 3)
234
+ simplecov-html (~> 0.10.0)
235
+ simplecov-html (0.10.2)
236
+ sprockets (2.2.3)
237
+ hike (~> 1.2)
238
+ multi_json (~> 1.0)
239
+ rack (~> 1.0)
240
+ tilt (~> 1.1, != 1.3.0)
241
+ term-ansicolor (1.6.0)
242
+ tins (~> 1.0)
243
+ terminal-table (1.8.0)
244
+ unicode-display_width (~> 1.1, >= 1.1.1)
245
+ thor (0.19.4)
246
+ thread_safe (0.3.6)
247
+ tilt (1.4.1)
248
+ tins (1.17.0)
249
+ treetop (1.4.15)
250
+ polyglot
251
+ polyglot (>= 0.3.1)
252
+ tzinfo (0.3.54)
253
+ unicode-display_width (1.4.0)
254
+ virtus (1.0.5)
255
+ axiom-types (~> 0.1)
256
+ coercible (~> 1.0)
257
+ descendants_tracker (~> 0.0, >= 0.0.3)
258
+ equalizer (~> 0.0, >= 0.0.9)
259
+
260
+ PLATFORMS
261
+ ruby
262
+
263
+ DEPENDENCIES
264
+ appraisal
265
+ benchmark-ips
266
+ bundler
267
+ cookiejar
268
+ coveralls (~> 0.8.17)
269
+ danger-toc (~> 0.1.2)
270
+ grape!
271
+ grape-entity (~> 0.6)
272
+ guard
273
+ guard-rspec
274
+ guard-rubocop
275
+ hashie
276
+ maruku
277
+ mime-types
278
+ rack-cache (<= 1.2)
279
+ rack-jsonp
280
+ rack-test (~> 0.6.3)
281
+ rails (= 3.2.19)
282
+ rake
283
+ rspec (~> 3.0)
284
+ rubocop (= 0.51.0)
285
+ ruby-grape-danger (~> 0.1.0)
286
+
287
+ BUNDLED WITH
288
+ 1.16.2