xdg 4.1.0 → 5.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: d60ccee2cde7053f46ceec9c294a175e6834cf35075a88a58fc6a8ab1e44d971
4
- data.tar.gz: a5a103d0c9d7f9316e6fc879aed226f6495e5075bb35e41d89d19d141cf4d9ff
3
+ metadata.gz: 4be47491867254c82b9a95fc336c8ffca6713ab7d845ad12d83360625dcf1d42
4
+ data.tar.gz: 471e2162a4e11a1295456299347e437e572b6ccdb8d8fa180f244b299bd62caa
5
5
  SHA512:
6
- metadata.gz: 872d932d6a12e319fc87cd684328167404849d1f799c6dcec9af9f8d163a268dd8a3a01f64399ac7dd16e091adcdeadca5df9ed6b158b5485e2ce4e50de559fb
7
- data.tar.gz: fe7881085ec69c44e87e73b2ab1989707576e662453020745b7a9b3fd8043d34381d360c443e143d9a616863d1ea265229a741474f597fe48b1b273e6606737e
6
+ metadata.gz: a33c05f2a138ca3773f6fe9ce0a92163d7dd9f145aa63d9165ec021d4804b4179c73e755b91d28a35950c11eb6331776139e97cd071bea41c4e15f05b977c102
7
+ data.tar.gz: 1fd28c5d46b780c19569b9d6c75b0d6abebd2dd66816820282ac426b92e0a539443b2d0b18a87e71ce3b07ba61447595fb047203b8ce4ba0572e44e145cdfd90
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -150,7 +150,7 @@ additional liability.
150
150
 
151
151
  END OF TERMS AND CONDITIONS
152
152
 
153
- Copyright link:https://www.alchemists.io[Alchemists].
153
+ Copyright 2019 link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
154
154
 
155
155
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
156
156
  compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy]
@@ -6,6 +6,8 @@
6
6
 
