[DRE-commits] [ruby-rails-dom-testing] 02/03: finish packaging

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Aug 13 18:51: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-dom-testing.

commit 05a71510db1825eb305ae9e0f78de05c650801d7
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Aug 13 15:49:38 2015 -0300

    finish packaging
---
 debian/changelog            |  4 ++--
 debian/control              |  7 +++++--
 debian/copyright            | 45 +++++++++++++++++++++------------------------
 debian/ruby-test-files.yaml |  5 -----
 debian/ruby-tests.rake      |  5 +++++
 debian/rules                | 16 ++--------------
 debian/tests/control.ex     | 13 -------------
 7 files changed, 35 insertions(+), 60 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 818de00..0b5e027 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-ruby-rails-dom-testing (1.0.6-1) UNRELEASED; urgency=medium
+ruby-rails-dom-testing (1.0.6-1) unstable; urgency=medium
 
-  * Initial release (Closes: #nnnn)
+  * Initial release
 
  -- Antonio Terceiro <terceiro at debian.org>  Thu, 13 Aug 2015 15:38:16 -0300
diff --git a/debian/control b/debian/control
index b4cb714..cea2c73 100644
--- a/debian/control
+++ b/debian/control
@@ -26,5 +26,8 @@ Depends: ruby | ruby-interpreter,
          ruby-rails-deprecated-sanitizer (>= 1.0.1),
          ${misc:Depends},
          ${shlibs:Depends}
-Description: Dom and Selector assertions for Rails applications
- This gem can compare doms and assert certain elements exists in doms using Nokogiri.
+Description: SOM and Selector assertions for Rails applications
+ This package provides test assertions for dealing with HTML content. DOM trees
+ can be tested using `assert_dom_equal` and `assert_dom_not_equal`, and HTML
+ elements can be tested using `assert_select`, `assert_select_encoded`,
+ `assert_select_email`, and selected with `css_select`.
diff --git a/debian/copyright b/debian/copyright
index 6914bdd..15d4948 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-dom-testing
-Source: FIXME <http://example.com/>
+Source: https://github.com/rails/rails-dom-testing
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
-License: GPL-2+ (FIXME)
+Copyright: (c) 2013 Kasper Timm Hansen
+License: Expat
 
 Files: debian/*
 Copyright: 2015 Antonio Terceiro <terceiro at debian.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.
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 2629ef3..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
----
-- test/dom_assertions_test.rb
-- test/selector_assertions_test.rb
-- test/tag_assertions_test.rb
-- test/test_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..825e76e
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/testtask'
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs << 'test'
+  t.test_files = FileList['test/*_test.rb']
+end
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).

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



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