[DRE-commits] [ruby-rails-html-sanitizer] 02/06: Fix d/c* files

Balasankar C balasankarc-guest at moszumanska.debian.org
Tue Jul 7 17:10:00 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-rails-html-sanitizer.

commit b3b3da1fce0d24a99ce84ddbf528c794662f121a
Author: Balasankar C <balasankarc at autistici.org>
Date:   Tue Jul 7 22:25:19 2015 +0530

    Fix d/c* files
---
 debian/changelog |  6 ++++--
 debian/control   | 16 +++++++++++-----
 debian/copyright | 45 +++++++++++++++++++++------------------------
 3 files changed, 36 insertions(+), 31 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7fdf486..60b0d6d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
-ruby-rails-html-sanitizer (1.0.2-1) UNRELEASED; urgency=medium
+ruby-rails-html-sanitizer (1.0.2-1) unstable; urgency=medium
 
   * Initial release (Closes: #784326)
+  * Disabled a test as it required gems which have Rails > 4.2.0 in its
+    dependency chain
 
- -- Balasankar C <balasankarc at autistici.org>  Tue, 07 Jul 2015 22:23:53 +0530
+ -- Balasankar C <balasankarc at autistici.org>  Tue, 05 May 2015 13:07:22 +0530
diff --git a/debian/control b/debian/control
index 621d4d0..a0dce99 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,12 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Balasankar C <balasankarc at autistici.org>
 Build-Depends: debhelper (>= 7.0.50~),
                gem2deb,
-               ruby-loofah (>= 2.0)
+               ruby-loofah,
+               ruby-minitest,
+               ruby-rails
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-rails-html-sanitizer.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rails-html-sanitizer.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-rails-html-sanitizer.git;a=summary
 Homepage: https://github.com/rafaelfranca/rails-html-sanitizer
 Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
@@ -17,8 +19,12 @@ Package: ruby-rails-html-sanitizer
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-loofah (>= 2.0),
+         ruby-loofah,
+         ruby-rails,
          ${misc:Depends},
          ${shlibs:Depends}
-Description: This gem is responsible to sanitize HTML fragments in Rails applications.
- HTML sanitization for Rails applications
+Description: HTML sanitization for Rails applications
+ This gem is responsible to sanitize HTML fragments in Rails applications. In
+ Rails 4.2 and above this gem will be responsible for sanitizing HTML fragments
+ in Rails applications, i.e. in the sanitize, sanitize_css, strip_tags and
+ strip_links methods.
diff --git a/debian/copyright b/debian/copyright
index 77b4cfd..35ca28f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,32 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: rails-html-sanitizer
-Source: FIXME <http://example.com/>
+Source: https://github.com/rails/rails-html-sanitizer
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: 2013 Rafael Mendonça França <rafaelmfranca at gmail.com>
+           2013 Kasper Timm Hansen <kaspth at gmail.com>
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Balasankar C <balasankarc at autistici.org>
-License: GPL-2+ (FIXME)
+License: Expat
 Comment: the Debian packaging is licensed under the same terms as the original package.
 
-License: GPL-2+ (FIXME)
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later
- version.
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
  .
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE.  See the GNU General Public License for more
- details.
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
  .
- You should have received a copy of the GNU General Public
- License along with this package; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor,
- Boston, MA  02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.

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



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