gnu: ruby-simplecov: Update to 0.22.0.
* gnu/packages/ruby.scm (ruby-simplecov): Update to 0.22.0. [native-inputs]: Delete field. [propagated-inputs]: Add ruby-simplecov-json-formatter. (ruby-rubycop-ast) [phases]: Add a relax-dependencies phase. [home-page]: Update URL.master
parent
4e5cdaefa7
commit
59c1029300
|
@ -3406,26 +3406,27 @@ Ruby code coverage tool.")
|
||||||
(define-public ruby-simplecov
|
(define-public ruby-simplecov
|
||||||
(package
|
(package
|
||||||
(name "ruby-simplecov")
|
(name "ruby-simplecov")
|
||||||
(version "0.17.1")
|
(version "0.22.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (rubygems-uri "simplecov" version))
|
(uri (rubygems-uri "simplecov" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1135k46nik05sdab30yxb8264lqiz01c8v000g16cl9pjc4mxrdw"))))
|
"198kcbrjxhhzca19yrdcd6jjj9sb51aaic3b0sc3pwjghg3j49py"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
;; Simplecov depends on rubocop for code style checking at build time.
|
;; Simplecov depends on rubocop for code style checking at build time.
|
||||||
;; Rubocop needs simplecov at build time.
|
;; Rubocop needs simplecov at build time.
|
||||||
(arguments `(#:tests? #f))
|
(arguments `(#:tests? #f))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ruby-json ruby-docile ruby-simplecov-html))
|
(list ruby-json
|
||||||
(native-inputs
|
ruby-docile
|
||||||
(list bundler))
|
ruby-simplecov-html
|
||||||
|
ruby-simplecov-json-formatter))
|
||||||
(synopsis "Code coverage framework for Ruby")
|
(synopsis "Code coverage framework for Ruby")
|
||||||
(description "SimpleCov is a code coverage framework for Ruby with a
|
(description "SimpleCov is a code coverage framework for Ruby with a
|
||||||
powerful configuration library and automatic merging of coverage across test
|
powerful configuration library and automatic merging of coverage across test
|
||||||
suites.")
|
suites.")
|
||||||
(home-page "https://github.com/colszowka/simplecov")
|
(home-page "https://github.com/simplecov-ruby/simplecov")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-useragent
|
(define-public ruby-useragent
|
||||||
|
@ -7134,6 +7135,11 @@ inspired by the Sinatra microframework style of specifying actions:
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "spec"
|
`(#:test-target "spec"
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-dependencies
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Gemfile"
|
||||||
|
(("gem 'simplecov', '~> 0.10', '< 0.18'")
|
||||||
|
"gem 'simplecov', '~> 0.10'"))))
|
||||||
(add-before 'build 'generate-lexer
|
(add-before 'build 'generate-lexer
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "RUBOCOP_VERSION" "none")
|
(setenv "RUBOCOP_VERSION" "none")
|
||||||
|
|
Reference in New Issue