1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 19:59:55 +03:00
aports/community/tmuxinator/tmuxinator-use-new-xdg-version.patch
Kevin Daudt 4f178be81b community/tmuxinator: bump xdg requirement to version 9
Version 9.0 is now in the repository. Major bump to requirement of ruby
3.4, which is what we have in the repositories anyway.
2025-04-23 15:44:38 +00:00

27 lines
976 B
Diff

diff --git a/lib/tmuxinator/config.rb b/lib/tmuxinator/config.rb
index 9b64b75..79024c7 100644
--- a/lib/tmuxinator/config.rb
+++ b/lib/tmuxinator/config.rb
@@ -29,7 +29,8 @@ module Tmuxinator
# a custom value. (e.g. if $XDG_CONFIG_HOME is set to ~/my-config, the
# return value will be ~/my-config/tmuxinator)
def xdg
- XDG["CONFIG"].to_s + "/tmuxinator"
+ config = XDG::Config.new
+ (config.home + 'tmuxinator').to_s
end
def xdg?
diff --git a/tmuxinator.gemspec b/tmuxinator.gemspec
index fac1cd2..d61af29 100644
--- a/tmuxinator.gemspec
+++ b/tmuxinator.gemspec
@@ -41,7 +41,7 @@ Gem::Specification.new do |s|
s.add_dependency "erubis", "~> 2.6"
s.add_dependency "thor", "~> 1.3.0"
- s.add_dependency "xdg", "~> 2.2", ">= 2.2.5"
+ s.add_dependency "xdg", "~> 9"
s.add_development_dependency "activesupport", "< 5.0.0" # Please see issue #432
s.add_development_dependency "awesome_print", "~> 1.2"