summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-02-16 01:34:34 +0100
committerAndreas Enge <andreas@enge.fr>2025-06-20 20:40:01 +0200
commit100dfcf51409d3a539c1a0478523bde961bc8e47 (patch)
tree59de8468b3ee5e7402fb6915daf1d157a396d003 /gnu
parent6b0d5f8c582d8a9ed62c4e048d1cceb684b799dc (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm15
1 files changed, 10 insertions, 5 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 85124c25b18..2cef9d7a1ac 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -11900,7 +11900,7 @@ Suffix List.")
11900(define-public ruby-dotenv 11900(define-public ruby-dotenv
11901 (package 11901 (package
11902 (name "ruby-dotenv") 11902 (name "ruby-dotenv")
11903 (version "2.8.1") 11903 (version "3.1.7")
11904 (source (origin 11904 (source (origin
11905 (method git-fetch) ;for the tests 11905 (method git-fetch) ;for the tests
11906 (uri (git-reference 11906 (uri (git-reference
@@ -11909,7 +11909,7 @@ Suffix List.")
11909 (file-name (git-file-name name version)) 11909 (file-name (git-file-name name version))
11910 (sha256 11910 (sha256
11911 (base32 11911 (base32
11912 "0s1a71jxppa20fsm2rd1vym099ib48m039rmhggmz99hc3z1fvvr")))) 11912 "19j0acy12si537hwi4q54q8n5ycmlvfd2ik5y6r7jir6ww06l8yx"))))
11913 (build-system ruby-build-system) 11913 (build-system ruby-build-system)
11914 (arguments 11914 (arguments
11915 (list 11915 (list
@@ -11924,6 +11924,10 @@ Suffix List.")
11924 ;; tasks. 11924 ;; tasks.
11925 (delete-file "dotenv-rails.gemspec") 11925 (delete-file "dotenv-rails.gemspec")
11926 (delete-file "spec/dotenv/rails_spec.rb") 11926 (delete-file "spec/dotenv/rails_spec.rb")
11927 (delete-file "spec/dotenv/log_subscriber_spec.rb")
11928 (substitute* "spec/spec_helper.rb"
11929 (("require \"dotenv\"" all)
11930 (string-append "require \"pathname\"\n" all)))
11927 (substitute* "Rakefile" 11931 (substitute* "Rakefile"
11928 (("DotenvRailsGemHelper.install_tasks name: \"dotenv-rails\"") 11932 (("DotenvRailsGemHelper.install_tasks name: \"dotenv-rails\"")
11929 "") 11933 "")
@@ -11932,9 +11936,10 @@ Suffix List.")
11932 (replace 'replace-git-ls-files 11936 (replace 'replace-git-ls-files
11933 (lambda _ 11937 (lambda _
11934 (substitute* "dotenv.gemspec" 11938 (substitute* "dotenv.gemspec"
11935 (("`git ls-files README.md LICENSE lib bin \\| grep -v rails`") 11939 (("`git ls-files (README.md LICENSE lib bin) \\| ([^`]*`)"
11936 "`find README.md LICENSE lib bin -type f | sort | \ 11940 all files command)
11937grep -v rails`"))))))) 11941 (string-append
11942 "`find " files " -type f | sort | " command))))))))
11938 (native-inputs (list ruby-standard ruby-rspec)) 11943 (native-inputs (list ruby-standard ruby-rspec))
11939 (synopsis "Ruby library for setting environment variables") 11944 (synopsis "Ruby library for setting environment variables")
11940 (description "Dotenv is a Ruby library for setting environment variables 11945 (description "Dotenv is a Ruby library for setting environment variables