File: 0002-require-activerecord.patch

package info (click to toggle)
ruby-grape-entity 0.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 452 kB
  • sloc: ruby: 3,328; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Forwarded: https://github.com/ruby-grape/grape-entity/pull/361

--- a/lib/grape_entity/exposure/base.rb
+++ b/lib/grape_entity/exposure/base.rb
@@ -1,5 +1,8 @@
 # frozen_string_literal: true
 
+require 'active_support'
+require 'active_support/core_ext'
+
 module Grape
   class Entity
     module Exposure