[DRE-commits] [nanoc] 06/07: [patch] no privacy breach

Cédric Boutillier boutil at moszumanska.debian.org
Fri Feb 14 11:17:52 UTC 2014


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

boutil pushed a commit to branch master
in repository nanoc.

commit 4e068ea48398e19ade1239ad3197998698a19679
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Feb 14 11:36:40 2014 +0100

    [patch] no privacy breach
---
 debian/patches/no_privacy_breach.patch | 39 ++++++++++++++++++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 40 insertions(+)

diff --git a/debian/patches/no_privacy_breach.patch b/debian/patches/no_privacy_breach.patch
new file mode 100644
index 0000000..bdda13b
--- /dev/null
+++ b/debian/patches/no_privacy_breach.patch
@@ -0,0 +1,39 @@
+Description: remove privacy breaches from the documentation
+ - Google AdSense footers
+ - links to Travis and Code Climate services
+Origin: vendor
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2014-02-14
+
+--- a/doc/yardoc_templates/default/layout/html/footer.erb
++++ b/doc/yardoc_templates/default/layout/html/footer.erb
+@@ -1,19 +1 @@
+ <%= superb %>
+-<script type="text/javascript">
+-    var _gaq = _gaq || [];
+-    var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
+-    _gaq.push(['_require', 'inpage_linkid', pluginUrl]);
+-    _gaq.push(['_setAccount', 'UA-15639968-1']);
+-    _gaq.push(['_setDomainName', 'nanoc.ws']);
+-    _gaq.push(['_setAllowLinker', true]);
+-    _gaq.push(['_trackPageview']);
+-
+-    (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';
+-        var s = document.getElementsByTagName('script')[0];
+-        s.parentNode.insertBefore(ga, s);
+-     })();
+-</script>
+--- a/README.md
++++ b/README.md
+@@ -1,6 +1,3 @@
+-[![Build Status](https://travis-ci.org/nanoc/nanoc.png)](https://travis-ci.org/nanoc/nanoc)
+-[![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/nanoc/nanoc)
+-
+ **Please take a moment and [donate](http://pledgie.com/campaigns/9282) to nanoc. A lot of time has gone into developing nanoc, and I would like to keep the current pace. Your support will ensure that nanoc will continue to improve.**
+ 
+ # nanoc 3
diff --git a/debian/patches/series b/debian/patches/series
index 3a2e326..5c94310 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ deactivate_test_huge_site.patch
 no_rdoc4.patch
 deactivate_uglify_test.patch
 no_bundler_no_loadpath_modif.patch
+no_privacy_breach.patch

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



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