[DRE-commits] [ruby-rails-assets-punycode] 04/04: Adding patch to Set up rails root

Rejah Rehim rejah-guest at moszumanska.debian.org
Fri Jan 9 09:09:18 UTC 2015


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

rejah-guest pushed a commit to branch master
in repository ruby-rails-assets-punycode.

commit 07957c24812ea58c8224cf25d58f7f9ac2c8fdc8
Author: Rejah Rehim <rejah at digitalbrandgroup.com>
Date:   Fri Jan 9 14:36:40 2015 +0530

    Adding patch to Set up rails root
---
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 16 ++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6092d70
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-punycode
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..5b3d295
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,16 @@
+Description: Setting up rails root
+ Debian specific
+Author: Rejah Rehim <rejah.rehim at gmail.com>
+Last-Update: 2015-01-03
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/lib/rails-assets-punycode.rb
++++ b/lib/rails-assets-punycode.rb
+@@ -25,6 +25,7 @@
+ 
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
++      config.root = '/usr/share/ruby-rails-assets-punycode'
+       # Rails -> use app/assets directory.
+     end
+   end
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-rails-assets-punycode.git



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