Package: ruby-pdf-core
Version: 0.5.1-1
Severity: minor
Tags: patch
User: pkg-ruby-extras-maintainers@lists.alioth.debian.org
Usertags: rspec3

Dear maintainer,

This package uses the RSpec framework for the tests. RSpec v2 currently in
unstable will soon be replaced by the v3, already present in experimental.

Many deprecated features in RSpec2 are now errors in RSpec3 and the test suite
as is will fail with RSpec3. Please find attached a patch to adapt the test
suite to RSpec3. Feel free to update it and forward it upstream.

Best wishes,

For the Debian Ruby team,

Cédric

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-pdf-core depends on:
ii  ruby                        1:2.1.5
ii  ruby-pdf-reader             1.3.3-1
ii  ruby2.1 [ruby-interpreter]  2.1.5-3
ii  ruby2.2 [ruby-interpreter]  2.2.1-1

ruby-pdf-core recommends no packages.

Versions of packages ruby-pdf-core suggests:
ii  ruby-prawn  2.0.1+dfsg-1

-- no debconf information
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 936962d..1f90285 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -18,7 +18,7 @@ require "pdf/reader"
 require "pdf/inspector"
 
 RSpec.configure do |config|
-  config.treat_symbols_as_metadata_keys_with_true_values = true
+  config.expect_with(:rspec) { |c| c.syntax = :should }
 end
 
 RSpec::Matchers.define :have_parseable_xobjects do

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to