gemsmith 20.5.0 → 20.6.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: ebdb1a05ce7250928ddc1ad962dc87b967141e7342a4ca00b85b2d12cc39b086
4
- data.tar.gz: b383740d365e06c9d04febadf0bb9f1042ec8bd9976741808560881c96510199
3
+ metadata.gz: e746f8cbaf4dbf037924546e8f5de17f12a4a8f0797916600ad178b4b7335e13
4
+ data.tar.gz: '05258de6ed5a08a893dca235179bf507cebca7f69b59aab3122bded3e2693a5d'
5
5
  SHA512:
6
- metadata.gz: 4129f926673e1939baaf617555ff43ae1dc440df966c5f5fd2c06a6d80f1d0a466be20c304d23f488169f213f0ab8a9149c5a77942ab47c112280eb127e04e44
7
- data.tar.gz: 6266789e638900514ad73aee6a3143e2ecd5523ce3c5c90b8cfbde87bc8ee1a5bfc4af5fcbd9566036c0b58290e26c6831bd949b5a4d9411cf939eb67d6d94f2
6
+ metadata.gz: f6e05611db1507bd148330301e84e718586c5aecbd7d4bfb25cae81f61efbb1762c4e34e591f1d96e1f89b0cccd9bb37d046e9f940ffa44f815965e82d5e2bba
7
+ data.tar.gz: 16b7e0da341d9d13d0afa5608bb05a82249dfd127d8725f0d20a5eeceb3417c096735f063db0b315bf436c079084f5dfd730ba1d7dacc3f750616ddb902ff838
checksums.yaml.gz.sig CHANGED
Binary file
data/gemsmith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "gemsmith"
5
- spec.version = "20.5.0"
5
+ spec.version = "20.6.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/gemsmith"
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
26
- spec.add_dependency "cogger", "~> 0.10"
25
+ spec.required_ruby_version = [">= 3.2", "<= 3.3"]
26
+ spec.add_dependency "cogger", "~> 0.12"
27
27
  spec.add_dependency "core", "~> 0.1"
28
28
  spec.add_dependency "dry-container", "~> 0.11"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "infusible", "~> 2.2"
33
33
  spec.add_dependency "milestoner", "~> 16.0"
34
34
  spec.add_dependency "refinements", "~> 11.0"
35
- spec.add_dependency "rubysmith", "~> 5.7"
35
+ spec.add_dependency "rubysmith", "~> 5.8"
36
36
  spec.add_dependency "runcom", "~> 10.0"
37
37
  spec.add_dependency "sod", "~> 0.0"
38
38
  spec.add_dependency "spek", "~> 2.0"
@@ -43,7 +43,7 @@ module Gemsmith
43
43
  register(:defaults_path) { Rubysmith::Container[:defaults_path] }
44
44
  register(:xdg_config, memoize: true) { Runcom::Config.new "gemsmith/configuration.yml" }
45
45
  register(:environment) { ENV }
46
- register(:logger, memoize: true) { Cogger.new formatter: :emoji }
46
+ register(:logger, memoize: true) { Cogger.new id: :gemsmith }
47
47
  register :executor, Open3
48
48
  register :kernel, Kernel
49
49
  end
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.required_ruby_version = "~> <%= RUBY_VERSION[/\d+\.\d+/] %>"
38
38
  <% if configuration.build_cli %>
39
- spec.add_dependency "cogger", "~> 0.10"
39
+ spec.add_dependency "cogger", "~> 0.12"
40
40
  <% end %>
41
41
  <% if configuration.build_cli %>
42
42
  spec.add_dependency "dry-container", "~> 0.11"
@@ -25,7 +25,7 @@ require "spek"
25
25
 
26
26
  register(:defaults_path, memoize: true) { Pathname(__dir__).join("configuration/defaults.yml") }
27
27
  register(:xdg_config, memoize: true) { Runcom::Config.new "<%= configuration.project_path %>/configuration.yml" }
28
- register(:logger, memoize: true) { Cogger.new formatter: :emoji }
28
+ register(:logger, memoize: true) { Cogger.new id: "<%= configuration.project_name %>" }
29
29
  register :kernel, Kernel
30
30
  end
31
31
  <% end %>
@@ -7,7 +7,7 @@ RSpec.shared_context "with application dependencies" do
7
7
  let(:configuration) { Etcher.new(<%= configuration.project_namespaced_class %>::Container[:defaults]).call.bind(&:dup) }
8
8
  let(:xdg_config) { Runcom::Config.new <%= configuration.project_namespaced_class %>::Container[:defaults_path] }
9
9
  let(:kernel) { class_spy Kernel }
10
- let(:logger) { Cogger.new io: StringIO.new, level: :debug, formatter: :emoji }
10
+ let(:logger) { Cogger.new id: "<%= configuration.project_name %>", io: StringIO.new, level: :debug }
11
11
 
12
12
  before { <%= configuration.project_namespaced_class %>::Import.stub configuration:, xdg_config:, kernel:, logger: }
13
13
 
data/lib/gemsmith.rb CHANGED
@@ -12,5 +12,7 @@ end
12
12
 
13
13
  # Main namespace.
14
14
  module Gemsmith
15
- def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
15
+ def self.loader registry = Zeitwerk::Registry
16
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
17
+ end
16
18
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 20.5.0
4
+ version: 20.6.1
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-10-09 00:00:00.000000000 Z
38
+ date: 2023-11-17 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.10'
46
+ version: '0.12'
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.10'
53
+ version: '0.12'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: core
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -169,14 +169,14 @@ dependencies:
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '5.7'
172
+ version: '5.8'
173
173
  type: :runtime
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '5.7'
179
+ version: '5.8'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: runcom
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -316,16 +316,19 @@ require_paths:
316
316
  - lib
317
317
  required_ruby_version: !ruby/object:Gem::Requirement
318
318
  requirements:
319
- - - "~>"
319
+ - - ">="
320
320
  - !ruby/object:Gem::Version
321
321
  version: '3.2'
322
+ - - "<="
323
+ - !ruby/object:Gem::Version
324
+ version: '3.3'
322
325
  required_rubygems_version: !ruby/object:Gem::Requirement
323
326
  requirements:
324
327
  - - ">="
325
328
  - !ruby/object:Gem::Version
326
329
  version: '0'
327
330
  requirements: []
328
- rubygems_version: 3.4.20
331
+ rubygems_version: 3.4.22
329
332
  signing_key:
330
333
  specification_version: 4
331
334
  summary: A command line interface for smithing Ruby gems.
metadata.gz.sig CHANGED
Binary file