Skip to content
Snippets Groups Projects
Commit 20c05ea9 authored by David Thompson's avatar David Thompson
Browse files

gnu: Make ruby-diff-lcs a public package.

* gnu/packages/ruby.scm (ruby-diff-lcs-for-rspec): Rename this...
  (ruby-diff-lcs): ... to this, and export it.
  (ruby-rspec-expectation, ruby-rspec-mocks): Use new varaible.
parent 53216419
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ (define-public ruby-rspec-core ...@@ -254,7 +254,7 @@ (define-public ruby-rspec-core
(home-page "https://github.com/rspec/rspec-core") (home-page "https://github.com/rspec/rspec-core")
(license license:expat))) (license license:expat)))
(define ruby-diff-lcs-for-rspec (define-public ruby-diff-lcs
(package (package
(name "ruby-diff-lcs") (name "ruby-diff-lcs")
(version "1.2.5") (version "1.2.5")
...@@ -290,7 +290,7 @@ (define-public ruby-rspec-expectations ...@@ -290,7 +290,7 @@ (define-public ruby-rspec-expectations
'(#:tests? #f)) ; avoid dependency cycles '(#:tests? #f)) ; avoid dependency cycles
(propagated-inputs (propagated-inputs
`(("ruby-rspec-support" ,ruby-rspec-support) `(("ruby-rspec-support" ,ruby-rspec-support)
("ruby-diff-lcs" ,ruby-diff-lcs-for-rspec))) ("ruby-diff-lcs" ,ruby-diff-lcs)))
(synopsis "RSpec expectations library") (synopsis "RSpec expectations library")
(description "Rspec-expectations provides a simple API to express expected (description "Rspec-expectations provides a simple API to express expected
outcomes of a code example.") outcomes of a code example.")
...@@ -312,7 +312,7 @@ (define-public ruby-rspec-mocks ...@@ -312,7 +312,7 @@ (define-public ruby-rspec-mocks
'(#:tests? #f)) ; avoid dependency cycles '(#:tests? #f)) ; avoid dependency cycles
(propagated-inputs (propagated-inputs
`(("ruby-rspec-support" ,ruby-rspec-support) `(("ruby-rspec-support" ,ruby-rspec-support)
("ruby-diff-lcs" ,ruby-diff-lcs-for-rspec))) ("ruby-diff-lcs" ,ruby-diff-lcs)))
(synopsis "RSpec stubbing and mocking library") (synopsis "RSpec stubbing and mocking library")
(description "Rspec-mocks provides RSpec's \"test double\" framework, with (description "Rspec-mocks provides RSpec's \"test double\" framework, with
support for stubbing and mocking.") support for stubbing and mocking.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment