sublime_text_kit 14.1.1 → 14.2.0
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 +21 -12
- data/lib/sublime_text_kit/cli/shell.rb +5 -4
- data/lib/sublime_text_kit/container.rb +1 -1
- data/lib/sublime_text_kit/snippets/printer.rb +2 -2
- data/sublime_text_kit.gemspec +5 -5
- data.tar.gz.sig +0 -0
- metadata +32 -25
- 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: 3a1e0b0513d5fbeccd47af0053af6f66452c86bbb680e7bfae20ce5fd37561c1
|
|
4
|
+
data.tar.gz: b444c698ead83a4bc2d31bdcd34f093879d5271cbbd2a686b7724e19201e96d9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc2cd4e107eb01e2608e64ea12d39951ad05e23685531ecf24af1248459bfedd9fddc0416fd8800ace1898f7109c31557f847567f0a2540fc3b78dfb60827e82
|
|
7
|
+
data.tar.gz: bab7663426d55855d9849f2e30080df73fe49a558b742d07dd0987f23b92401db34384089b966fe87404f483a87536ab682f59bf45da1e2f8cbea0e15ecb16c9
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -25,7 +25,16 @@ toc::[]
|
|
|
25
25
|
|
|
26
26
|
== Setup
|
|
27
27
|
|
|
28
|
-
To install, run:
|
|
28
|
+
To install _with_ security, run:
|
|
29
|
+
|
|
30
|
+
[source,bash]
|
|
31
|
+
----
|
|
32
|
+
# 💡 Skip this line if you already have the public certificate installed.
|
|
33
|
+
gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem)
|
|
34
|
+
gem install sublime_text_kit --trust-policy HighSecurity
|
|
35
|
+
----
|
|
36
|
+
|
|
37
|
+
To install _without_ security, run:
|
|
29
38
|
|
|
30
39
|
[source,bash]
|
|
31
40
|
----
|
|
@@ -53,7 +62,7 @@ USAGE:
|
|
|
53
62
|
|
|
54
63
|
This gem can be configured via a global configuration:
|
|
55
64
|
`~/.config/sublime_text_kit/configuration.yml`. It can also be configured via
|
|
56
|
-
link:https://
|
|
65
|
+
link:https://alchemists.io/projects/xdg[XDG] environment variables.
|
|
57
66
|
|
|
58
67
|
An example configuration could be:
|
|
59
68
|
|
|
@@ -91,8 +100,8 @@ the example settings shown above and assuming the following directory structure
|
|
|
91
100
|
The `snippets_format` key allows you define what format to print your snippets as. You can always
|
|
92
101
|
override your default configuration by specifying the format from the command line:
|
|
93
102
|
`sublime_text_kit -s ascii_doc`. For example, this is how
|
|
94
|
-
link:https://
|
|
95
|
-
generated for the link:https://
|
|
103
|
+
link:https://alchemists.io/projects/sublime_text_setup/#_snippets[snippets documentation] is
|
|
104
|
+
generated for the link:https://alchemists.io/projects/sublime_text_setup[Sublime Text Setup]
|
|
96
105
|
project.
|
|
97
106
|
|
|
98
107
|
=== Workflow
|
|
@@ -143,19 +152,19 @@ To test, run:
|
|
|
143
152
|
bin/rake
|
|
144
153
|
----
|
|
145
154
|
|
|
146
|
-
== link:https://
|
|
155
|
+
== link:https://alchemists.io/policies/license[License]
|
|
147
156
|
|
|
148
|
-
== link:https://
|
|
157
|
+
== link:https://alchemists.io/policies/security[Security]
|
|
149
158
|
|
|
150
|
-
== link:https://
|
|
159
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
|
151
160
|
|
|
152
|
-
== link:https://
|
|
161
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
|
153
162
|
|
|
154
|
-
== link:https://
|
|
163
|
+
== link:https://alchemists.io/projects/sublime_text_kit/versions[Versions]
|
|
155
164
|
|
|
156
|
-
== link:https://
|
|
165
|
+
== link:https://alchemists.io/community[Community]
|
|
157
166
|
|
|
158
167
|
== Credits
|
|
159
168
|
|
|
160
|
-
* Built with link:https://
|
|
161
|
-
* Engineered by link:https://
|
|
169
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
|
170
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
|
@@ -7,12 +7,13 @@ module SublimeTextKit
|
|
|
7
7
|
# The main Command Line Interface (CLI) object.
|
|
8
8
|
class Shell
|
|
9
9
|
include Actions::Import[
|
|
10
|
-
:specification,
|
|
11
|
-
:logger,
|
|
12
10
|
:config,
|
|
11
|
+
:kernel,
|
|
12
|
+
:logger,
|
|
13
13
|
:metadata,
|
|
14
14
|
:session,
|
|
15
15
|
:snippets,
|
|
16
|
+
:specification,
|
|
16
17
|
:update
|
|
17
18
|
]
|
|
18
19
|
|
|
@@ -38,12 +39,12 @@ module SublimeTextKit
|
|
|
38
39
|
in action_session: true then session.call
|
|
39
40
|
in action_snippets: true then snippets.call configuration.snippets_format
|
|
40
41
|
in action_update: true then update.call
|
|
41
|
-
in action_version: true then
|
|
42
|
+
in action_version: true then kernel.puts specification.labeled_version
|
|
42
43
|
else usage
|
|
43
44
|
end
|
|
44
45
|
end
|
|
45
46
|
|
|
46
|
-
def usage =
|
|
47
|
+
def usage = kernel.puts parser.to_s
|
|
47
48
|
end
|
|
48
49
|
end
|
|
49
50
|
end
|
|
@@ -12,6 +12,6 @@ module SublimeTextKit
|
|
|
12
12
|
register(:configuration) { Configuration::Loader.call }
|
|
13
13
|
register(:specification) { Spek::Loader.call "#{__dir__}/../../sublime_text_kit.gemspec" }
|
|
14
14
|
register(:kernel) { Kernel }
|
|
15
|
-
register(:logger) { Cogger
|
|
15
|
+
register(:logger) { Cogger.new formatter: :emoji }
|
|
16
16
|
end
|
|
17
17
|
end
|
|
@@ -4,7 +4,7 @@ module SublimeTextKit
|
|
|
4
4
|
module Snippets
|
|
5
5
|
# Prints snippets as a list.
|
|
6
6
|
class Printer
|
|
7
|
-
include Import[:
|
|
7
|
+
include Import[:kernel]
|
|
8
8
|
|
|
9
9
|
def initialize(collector: Collector.new, **)
|
|
10
10
|
super(**)
|
|
@@ -13,7 +13,7 @@ module SublimeTextKit
|
|
|
13
13
|
|
|
14
14
|
def call bullet
|
|
15
15
|
collector.call.each do |snippet|
|
|
16
|
-
|
|
16
|
+
kernel.puts "#{bullet} #{snippet.description} - `#{snippet.trigger}`"
|
|
17
17
|
end
|
|
18
18
|
end
|
|
19
19
|
|
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.
|
|
5
|
+
spec.version = "14.2.0"
|
|
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",
|
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
|
24
24
|
|
|
25
25
|
spec.required_ruby_version = "~> 3.2"
|
|
26
|
-
spec.add_dependency "cogger", "~> 0.
|
|
26
|
+
spec.add_dependency "cogger", "~> 0.8"
|
|
27
27
|
spec.add_dependency "core", "~> 0.1"
|
|
28
28
|
spec.add_dependency "dry-container", "~> 0.11"
|
|
29
29
|
spec.add_dependency "infusible", "~> 1.0"
|
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.
|
|
4
|
+
version: 14.2.0
|
|
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
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
|
|
16
|
+
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
|
17
|
+
GRYCaW8wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCro8tj5/E1Hg88
|
|
18
|
+
f4qfiwPVd2zJQHvdYt4GH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a5GgXBXYGS2he4LQGgSBfGp/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-04-13 00:00:00.000000000 Z
|
|
32
39
|
dependencies:
|
|
33
40
|
- !ruby/object:Gem::Dependency
|
|
34
41
|
name: cogger
|
|
@@ -36,14 +43,14 @@ dependencies:
|
|
|
36
43
|
requirements:
|
|
37
44
|
- - "~>"
|
|
38
45
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '0.
|
|
46
|
+
version: '0.8'
|
|
40
47
|
type: :runtime
|
|
41
48
|
prerelease: false
|
|
42
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
43
50
|
requirements:
|
|
44
51
|
- - "~>"
|
|
45
52
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: '0.
|
|
53
|
+
version: '0.8'
|
|
47
54
|
- !ruby/object:Gem::Dependency
|
|
48
55
|
name: core
|
|
49
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -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.12
|
|
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
|