runcom 8.7.0 → 9.0.0

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: 80a75e87770a191dfcc5183a1dd822bee2bc308b076015cb0b173d7c2cb01f51
4
- data.tar.gz: 2b7b115709682810188558626abb810fe1b486fc669023926333957ace5d99ed
3
+ metadata.gz: 83a8fc44c16b25022922c0295a4ec7fee54ad6515f62676d7a96fd40346f7439
4
+ data.tar.gz: e4712ee552e7c666ff171ca0109e930bf8083f2b996405a6711eca9a1d559cec
5
5
  SHA512:
6
- metadata.gz: 6b75016e8a9a16a3e81ef9edb08b3f1d6b511e9311653879877b9460f4ab6521c57c91f1faa714d83b2b9287e4aadb103aa494ced2bd9d21c2600969a32aa4ae
7
- data.tar.gz: a21040d83c1bb0b3258dce2458ae87db986ac823a72cdc5d0466c663baf2866ceeb52ff5101d2f824e5e554f574f8d169cc1a85370316981371af55b5ab6481e
6
+ metadata.gz: 96e9e6924d032543b6fe404043528ce8324ec35c57a29f61b434162d7188f731084dd0a78175e1288bcc0396c33b738993b5f35252b140b99e06bfb35fc25fd8
7
+ data.tar.gz: e9697690d97128cb933aad16e4de9c7af41eda7e201acb05391e040ebabbe66c4b3433d665008391b10926f2e8226b29348b57546506a8242b038cdd14e3c22d
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/runcom/config.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "yaml"
4
3
  require "refinements/hashes"
4
+ require "yaml"
5
5
 
6
6
  module Runcom
7
7
  # A developer friendly wrapper of XDG config.
@@ -8,8 +8,9 @@ module Runcom
8
8
 
9
9
  self[:home] ||= Paths::Home
10
10
  self[:environment] ||= ENV
11
-
12
11
  self[:xdg] = xdg.new(home:, environment:) if xdg
12
+
13
+ freeze
13
14
  end
14
15
  end
15
16
  end
@@ -21,10 +21,7 @@ module Runcom
21
21
  end
22
22
 
23
23
  def inspect
24
- [
25
- standard.key,
26
- dynamic.join(XDG::Paths::Directory::DELIMITER)
27
- ].compact.join(XDG::PAIR_DELIMITER)
24
+ [standard.key, dynamic.join(XDG::Paths::Directory::DELIMITER)].compact.join XDG::DELIMITER
28
25
  end
29
26
 
30
27
  private
data/lib/runcom.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "xdg"
4
- require "runcom/error"
5
- require "runcom/paths/home"
6
- require "runcom/paths/common"
7
- require "runcom/context"
8
- require "runcom/cache"
9
- require "runcom/config"
10
- require "runcom/data"
11
- require "runcom/state"
4
+ require "zeitwerk"
5
+
6
+ Zeitwerk::Loader.for_gem.setup
7
+
8
+ # Main namespace.
9
+ module Runcom
10
+ end
data/runcom.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "runcom"
5
- spec.version = "8.7.0"
5
+ spec.version = "9.0.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/runcom"
@@ -22,9 +22,10 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.1"
26
- spec.add_dependency "refinements", "~> 9.7"
27
- spec.add_dependency "xdg", "~> 6.6"
25
+ spec.required_ruby_version = "~> 3.2"
26
+ spec.add_dependency "refinements", "~> 10.0"
27
+ spec.add_dependency "xdg", "~> 7.0"
28
+ spec.add_dependency "zeitwerk", "~> 2.6"
28
29
 
29
30
  spec.files = Dir["*.gemspec", "lib/**/*"]
30
31
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
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.7.0
4
+ version: 9.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-10-22 00:00:00.000000000 Z
31
+ date: 2022-12-25 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: refinements
@@ -36,28 +36,42 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '9.7'
39
+ version: '10.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '9.7'
46
+ version: '10.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: xdg
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '6.6'
53
+ version: '7.0'
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.6'
60
+ version: '7.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: zeitwerk
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '2.6'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.6'
61
75
  description:
62
76
  email:
63
77
  - brooke@alchemists.io
@@ -98,14 +112,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
112
  requirements:
99
113
  - - "~>"
100
114
  - !ruby/object:Gem::Version
101
- version: '3.1'
115
+ version: '3.2'
102
116
  required_rubygems_version: !ruby/object:Gem::Requirement
103
117
  requirements:
104
118
  - - ">="
105
119
  - !ruby/object:Gem::Version
106
120
  version: '0'
107
121
  requirements: []
108
- rubygems_version: 3.3.24
122
+ rubygems_version: 3.4.1
109
123
  signing_key:
110
124
  specification_version: 4
111
125
  summary: An XDG enhanced run command manager for command line interfaces.
metadata.gz.sig CHANGED
Binary file