sublime_text_kit 14.0.0 → 14.1.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: 1a0726969a202d70a88433fcef60b2ae6f3e94f6b12414e68008e584864fa6bf
4
- data.tar.gz: 31fba35ea9c02e4178578852c10f4204bbd9e130cd964b98d6b0a31783827639
3
+ metadata.gz: 5eab42c0fd0409dc4a58b62180f95d2f83220d783266f44d36190970d0047307
4
+ data.tar.gz: ae3723b9dd2857a19cf962fc86c854946506819b71262bbf1d4bd23ce26bd456
5
5
  SHA512:
6
- metadata.gz: bdf64c0f6ae26e6b73c7fb85f9d4922c6111b843af403de44dee55ac258e22cc5211bcd10a1fb12eb2fd5fcb2bd6e32226a6b49b16bd5edd65935dee9a04ebdc
7
- data.tar.gz: f972a6b64b136db04ffb79fab8255e8cf61fef7a09226c35fa6fe22f022b231ec86515f15d7f1310467578d5b51cce7e501eb5fc553432f4ffe69f3c57c449f6
6
+ metadata.gz: 299b872390b0463b7058debddc5db074cfed578593255f37acd7065765c765e246d6ba13958aa9a7ad2d1dd7534f0fd1c2d370d166af101022a8df28821ca237
7
+ data.tar.gz: 7a06318f403ce331527f9b10271f1fa5544b63e45a69f559fc55a26096a6d055473144b49e097dc89c868e2d0109536f1214ebeed3f1f6900c794810317a41f0
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "optparse"
4
5
 
5
6
  module SublimeTextKit
@@ -10,16 +11,14 @@ module SublimeTextKit
10
11
 
11
12
  CLIENT = OptionParser.new nil, 40, " "
12
13
 
13
- def initialize section: Parsers::Core,
14
- client: CLIENT,
15
- **dependencies
14
+ def initialize section: Parsers::Core, client: CLIENT, **dependencies
16
15
  super(**dependencies)
17
16
  @section = section
18
17
  @client = client
19
18
  @configuration_duplicate = configuration.dup
20
19
  end
21
20
 
22
- def call arguments = []
21
+ def call arguments = Core::EMPTY_ARRAY
23
22
  section.call(configuration_duplicate, client:)
24
23
  client.parse arguments
25
24
  configuration_duplicate.freeze
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "refinements/structs"
4
5
 
5
6
  module SublimeTextKit
@@ -23,7 +24,7 @@ module SublimeTextKit
23
24
  @client = client
24
25
  end
25
26
 
26
- def call arguments = []
27
+ def call arguments = ::Core::EMPTY_ARRAY
27
28
  client.banner = specification.labeled_summary
28
29
  client.separator "\nUSAGE:\n"
29
30
  collate
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
4
+
3
5
  module SublimeTextKit
4
6
  module CLI
5
7
  # The main Command Line Interface (CLI) object.
@@ -19,7 +21,7 @@ module SublimeTextKit
19
21
  @parser = parser
20
22
  end
21
23
 
22
- def call arguments = []
24
+ def call arguments = Core::EMPTY_ARRAY
23
25
  perform parser.call(arguments)
24
26
  rescue OptionParser::ParseError, Error => error
25
27
  logger.error { error.message }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "sublime_text_kit"
5
- spec.version = "14.0.0"
5
+ spec.version = "14.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/sublime_text_kit"
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
26
  spec.add_dependency "cogger", "~> 0.5"
27
+ spec.add_dependency "core", "~> 0.1"
27
28
  spec.add_dependency "dry-container", "~> 0.11"
28
29
  spec.add_dependency "infusible", "~> 1.0"
29
30
  spec.add_dependency "refinements", "~> 10.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.0.0
4
+ version: 14.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-12-26 00:00:00.000000000 Z
31
+ date: 2023-01-07 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0.5'
47
+ - !ruby/object:Gem::Dependency
48
+ name: core
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.1'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: dry-container
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -193,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
193
207
  - !ruby/object:Gem::Version
194
208
  version: '0'
195
209
  requirements: []
196
- rubygems_version: 3.3.26
210
+ rubygems_version: 3.4.2
197
211
  signing_key:
198
212
  specification_version: 4
199
213
  summary: A command line interface for managing Sublime Text metadata.
metadata.gz.sig CHANGED
Binary file