[DRE-commits] [ruby-grape-entity] 03/04: Create patch to require activesupport hash in lib/grape_entity/options.rb

Lucas Kanashiro kanashiro.duarte at gmail.com
Mon Mar 14 21:53:58 UTC 2016


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository ruby-grape-entity.

commit 8835a95f2367a429137b8e3244409a91f6b9f965
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Mon Mar 14 18:41:32 2016 -0300

    Create patch to require activesupport hash in lib/grape_entity/options.rb
---
 debian/changelog                                     |  1 +
 debian/patches/0002-require_activesupport_hash.patch | 13 +++++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f6ac9b3..ccbba8f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ruby-grape-entity (0.5.0-1) UNRELEASED; urgency=medium
 
   [ Lucas Kanashiro ]
   * Imported Upstream version 0.5.0
+  * Create patch to require activesupport hash in lib/grape_entity/options.rb
 
  -- Cédric Boutillier <boutil at moszumanska.debian.org>  Mon, 14 Mar 2016 18:25:07 -0300
 
diff --git a/debian/patches/0002-require_activesupport_hash.patch b/debian/patches/0002-require_activesupport_hash.patch
new file mode 100644
index 0000000..6810134
--- /dev/null
+++ b/debian/patches/0002-require_activesupport_hash.patch
@@ -0,0 +1,13 @@
+Description: Require needed activesupport hash
+ This require is necessary to use symbolize_keys method
+Author: Lucas Kanashiro <kanashiro.duarte at 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
diff --git a/debian/patches/series b/debian/patches/series
index 6952566..8b9e4a4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0002-require_activesupport_hash.patch
 0001-Cleanup-require-stuff-in-spec_helper.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape-entity.git



More information about the Pkg-ruby-extras-commits mailing list