[DRE-commits] [ruby-rails-assets-jquery-fullscreen] 09/10: set rails engine root, use system jquery
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Dec 30 07:13:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository ruby-rails-assets-jquery-fullscreen.
commit e442b53d3b7eb02493c27375bab4a2a16b479a61
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Dec 30 12:30:29 2014 +0530
set rails engine root, use system jquery
---
debian/patches/engine-root.patch | 17 +++++++++++++++++
debian/patches/series | 2 ++
debian/patches/use-system-jquery.patch | 31 +++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+)
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..e8b140e
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,17 @@
+Description: set rails engine root
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Last-Updated: 30-12-2014
+
+Index: ruby-rails-assets-jquery-fullscreen-1.1.4/lib/rails-assets-jquery-fullscreen.rb
+===================================================================
+--- ruby-rails-assets-jquery-fullscreen-1.1.4.orig/lib/rails-assets-jquery-fullscreen.rb
++++ ruby-rails-assets-jquery-fullscreen-1.1.4/lib/rails-assets-jquery-fullscreen.rb
+@@ -25,6 +25,7 @@ module RailsAssetsJqueryFullscreen
+
+ if defined?(Rails)
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-rails-assets-jquery-fullscreen'
+ # Rails -> use app/assets directory.
+ end
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3d8bf7b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+use-system-jquery.patch
+engine-root.patch
diff --git a/debian/patches/use-system-jquery.patch b/debian/patches/use-system-jquery.patch
new file mode 100644
index 0000000..b4c99ed
--- /dev/null
+++ b/debian/patches/use-system-jquery.patch
@@ -0,0 +1,31 @@
+Description: use system jquery
+ Debian specific
+Author: Pirate Praveen <praveen at debian.org>
+Laste-Updated: 30-12-2014
+
+Index: ruby-rails-assets-jquery-fullscreen-1.1.4/app/assets/templates/jquery-fullscreen/demo/iframe.html
+===================================================================
+--- ruby-rails-assets-jquery-fullscreen-1.1.4.orig/app/assets/templates/jquery-fullscreen/demo/iframe.html
++++ ruby-rails-assets-jquery-fullscreen-1.1.4/app/assets/templates/jquery-fullscreen/demo/iframe.html
+@@ -3,7 +3,7 @@
+ <head>
+ <meta charset="UTF-8" />
+ <title>Test iframe</title>
+- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
++ <script type="text/javascript" src="file///usr/share/javascript/jquery/jquery.min.js"></script>
+ <script type="text/javascript" src="../jquery.fullscreen-min.js"></script>
+ </head>
+ <body style="background:white">
+Index: ruby-rails-assets-jquery-fullscreen-1.1.4/app/assets/templates/jquery-fullscreen/demo/index.html
+===================================================================
+--- ruby-rails-assets-jquery-fullscreen-1.1.4.orig/app/assets/templates/jquery-fullscreen/demo/index.html
++++ ruby-rails-assets-jquery-fullscreen-1.1.4/app/assets/templates/jquery-fullscreen/demo/index.html
+@@ -3,7 +3,7 @@
+ <head>
+ <meta charset="UTF-8" />
+ <title>jQuery Fullscreen Plugin demo</title>
+- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
++ <script type="text/javascript" src="file:///usr/share/javascript/jquery/jquery.min.js"></script>
+ <script type="text/javascript" src="../jquery.fullscreen-min.js"></script>
+ <script type="text/javascript">
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-jquery-fullscreen.git
More information about the Pkg-ruby-extras-commits
mailing list