runcom 7.0.0 → 7.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +2 -1
- data/lib/runcom/config.rb +2 -6
- data/lib/runcom/errors/syntax.rb +1 -3
- data/lib/runcom/identity.rb +2 -2
- data/lib/runcom/paths/common.rb +5 -15
- data/lib/runcom/paths/home.rb +1 -3
- data.tar.gz.sig +0 -0
- metadata +13 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f512f2d8f40e5fcef05621da99ff074d2d2652df31468107ece03e8a85b1de43
|
4
|
+
data.tar.gz: c9ae1dcc7d64d2bac1a8c53384f39e4f9343abefcfac4e80429bcf87013b7794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b22250610dec53448d389aff7c57f6da4eda37ccc58c8fe2e743379a509030668c72cb24e3a51a00de0fdbec75b3bfac1d8c57586b204cc4daecc41b363646e
|
7
|
+
data.tar.gz: 9c6e5ec0b7b572170f6d1b3a7e28b1aa9d347b01630da3a0f30f396dd867e61d2f9cfebd701fe9870a19887b2f42d23dc31d63e7b64d161c6fd267a564a04da6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -15,7 +15,8 @@ Runcom (short for link:https://en.wikipedia.org/wiki/Run_commands[Run Command])
|
|
15
15
|
functionality for Command Line Interfaces (CLIs) in which to manage global, local, or multiple
|
16
16
|
caches, configurations, or data in general. It does this by leveraging the
|
17
17
|
https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html[XDG Base Directory
|
18
|
-
Specification] built atop the link:https://www.alchemists.io/projects/xdg[XDG] implementation.
|
18
|
+
Specification] built atop the link:https://www.alchemists.io/projects/xdg[XDG] implementation. In
|
19
|
+
other words, Runcom is an advanced version of XDG.
|
19
20
|
|
20
21
|
toc::[]
|
21
22
|
|
data/lib/runcom/config.rb
CHANGED
data/lib/runcom/errors/syntax.rb
CHANGED
data/lib/runcom/identity.rb
CHANGED
data/lib/runcom/paths/common.rb
CHANGED
@@ -18,29 +18,19 @@ module Runcom
|
|
18
18
|
@context = context
|
19
19
|
end
|
20
20
|
|
21
|
-
def namespace
|
22
|
-
relative.parent
|
23
|
-
end
|
21
|
+
def namespace = relative.parent
|
24
22
|
|
25
|
-
def file_name
|
26
|
-
relative.basename
|
27
|
-
end
|
23
|
+
def file_name = relative.basename
|
28
24
|
|
29
|
-
def current
|
30
|
-
all.find(&:exist?)
|
31
|
-
end
|
25
|
+
def current = all.find(&:exist?)
|
32
26
|
|
33
|
-
def all
|
34
|
-
xdg.all.map { |root| root.join relative }
|
35
|
-
end
|
27
|
+
def all = xdg.all.map { |root| root.join relative }
|
36
28
|
|
37
29
|
private
|
38
30
|
|
39
31
|
attr_reader :context
|
40
32
|
|
41
|
-
def xdg
|
42
|
-
context.xdg
|
43
|
-
end
|
33
|
+
def xdg = context.xdg
|
44
34
|
end
|
45
35
|
end
|
46
36
|
end
|
data/lib/runcom/paths/home.rb
CHANGED
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: 7.
|
4
|
+
version: 7.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,9 +10,9 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIC/
|
14
|
-
|
15
|
-
|
13
|
+
MIIC/jCCAeagAwIBAgIBBDANBgkqhkiG9w0BAQsFADA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QPxpf9
|
28
|
+
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
|
+
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date:
|
31
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.2.
|
105
|
+
rubygems_version: 3.2.27
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: An XDG enhanced run command manager for command line interfaces.
|
metadata.gz.sig
CHANGED
Binary file
|