sublime_text_kit 14.1.0 → 14.1.1

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: 5eab42c0fd0409dc4a58b62180f95d2f83220d783266f44d36190970d0047307
4
- data.tar.gz: ae3723b9dd2857a19cf962fc86c854946506819b71262bbf1d4bd23ce26bd456
3
+ metadata.gz: 685db134303f817ea1bc68c8ae11a5e3154b554c2717892a7ea446fce2146abc
4
+ data.tar.gz: 4794d42c21ea78e0e2167dc202366f1fcbd281035e0ec497c47262d66444829e
5
5
  SHA512:
6
- metadata.gz: 299b872390b0463b7058debddc5db074cfed578593255f37acd7065765c765e246d6ba13958aa9a7ad2d1dd7534f0fd1c2d370d166af101022a8df28821ca237
7
- data.tar.gz: 7a06318f403ce331527f9b10271f1fa5544b63e45a69f559fc55a26096a6d055473144b49e097dc89c868e2d0109536f1214ebeed3f1f6900c794810317a41f0
6
+ metadata.gz: 0b639f1fa50ac1303409c95deeff89923e7a36f872fd48e57b1b74ba9f6559625aedee09a5af861099403506f46a85fae1da2965b42641ae0c3e4d2064fa95c5
7
+ data.tar.gz: e1c8804cace5ca22ecf802b93ac4c9158cddb80ef715a0ebd73d1147e7f2ea5511a212cb3613e4701f92e52fa5dce96d0107bda01aa6dc199a35dedccfb7c45d
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -140,7 +140,7 @@ To test, run:
140
140
 
141
141
  [source,bash]
142
142
  ----
143
- bundle exec rake
143
+ bin/rake
144
144
  ----
145
145
 
146
146
  == link:https://www.alchemists.io/policies/license[License]
@@ -7,8 +7,8 @@ module SublimeTextKit
7
7
  class Config
8
8
  include SublimeTextKit::Import[:kernel, :logger]
9
9
 
10
- def initialize configuration: Configuration::Loader::CLIENT, **dependencies
11
- super(**dependencies)
10
+ def initialize(configuration: Configuration::Loader::CLIENT, **)
11
+ super(**)
12
12
  @configuration = configuration
13
13
  end
14
14
 
@@ -11,9 +11,8 @@ module SublimeTextKit
11
11
 
12
12
  using Refinements::Pathnames
13
13
 
14
- def initialize handler: SublimeTextKit::Metadata::Handler, **dependencies
15
- super(**dependencies)
16
-
14
+ def initialize(handler: SublimeTextKit::Metadata::Handler, **)
15
+ super(**)
17
16
  @handler = handler
18
17
  end
19
18
 
@@ -7,9 +7,8 @@ module SublimeTextKit
7
7
  class Session
8
8
  include SublimeTextKit::Import[:logger]
9
9
 
10
- def initialize rebuilder: Sessions::Rebuilder.new, **dependencies
11
- super(**dependencies)
12
-
10
+ def initialize(rebuilder: Sessions::Rebuilder.new, **)
11
+ super(**)
13
12
  @rebuilder = rebuilder
14
13
  end
15
14
 
@@ -7,8 +7,8 @@ module SublimeTextKit
7
7
  class Snippets
8
8
  include SublimeTextKit::Import[:configuration, :logger]
9
9
 
10
- def initialize printer: SublimeTextKit::Snippets::Printer.new, **dependencies
11
- super(**dependencies)
10
+ def initialize(printer: SublimeTextKit::Snippets::Printer.new, **)
11
+ super(**)
12
12
  @printer = printer
13
13
  end
14
14
 
@@ -7,12 +7,12 @@ module SublimeTextKit
7
7
  class Update
8
8
  include SublimeTextKit::Import[:configuration, :logger]
9
9
 
10
- def initialize metadata: SublimeTextKit::Metadata::Handler,
11
- session: Sessions::Rebuilder.new,
12
- **dependencies
13
-
14
- super(**dependencies)
15
-
10
+ def initialize(
11
+ metadata: SublimeTextKit::Metadata::Handler,
12
+ session: Sessions::Rebuilder.new,
13
+ **
14
+ )
15
+ super(**)
16
16
  @metadata = metadata
17
17
  @session = session
18
18
  end
@@ -11,8 +11,8 @@ module SublimeTextKit
11
11
 
12
12
  CLIENT = OptionParser.new nil, 40, " "
13
13
 
14
- def initialize section: Parsers::Core, client: CLIENT, **dependencies
15
- super(**dependencies)
14
+ def initialize(section: Parsers::Core, client: CLIENT, **)
15
+ super(**)
16
16
  @section = section
17
17
  @client = client
18
18
  @configuration_duplicate = configuration.dup
@@ -14,12 +14,8 @@ module SublimeTextKit
14
14
 
15
15
  def self.call(...) = new(...).call
16
16
 
17
- def initialize configuration = Container[:configuration],
18
- client: Parser::CLIENT,
19
- **dependencies
20
-
21
- super(**dependencies)
22
-
17
+ def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
18
+ super(**)
23
19
  @configuration = configuration
24
20
  @client = client
25
21
  end
@@ -16,13 +16,13 @@ module SublimeTextKit
16
16
  :update
17
17
  ]
18
18
 
19
- def initialize parser: Parser.new, **dependencies
20
- super(**dependencies)
19
+ def initialize(parser: Parser.new, **)
20
+ super(**)
21
21
  @parser = parser
22
22
  end
23
23
 
24
24
  def call arguments = Core::EMPTY_ARRAY
25
- perform parser.call(arguments)
25
+ act_on parser.call(arguments)
26
26
  rescue OptionParser::ParseError, Error => error
27
27
  logger.error { error.message }
28
28
  end
@@ -31,7 +31,7 @@ module SublimeTextKit
31
31
 
32
32
  attr_reader :parser
33
33
 
34
- def perform configuration
34
+ def act_on configuration
35
35
  case configuration
36
36
  in action_config: Symbol => action then config.call action
37
37
  in action_metadata: Symbol => kind then metadata.call kind
@@ -10,8 +10,8 @@ module SublimeTextKit
10
10
 
11
11
  using Refinements::Pathnames
12
12
 
13
- def initialize reader: Reader.new, **dependencies
14
- super(**dependencies)
13
+ def initialize(reader: Reader.new, **)
14
+ super(**)
15
15
  @reader = reader
16
16
  end
17
17
 
@@ -6,8 +6,8 @@ module SublimeTextKit
6
6
  class Printer
7
7
  include Import[:logger]
8
8
 
9
- def initialize collector: Collector.new, **dependencies
10
- super(**dependencies)
9
+ def initialize(collector: Collector.new, **)
10
+ super(**)
11
11
  @collector = collector
12
12
  end
13
13
 
@@ -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.0"
5
+ spec.version = "14.1.1"
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"
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.0
4
+ version: 14.1.1
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: 2023-01-07 00:00:00.000000000 Z
31
+ date: 2023-02-05 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  requirements: []
210
- rubygems_version: 3.4.2
210
+ rubygems_version: 3.4.6
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: A command line interface for managing Sublime Text metadata.
metadata.gz.sig CHANGED
Binary file