7
7
  [link=http://badge.fury.io/rb/xdg]
8
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]
9
11
  [link=https://circleci.com/gh/bkuhlmann/xdg]
10
12
  image::https://circleci.com/gh/bkuhlmann/xdg.svg?style=svg[Circle CI Status]
11
13
 
@@ -31,12 +33,10 @@ access to the following environment settings:
31
33
 
32
34
  == Requirements
33
35
 
34
- . https://www.ruby-lang.org[Ruby 2.7.x]
36
+ . https://www.ruby-lang.org[Ruby]
35
37
 
36
38
  == Setup
37
39
 
38
- === Production
39
-
40
40
  To install, run:
41
41
 
42
42
  [source,bash]
@@ -51,24 +51,6 @@ Add the following to your Gemfile:
51
51
  gem "xdg"
52
52
  ----
53
53
 
54
- === Development
55
-
56
- To contribute, run:
57
-
58
- [source,bash]
59
- ----
60
- git clone https://github.com/bkuhlmann/xdg.git
61
- cd xdg
62
- bin/setup
63
- ----
64
-
65
- You can also use the IRB console for direct access to all objects:
66
-
67
- [source,bash]
68
- ----
69
- bin/console
70
- ----
71
-
72
54
  == Usage
73
55
 
74
56
  The following describes how to use this XDG implementation.
@@ -259,6 +241,24 @@ Path precedence is determined in the following order (with the first taking high
259
241
  . `$XDG_*_DIRS` - Iterates through directories in order defined (with first taking highest
260
242
  priority). Otherwise, falls back to specification default.
261
243
 
244
+ == Development
245
+
246
+ To contribute, run:
247
+
248
+ [source,bash]
249
+ ----
250
+ git clone https://github.com/bkuhlmann/xdg.git
251
+ cd xdg
252
+ bin/setup
253
+ ----
254
+
255
+ You can also use the IRB console for direct access to all objects:
256
+
257
+ [source,bash]
258
+ ----
259
+ bin/console
260
+ ----
261
+
262
262
  == Tests
263
263
 
264
264
  To test, run:
@@ -295,4 +295,4 @@ Read link:CHANGES.adoc[CHANGES] for details.
295
295
 
296
296
  == Credits
297
297
 
298
- Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann.html[Brooke Kuhlmann].
298
+ Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -5,7 +5,7 @@ module XDG
5
5
  module Identity
6
6
  NAME = "xdg"
7
7
  LABEL = "XDG"
8
- VERSION = "4.1.0"
8
+ VERSION = "5.0.0"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  end
11
11
  end
@@ -14,14 +14,14 @@ module XDG
14
14
  end
15
15
 
16
16
  def default
17
- value.split(DELIMITER).map(&method(:expand))
17
+ value.split(DELIMITER).map { |path| expand path }
18
18
  end
19
19
 
20
20
  def dynamic
21
21
  String(environment[key]).then { |env_value| env_value.empty? ? value : env_value }
22
22
  .split(DELIMITER)
23
23
  .uniq
24
- .map(&method(:expand))
24
+ .map { |path| expand path }
25
25
  end
26
26
 
27
27
  def inspect
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xdg
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain:
11
11
  - |
@@ -28,205 +28,9 @@ cert_chain:
28
28
  2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
29
  QWc=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-04-01 00:00:00.000000000 Z
32
- dependencies:
33
- - !ruby/object:Gem::Dependency
34
- name: bundler-audit
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '0.6'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '0.6'
47
- - !ruby/object:Gem::Dependency
48
- name: gemsmith
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '14.0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '14.0'
61
- - !ruby/object:Gem::Dependency
62
- name: git-cop
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: '4.0'
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: '4.0'
75
- - !ruby/object:Gem::Dependency
76
- name: guard-rspec
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '4.7'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '4.7'
89
- - !ruby/object:Gem::Dependency
90
- name: pry
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '0.12'
96
- type: :development
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '0.12'
103
- - !ruby/object:Gem::Dependency
104
- name: pry-byebug
105
- requirement: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '3.7'
110
- type: :development
111
- prerelease: false
112
- version_requirements: !ruby/object:Gem::Requirement
113
- requirements:
114
- - - "~>"
115
- - !ruby/object:Gem::Version
116
- version: '3.7'
117
- - !ruby/object:Gem::Dependency
118
- name: rake
119
- requirement: !ruby/object:Gem::Requirement
120
- requirements:
121
- - - "~>"
122
- - !ruby/object:Gem::Version
123
- version: '13.0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - "~>"
129
- - !ruby/object:Gem::Version
130
- version: '13.0'
131
- - !ruby/object:Gem::Dependency
132
- name: reek
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - "~>"
136
- - !ruby/object:Gem::Version
137
- version: '6.0'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - "~>"
143
- - !ruby/object:Gem::Version
144
- version: '6.0'
145
- - !ruby/object:Gem::Dependency
146
- name: rspec
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - "~>"
150
- - !ruby/object:Gem::Version
151
- version: '3.9'
152
- type: :development
153
- prerelease: false
154
- version_requirements: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - "~>"
157
- - !ruby/object:Gem::Version
158
- version: '3.9'
159
- - !ruby/object:Gem::Dependency
160
- name: rubocop
161
- requirement: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - "~>"
164
- - !ruby/object:Gem::Version
165
- version: '0.79'
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- requirements:
170
- - - "~>"
171
- - !ruby/object:Gem::Version
172
- version: '0.79'
173
- - !ruby/object:Gem::Dependency
174
- name: rubocop-performance
175
- requirement: !ruby/object:Gem::Requirement
176
- requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: '1.5'
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: '1.5'
187
- - !ruby/object:Gem::Dependency
188
- name: rubocop-rake
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
192
- - !ruby/object:Gem::Version
193
- version: '0.5'
194
- type: :development
195
- prerelease: false
196
- version_requirements: !ruby/object:Gem::Requirement
197
- requirements:
198
- - - "~>"
199
- - !ruby/object:Gem::Version
200
- version: '0.5'
201
- - !ruby/object:Gem::Dependency
202
- name: rubocop-rspec
203
- requirement: !ruby/object:Gem::Requirement
204
- requirements:
205
- - - "~>"
206
- - !ruby/object:Gem::Version
207
- version: '1.37'
208
- type: :development
209
- prerelease: false
210
- version_requirements: !ruby/object:Gem::Requirement
211
- requirements:
212
- - - "~>"
213
- - !ruby/object:Gem::Version
214
- version: '1.37'
215
- - !ruby/object:Gem::Dependency
216
- name: simplecov
217
- requirement: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '0.18'
222
- type: :development
223
- prerelease: false
224
- version_requirements: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - "~>"
227
- - !ruby/object:Gem::Version
228
- version: '0.18'
229
- description:
31
+ date: 2020-12-29 00:00:00.000000000 Z
32
+ dependencies: []
33
+ description:
230
34
  email:
231
35
  - brooke@alchemists.io
232
36
  executables: []
@@ -255,7 +59,7 @@ metadata:
255
59
  changelog_uri: https://www.alchemists.io/projects/xdg/changes.html
256
60
  documentation_uri: https://www.alchemists.io/projects/xdg
257
61
  source_code_uri: https://github.com/bkuhlmann/xdg
258
- post_install_message:
62
+ post_install_message:
259
63
  rdoc_options: []
260
64
  require_paths:
261
65
  - lib
@@ -263,15 +67,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
263
67
  requirements:
264
68
  - - "~>"
265
69
  - !ruby/object:Gem::Version
266
- version: '2.7'
70
+ version: '3.0'
267
71
  required_rubygems_version: !ruby/object:Gem::Requirement
268
72
  requirements:
269
73
  - - ">="
270
74
  - !ruby/object:Gem::Version
271
75
  version: '0'
272
76
  requirements: []
273
- rubygems_version: 3.1.2
274
- signing_key:
77
+ rubygems_version: 3.2.3
78
+ signing_key:
275
79
  specification_version: 4
276
80
  summary: Provides an implementation of the XDG Base Directory Specification.
277
81
  test_files: []
metadata.gz.sig CHANGED
Binary file