mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-dotenv: Update to 3.1.7.
* gnu/packages/ruby.scm (ruby-dotenv): Update to 3.1.7. [arguments]<#:phases>: Update phases 'do-not-build-dotenv-rails and 'replace-git-ls-files. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
6b0d5f8c58
commit
100dfcf514
1 changed files with 10 additions and 5 deletions
|
@ -11900,7 +11900,7 @@ Suffix List.")
|
||||||
(define-public ruby-dotenv
|
(define-public ruby-dotenv
|
||||||
(package
|
(package
|
||||||
(name "ruby-dotenv")
|
(name "ruby-dotenv")
|
||||||
(version "2.8.1")
|
(version "3.1.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch) ;for the tests
|
(method git-fetch) ;for the tests
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -11909,7 +11909,7 @@ Suffix List.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0s1a71jxppa20fsm2rd1vym099ib48m039rmhggmz99hc3z1fvvr"))))
|
"19j0acy12si537hwi4q54q8n5ycmlvfd2ik5y6r7jir6ww06l8yx"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -11924,6 +11924,10 @@ Suffix List.")
|
||||||
;; tasks.
|
;; tasks.
|
||||||
(delete-file "dotenv-rails.gemspec")
|
(delete-file "dotenv-rails.gemspec")
|
||||||
(delete-file "spec/dotenv/rails_spec.rb")
|
(delete-file "spec/dotenv/rails_spec.rb")
|
||||||
|
(delete-file "spec/dotenv/log_subscriber_spec.rb")
|
||||||
|
(substitute* "spec/spec_helper.rb"
|
||||||
|
(("require \"dotenv\"" all)
|
||||||
|
(string-append "require \"pathname\"\n" all)))
|
||||||
(substitute* "Rakefile"
|
(substitute* "Rakefile"
|
||||||
(("DotenvRailsGemHelper.install_tasks name: \"dotenv-rails\"")
|
(("DotenvRailsGemHelper.install_tasks name: \"dotenv-rails\"")
|
||||||
"")
|
"")
|
||||||
|
@ -11932,9 +11936,10 @@ Suffix List.")
|
||||||
(replace 'replace-git-ls-files
|
(replace 'replace-git-ls-files
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "dotenv.gemspec"
|
(substitute* "dotenv.gemspec"
|
||||||
(("`git ls-files README.md LICENSE lib bin \\| grep -v rails`")
|
(("`git ls-files (README.md LICENSE lib bin) \\| ([^`]*`)"
|
||||||
"`find README.md LICENSE lib bin -type f | sort | \
|
all files command)
|
||||||
grep -v rails`")))))))
|
(string-append
|
||||||
|
"`find " files " -type f | sort | " command))))))))
|
||||||
(native-inputs (list ruby-standard ruby-rspec))
|
(native-inputs (list ruby-standard ruby-rspec))
|
||||||
(synopsis "Ruby library for setting environment variables")
|
(synopsis "Ruby library for setting environment variables")
|
||||||
(description "Dotenv is a Ruby library for setting environment variables
|
(description "Dotenv is a Ruby library for setting environment variables
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue