[DRE-commits] [ruby-rails-deprecated-sanitizer] 03/06: prepare packaging

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Aug 13 18:28:43 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-rails-deprecated-sanitizer.

commit 722662fac729f50790a1e824798eab9a48e36c99
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Thu Aug 13 15:18:19 2015 -0300

    prepare packaging
---
 debian/changelog        |  2 +-
 debian/control          |  8 +++++---
 debian/rules            | 16 ++--------------
 debian/tests/control.ex | 13 -------------
 debian/watch            |  2 +-
 5 files changed, 9 insertions(+), 32 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 836592d..b98ca48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ruby-rails-deprecated-sanitizer (1.0.3-1) UNRELEASED; urgency=medium
+ruby-rails-deprecated-sanitizer (1.0.3-1) unstable; urgency=medium
 
   * Initial release (Closes: #792587)
 
diff --git a/debian/control b/debian/control
index b1d6665..00c817e 100644
--- a/debian/control
+++ b/debian/control
@@ -18,8 +18,10 @@ Package: ruby-rails-deprecated-sanitizer
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-activesupport (>= 4.2.0.alpha),
+         ruby-activesupport (>= 2:4.2.0),
          ${misc:Depends},
          ${shlibs:Depends}
-Description: Deprecated sanitizer API extracted from Action View.
- <insert long description, indented with spaces>
+Description: HTML sanitizer API extracted from Action View.
+ In Rails 4.2, HTML sanitization has been rewritten using a more secure
+ library.  This package includes the old behavior that shipped with Rails 4.2
+ and before, and is provided as a backwards compatibility layer.
diff --git a/debian/rules b/debian/rules
index acfc5fe..3454d59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,18 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 ruby2.2
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
-#
-# Uncomment to check dependencies during build:
-# export GEM2DEB_TEST_RUNNER = --check-dependencies
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index d604201..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# AUTOGENERATED FILE
-#
-# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
-# detected, and if debian/tests/control does not exist the contents below will
-# be assumed (with the exception of gem2deb being filtered out from
-# @builddeps@):
-
-Test-Command: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
-
-# if you would need to change something to the above, to that and rename this
-# file to `control`. Otherwise, you should probably delete this file
-# (recommended).
diff --git a/debian/watch b/debian/watch
index 5f3f7d6..eb78c10 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rails-deprecated_sanitizer .*/rails-deprecated_sanitizer-(.*).tar.gz
+https://github.com/rails/rails-deprecated_sanitizer/releases .*/v(.*).tar.gz

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



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