sublime_text_kit 14.1.0 → 14.1.2
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 +12 -12
- data/lib/sublime_text_kit/cli/actions/config.rb +2 -2
- data/lib/sublime_text_kit/cli/actions/metadata.rb +2 -3
- data/lib/sublime_text_kit/cli/actions/session.rb +2 -3
- data/lib/sublime_text_kit/cli/actions/snippets.rb +2 -2
- data/lib/sublime_text_kit/cli/actions/update.rb +6 -6
- data/lib/sublime_text_kit/cli/parser.rb +2 -2
- data/lib/sublime_text_kit/cli/parsers/core.rb +2 -6
- data/lib/sublime_text_kit/cli/shell.rb +4 -4
- data/lib/sublime_text_kit/snippets/collector.rb +2 -2
- data/lib/sublime_text_kit/snippets/printer.rb +2 -2
- data/sublime_text_kit.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- 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: 9fc486aed010e2ae8e83dac6c72697db4f7e90587a51323d4194f76073db4d34
|
4
|
+
data.tar.gz: b8535882b1a250a5816c67e0238fca84df8c4242c77a28a2b506b9047881f82a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b10467648513b00ecddda2fa0a42b2e675da443d347106a6722606f419c137696cb879f9731ca4fc85bb1b7e7032b8041be03f438053e8c2468684d26a63dda
|
7
|
+
data.tar.gz: db0ee5e586b78dcd29e17a5fe7ad08113e788607bd9fc6603828b7622d34fce8adef49f41cc29b2c03d3740c680390149427a3335771d1721c8d4773cd41c1cc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -53,7 +53,7 @@ USAGE:
|
|
53
53
|
|
54
54
|
This gem can be configured via a global configuration:
|
55
55
|
`~/.config/sublime_text_kit/configuration.yml`. It can also be configured via
|
56
|
-
link:https://
|
56
|
+
link:https://alchemists.io/projects/xdg[XDG] environment variables.
|
57
57
|
|
58
58
|
An example configuration could be:
|
59
59
|
|
@@ -91,8 +91,8 @@ the example settings shown above and assuming the following directory structure
|
|
91
91
|
The `snippets_format` key allows you define what format to print your snippets as. You can always
|
92
92
|
override your default configuration by specifying the format from the command line:
|
93
93
|
`sublime_text_kit -s ascii_doc`. For example, this is how
|
94
|
-
link:https://
|
95
|
-
generated for the link:https://
|
94
|
+
link:https://alchemists.io/projects/sublime_text_setup/#_snippets[snippets documentation] is
|
95
|
+
generated for the link:https://alchemists.io/projects/sublime_text_setup[Sublime Text Setup]
|
96
96
|
project.
|
97
97
|
|
98
98
|
=== Workflow
|
@@ -140,22 +140,22 @@ To test, run:
|
|
140
140
|
|
141
141
|
[source,bash]
|
142
142
|
----
|
143
|
-
|
143
|
+
bin/rake
|
144
144
|
----
|
145
145
|
|
146
|
-
== link:https://
|
146
|
+
== link:https://alchemists.io/policies/license[License]
|
147
147
|
|
148
|
-
== link:https://
|
148
|
+
== link:https://alchemists.io/policies/security[Security]
|
149
149
|
|
150
|
-
== link:https://
|
150
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
151
151
|
|
152
|
-
== link:https://
|
152
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
153
153
|
|
154
|
-
== link:https://
|
154
|
+
== link:https://alchemists.io/projects/sublime_text_kit/versions[Versions]
|
155
155
|
|
156
|
-
== link:https://
|
156
|
+
== link:https://alchemists.io/community[Community]
|
157
157
|
|
158
158
|
== Credits
|
159
159
|
|
160
|
-
* Built with link:https://
|
161
|
-
* Engineered by link:https://
|
160
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
161
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
@@ -7,8 +7,8 @@ module SublimeTextKit
|
|
7
7
|
class Config
|
8
8
|
include SublimeTextKit::Import[:kernel, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(configuration: Configuration::Loader::CLIENT, **)
|
11
|
+
super(**)
|
12
12
|
@configuration = configuration
|
13
13
|
end
|
14
14
|
|
@@ -11,9 +11,8 @@ module SublimeTextKit
|
|
11
11
|
|
12
12
|
using Refinements::Pathnames
|
13
13
|
|
14
|
-
def initialize
|
15
|
-
super(**
|
16
|
-
|
14
|
+
def initialize(handler: SublimeTextKit::Metadata::Handler, **)
|
15
|
+
super(**)
|
17
16
|
@handler = handler
|
18
17
|
end
|
19
18
|
|
@@ -7,9 +7,8 @@ module SublimeTextKit
|
|
7
7
|
class Session
|
8
8
|
include SublimeTextKit::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
12
|
-
|
10
|
+
def initialize(rebuilder: Sessions::Rebuilder.new, **)
|
11
|
+
super(**)
|
13
12
|
@rebuilder = rebuilder
|
14
13
|
end
|
15
14
|
|
@@ -7,8 +7,8 @@ module SublimeTextKit
|
|
7
7
|
class Snippets
|
8
8
|
include SublimeTextKit::Import[:configuration, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(printer: SublimeTextKit::Snippets::Printer.new, **)
|
11
|
+
super(**)
|
12
12
|
@printer = printer
|
13
13
|
end
|
14
14
|
|
@@ -7,12 +7,12 @@ module SublimeTextKit
|
|
7
7
|
class Update
|
8
8
|
include SublimeTextKit::Import[:configuration, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
def initialize(
|
11
|
+
metadata: SublimeTextKit::Metadata::Handler,
|
12
|
+
session: Sessions::Rebuilder.new,
|
13
|
+
**
|
14
|
+
)
|
15
|
+
super(**)
|
16
16
|
@metadata = metadata
|
17
17
|
@session = session
|
18
18
|
end
|
@@ -11,8 +11,8 @@ module SublimeTextKit
|
|
11
11
|
|
12
12
|
CLIENT = OptionParser.new nil, 40, " "
|
13
13
|
|
14
|
-
def initialize
|
15
|
-
super(**
|
14
|
+
def initialize(section: Parsers::Core, client: CLIENT, **)
|
15
|
+
super(**)
|
16
16
|
@section = section
|
17
17
|
@client = client
|
18
18
|
@configuration_duplicate = configuration.dup
|
@@ -14,12 +14,8 @@ module SublimeTextKit
|
|
14
14
|
|
15
15
|
def self.call(...) = new(...).call
|
16
16
|
|
17
|
-
def initialize
|
18
|
-
|
19
|
-
**dependencies
|
20
|
-
|
21
|
-
super(**dependencies)
|
22
|
-
|
17
|
+
def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
|
18
|
+
super(**)
|
23
19
|
@configuration = configuration
|
24
20
|
@client = client
|
25
21
|
end
|
@@ -16,13 +16,13 @@ module SublimeTextKit
|
|
16
16
|
:update
|
17
17
|
]
|
18
18
|
|
19
|
-
def initialize
|
20
|
-
super(**
|
19
|
+
def initialize(parser: Parser.new, **)
|
20
|
+
super(**)
|
21
21
|
@parser = parser
|
22
22
|
end
|
23
23
|
|
24
24
|
def call arguments = Core::EMPTY_ARRAY
|
25
|
-
|
25
|
+
act_on parser.call(arguments)
|
26
26
|
rescue OptionParser::ParseError, Error => error
|
27
27
|
logger.error { error.message }
|
28
28
|
end
|
@@ -31,7 +31,7 @@ module SublimeTextKit
|
|
31
31
|
|
32
32
|
attr_reader :parser
|
33
33
|
|
34
|
-
def
|
34
|
+
def act_on configuration
|
35
35
|
case configuration
|
36
36
|
in action_config: Symbol => action then config.call action
|
37
37
|
in action_metadata: Symbol => kind then metadata.call kind
|
data/sublime_text_kit.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "sublime_text_kit"
|
5
|
-
spec.version = "14.1.
|
5
|
+
spec.version = "14.1.2"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/sublime_text_kit"
|
9
9
|
spec.summary = "A command line interface for managing Sublime Text metadata."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/sublime_text_kit/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/sublime_text_kit/versions",
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/sublime_text_kit",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Sublime Text Kit",
|
18
18
|
"rubygems_mfa_required" => "true",
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sublime_text_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.1.
|
4
|
+
version: 14.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhc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Kzu
|
30
|
+
MKO2FVijzbDWTsZeZGglS4E+4Jxpau1lU9HhOIcKolv6LeC6UdALTFudY+GLb8Xw
|
31
|
+
REXgaJkjzzhkUSILmEnRwEbY08dVSl7ZAaxVI679vfI2yapLlIwpbBgmQTiTvPr3
|
32
|
+
qyyLUno9flYEOv9fmGHunSrM+gE0/0niGTXa5GgXBXYGS2he4LQGgSBfGp/cTwMU
|
33
|
+
rDKJRcusZ12lNBeDfgqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
|
34
|
+
XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
|
35
|
+
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
|
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
30
37
|
-----END CERTIFICATE-----
|
31
|
-
date: 2023-
|
38
|
+
date: 2023-03-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: cogger
|
@@ -181,13 +188,13 @@ files:
|
|
181
188
|
- lib/sublime_text_kit/snippets/printer.rb
|
182
189
|
- lib/sublime_text_kit/snippets/reader.rb
|
183
190
|
- sublime_text_kit.gemspec
|
184
|
-
homepage: https://
|
191
|
+
homepage: https://alchemists.io/projects/sublime_text_kit
|
185
192
|
licenses:
|
186
193
|
- Hippocratic-2.1
|
187
194
|
metadata:
|
188
195
|
bug_tracker_uri: https://github.com/bkuhlmann/sublime_text_kit/issues
|
189
|
-
changelog_uri: https://
|
190
|
-
documentation_uri: https://
|
196
|
+
changelog_uri: https://alchemists.io/projects/sublime_text_kit/versions
|
197
|
+
documentation_uri: https://alchemists.io/projects/sublime_text_kit
|
191
198
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
192
199
|
label: Sublime Text Kit
|
193
200
|
rubygems_mfa_required: 'true'
|
@@ -207,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
207
214
|
- !ruby/object:Gem::Version
|
208
215
|
version: '0'
|
209
216
|
requirements: []
|
210
|
-
rubygems_version: 3.4.
|
217
|
+
rubygems_version: 3.4.9
|
211
218
|
signing_key:
|
212
219
|
specification_version: 4
|
213
220
|
summary: A command line interface for managing Sublime Text metadata.
|
metadata.gz.sig
CHANGED
Binary file
|