[DRE-commits] [ruby-rotp] 04/04: Remove privacy breach items

Balasankar C balasankarc-guest at moszumanska.debian.org
Fri Jun 19 15:24:25 UTC 2015


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

balasankarc-guest pushed a commit to branch master
in repository ruby-rotp.

commit 9fe9df550295b6d9e6c3dac8e5b5d013a3973a06
Author: Balasankar C <balasankarc at autistici.org>
Date:   Fri Jun 19 20:54:25 2015 +0530

    Remove privacy breach items
---
 debian/ruby-rotp.docs | 1 -
 debian/rules          | 6 ++++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/ruby-rotp.docs b/debian/ruby-rotp.docs
index 968f11e..b43bf86 100644
--- a/debian/ruby-rotp.docs
+++ b/debian/ruby-rotp.docs
@@ -1,2 +1 @@
 README.md
-doc/*
diff --git a/debian/rules b/debian/rules
index 6c4519a..ff2919f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,13 @@ override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG.md
 override_dh_installdocs:
 	yardoc -o debian/yardocs
+	sed -i 's/<p><a href="https:\/\/travis-ci.org\/mdp\/rotp"><img src="https:\/\/secure.travis-ci.org\/mdp\/rotp.png" alt="Build Status"><\/a>//g' debian/yardocs/index.html
+	sed -i 's/<a href="https:\/\/rubygems.org\/gems\/rotp"><img src="https:\/\/badge.fury.io\/rb\/rotp.svg" alt="Gem Version"><\/a>//g' debian/yardocs/index.html
+	sed -i 's/<a href="https:\/\/github.com\/mdp\/rotp\/blob\/master\/LICENSE"><img src="https:\/\/img.shields.io\/badge\/license-MIT-blue.svg?style=flat" alt="License"><\/a><\/p>//g' debian/yardocs/index.html
+	sed -i 's/<p><img src="http.*chart.*"><\/p>/<a href="https:\/\/camo.githubusercontent.com\/316209bea84250675edbaaedf4674aa94579a539\/687474703a2f2f63686172742e617069732e676f6f676c652e636f6d2f63686172743f6368743d7172266368733d323530783235302663686c3d6f747061757468253341253246253246746f7470253246616c696365253430676f6f676c652e636f6d2533467365637265742533444a425357593344504548504b33505850">Here<\/a>/g' debian/yardocs/index.html
 	cp -r debian/yardocs/* debian/ruby-rotp/usr/share/doc/ruby-rotp
+	rm debian/ruby-rotp/usr/share/doc/ruby-rotp/file.README.html
+	dh_installdocs
 override_dh_clean:
 	if [ -e debian/yardocs ]; then \
 		rm -rf debian/yardocs; \

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



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