[DRE-commits] [ruby-js-routes] 03/05: refresh patches

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Mar 13 10:25:34 UTC 2016


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

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

commit f883800da200e10519eff4a83336ea8a1d1703a9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Mar 6 12:25:29 2016 +0530

    refresh patches
---
 debian/changelog                 |  1 +
 debian/patches/engine-root.patch | 14 ++++++++------
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ed6a2c..2c3f7e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 ruby-js-routes (1.2.4-1) unstable; urgency=medium
 
   * New upstream minor release
+  * Refresh patches
 
  -- Pirate Praveen <praveen at debian.org>  Sun, 06 Mar 2016 12:22:55 +0530
 
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
index 8e30325..2774c49 100644
--- a/debian/patches/engine-root.patch
+++ b/debian/patches/engine-root.patch
@@ -3,14 +3,16 @@ Description: Add rails engine root
 Author: Pirate Praveen <praveen at debian.org>
 Last-Updared: 31-12-2014
 
-Index: ruby-js-routes-0.9.9/lib/js_routes/engine.rb
+Index: ruby-js-routes/lib/js_routes/engine.rb
 ===================================================================
---- ruby-js-routes-0.9.9.orig/lib/js_routes/engine.rb
-+++ ruby-js-routes-0.9.9/lib/js_routes/engine.rb
-@@ -1,5 +1,6 @@
+--- ruby-js-routes.orig/lib/js_routes/engine.rb
++++ ruby-js-routes/lib/js_routes/engine.rb
+@@ -3,7 +3,7 @@ require 'sprockets/version'
  class JsRoutes
+   SPROCKETS3 = Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('3.0.0')
    class Engine < ::Rails::Engine
+-
 +    config.root = '/usr/share/ruby-js-routes'
-     JS_ROUTES_ASSET = 'js-routes'
- 
      initializer 'js-routes.dependent_on_routes', after: "sprockets.environment" do
+ 
+       if Rails.application.assets.respond_to?(:register_preprocessor)

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



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