[DRE-commits] [ruby-cocoon] 05/05: Added engine-root.patch and installs app files.

Andrew Lee ajqlee at moszumanska.debian.org
Mon Aug 31 08:26:39 UTC 2015


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

ajqlee pushed a commit to branch master
in repository ruby-cocoon.

commit 3162808f8cb175a484cab8562fc4541feb674512
Author: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
Date:   Mon Aug 31 16:26:01 2015 +0800

    Added engine-root.patch and installs app files.
---
 debian/ruby-cocoon.install |  1 +
 patches/engine-root.patch  | 42 ++++++++++++++++++++++++++++++++++++++++++
 patches/series             |  1 +
 3 files changed, 44 insertions(+)

diff --git a/debian/ruby-cocoon.install b/debian/ruby-cocoon.install
new file mode 100644
index 0000000..49fc76e
--- /dev/null
+++ b/debian/ruby-cocoon.install
@@ -0,0 +1 @@
+app usr/share/ruby-cocoon
diff --git a/patches/engine-root.patch b/patches/engine-root.patch
new file mode 100644
index 0000000..6910bf7
--- /dev/null
+++ b/patches/engine-root.patch
@@ -0,0 +1,42 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ ruby-cocoon (1.2.6-0co1) unstable; urgency=low
+ .
+   * Initial release
+Author: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- ruby-cocoon-1.2.6.orig/lib/cocoon.rb
++++ ruby-cocoon-1.2.6/lib/cocoon.rb
+@@ -2,6 +2,7 @@ require 'cocoon/view_helpers'
+ 
+ module Cocoon
+   class Engine < ::Rails::Engine
++    config.root = '/usr/share/ruby-cocoon'
+ 
+     config.before_initialize do
+       if config.action_view.javascript_expansions
+@@ -15,4 +16,4 @@ module Cocoon
+     end
+ 
+   end
+-end
+\ No newline at end of file
++end
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/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-cocoon.git



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