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.
This commit is contained in:
David Thompson 2015-08-29 22:08:20 -04:00
parent 532164194a
commit 20c05ea94a
1 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ groups.")
(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 @@ standard diff-like tool.")
'(#: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 @@ outcomes of a code example.")
'(#: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.")