Your message dated Tue, 18 Aug 2015 17:06:23 +0000
with message-id <[email protected]>
and subject line Bug#783992: fixed in ruby-powerpack 0.1.1-1
has caused the Debian Bug report #783992,
regarding ruby-powerpack: 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.)


-- 
783992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783992
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ruby-powerpack
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)
diff --git a/spec/powerpack/enumerable/exactly_spec.rb b/spec/powerpack/enumerable/exactly_spec.rb
index 18ed687..8aa011a 100644
--- a/spec/powerpack/enumerable/exactly_spec.rb
+++ b/spec/powerpack/enumerable/exactly_spec.rb
@@ -3,37 +3,37 @@ require 'spec_helper'
 describe 'Enumerable#exactly' do
   context 'with block' do
     it 'returns true for exact number of matches' do
-      expect([1, 2, 3, 4].exactly?(2, &:even?)).to be_true
+      expect([1, 2, 3, 4].exactly?(2, &:even?)).to be_truthy
     end
 
     it 'returns false for less matches' do
-      expect([1, 3, 4].exactly?(2, &:even?)).to be_false
+      expect([1, 3, 4].exactly?(2, &:even?)).to be_falsey
     end
 
     it 'returns false for more matches' do
-      expect([1, 3, 4, 6, 8].exactly?(2, &:even?)).to be_false
+      expect([1, 3, 4, 6, 8].exactly?(2, &:even?)).to be_falsey
     end
   end
 
   context 'without block' do
     it 'returns true for exact number of non nil/false elements in absence of nil/false elements' do
-      expect([1, 2, 3, 4].exactly?(4)).to be_true
+      expect([1, 2, 3, 4].exactly?(4)).to be_truthy
     end
 
     it 'returns true for exact number of non nil/false elements in presence of nil/false elements' do
-      expect([1, 2, nil, false].exactly?(2)).to be_true
+      expect([1, 2, nil, false].exactly?(2)).to be_truthy
     end
 
     it 'returns true for exact number of nil/false elements' do
-      expect([nil, false].exactly?(0)).to be_true
+      expect([nil, false].exactly?(0)).to be_truthy
     end
 
     it 'returns false if there are less non nil/false elements in absence of nil/false elements' do
-      expect([1, 2, 3].exactly?(4)).to be_false
+      expect([1, 2, 3].exactly?(4)).to be_falsey
     end
 
     it 'returns false if there are less non nil/false elements in presence of nil/false elements' do
-      expect([1, nil, false].exactly?(4)).to be_false
+      expect([1, nil, false].exactly?(4)).to be_falsey
     end
   end
 end
diff --git a/spec/powerpack/enumerable/several_spec.rb b/spec/powerpack/enumerable/several_spec.rb
index e8f972e..85d053f 100644
--- a/spec/powerpack/enumerable/several_spec.rb
+++ b/spec/powerpack/enumerable/several_spec.rb
@@ -3,25 +3,25 @@ require 'spec_helper'
 describe 'Enumerable#several' do
   context 'with block' do
     it 'returns true if more than 1 element matches the predicate' do
-      expect([1, 2, 3, 4].several?(&:even?)).to be_true
+      expect([1, 2, 3, 4].several?(&:even?)).to be_truthy
     end
 
     it 'returns false if just 1 element matches the predicate' do
-      expect([1, 3, 4].several?(&:even?)).to be_false
+      expect([1, 3, 4].several?(&:even?)).to be_falsey
     end
 
     it 'returns false if no elements match the predicate' do
-      expect([1, 3, 4].several?(&:even?)).to be_false
+      expect([1, 3, 4].several?(&:even?)).to be_falsey
     end
   end
 
   context 'without block' do
     it 'returns true if there are 2 or more non nil/false elements' do
-      expect([1, 2, 3, 4].several?).to be_true
+      expect([1, 2, 3, 4].several?).to be_truthy
     end
 
     it 'returns false if there are less than 2 non nil/false elements' do
-      expect([1, nil, false].several?).to be_false
+      expect([1, nil, false].several?).to be_falsey
     end
   end
 end
diff --git a/spec/powerpack/numeric/neg_spec.rb b/spec/powerpack/numeric/neg_spec.rb
index e8da75a..af586da 100644
--- a/spec/powerpack/numeric/neg_spec.rb
+++ b/spec/powerpack/numeric/neg_spec.rb
@@ -2,23 +2,23 @@ require 'spec_helper'
 
 describe 'Numeric#neg?' do
   it 'returns false for positive integer' do
-    expect(1.neg?).to be_false
+    expect(1.neg?).to be_falsey
   end
 
   it 'returns false for positive float' do
-    expect(0.1.neg?).to be_false
+    expect(0.1.neg?).to be_falsey
   end
 
   it 'returns true for negative integer' do
-    expect(-1.neg?).to be_true
+    expect(-1.neg?).to be_truthy
   end
 
   it 'returns true for negative float' do
-    expect(-0.01.neg?).to be_true
+    expect(-0.01.neg?).to be_truthy
   end
 
   it 'returns false for 0' do
-    expect(0.neg?).to be_false
-    expect(0.0.neg?).to be_false
+    expect(0.neg?).to be_falsey
+    expect(0.0.neg?).to be_falsey
   end
 end
diff --git a/spec/powerpack/numeric/pos_spec.rb b/spec/powerpack/numeric/pos_spec.rb
index fe265b1..b7d92cc 100644
--- a/spec/powerpack/numeric/pos_spec.rb
+++ b/spec/powerpack/numeric/pos_spec.rb
@@ -2,23 +2,23 @@ require 'spec_helper'
 
 describe 'Numeric#pos?' do
   it 'returns true for positive integer' do
