runcom 7.0.0 → 7.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc10cfcbc50a4ab1cf515b6bcfa4bde00de1a6400c0b564629b78d6017295633
4
- data.tar.gz: ad321361e4aaee12981f8da155b8437acd8db03d8e63e73c33752c9d0a3f993a
3
+ metadata.gz: f512f2d8f40e5fcef05621da99ff074d2d2652df31468107ece03e8a85b1de43
4
+ data.tar.gz: c9ae1dcc7d64d2bac1a8c53384f39e4f9343abefcfac4e80429bcf87013b7794
5
5
  SHA512:
6
- metadata.gz: 6073b158430b82f34b7cceb90ba33a11ad5354a1dcacbb8ca8312d4a0ccc9c30f3cba3dfb6292473617bd3752235ced563cb33a019c77090b88dee4c9d25ce7a
7
- data.tar.gz: a712fba35f11d6ae344a2171701fa300f79461073196c20638b463f1d99fc2121af9e78267a8ba8e3cb27ee1cf1cbcb7e5b4dd90f8e3d3d69ccd5af0d646d447
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
@@ -31,13 +31,9 @@ module Runcom
31
31
 
32
32
  alias eql? ==
33
33
 
34
- def hash
35
- [common.relative, to_h, self.class].hash
36
- end
34
+ def hash = [common.relative, to_h, self.class].hash
37
35
 
38
- def to_h
39
- settings
40
- end
36
+ def to_h = settings
41
37
 
42
38
  private
43
39
 
@@ -4,9 +4,7 @@ module Runcom
4
4
  module Errors
5
5
  # The error class for YAML-related exceptions.
6
6
  class Syntax < Base
7
- def message
8
- "Invalid configuration #{super}."
9
- end
7
+ def message = "Invalid configuration #{super}."
10
8
  end
11
9
  end
12
10
  end
@@ -5,7 +5,7 @@ module Runcom
5
5
  module Identity
6
6
  NAME = "runcom"
7
7
  LABEL = "Runcom"
8
- VERSION = "7.0.0"
9
- VERSION_LABEL = "#{LABEL} #{VERSION}"
8
+ VERSION = "7.1.3"
9
+ VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
10
10
  end
11
11
  end
@@ -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
@@ -21,9 +21,7 @@ module Runcom
21
21
  end
22
22
  end
23
23
 
24
- def inspect
25
- [standard.key, dynamic].compact.join XDG::PAIR_DELIMITER
26
- end
24
+ def inspect = [standard.key, dynamic].compact.join(XDG::PAIR_DELIMITER)
27
25
 
28
26
  private
29
27
 
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.0.0
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/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMDAzMTUxNDQ1MzJaFw0yMTAzMTUx
15
- NDQ1MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
13
+ MIIC/jCCAeagAwIBAgIBBDANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMTAzMTkxMjQ4MDZaFw0yMjAzMTkx
15
+ MjQ4MDZaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
16
  IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
17
  xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
18
  brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
@@ -20,15 +20,15 @@ cert_chain:
20
20
  D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
21
  3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
22
  AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
- 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAIHhAlD3po4sTYqacXaQ
24
- XI9jIhrfMy//2PgbHWcETtlJPBeNUbbSNBABcllUHKqYsVDlSvSmss034KSWNR8F
25
- bF1GcloicyvcCC4y6IoW4it0COAcdeaaxkxiBSgKdQFpff9REnDlIKK4uQ9lLxIo
26
- Y2G5xubiziKZkyfWFuSr67PIjW3Bu673D1JVBArhA1qbgQmYQcy1CkGOjo+iO8Nf
27
- 7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
28
- 2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
- QWc=
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAEjpaOXHHp8s/7GL2qCb
24
+ YAs7urOLv9VHSPfQWAwaTMVnSsIf3Sw4xzISOP/mmfEPBPXtz61K5esrE/uTFtgb
25
+ FyjxQk2H0sEWgrRXGGNHBWQRhhEs7LP/TByoC15A0br++xLxRz4r7HBLGAWQQDpg
26
+ 66BJ2TBVjxS6K64tKbq7+ACyrOZGgTfNHACh4M076y0x0oRf/rwBrU39/KRfuhbb
27
+ cm+nNCEtO35gTmZ2bVDHLGvWazi3gJt6+huQjfXTCUUG2YYBxwhu+GPdAGQPxpf9
28
+ lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
+ W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-12-29 00:00:00.000000000 Z
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.3
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