sublime_text_kit 14.1.2 → 14.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +10 -1
- 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 +2 -2
- data.tar.gz.sig +0 -0
- metadata +5 -5
- 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
|
----
|
@@ -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,7 +2,7 @@
|
|
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
8
|
spec.homepage = "https://alchemists.io/projects/sublime_text_kit"
|
@@ -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
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
36
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2023-
|
38
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: cogger
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.8'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0.
|
53
|
+
version: '0.8'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: core
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.4.
|
217
|
+
rubygems_version: 3.4.12
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: A command line interface for managing Sublime Text metadata.
|
metadata.gz.sig
CHANGED
Binary file
|