[DRE-commits] [ruby-select2-rails] 01/04: set rails engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Nov 1 22:04:15 UTC 2015


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

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

commit b28163d97423bcb82d62b942673b97ef63bb86e1
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Nov 2 03:19:28 2015 +0530

    set rails engine root
---
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 12 ++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6d65346
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+vendor usr/share/ruby-select2-rails
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..d99ea4e
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-select2-rails/lib/select2-rails/engine.rb
+===================================================================
+--- ruby-select2-rails.orig/lib/select2-rails/engine.rb
++++ ruby-select2-rails/lib/select2-rails/engine.rb
+@@ -1,6 +1,7 @@
+ module Select2
+   module Rails
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-select2-rails'
+       initializer :images do |app|
+         app.config.assets.precompile +=
+           %w(select2.png select2-spinner.gif select2x2.png)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+engine-root.patch

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



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