sublime_text_kit 14.1.1 → 14.2.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: 685db134303f817ea1bc68c8ae11a5e3154b554c2717892a7ea446fce2146abc
4
- data.tar.gz: 4794d42c21ea78e0e2167dc202366f1fcbd281035e0ec497c47262d66444829e
3
+ metadata.gz: 3a1e0b0513d5fbeccd47af0053af6f66452c86bbb680e7bfae20ce5fd37561c1
4
+ data.tar.gz: b444c698ead83a4bc2d31bdcd34f093879d5271cbbd2a686b7724e19201e96d9
5
5
  SHA512:
6
- metadata.gz: 0b639f1fa50ac1303409c95deeff89923e7a36f872fd48e57b1b74ba9f6559625aedee09a5af861099403506f46a85fae1da2965b42641ae0c3e4d2064fa95c5
7
- data.tar.gz: e1c8804cace5ca22ecf802b93ac4c9158cddb80ef715a0ebd73d1147e7f2ea5511a212cb3613e4701f92e52fa5dce96d0107bda01aa6dc199a35dedccfb7c45d
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://www.alchemists.io/projects/xdg[XDG] environment variables.
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://www.alchemists.io/projects/sublime_text_setup/#_snippets[snippets documentation] is
95
- generated for the link:https://www.alchemists.io/projects/sublime_text_setup[Sublime Text Setup]
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://www.alchemists.io/policies/license[License]
155
+ == link:https://alchemists.io/policies/license[License]
147
156
 
148
- == link:https://www.alchemists.io/policies/security[Security]
157
+ == link:https://alchemists.io/policies/security[Security]
149
158
 
150
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
159
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
151
160
 
152
- == link:https://www.alchemists.io/policies/contributions[Contributions]
161
+ == link:https://alchemists.io/policies/contributions[Contributions]
153
162
 
154
- == link:https://www.alchemists.io/projects/sublime_text_kit/versions[Versions]
163
+ == link:https://alchemists.io/projects/sublime_text_kit/versions[Versions]
155
164
 
156
- == link:https://www.alchemists.io/community[Community]
165
+ == link:https://alchemists.io/community[Community]
157
166
 
158
167
  == Credits
159
168
 
160
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
161
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
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 logger.info { specification.labeled_version }
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 = logger.any { parser.to_s }
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::Client.new }
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[:logger]
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
- logger.info "#{bullet} #{snippet.description} - `#{snippet.trigger}`"
16
+ kernel.puts "#{bullet} #{snippet.description} - `#{snippet.trigger}`"
17
17
  end
18
18
  end
19
19
 
@@ -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.1"
5
+ spec.version = "14.2.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/sublime_text_kit"
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://www.alchemists.io/projects/sublime_text_kit/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/sublime_text_kit",
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.5"
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.1.1
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
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzM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3/W8ck2IQhKzu
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-02-05 00:00:00.000000000 Z
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.5'
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.5'
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://www.alchemists.io/projects/sublime_text_kit
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://www.alchemists.io/projects/sublime_text_kit/versions
190
- documentation_uri: https://www.alchemists.io/projects/sublime_text_kit
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.6
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