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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fc486aed010e2ae8e83dac6c72697db4f7e90587a51323d4194f76073db4d34
4
- data.tar.gz: b8535882b1a250a5816c67e0238fca84df8c4242c77a28a2b506b9047881f82a
3
+ metadata.gz: 3a1e0b0513d5fbeccd47af0053af6f66452c86bbb680e7bfae20ce5fd37561c1
4
+ data.tar.gz: b444c698ead83a4bc2d31bdcd34f093879d5271cbbd2a686b7724e19201e96d9
5
5
  SHA512:
6
- metadata.gz: 4b10467648513b00ecddda2fa0a42b2e675da443d347106a6722606f419c137696cb879f9731ca4fc85bb1b7e7032b8041be03f438053e8c2468684d26a63dda
7
- data.tar.gz: db0ee5e586b78dcd29e17a5fe7ad08113e788607bd9fc6603828b7622d34fce8adef49f41cc29b2c03d3740c680390149427a3335771d1721c8d4773cd41c1cc
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 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,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sublime_text_kit"
5
- spec.version = "14.1.2"
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.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.2
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-03-22 00:00:00.000000000 Z
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.5'
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.5'
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.9
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