From 8b75299bcb909472cc68d18976d86a989db2aa7b Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Tue, 24 Jan 2017 20:38:06 +0100 Subject: Fix Grape definition --- Gemfile | 2 ++ Gemfile.lock | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/Gemfile b/Gemfile index b623a375a84..e2b81d60d85 100644 --- a/Gemfile +++ b/Gemfile @@ -80,6 +80,8 @@ gem 'grape', '~> 1.0' gem 'grape-entity', '~> 0.6.0' gem 'grape-swagger' gem 'grape-swagger-rails' +gem 'grape-swagger-entity' +gem 'grape-swagger-representable' gem 'rack-cors', '~> 0.4.0', require: 'rack/cors' # Disable strong_params so that Mash does not respond to :permitted? diff --git a/Gemfile.lock b/Gemfile.lock index 1f6ac69e53c..4d4aae63734 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -362,8 +362,14 @@ GEM rake grape-swagger (0.27.3) grape (>= 0.16.2) + grape-swagger-entity (0.2.3) + grape-entity (>= 0.5.0) + grape-swagger (>= 0.20.4) grape-swagger-rails (0.3.0) railties (>= 3.2.12) + grape-swagger-representable (0.1.5) + grape-swagger (>= 0.20.4) + representable grape_logging (1.7.0) grape grpc (1.4.5) @@ -1060,7 +1066,9 @@ DEPENDENCIES grape-entity (~> 0.6.0) grape-route-helpers (~> 2.1.0) grape-swagger + grape-swagger-entity grape-swagger-rails + grape-swagger-representable grape_logging (~> 1.7) haml_lint (~> 0.26.0) hamlit (~> 2.6.1) -- cgit v1.2.1