File: use-unshift-in-gemspec.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 (14 lines) | stat: -rw-r--r-- 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: use unshift instead of push in gemspec's load path
Author: Praveen Arimbrathodiyil <praveen@debian.org>
Last-Updated: 2016-11-29

Index: ruby-grape-entity/grape-entity.gemspec
===================================================================
--- ruby-grape-entity.orig/grape-entity.gemspec
+++ ruby-grape-entity/grape-entity.gemspec
@@ -1,4 +1,4 @@
-$LOAD_PATH.push File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
 require 'grape_entity/version'
 
 Gem::Specification.new do |s|