[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34222] [PATCH 06/15] gnu: Add ruby-crack.
From: |
Christopher Baines |
Subject: |
[bug#34222] [PATCH 06/15] gnu: Add ruby-crack. |
Date: |
Sun, 27 Jan 2019 18:55:45 +0000 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ricardo Wurmus <address@hidden> writes:
> Christopher Baines <address@hidden> writes:
>
>> Required for ruby-webmock.
>>
>> * gnu/packages/ruby.scm (ruby-crack): New variable.
> […]
>> + (replace 'check
>> + (lambda _
>> + (for-each (lambda (file)
>> + (display file)(display "\n")
>> + (invoke "ruby" file))
>> + (find-files "spec" ".*rb$"))
>> + #t)))))
>
> I don’t see a “spec” directory in the git repository. 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)))))
signature.asc
Description: PGP signature
[bug#34222] [PATCH 06/15] gnu: Add ruby-crack., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 11/15] gnu: Add ruby-cliver., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 15/15] gnu: Add ruby-rubocop., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 09/15] gnu: Add ruby-bacon-colored-output., Christopher Baines, 2019/01/27
[bug#34222] [PATCH 14/15] gnu: Add ruby-jaro-winkler., Christopher Baines, 2019/01/27