Commit a91a6491bf3e74791ecf8dd1111d54435b8578cb

Authored by Dmitriy Zaporozhets
1 parent 7c60713e

Use new grape-entity gem with fixed nested entities

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 2 changed files with 12 additions and 5 deletions   Show diff stats
Gemfile
... ... @@ -48,7 +48,8 @@ gem &quot;gitlab-linguist&quot;, &quot;~&gt; 3.0.0&quot;, require: &quot;linguist&quot;
48 48  
49 49 # API
50 50 gem "grape", "~> 0.6.1"
51   -gem "grape-entity", "~> 0.3.0"
  51 +# Replace with rubygems when nesteted entities get released
  52 +gem "grape-entity", "~> 0.4.1", ref: 'd904381c951e86250c3f44213b349a3dd8e83fb1', git: 'https://github.com/intridea/grape-entity.git'
52 53 gem 'rack-cors', require: 'rack/cors'
53 54  
54 55 # Email validation
... ...
Gemfile.lock
... ... @@ -5,6 +5,15 @@ GIT
5 5 specs:
6 6 github-markup (0.7.6)
7 7  
  8 +GIT
  9 + remote: https://github.com/intridea/grape-entity.git
  10 + revision: d904381c951e86250c3f44213b349a3dd8e83fb1
  11 + ref: d904381c951e86250c3f44213b349a3dd8e83fb1
  12 + specs:
  13 + grape-entity (0.4.1)
  14 + activesupport
  15 + multi_json (>= 1.3.2)
  16 +
8 17 GEM
9 18 remote: https://rubygems.org/
10 19 specs:
... ... @@ -206,9 +215,6 @@ GEM
206 215 rack-accept
207 216 rack-mount
208 217 virtus (>= 1.0.0)
209   - grape-entity (0.3.0)
210   - activesupport
211   - multi_json (>= 1.3.2)
212 218 growl (1.0.3)
213 219 guard (2.2.4)
214 220 formatador (>= 0.2.4)
... ... @@ -596,7 +602,7 @@ DEPENDENCIES
596 602 gitlab_omniauth-ldap (= 1.0.4)
597 603 gon (~> 5.0.0)
598 604 grape (~> 0.6.1)
599   - grape-entity (~> 0.3.0)
  605 + grape-entity (~> 0.4.1)!
600 606 growl
601 607 guard-rspec
602 608 guard-spinach
... ...