sublime_text_kit 15.0.1 → 15.0.3

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: d06ec31815017a26c5a7f3e3817222fd8213303a48264de551b8d34e1cd5f078
4
- data.tar.gz: 2a78dcf6449dcda2d668976c702991c5a60404ab2a094939a9a9888864084dab
3
+ metadata.gz: d39cef4e432c04749c35a31c97e0a52735c29e2fabfd0eef944c2216222968cc
4
+ data.tar.gz: 9d16dbff5b9c2907b581fb493e66808e160d18fad304433f4926342d9353729f
5
5
  SHA512:
6
- metadata.gz: f1b2246c84b2bda7bd08c7d7bd4cae73281f4e919e25c2998c051fc418deb26135d4ed4d0d6d240eedeca06f74e40bdb7e9d4aace80bd4f45fc2109b60f8e95b
7
- data.tar.gz: ff67dd342e94e1c0c20311080c5de492efc0f58856c25dab22e4655f3ed0d51de42071a78e2b045147c5624fdd45bec9c1d9330e5d825769956a71b120ee4303
6
+ metadata.gz: ece58bc10621741583c5b472b678e62c1c9706cccc0e930bf516018642d8f369f34dfe7ab4ff80e773ca424cb4dbd3e8ceaf8119304c80430d1a2db9273022c7
7
+ data.tar.gz: 4c1ef274083ede61c257576032184dcb6684ad282393c88274d409e9d7d8291a6d9dadc6f2617be1914e920853ea0b5d8ef83ea011b3d6e92c5dc1013a35259e
checksums.yaml.gz.sig CHANGED
Binary file
data/exe/sublime_text_kit CHANGED
@@ -3,4 +3,4 @@
3
3
 
4
4
  require "sublime_text_kit"
5
5
 
6
- SublimeTextKit::CLI::Shell.new.call ARGV
6
+ SublimeTextKit::CLI::Shell.new.call
@@ -20,7 +20,9 @@ module SublimeTextKit
20
20
  @printer = printer
21
21
  end
22
22
 
23
- def call kind = default
23
+ def call kind = nil
24
+ kind ||= default
25
+
24
26
  case kind
25
27
  when "ascii_doc" then printer.call "*"
26
28
  when "markdown" then printer.call "-"
@@ -5,20 +5,9 @@ require "refinements/pathnames"
5
5
  module SublimeTextKit
6
6
  module Configuration
7
7
  # Models the configuration.
8
- Model = Struct.new(
9
- :project_roots,
10
- :metadata_dir,
11
- :snippets_format,
12
- :session_path,
13
- :user_dir
14
- ) do
8
+ Model = Struct.new :project_roots, :metadata_dir, :snippets_format, :session_path, :user_dir do
15
9
  using Refinements::Pathnames
16
10
 
17
- def initialize(**)
18
- super
19
- freeze
20
- end
21
-
22
11
  def project_dirs
23
12
  Array(project_roots).map { |path| Pathname(path).expand_path }
24
13
  .flat_map(&:directories)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sublime_text_kit"
5
- spec.version = "15.0.1"
5
+ spec.version = "15.0.3"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/sublime_text_kit"
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: 15.0.1
4
+ version: 15.0.3
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-06-19 00:00:00.000000000 Z
38
+ date: 2023-07-01 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  - !ruby/object:Gem::Version
256
256
  version: '0'
257
257
  requirements: []
258
- rubygems_version: 3.4.14
258
+ rubygems_version: 3.4.15
259
259
  signing_key:
260
260
  specification_version: 4
261
261
  summary: A command line interface for managing Sublime Text metadata.
metadata.gz.sig CHANGED
Binary file