Your message dated Thu, 23 Jul 2015 05:33:53 +0000
with message-id <[email protected]>
and subject line Bug#783993: fixed in ruby-six 0.2.0-3
has caused the Debian Bug report #783993,
regarding ruby-six: port test suite to RSpec3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783993: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783993
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-six
Severity: minor
Tags: patch
User: [email protected]
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)
--- a/spec/six_rules_packs_spec.rb
+++ b/spec/six_rules_packs_spec.rb
@@ -9,7 +9,7 @@
     let(:rules) { BookRules.new }
 
     describe "<<" do 
-      it { (abilities << rules).should be_true }
+      it { (abilities << rules).should be_truthy }
       it { lambda { abilities << nil }.should raise_error(Six::InvalidPackPassed) }
 
       it_should_behave_like :valid_abilities do 
@@ -21,12 +21,12 @@
     end
 
     describe :add do 
-      it { abilities.add(:global, rules).should be_true }
-      it { abilities.add(:wrong, nil).should be_false }
+      it { abilities.add(:global, rules).should be_truthy }
+      it { abilities.add(:wrong, nil).should be_falsey }
     end
 
     describe :add! do 
-      it { abilities.add!(:global, rules).should be_true }
+      it { abilities.add!(:global, rules).should be_truthy }
       it { lambda { abilities.add!(:wrong, nil)}.should raise_error(Six::InvalidPackPassed) }
     end
 
@@ -45,7 +45,7 @@
         end
 
         it "should return false when trying to use unexisting pack" do 
-          abilities.use(:noname).should be_false
+          abilities.use(:noname).should be_falsey
         end
       end
 
@@ -75,12 +75,12 @@
       before { abilities.add(:global, rules) }
 
       describe :remove do 
-        it { abilities.remove(:global).should be_true }
-        it { abilities.remove(:zzz).should be_false }
+        it { abilities.remove(:global).should be_truthy }
+        it { abilities.remove(:zzz).should be_falsey }
       end
 
       describe :remove! do 
-        it { abilities.remove!(:global).should be_true }
+        it { abilities.remove!(:global).should be_truthy }
         it { lambda { abilities.remove!(:zzz)}.should raise_error(Six::NoPackError) }
       end
     end
@@ -94,16 +94,16 @@
         Object.new
       end
 
-      it { abilities.valid_rules_object?(BookRules.new).should be_true }
-      it { abilities.valid_rules_object?(invalid_with_allowed).should be_false }
-      it { abilities.valid_rules_object?(invalid_wo_allowed).should be_false }
+      it { abilities.valid_rules_object?(BookRules.new).should be_truthy }
+      it { abilities.valid_rules_object?(invalid_with_allowed).should be_falsey }
+      it { abilities.valid_rules_object?(invalid_wo_allowed).should be_falsey }
     end
 
     describe :pack_exist? do 
       before { abilities.add(:global, rules) }
 
-      it { abilities.pack_exist?(:global).should be_true }
-      it { abilities.pack_exist?(:ufo).should be_false }
+      it { abilities.pack_exist?(:global).should be_truthy }
+      it { abilities.pack_exist?(:ufo).should be_falsey }
     end
   end
 end
--- a/spec/support/valid_abilities_example.rb
+++ b/spec/support/valid_abilities_example.rb
@@ -19,38 +19,38 @@
 
     describe "should return true or false depend on access" do 
       context :read_book do 
-        it { allowed?(@jim,  :read_book, @jims_book).should be_true }
-        it { allowed?(@mike, :read_book, @mikes_book).should be_true }
-        it { allowed?(@jim,  :read_book, @mikes_book).should be_true }
-        it { allowed?(@mike, :read_book, @jims_book).should be_true }
+        it { allowed?(@jim,  :read_book, @jims_book).should be_truthy }
+        it { allowed?(@mike, :read_book, @mikes_book).should be_truthy }
+        it { allowed?(@jim,  :read_book, @mikes_book).should be_truthy }
+        it { allowed?(@mike, :read_book, @jims_book).should be_truthy }
       end
 
       context :rate_book do 
-        it { allowed?(@jim,  :rate_book, @jims_book).should be_false }
-        it { allowed?(@mike, :rate_book, @mikes_book).should be_false }
-        it { allowed?(@jim,  :rate_book, @mikes_book).should be_true }
-        it { allowed?(@mike, :rate_book, @jims_book).should be_true }
+        it { allowed?(@jim,  :rate_book, @jims_book).should be_falsey }
+        it { allowed?(@mike, :rate_book, @mikes_book).should be_falsey }
+        it { allowed?(@jim,  :rate_book, @mikes_book).should be_truthy }
+        it { allowed?(@mike, :rate_book, @jims_book).should be_truthy }
       end
 
       context :edit_book do 
-        it { allowed?(@jim, :edit_book, @jims_book).should be_true }
-        it { allowed?(@mike,:edit_book,  @mikes_book).should be_true }
-        it { allowed?(@jim, :edit_book, @mikes_book).should be_false }
-        it { allowed?(@mike,:edit_book,  @jims_book).should be_false }
+        it { allowed?(@jim, :edit_book, @jims_book).should be_truthy }
+        it { allowed?(@mike,:edit_book,  @mikes_book).should be_truthy }
+        it { allowed?(@jim, :edit_book, @mikes_book).should be_falsey }
+        it { allowed?(@mike,:edit_book,  @jims_book).should be_falsey }
       end
 
       context :publish_book do 
