xdg 6.0.0 → 6.3.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: 1d16098e80335d26072be451be6596589756e133aabf0a71962b142ec4977444
4
- data.tar.gz: 8c6437a613235c95c42d09fc8ffcea3e611420a7253f5c70cf33c16fb28f2e35
3
+ metadata.gz: 90e9679cb7fbcda65c390933ef6650b9009fb659b189fb71d9b148dd9bfd30d4
4
+ data.tar.gz: 7b6b416608705bfb2db4194a8e433293b0866bf2104a888bc05887129123c3f9
5
5
  SHA512:
6
- metadata.gz: 801180047b755e31df8b8f8e9927d50e4593453a9f581bc3786ad8883604d09e75f513ffe97e60cdec0e260243308f83bde24414a194e5d10e89f6ce012192b6
7
- data.tar.gz: 8731472dc52ac5e717b7f4a6ead974307067a1a98f50780170795631428a84d92f69431d36fe8442271353626e6c366ca3e6807c36e936437e0f451e142408b3
6
+ metadata.gz: ffc4d9afe9fbc3c33f494b94c6df1149c52ae64d29dfdb87f05f85a8b62121eee8713e617dfafc30c6620024cf970d724922bbd5aefcad6a0e4c9f02367e6623
7
+ data.tar.gz: 2bfd465caa1312f972f816048ae18f4b99dfd3d942b452dd1ee22cd7c7d1121a6727123a809ff9f9fa2620f73745e2e99730c3d710780ef279ca1b99fda2ad15
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -4,13 +4,6 @@
4
4
 
5
5
  = XDG
6
6
 
