[DRE-commits] [ruby-bootstrap-sass] 05/07: debian/patches/engine-root.patch: refresh

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Mar 26 15:02:45 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-bootstrap-sass.

commit 3c81dc6161b4b3fbce8f9b8c11d706fc38776e6b
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Mar 26 11:57:20 2015 -0300

    debian/patches/engine-root.patch: refresh
---
 debian/changelog                 |  1 +
 debian/patches/engine-root.patch | 17 ++++++-----------
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9beac5f..359f4c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ ruby-bootstrap-sass (3.3.4.1-1) UNRELEASED; urgency=low
   [ Antonio Terceiro ]
   * New upstream release (closes: #758181)
   * Skip running tests for now due to missing dependencies
+  * debian/patches/engine-root.patch: refresh
 
  -- Pirate Praveen <praveen at debian.org>  Fri, 02 May 2014 21:48:19 +0530
 
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
index c16a5ad..429f5e8 100644
--- a/debian/patches/engine-root.patch
+++ b/debian/patches/engine-root.patch
@@ -1,15 +1,10 @@
-Index: ruby-bootstrap-sass/lib/bootstrap-sass/engine.rb
-===================================================================
---- ruby-bootstrap-sass.orig/lib/bootstrap-sass/engine.rb
-+++ ruby-bootstrap-sass/lib/bootstrap-sass/engine.rb
-@@ -1,7 +1,8 @@
+--- a/lib/bootstrap-sass/engine.rb
++++ b/lib/bootstrap-sass/engine.rb
+@@ -1,6 +1,7 @@
  module Bootstrap
    module Rails
      class Engine < ::Rails::Engine
 +      config.root = '/usr/share/ruby-bootstrap-sass'
-       # Rails, will you please look in our vendor? kthx
-     end
-   end
--end
-\ No newline at end of file
-+end
+       initializer 'bootstrap-sass.assets.precompile' do |app|
+         %w(stylesheets javascripts fonts images).each do |sub|
+           app.config.assets.paths << root.join('assets', sub).to_s

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



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