[DRE-commits] [ruby-rails-assets-jakobmattsson-jquery-elastic] 03/08: move assets to /usr/share

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jul 14 15:38:32 UTC 2015


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

praveen pushed a commit to branch master
in repository ruby-rails-assets-jakobmattsson-jquery-elastic.

commit 95e7f925e170293d37f14b36f2555f670c89cdbd
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jul 14 20:57:03 2015 +0530

    move assets to /usr/share
---
 debian/install                   |  1 +
 debian/links                     |  1 +
 debian/patches/engine-root.patch | 12 ++++++++++++
 debian/patches/series            |  1 +
 4 files changed, 15 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..79892f4
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-jakobmattsson-jquery-elastic
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..157bfea
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.min.js usr/share/ruby-rails-assets-jakobmattsson-jquery-elastic/app/assets/javascripts/jakobmattsson-jquery-elastic/dependencies/jquery.js
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..9a72afa
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-jakobmattsson--jquery-elastic-1.6.11/lib/rails-assets-jakobmattsson--jquery-elastic.rb
+===================================================================
+--- ruby-rails-assets-jakobmattsson--jquery-elastic-1.6.11.orig/lib/rails-assets-jakobmattsson--jquery-elastic.rb
++++ ruby-rails-assets-jakobmattsson--jquery-elastic-1.6.11/lib/rails-assets-jakobmattsson--jquery-elastic.rb
+@@ -27,6 +27,7 @@ module RailsAssetsJakobmattssonJqueryEla
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
+       # Rails -> use app/assets directory.
++      config.root='/usr/share/ruby-rails-assets-jakobmattsson-jquery-elastic'
+     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-jakobmattsson-jquery-elastic.git



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