7
- [link=http://badge.fury.io/rb/xdg]
8
- image::https://badge.fury.io/rb/xdg.svg[Gem Version]
9
- [link=https://www.alchemists.io/projects/code_quality]
10
- image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
11
- [link=https://circleci.com/gh/bkuhlmann/xdg]
12
- image::https://circleci.com/gh/bkuhlmann/xdg.svg?style=svg[Circle CI Status]
13
-
14
7
  Provides a Ruby implementation of the
15
8
  https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html[XDG Base Directory
16
9
  Specification] for managing common configurations without polluting your dotfiles. XDG is great for
@@ -270,35 +263,17 @@ To test, run:
270
263
  bundle exec rake
271
264
  ----
272
265
 
273
- == Versioning
274
-
275
- Read link:https://semver.org[Semantic Versioning] for details. Briefly, it means:
276
-
277
- * Major (X.y.z) - Incremented for any backwards incompatible public API changes.
278
- * Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
279
- * Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
280
-
281
- == Code of Conduct
282
-
283
- Please note that this project is released with a link:CODE_OF_CONDUCT.adoc[CODE OF CONDUCT]. By
284
- participating in this project you agree to abide by its terms.
285
-
286
- == Contributions
287
-
288
- Read link:CONTRIBUTING.adoc[CONTRIBUTING] for details.
289
-
290
- == Community
266
+ == link:https://www.alchemists.io/policies/license[License]
291
267
 
292
- Feel free to link:https://www.alchemists.io/community[join the commmunity] for discussions related
293
- to this project and much more.
268
+ == link:https://www.alchemists.io/policies/security[Security]
294
269
 
295
- == License
270
+ == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
296
271
 
297
- Read link:LICENSE.adoc[LICENSE] for details.
272
+ == link:https://www.alchemists.io/policies/contributions[Contributions]
298
273
 
299
- == Changes
274
+ == link:https://www.alchemists.io/projects/xdg/versions[Versions]
300
275
 
301
- Read link:CHANGES.adoc[CHANGES] for details.
276
+ == link:https://www.alchemists.io/community[Community]
302
277
 
303
278
  == Credits
304
279
 
@@ -5,7 +5,7 @@ module XDG
5
5
  def initialize home: Paths::Home, directories: Paths::Directory, environment: ENV
6
6
  @cache = Cache.new(home:, directories:, environment:)
7
7
  @config = Config.new(home:, directories:, environment:)
8
- @data = Data.new(home:, directories:, environment:)
8
+ @data = Data.new home:, directories:, environment:
9
9
  end
10
10
 
11
11
  def cache_home = cache.home
@@ -15,7 +15,7 @@ module XDG
15
15
 
16
16
  def directories = initial_directories.dynamic
17
17
 
18
- def all = directories.prepend(home)
18
+ def all = directories.prepend(*home)
19
19
 
20
20
  def inspect = [initial_home.inspect, initial_directories.inspect].reject(&:empty?).join(" ")
21
21
 
data/lib/xdg.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "xdg/identity"
4
3
  require "xdg/pair"
5
4
  require "xdg/paths/home"
6
5
  require "xdg/paths/directory"
data/xdg.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "xdg"
5
+ spec.version = "6.3.0"
6
+ spec.authors = ["Brooke Kuhlmann"]
7
+ spec.email = ["brooke@alchemists.io"]
8
+ spec.homepage = "https://www.alchemists.io/projects/xdg"
9
+ spec.summary = "Provides an implementation of the XDG Base Directory Specification."
10
+ spec.license = "Hippocratic-3.0"
11
+
12
+ spec.metadata = {
13
+ "bug_tracker_uri" => "https://github.com/bkuhlmann/xdg/issues",
14
+ "changelog_uri" => "https://www.alchemists.io/projects/xdg/versions",
15
+ "documentation_uri" => "https://www.alchemists.io/projects/xdg",
16
+ "label" => "XDG",
17
+ "rubygems_mfa_required" => "true",
18
+ "source_code_uri" => "https://github.com/bkuhlmann/xdg"
19
+ }
20
+
21
+ spec.signing_key = Gem.default_key_path
22
+ spec.cert_chain = [Gem.default_cert_path]
23
+
24
+ spec.required_ruby_version = "~> 3.1"
25
+
26
+ spec.files = Dir["*.gemspec", "lib/**/*"]
27
+ spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
28
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xdg
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.3.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: 2021-12-26 00:00:00.000000000 Z
31
+ date: 2022-02-12 00:00:00.000000000 Z
32
32
  dependencies: []
33
33
  description:
34
34
  email:
@@ -46,18 +46,19 @@ files:
46
46
  - lib/xdg/config.rb
47
47
  - lib/xdg/data.rb
48
48
  - lib/xdg/environment.rb
49
- - lib/xdg/identity.rb
50
49
  - lib/xdg/pair.rb
51
50
  - lib/xdg/paths/combined.rb
52
51
  - lib/xdg/paths/directory.rb
53
52
  - lib/xdg/paths/home.rb
53
+ - xdg.gemspec
54
54
  homepage: https://www.alchemists.io/projects/xdg
55
55
  licenses:
56
56
  - Hippocratic-3.0
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/bkuhlmann/xdg/issues
59
- changelog_uri: https://www.alchemists.io/projects/xdg/changes.html
59
+ changelog_uri: https://www.alchemists.io/projects/xdg/versions
60
60
  documentation_uri: https://www.alchemists.io/projects/xdg
61
+ label: XDG
61
62
  rubygems_mfa_required: 'true'
62
63
  source_code_uri: https://github.com/bkuhlmann/xdg
63
64
  post_install_message:
@@ -75,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  - !ruby/object:Gem::Version
76
77
  version: '0'
77
78
  requirements: []
78
- rubygems_version: 3.3.3
79
+ rubygems_version: 3.3.7
79
80
  signing_key:
80
81
  specification_version: 4
81
82
  summary: Provides an implementation of the XDG Base Directory Specification.
metadata.gz.sig CHANGED
Binary file
data/lib/xdg/identity.rb DELETED
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module XDG
4
- # Gem identity information.
5
- module Identity
6
- NAME = "xdg"
7
- LABEL = "XDG"
8
- VERSION = "6.0.0"
9
- VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
10
- end
11
- end