-    expect(1.pos?).to be_true
+    expect(1.pos?).to be_truthy
   end
 
   it 'returns true for positive float' do
-    expect(0.1.pos?).to be_true
+    expect(0.1.pos?).to be_truthy
   end
 
   it 'returns false for negative integer' do
-    expect(-1.pos?).to be_false
+    expect(-1.pos?).to be_falsey
   end
 
   it 'returns false for negative float' do
-    expect(-0.01.pos?).to be_false
+    expect(-0.01.pos?).to be_falsey
   end
 
   it 'returns false for 0' do
-    expect(0.pos?).to be_false
-    expect(0.0.pos?).to be_false
+    expect(0.pos?).to be_falsey
+    expect(0.0.pos?).to be_falsey
   end
 end
diff --git a/spec/powerpack/string/blank_spec.rb b/spec/powerpack/string/blank_spec.rb
index 68e42f2..f311fc4 100644
--- a/spec/powerpack/string/blank_spec.rb
+++ b/spec/powerpack/string/blank_spec.rb
@@ -2,14 +2,14 @@ require 'spec_helper'
 
 describe 'String#blank?' do
   it 'returns true for an empty string' do
-    expect(''.blank?).to be_true
+    expect(''.blank?).to be_truthy
   end
 
   it 'returns true for a string with only whitespace in it' do
-    expect('     '.blank?).to be_true
+    expect('     '.blank?).to be_truthy
   end
 
   it 'returns false for a string with non-whitespace chars in it' do
-    expect('   test'.blank?).to be_false
+    expect('   test'.blank?).to be_falsey
   end
 end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 35cf98f..25a67d0 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -5,8 +5,6 @@ require 'rspec'
 require 'powerpack'
 
 RSpec.configure do |config|
-  config.treat_symbols_as_metadata_keys_with_true_values = true
-
   config.expect_with :rspec do |c|
     c.syntax = :expect # disables `should`
   end

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: ruby-powerpack
Source-Version: 0.1.1-1

We believe that the bug you reported is fixed in the latest version of
ruby-powerpack, 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.
Sebastien Badia <[email protected]> (supplier of updated ruby-powerpack 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: Tue, 18 Aug 2015 18:25:21 +0200
Source: ruby-powerpack
Binary: ruby-powerpack
Architecture: source all
Version: 0.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Sebastien Badia <[email protected]>
Description:
 ruby-powerpack - Useful extensions to core Ruby classes
Closes: 783992
Changes:
 ruby-powerpack (0.1.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * Convert spec tests to RSpec3, Thanks Cédric; (Closes: #783992)
Checksums-Sha1:
 90c415dd9ebfd333766053ab79f3270fc9a3b5e8 1688 ruby-powerpack_0.1.1-1.dsc
 9a2f5409e917cc042aa9ede460760a0141f780aa 10935 ruby-powerpack_0.1.1.orig.tar.gz
 9a971bbd9d74b3d97a4ce6623a0e5de3567a41b3 2280 
ruby-powerpack_0.1.1-1.debian.tar.xz
 f9648b3890e9f4c691526ee303781dbc8ffd26ee 8834 ruby-powerpack_0.1.1-1_all.deb
Checksums-Sha256:
 db25e324fb7bb676a0b321fafeae505a4c2c26867e5d77d2f634bd0804d37d77 1688 
ruby-powerpack_0.1.1-1.dsc
 c89d6091df51078ebe6c29682f1fecbc4b477f75140eb2ea8356e97eccefd5e8 10935 
ruby-powerpack_0.1.1.orig.tar.gz
 2a9dc43fa9623befd4867541ad6e6c92431ec00c3eabb66e203d35b2ad0fab8c 2280 
ruby-powerpack_0.1.1-1.debian.tar.xz
 13fbcdef81f84633b2bc925aaf7860e3afddfa857ad0bb7ed21d1f828553dde1 8834 
ruby-powerpack_0.1.1-1_all.deb
Files:
 39e88365dc255864357fba869cb15ef9 1688 ruby optional ruby-powerpack_0.1.1-1.dsc
 4fb3ce0bbfcbf5cc642fb6dd06044497 10935 ruby optional 
ruby-powerpack_0.1.1.orig.tar.gz
 f97777c2c55ff461543c0dd2e48142ab 2280 ruby optional 
ruby-powerpack_0.1.1-1.debian.tar.xz
 b7d47cd584494b037d023ce23935a69b 8834 ruby optional 
ruby-powerpack_0.1.1-1_all.deb

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

iQEcBAEBCgAGBQJV02R8AAoJEImvgrc5zSF6HeQH/3dwKeam8NSEgdlpe8m7WnAz
C1gBawzGZMnFXC4EdoYYfEdWtmckQ/kXzWNYO0w9DNbFO5/Qfbr6tI8xLjj74wO8
EkZcC1vP1n/aWM7AoY2HLYMgFsxrg70b9TKzulQVbj1aA2TMhWtShIfo5+DJjvJ1
xr0zMjih6P7c/d0HwmiiBZTM8MWJhPfL+JxCkUQCGxRgl5bCRsFbkn4f1aBXMFu9
hbazyzN1msfHpM0EJ1r/YZs+966NEbkN/i6wvf4hkAAa4hooHfpH4levU2cM5t6Z
AOQXQKZSUkQvynfkioLhvetSDopnNpXpfE3xJ2m/t7jtlUQC5MYvXrvJLmPmZyc=
=lF9C
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to