runcom 8.1.0 → 8.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/runcom/paths/common.rb +4 -2
- data/lib/runcom/paths/home.rb +7 -2
- data/runcom.gemspec +2 -4
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12265a4785b994aef96f550e965b147c5e86e61b6aa14e2db79f0a9b36cdfe28
|
4
|
+
data.tar.gz: bb70b4a4cc6e95776f79c371c6285c5319d274fcbae4eecdea46281785d993bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9859e7add5bfbf42d5d3c4bb1ce7b5c2eaf2dd2e458e5aa11acb150429b03d8cd7a33cc6a99e92f2fce9305d48f0abcad4111099f11ecb8be4c5dc5bedf01446
|
7
|
+
data.tar.gz: 84b4dfe902e29b793badfd1e130b749b089dbbc28bfd2bfe6395e4e1a9616f9b9ceaa128776f8f0712cfd9ee523ec98edec0eb191a3e8c4e712bcfafb95590e1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/runcom/paths/common.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "forwardable"
|
4
|
-
require "
|
4
|
+
require "refinements/pathnames"
|
5
5
|
|
6
6
|
module Runcom
|
7
7
|
module Paths
|
@@ -9,6 +9,8 @@ module Runcom
|
|
9
9
|
class Common
|
10
10
|
extend Forwardable
|
11
11
|
|
12
|
+
using Refinements::Pathnames
|
13
|
+
|
12
14
|
delegate %i[inspect] => :xdg
|
13
15
|
|
14
16
|
attr_reader :relative
|
@@ -22,7 +24,7 @@ module Runcom
|
|
22
24
|
|
23
25
|
def file_name = relative.basename
|
24
26
|
|
25
|
-
def current = all.find(&:exist?)
|
27
|
+
def current = all.select(&:file?).find(&:exist?)
|
26
28
|
|
27
29
|
def all = xdg.all.map { |root| root.join relative }
|
28
30
|
|
data/lib/runcom/paths/home.rb
CHANGED
@@ -17,10 +17,15 @@ module Runcom
|
|
17
17
|
|
18
18
|
def dynamic
|
19
19
|
String(value).then { |path| Pathname path }
|
20
|
-
.then { |path| path.
|
20
|
+
.then { |path| [path.expand_path, standard.dynamic] }
|
21
21
|
end
|
22
22
|
|
23
|
-
def inspect
|
23
|
+
def inspect
|
24
|
+
[
|
25
|
+
standard.key,
|
26
|
+
dynamic.join(XDG::Paths::Directory::DELIMITER)
|
27
|
+
].compact.join(XDG::PAIR_DELIMITER)
|
28
|
+
end
|
24
29
|
|
25
30
|
private
|
26
31
|
|
data/runcom.gemspec
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "runcom"
|
5
|
-
spec.version = "8.
|
6
|
-
spec.platform = Gem::Platform::RUBY
|
5
|
+
spec.version = "8.2.0"
|
7
6
|
spec.authors = ["Brooke Kuhlmann"]
|
8
7
|
spec.email = ["brooke@alchemists.io"]
|
9
8
|
spec.homepage = "https://www.alchemists.io/projects/runcom"
|
@@ -24,9 +23,8 @@ Gem::Specification.new do |spec|
|
|
24
23
|
|
25
24
|
spec.required_ruby_version = "~> 3.1"
|
26
25
|
spec.add_dependency "refinements", "~> 9.1"
|
27
|
-
spec.add_dependency "xdg", "~> 6.
|
26
|
+
spec.add_dependency "xdg", "~> 6.2"
|
28
27
|
|
29
28
|
spec.files = Dir["*.gemspec", "lib/**/*"]
|
30
29
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
31
|
-
spec.require_paths = ["lib"]
|
32
30
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-01-
|
31
|
+
date: 2022-01-30 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '6.
|
53
|
+
version: '6.2'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '6.
|
60
|
+
version: '6.2'
|
61
61
|
description:
|
62
62
|
email:
|
63
63
|
- brooke@alchemists.io
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.3.
|
106
|
+
rubygems_version: 3.3.6
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: An XDG enhanced run command manager for command line interfaces.
|
metadata.gz.sig
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
�2�s��?�LM ʈ��Q&ib�$�I���v��|��4Z]b��$�~��r�8���y
|
2
|
+
�z����������X��%1�J��a˲-�s)�8�~V�zO+�fS�Fz���V��O2�A��"�Bc[���7_�2�;!fi�M|QA�'�|y̆�^�����},[ѫ�R�>a�D�C.�_�bJ�!S�C�Y�L����*Ҥ�l+@)�(�A{.
|
3
|
+
����&\^��Q�jX�"�JCs1���WE�?+�Q�A�
|