-        it { allowed?(@jim, :publish_book, @jims_book).should be_false }
-        it { allowed?(@mike,:publish_book,  @mikes_book).should be_false }
-        it { allowed?(@jim, :publish_book, @mikes_book).should be_false }
-        it { allowed?(@mike,:publish_book,  @jims_book).should be_false }
+        it { allowed?(@jim, :publish_book, @jims_book).should be_falsey }
+        it { allowed?(@mike,:publish_book,  @mikes_book).should be_falsey }
+        it { allowed?(@jim, :publish_book, @mikes_book).should be_falsey }
+        it { allowed?(@mike,:publish_book,  @jims_book).should be_falsey }
       end
 
       context 'passing multiple actions' do 
-        it { allowed?(@jim, [:read_book, :edit_book], @jims_book).should be_true }
-        it { allowed?(@jim, [:ead_book,  :publish_book, :edit_book], @jims_book).should be_false }
-        it { allowed?(@mike, [:read_book, :edit_book], @mikes_book).should be_true }
-        it { allowed?(@mike, [:rate_book, :publish_book, :edit_book], @mikes_book).should be_false }
+        it { allowed?(@jim, [:read_book, :edit_book], @jims_book).should be_truthy }
+        it { allowed?(@jim, [:ead_book,  :publish_book, :edit_book], @jims_book).should be_falsey }
+        it { allowed?(@mike, [:read_book, :edit_book], @mikes_book).should be_truthy }
+        it { allowed?(@mike, [:rate_book, :publish_book, :edit_book], @mikes_book).should be_falsey }
       end
     end
   end
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,3 +2,7 @@
 #require "bundler"
 #Bundler.require(:default, :development)
 Dir[File.dirname(__FILE__) + '/support/*.rb'].each {|file| require file }
+
+RSpec.configure do |config|
+  config.expect_with(:rspec) { |c| c.syntax = :should }
+end

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: ruby-six
Source-Version: 0.2.0-3

We believe that the bug you reported is fixed in the latest version of
ruby-six, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cédric Boutillier <[email protected]> (supplier of updated ruby-six package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 23 Jul 2015 07:18:00 +0200
Source: ruby-six
Binary: ruby-six
Architecture: source all
Version: 0.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Cédric Boutillier <[email protected]>
Description:
 ruby-six   - very simple authorization library for Ruby
Closes: 783993
Changes:
 ruby-six (0.2.0-3) unstable; urgency=medium
 .
   * Port specs to RSpec 3 (Closes: #783993)
     - build-depend on ruby-rspec >= 3~
     - add rspec3.patch to use the new syntax
   * update packaging with dh-make-ruby -w
Checksums-Sha1:
 655c2eeed62373bddc457874d351cbfce61745fc 1646 ruby-six_0.2.0-3.dsc
 4f8fc090a714c8ec828f8712ef8cb32ad244b937 3576 ruby-six_0.2.0-3.debian.tar.xz
 13d61c95a93154a3f5c3038b2ed4f3852bd935f6 6472 ruby-six_0.2.0-3_all.deb
Checksums-Sha256:
 1c7aa5027db16f2952ed190849a1f830b99f7755d4759ce997adcbd9916fc5e9 1646 
ruby-six_0.2.0-3.dsc
 9a6f06c811fc2761a07eb3b0faca9e011745794a1ae3bd27d99cf71b3f3106e8 3576 
ruby-six_0.2.0-3.debian.tar.xz
 cfca673f09d6b7dc75dc0b49e3d9dd26b14cb0ddb21d15c4d6fd0384209f7a60 6472 
ruby-six_0.2.0-3_all.deb
Files:
 38616721bfbf8ec102888072cb3f8bca 1646 ruby optional ruby-six_0.2.0-3.dsc
 b58d2ea0ba5f762e309ab36e792896a2 3576 ruby optional 
ruby-six_0.2.0-3.debian.tar.xz
 b086429cbb30f4f9c51025bad631160a 6472 ruby optional ruby-six_0.2.0-3_all.deb

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJVsHluAAoJEImvgrc5zSF61RYH/RgbQIopmhA1mT3nEZt5bhWG
HC4ysCIssYjIQd2iLRV4S6/NTOWC/L9F8sYlA56+t5VhAcgy/+qcDtCykdPdSTXr
BuiFc10w++8WpUaSad7146SK841fgoHBxaPNcC3sXT/pBxJ58ErpxsbWAKbVslSm
8C8rLrvXb6NMBMH3ayGyQXjDsogWQyKehx9z3v0G6S5zEYI+KEHh0V6BnuMdFWtm
Zil9mEgjWONwqlycIqxoNXBEsLt9lHAJFMammi5AO7cjxR2filJs9IEH0Bx7JVLi
LHfcPO6jRrSF3x8mNbXnc3c1hAZB1dL6hR3D4WLg07AVzwQRt9ysE2O0JmhKzPc=
=GYZv
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to