[DRE-commits] [ruby-rails-assets-jquery.slimscroll] 11/12: remove google-analytics

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Sep 16 17:30:06 UTC 2015


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

praveen pushed a commit to annotated tag debian/1.3.6+dfsg-1
in repository ruby-rails-assets-jquery.slimscroll.

commit cf59d3a97d04fa9cb8b045689c57631b494b1383
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Sep 16 22:55:26 2015 +0530

    remove google-analytics
---
 debian/patches/remove-google-analytics.patch | 169 +++++++++++++++++++++++++++
 debian/patches/series                        |   1 +
 2 files changed, 170 insertions(+)

diff --git a/debian/patches/remove-google-analytics.patch b/debian/patches/remove-google-analytics.patch
new file mode 100644
index 0000000..4f5c7af
--- /dev/null
+++ b/debian/patches/remove-google-analytics.patch
@@ -0,0 +1,169 @@
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/allow-page-scroll.html
+@@ -86,7 +86,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/chaining.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/chaining.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/chaining.html
+@@ -72,7 +72,7 @@ $('#testDiv').slimscroll({
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/disable-fade-out.html
+@@ -86,7 +86,7 @@ $('#testDiv2').slimscroll({
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/dynamic-content.html
+@@ -73,7 +73,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/height-width.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/height-width.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/height-width.html
+@@ -117,7 +117,7 @@ $('#testDiv3').slimscroll();
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/mouse-wheel.html
+@@ -91,7 +91,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/multiple-elements.html
+@@ -112,7 +112,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/nested.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/nested.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/nested.html
+@@ -74,7 +74,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/programmatic-scrolling.html
+@@ -130,7 +130,7 @@ $('#scrollUpTo').click(function(){
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/rail.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/rail.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/rail.html
+@@ -182,7 +182,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scroll-events.html
+@@ -80,7 +80,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/scrollbar.html
+@@ -181,7 +181,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
+Index: ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/start-position.html
+===================================================================
+--- ruby-rails-assets-jquery.slimscroll.orig/app/assets/templates/jquery.slimscroll/examples/start-position.html
++++ ruby-rails-assets-jquery.slimscroll/app/assets/templates/jquery.slimscroll/examples/start-position.html
+@@ -92,7 +92,7 @@
+ 
+   (function() {
+     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
++    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + './ga.js';
+     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+   })();
+ </script>
diff --git a/debian/patches/series b/debian/patches/series
index 3d8bf7b..b84ce36 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+remove-google-analytics.patch
 use-system-jquery.patch
 engine-root.patch

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



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