~ruther/guix-local

e936bd2b75d1951de1e6ec191365c16c41e19091 — Maxim Cournoyer 3 years ago 7f99aec
gnu: Add ruby-rspec-pending-for.

* gnu/packages/ruby.scm (ruby-rspec-pending-for): New variable.
1 files changed, 24 insertions(+), 0 deletions(-)

M gnu/packages/ruby.scm
M gnu/packages/ruby.scm => gnu/packages/ruby.scm +24 -0
@@ 929,6 929,30 @@ support for stubbing and mocking.")
    (propagated-inputs
     (list ruby-diff-lcs))))

(define-public ruby-rspec-pending-for
  (package
    (name "ruby-rspec-pending-for")
    (version "0.1.16")
    (source (origin
              (method git-fetch)        ;for tests
              (uri (git-reference
                    (url "https://github.com/pboling/rspec-pending_for")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "107l560vm0kx25w5iy5rsk9ly8dxzr81b31284j514f4hkd0qv3m"))))
    (build-system ruby-build-system)
    (native-inputs (list ruby-rspec ruby-simplecov))
    (propagated-inputs (list ruby-rspec-core ruby-ruby-engine
                             ruby-ruby-version))
    (synopsis "Skip RSpec tests for specific Ruby engines or versions")
    (description "This RSpec plugin makes it easy to mark test cases as
pending or skipped for a specific Ruby engine (e.g. MRI or JRuby) or version
combinations.")
    (home-page "https://github.com/pboling/rspec-pending_for")
    (license license:expat)))

(define-public ruby-rspec-rerun
  (package
    (name "ruby-rspec-rerun")