[DRE-commits] [ruby-simple-form] 02/04: minimal packaging adjustments

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Nov 19 10:31:13 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-simple-form.

commit 5f68215beba234cc9f81e65873f41ff6b644b87e
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Nov 18 18:12:21 2015 -0200

    minimal packaging adjustments
---
 debian/control              |  8 ++++----
 debian/ruby-test-files.yaml | 37 -------------------------------------
 debian/ruby-tests.rake      |  5 +++++
 3 files changed, 9 insertions(+), 41 deletions(-)

diff --git a/debian/control b/debian/control
index 8f78023..3df8c69 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Antonio Terceiro <terceiro at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
-               ruby-actionpack (>= 4.0),
-               ruby-activemodel (>= 4.0)
+               ruby-actionpack (>= 2:4.0),
+               ruby-activemodel (>= 2:4.0)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-simple-form.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-simple-form.git
@@ -18,8 +18,8 @@ Package: ruby-simple-form
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
-         ruby-actionpack (>= 4.0),
-         ruby-activemodel (>= 4.0),
+         ruby-actionpack (>= 2:4.0),
+         ruby-activemodel (>= 2:4.0),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Forms made easy!
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 5d0f91e..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
----
-- test/action_view_extensions/builder_test.rb
-- test/action_view_extensions/form_helper_test.rb
-- test/components/label_test.rb
-- test/form_builder/association_test.rb
-- test/form_builder/button_test.rb
-- test/form_builder/error_notification_test.rb
-- test/form_builder/error_test.rb
-- test/form_builder/general_test.rb
-- test/form_builder/hint_test.rb
-- test/form_builder/input_field_test.rb
-- test/form_builder/label_test.rb
-- test/form_builder/wrapper_test.rb
-- test/generators/simple_form_generator_test.rb
-- test/inputs/boolean_input_test.rb
-- test/inputs/collection_check_boxes_input_test.rb
-- test/inputs/collection_radio_buttons_input_test.rb
-- test/inputs/collection_select_input_test.rb
-- test/inputs/datetime_input_test.rb
-- test/inputs/disabled_test.rb
-- test/inputs/discovery_test.rb
-- test/inputs/file_input_test.rb
-- test/inputs/general_test.rb
-- test/inputs/grouped_collection_select_input_test.rb
-- test/inputs/hidden_input_test.rb
-- test/inputs/numeric_input_test.rb
-- test/inputs/priority_input_test.rb
-- test/inputs/readonly_test.rb
-- test/inputs/required_test.rb
-- test/inputs/string_input_test.rb
-- test/inputs/text_input_test.rb
-- test/simple_form_test.rb
-- test/support/discovery_inputs.rb
-- test/support/misc_helpers.rb
-- test/support/mock_controller.rb
-- test/support/models.rb
-- test/test_helper.rb
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..f1d6f9b
--- /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

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



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