mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-rspec-its: Update to 1.3.0.
* gnu/packages/ruby.scm (ruby-rspec-its): Update to 1.3.0. [source]: Remove patch. [arguments]: Add phase to fix ffi-dependency-version. [native-inputs]: Add ruby-ffi.
This commit is contained in:
parent
0a71e34e49
commit
b2244c6849
1 changed files with 11 additions and 14 deletions
|
@ -560,7 +560,7 @@ outcomes of a code example.")
|
||||||
(define-public ruby-rspec-its
|
(define-public ruby-rspec-its
|
||||||
(package
|
(package
|
||||||
(name "ruby-rspec-its")
|
(name "ruby-rspec-its")
|
||||||
(version "1.2.0")
|
(version "1.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -570,17 +570,7 @@ outcomes of a code example.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"190rz7v4q4wk80fzhr5hknvxx4vb2pywmqr8wc41w2blj9ylzi0f"))
|
"02mlsc9d4d1cjj5vahi8v3q8hyn9fyiv8nnlidhgfh186qp20g1p"))))
|
||||||
(patches
|
|
||||||
(list
|
|
||||||
(origin (method url-fetch)
|
|
||||||
(uri (string-append
|
|
||||||
"https://github.com/rspec/rspec-its/commit/"
|
|
||||||
"bfaab439c7c879f5ef25552f41827891f6308373.patch"))
|
|
||||||
(file-name "ruby-rspec-its-fix-specs-for-ruby-2.4.patch")
|
|
||||||
(sha256
|
|
||||||
(base32
|
|
||||||
"0lnik0kvrpgkakvdb2fmzg22pdlraf6kiidr9sv6rnfyviiqwxgh")))))))
|
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "spec"
|
`(#:test-target "spec"
|
||||||
|
@ -592,13 +582,19 @@ outcomes of a code example.")
|
||||||
(("rspec rspec-core rspec-expectations rspec-mocks rspec-support")
|
(("rspec rspec-core rspec-expectations rspec-mocks rspec-support")
|
||||||
""))
|
""))
|
||||||
#t))
|
#t))
|
||||||
|
(add-before 'build 'update-ffi-in-gemfile
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Gemfile"
|
||||||
|
((" gem 'ffi', '~> 1.9.25'") " gem 'ffi', '~> 1.10.0'"))
|
||||||
|
#t))
|
||||||
(add-before 'build 'remove-unnecessary-dependency-versions-from-gemfile
|
(add-before 'build 'remove-unnecessary-dependency-versions-from-gemfile
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "rspec-its.gemspec"
|
(substitute* "rspec-its.gemspec"
|
||||||
(("rake.*") "rake'\n")
|
(("rake.*") "rake'\n")
|
||||||
(("cucumber.*") "cucumber'\n")
|
(("spec.add_development_dependency 'cucumber'.*")
|
||||||
|
"spec.add_development_dependency 'cucumber'\n")
|
||||||
(("bundler.*") "bundler'\n")
|
(("bundler.*") "bundler'\n")
|
||||||
(("aruba.*") "aruba'\n"))
|
(("\"aruba.*") "'aruba'\n"))
|
||||||
#t)))))
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ruby-rspec-core" ,ruby-rspec-core)
|
`(("ruby-rspec-core" ,ruby-rspec-core)
|
||||||
|
@ -606,6 +602,7 @@ outcomes of a code example.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bundler" ,bundler)
|
`(("bundler" ,bundler)
|
||||||
("ruby-cucumber" ,ruby-cucumber)
|
("ruby-cucumber" ,ruby-cucumber)
|
||||||
|
("ruby-ffi" ,ruby-ffi)
|
||||||
("ruby-aruba" ,ruby-aruba)))
|
("ruby-aruba" ,ruby-aruba)))
|
||||||
(synopsis "RSpec extension that provides the @code{its} method")
|
(synopsis "RSpec extension that provides the @code{its} method")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue