File: 0002-require_activesupport_hash.patch

package info (click to toggle)
ruby-grape-entity 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 408 kB
  • ctags: 335
  • sloc: ruby: 2,826; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Require needed activesupport hash
 This require is necessary to use symbolize_keys method
Author: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Last-Updated: 2016-03-14

--- a/lib/grape_entity/options.rb
+++ b/lib/grape_entity/options.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/hash'
+
 module Grape
   class Entity
     class Options