[DRE-commits] [ruby-json-schema] 04/06: Remove unnecessary patch

Sruthi Chandran srud-guest at moszumanska.debian.org
Wed Jul 26 18:13:56 UTC 2017


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

srud-guest pushed a commit to branch master
in repository ruby-json-schema.

commit 0813cb01c018eb68c3c768989d99cf14845860cd
Author: Sruthi Chandran <srud at disroot.org>
Date:   Wed Jul 26 23:27:33 2017 +0530

    Remove unnecessary patch
---
 debian/patches/move-resource-draft.patch | 22 ----------------------
 debian/patches/series                    |  1 -
 2 files changed, 23 deletions(-)

diff --git a/debian/patches/move-resource-draft.patch b/debian/patches/move-resource-draft.patch
deleted file mode 100644
index 3206821..0000000
--- a/debian/patches/move-resource-draft.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Description: move resources/ in /usr/share/ruby-json-schema
-Author: Cédric Boutillier <boutil at debian.org>
-Forwarded: no
-Last-Update: 2016-06-07
-
---- a/lib/json-schema/schema/validator.rb
-+++ b/lib/json-schema/schema/validator.rb
-@@ -28,7 +28,13 @@
-       end
- 
-       def metaschema
--        resources = File.expand_path('../../../../resources', __FILE__)
-+        if File.exists?(File.expand_path('../../../../resources', __FILE__))
-+            resources = File.expand_path('../../../../resources', __FILE__)
-+        elsif File.exists?('/usr/share/ruby-json-schema/resources')
-+            resources = 'usr/share/ruby-json-schema/resources'
-+        else
-+            resources = File.expand_path('../../../../../../share/ruby-json-schema/resources', __FILE__)
-+        end
-         File.join(resources, @metaschema_name)
-       end
-     end
diff --git a/debian/patches/series b/debian/patches/series
index 8e3f419..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-move-resource-draft.patch

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



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