[DRE-commits] [ruby-gon] 02/07: Refresh 'change_watch_js_location' patch

David Suárez deiv-guest at moszumanska.debian.org
Sat Oct 11 23:25:53 UTC 2014


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

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

commit 8b888598239d995b8ecc3a427c8301b991b25eef
Author: David Suárez <david.sephirot at gmail.com>
Date:   Sat Oct 11 23:43:11 2014 +0200

    Refresh 'change_watch_js_location' patch
---
 debian/patches/change_watch_js_location.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/change_watch_js_location.patch b/debian/patches/change_watch_js_location.patch
index c8f99cb..8af71af 100644
--- a/debian/patches/change_watch_js_location.patch
+++ b/debian/patches/change_watch_js_location.patch
@@ -7,7 +7,7 @@ Last-Update: 2013-06-01
 
 --- a/lib/gon/watch.rb
 +++ b/lib/gon/watch.rb
-@@ -2,7 +2,7 @@
+@@ -2,7 +2,7 @@ class Gon
    class Watch < Gon
      class << self
  
@@ -15,4 +15,4 @@ Last-Update: 2013-06-01
 +      JS_FUNCTION = File.read(File.expand_path('../../../../../share/javascript/ruby-gon/watch.js', __FILE__))
  
        def render
-         JS_FUNCTION + "window.gon.watchedVariables=#{all_variables.to_json};"
+         JS_FUNCTION + "window.gon.watchedVariables=#{Gon::JsonDumper.dump all_variables};"

-- 
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