[DRE-commits] [ruby-gon] 05/10: remove fix_tests_with_rabl_rails.patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Nov 18 20:07:32 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-gon.

commit 717b5fe0b2aa124dfe91b07dc6134a7be0fa1bc5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Nov 19 01:09:48 2014 +0530

    remove fix_tests_with_rabl_rails.patch
---
 debian/patches/fix_tests_with_rabl_rails.patch | 43 --------------------------
 debian/patches/series                          |  1 -
 2 files changed, 44 deletions(-)

diff --git a/debian/patches/fix_tests_with_rabl_rails.patch b/debian/patches/fix_tests_with_rabl_rails.patch
deleted file mode 100644
index 8d4b5c6..0000000
--- a/debian/patches/fix_tests_with_rabl_rails.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 117c78bb3f2b78989e14187fccd8843b6e98f4fd Mon Sep 17 00:00:00 2001
-Author: Alexey Gaziev <alex.gaziev at gmail.com>
-Origin: commit:https://github.com/gazay/gon/commit/117c78bb3f2b78989e14187fccd8843b6e98f4fd.patch
-Bug-Debian: https://bugs.debian.org/768693
-Reviewed-by: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2014-11-15
-Description: Fix specs for ruby-rabl-rails version 0.4
- 
---- a/spec/gon/rabl_with_rabl_rails_spec.rb
-+++ b/spec/gon/rabl_with_rabl_rails_spec.rb
-@@ -4,6 +4,7 @@
- 
-   before(:all) do
-     ensure_rabl_rails_is_loaded
-+    RablRails.configuration.cache_templates = false
-   end
- 
-   describe '.rabl with rabl-rails gem' do
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -31,14 +31,17 @@
- def ensure_rabl_rails_is_loaded
-   Object.send(:remove_const, :Rabl) if defined? Rabl
-   unless defined? RablRails
--    load 'rabl-rails/template.rb'
--    load 'rabl-rails/condition.rb'
-+    load 'rabl-rails/renderer.rb'
-+    load 'rabl-rails/helpers.rb'
-+    load 'rabl-rails/configuration.rb'
-+    load 'rabl-rails/nodes/node.rb'
-+    load 'rabl-rails/nodes/attribute.rb'
-     load 'rabl-rails/compiler.rb'
--    load 'rabl-rails/renderers/base.rb'
-+    load 'rabl-rails/renderers/hash.rb'
-     load 'rabl-rails/renderers/json.rb'
--    load 'rabl-rails/renderer.rb'
--    load 'rabl-rails/library.rb'
-     load 'rabl-rails.rb'
-+    load 'rabl-rails/template.rb'
-+    load 'rabl-rails/library.rb'
-   end
- end
- 
diff --git a/debian/patches/series b/debian/patches/series
index ce4bd95..596c8d6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 change_watch_js_location.patch
 fix-json-scaping-on-tests-strings
-fix_tests_with_rabl_rails.patch

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



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