[DRE-commits] [ruby-prawn] 08/10: use ruby-tests.rb to run tests

Cédric Boutillier boutil at alioth.debian.org
Thu Aug 8 22:46:11 UTC 2013


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

boutil pushed a commit to branch master
in repository ruby-prawn.

commit d8547dc2bf1532055b2f972c86ad9939491704a6
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Aug 9 00:16:58 2013 +0200

    use ruby-tests.rb to run tests
---
 debian/ruby-test-files.yaml |   40 ----------------------------------------
 debian/ruby-tests.rb        |    4 ++++
 2 files changed, 4 insertions(+), 40 deletions(-)

diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
deleted file mode 100644
index 8e5f5a8..0000000
--- a/debian/ruby-test-files.yaml
+++ /dev/null
@@ -1,40 +0,0 @@
---- 
-- spec/text_spec.rb
-- spec/snapshot_spec.rb
-#- spec/png_spec.rb
-- spec/pdf_object_spec.rb
-- spec/object_store_spec.rb
-- spec/transparency_spec.rb
-- spec/span_spec.rb
-- spec/security_spec.rb
-- spec/name_tree_spec.rb
-- spec/formatted_text_box_spec.rb
-- spec/stamp_spec.rb
-- spec/graphics_spec.rb
-- spec/text_with_inline_formatting_spec.rb
-- spec/jpg_spec.rb
-- spec/stroke_styles_spec.rb
-- spec/annotations_spec.rb
-- spec/text_rendering_mode_spec.rb
-- spec/cell_spec.rb
-- spec/grid_spec.rb
-- spec/font_spec.rb
-- spec/line_wrap_spec.rb
-- spec/repeater_spec.rb
-- spec/document_spec.rb
-- spec/images_spec.rb
-- spec/destinations_spec.rb
-- spec/text_box_spec.rb
-- spec/formatted_text_fragment_spec.rb
-- spec/bounding_box_spec.rb
-- spec/template_spec.rb
-- spec/measurement_units_spec.rb
-- spec/inline_formatted_text_parser_spec.rb
-- spec/reference_spec.rb
-- spec/text_at_spec.rb
-- spec/formatted_text_arranger_spec.rb
-- spec/table_spec.rb
-- spec/outline_spec.rb
-- spec/text_spacing_spec.rb
-# images have been removed or modified due to unclear licensing
-# specs using them have been temporarily disabled
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..0f1a79d
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,4 @@
+require "rspec/autorun"
+$LOAD_PATH.delete(File.expand_path("../../lib",__FILE__))
+
+Dir['spec/*_spec.rb'].each { |f| require f }

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



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