As the previous version breaks the tests for the ruby-minitest-reporters
package I'd like to add.
* gnu/packages/ruby.scm (ruby-minitest): Update to 5.11.3.
Enable the tests, and also tweak the synopsis and description to hopefully be
more descriptive.
* gnu/packages/ruby.scm (ruby-rspec-its)[source]: Change to GitHub, and add
patch.
[arguments]: Enabled tests, set the #:test-target to "spec", and add the
phases to tweak the Gemfile and rspec-its.gemspec.
[native-inputs]: Add bundler, ruby-cucumber and ruby-aruba.
[synopsis,description]: Make more explicit and descriptive.
These packages are mutually dependant, so I've put them in one commit.
* gnu/packages/ruby.scm (ruby-aruba, ruby-aruba-without-tests, ruby-cucumber,
ruby-cucumber-without-tests): New variables.
Don't upgrade all the way to version 6, as version 5 is needed for Cucumber 3.
* gnu/packages/ruby.scm (ruby-gherkin): Update to 5.1.0.
[description]: Use @file{ }.
Just update to major version 3, as version 4 of Cucumber hasn't been released
yet.
* gnu/packages/ruby.scm (ruby-cucumber-core): Update to 3.2.1.
[propagated-inputs]: Add ruby-backports, ruby-gherkin and
ruby-cucumber-tag-expressions.
Package version 0.0.1 initially, as this is what's needed by Cucumber 3, and
Cucumber 4 hasn't been released yet.
* gnu/packages/ruby.scm (ruby-cucumber-wire): New variable.
Patch ruby-safe-yaml to fix an issue that would lead to an error like this:
uninitialized constant SafeYAML::Parse::Date::DateTime
It's been reported upstream [1], and this patch was taken from the upstream Git
repository.
1: https://github.com/dtao/safe_yaml/issues/80
* gnu/packages/ruby.scm (ruby-safe-yaml)[source]: Switch to the Git repository
so that applying patches works and add a patch.
[arguments]: Enable tests and add a phase to set the TZ environment variable,
as one of the tests depends on a certian timezone.
* gnu/packages/patches/ruby-safe-yaml-add-require-time.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patch file.
This functionality was broken, possibly to do with the vendor related changes
in the ruby build system. These changes restore the file removal functionality
at the end of the install phase.
* guix/build/ruby-build-system.scm (install): Fix removal of files related to
native extensions.
This is helpful as it displays more information about what gem install is
doing, especially for packages with native extensions.
* guix/build/ruby-build-system.scm (install): Add --verbose to gem install command.
* guix/build/ruby-build-system.scm (extract-gemspec): Return #t right at the
end, rather than returning #<unspecified> when not handling a gem archive.