[DRE-commits] [ruby-raphael-rails] 03/09: install app in usr share

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Jul 3 18:47:07 UTC 2015


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

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

commit 8527c9e20c7877a400c91532479dccc18e8bdd45
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Jul 3 23:49:46 2015 +0530

    install app in usr share
    
    - use min.js from libjs-rapahel patches
    - set rails engine root
---
 debian/install                         |  1 +
 debian/patches/rails-engine-root.patch | 12 ++++++++++++
 debian/patches/series                  |  1 +
 debian/ruby-raphael-rails.links        |  1 +
 4 files changed, 15 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..15d9084
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+vendor usr/share/ruby-raphael-rails
diff --git a/debian/patches/rails-engine-root.patch b/debian/patches/rails-engine-root.patch
new file mode 100644
index 0000000..f77b1f1
--- /dev/null
+++ b/debian/patches/rails-engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-raphael-rails-2.1.2/lib/raphael-rails.rb
+===================================================================
+--- ruby-raphael-rails-2.1.2.orig/lib/raphael-rails.rb
++++ ruby-raphael-rails-2.1.2/lib/raphael-rails.rb
+@@ -1,6 +1,7 @@
+ module Raphael
+   module Rails
+     class Engine < ::Rails::Engine
++        config.root='/usr/share/ruby-raphael-rails'
+     end
+   end
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ff88de6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+rails-engine-root.patch
diff --git a/debian/ruby-raphael-rails.links b/debian/ruby-raphael-rails.links
new file mode 100644
index 0000000..8913ae2
--- /dev/null
+++ b/debian/ruby-raphael-rails.links
@@ -0,0 +1 @@
+usr/share/javascript/raphael/raphael.min.js usr/share/ruby-raphael-rails/vendor/assets/javascripts/raphael-min.js

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



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