From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:37142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnpb9-0006As-CP for guix-patches@gnu.org; Sun, 27 Jan 2019 13:56:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnpb8-0003mG-Jc for guix-patches@gnu.org; Sun, 27 Jan 2019 13:56:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48677) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnpb8-0003m8-EQ for guix-patches@gnu.org; Sun, 27 Jan 2019 13:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnpb8-0006Xg-6u for guix-patches@gnu.org; Sun, 27 Jan 2019 13:56:02 -0500 Subject: [bug#34222] [PATCH 06/15] gnu: Add ruby-crack. Resent-Message-ID: References: <87y376ghl0.fsf@cbaines.net> <20190127170820.28937-1-mail@cbaines.net> <20190127170820.28937-6-mail@cbaines.net> <87zhrmrou5.fsf@elephly.net> From: Christopher Baines In-reply-to: <87zhrmrou5.fsf@elephly.net> Date: Sun, 27 Jan 2019 18:55:45 +0000 Message-ID: <87munmgcb2.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 34222@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > Christopher Baines writes: > >> Required for ruby-webmock. >> >> * gnu/packages/ruby.scm (ruby-crack): New variable. > [=E2=80=A6] >> + (replace 'check >> + (lambda _ >> + (for-each (lambda (file) >> + (display file)(display "\n") >> + (invoke "ruby" file)) >> + (find-files "spec" ".*rb$")) >> + #t))))) > > I don=E2=80=99t see a =E2=80=9Cspec=E2=80=9D directory in the git reposit= ory. Do the Gem > contents differ from the repo? Good spot. There isn't a "spec" directory, it's instead called "test". So no tests were actually being run. I've fixed this now. + (replace 'check + (lambda _ + (for-each (lambda (file) + (display file)(display "\n") + (invoke "ruby" "-Ilib" "-Itest" file)) + (find-files "test" ".*rb$")) + #t))))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxN/rFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeeMg//es5F/B/Tdf2M4vop6MjUZzsBOrxy59gKzOQS35qZEOH728dp3LlalSTI qpVC0E7iVFyXjGDTldje9QOKLydpLSNZ3G3/5jJpxJa/i9hKIFYRdk1rfkPA5rZa WaHYmd9rmvtpaCSH5qyvPsh0N2z3x4/IflElpoIXW6DCgWj41+TD0E8lbU4JTN7k OiPeyVF25BKCSwUcb4hW4skRGerA3qh8KtQVqAUhNBEIGnIiYF856L/XQ0mkzlWH W0qdmdwKv1bZAQJbHFQKjZmrbmqOhCahdRkmUsAvibtBFGUNCjhP7vN4DE9Yak4s 0ciFyJqw5DdQuR4ocn9eo3KOMqNSP9ftxTn6dQG5UiEEeWRELDR9FvPa7DFzfEwt D6jcKj9B1wTEj5466YwitVA++2wjIT9b90K8Oo9OcEI++GQbB/1vijLwKeHf7m+6 LwOfWi/W8sj+pfFiECXpPvOcEtN9vy23uYASb6FjT0YmHhOr5VXj7mT98At544WO aA2TFnAJ2PgbcKM0Y+CxzGUJb2NgH0V+AasrvjDOR/u2FjBMnFz97bQ7m7q+LR/4 f+d5J8pTDrRwxBeOx0BRBQTyaBO/tGaxbTnLql2sDtSl/aNirAfWHeokQVZQbtBT u9ko682Hb5x1PTbntq1P+3xJX/CAjJ+0hR0JQ/TEHgVGGBUd4QA= =TcZz -----END PGP SIGNATURE----- --=-=-=--