[DRE-commits] [ruby-nested-form] 01/02: install assets
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Nov 3 15:54:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-nested-form.
commit 082eb1baa938b234a3460fb59a75c0a15caecd65
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Nov 3 21:19:19 2015 +0530
install assets
---
debian/changelog | 6 ++++++
debian/install | 1 +
debian/patches/engine-root.patch | 12 ++++++++++++
debian/patches/series | 1 +
4 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 8aeb813..aeea45b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ruby-nested-form (0.3.2-2) unstable; urgency=medium
+
+ * Install assets in /usr/share and set engine root
+
+ -- Pirate Praveen <praveen at debian.org> Tue, 03 Nov 2015 21:18:03 +0530
+
ruby-nested-form (0.3.2-1) unstable; urgency=low
* Initial release (Closes: #748735)
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..ae11bb2
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+vendor usr/share/ruby-nested-form
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..ce9533f
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-nested-form/lib/nested_form/engine.rb
+===================================================================
+--- ruby-nested-form.orig/lib/nested_form/engine.rb
++++ ruby-nested-form/lib/nested_form/engine.rb
+@@ -2,6 +2,7 @@ require 'rails'
+
+ module NestedForm
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-nested-form'
+ initializer 'nested_form' do |app|
+ ActiveSupport.on_load(:action_view) do
+ require "nested_form/view_helper"
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-nested-form.git
More information about the Pkg-ruby-extras-commits
mailing list