rubysmith 5.7.0 → 5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rubysmith/builders/core.rb +0 -2
- data/lib/rubysmith/container.rb +1 -1
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb +9 -1
- data/lib/rubysmith.rb +3 -1
- data/rubysmith.gemspec +3 -3
- data.tar.gz.sig +0 -0
- metadata +9 -6
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6463a4b66a1668979f5d825065d7fda7c49f211db2db7f5bd9a0cc317a7629
|
4
|
+
data.tar.gz: a790806d30c4e8c06093717aefd934136f2b76b8efac56f80cdf5f44edf28818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8664418401e1ab60e8a22fac22e773937b707b6857202b90baf802e4929cf17547d109426ba5083a259d1306f3aa65972be7589c1e050abd231307e64dff74cb
|
7
|
+
data.tar.gz: ad461380ff16989af7e8fbaf1c9e1f57e85dfb8f17f5f001dcd4a2f03ecf6c23a5a46abb818c9fa0b608ec4749d84b204d03c27103a5562b1d2f02325be6c7a7
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rubysmith/container.rb
CHANGED
@@ -36,7 +36,7 @@ module Rubysmith
|
|
36
36
|
register(:defaults_path, memoize: true) { Pathname(__dir__).join("configuration/defaults.yml") }
|
37
37
|
register(:xdg_config, memoize: true) { Runcom::Config.new "rubysmith/configuration.yml" }
|
38
38
|
register(:git, memoize: true) { Gitt::Repository.new }
|
39
|
-
register(:logger, memoize: true) { Cogger.new
|
39
|
+
register(:logger, memoize: true) { Cogger.new id: :rubysmith }
|
40
40
|
register :kernel, Kernel
|
41
41
|
end
|
42
42
|
end
|
@@ -11,7 +11,7 @@ source "https://rubygems.org"
|
|
11
11
|
|
12
12
|
group :code_quality do
|
13
13
|
<% if configuration.build_caliber %>
|
14
|
-
gem "caliber", "~> 0.
|
14
|
+
gem "caliber", "~> 0.42"
|
15
15
|
<% end %>
|
16
16
|
<% if configuration.build_git && configuration.build_git_lint %>
|
17
17
|
gem "git-lint", "~> 6.0"
|
@@ -16,7 +16,15 @@
|
|
16
16
|
<% end %>
|
17
17
|
<% if configuration.build_zeitwerk %>
|
18
18
|
<% namespace do %>
|
19
|
-
|
19
|
+
<% if configuration.project_levels.positive? %>
|
20
|
+
def self.loader registry = Zeitwerk::Registry
|
21
|
+
@loader ||= registry.loaders.find { |loader| loader.tag == "<%= configuration.project_name %>" }
|
22
|
+
end
|
23
|
+
<% else %>
|
24
|
+
def self.loader registry = Zeitwerk::Registry
|
25
|
+
@loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
|
26
|
+
end
|
27
|
+
<% end %>
|
20
28
|
<% end %>
|
21
29
|
<% else %>
|
22
30
|
<% namespace %>
|
data/lib/rubysmith.rb
CHANGED
@@ -15,5 +15,7 @@ end
|
|
15
15
|
|
16
16
|
# Main namespace.
|
17
17
|
module Rubysmith
|
18
|
-
def self.loader
|
18
|
+
def self.loader registry = Zeitwerk::Registry
|
19
|
+
@loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
|
20
|
+
end
|
19
21
|
end
|
data/rubysmith.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "rubysmith"
|
5
|
-
spec.version = "5.
|
5
|
+
spec.version = "5.8.1"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/rubysmith"
|
@@ -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 = "
|
26
|
-
spec.add_dependency "cogger", "~> 0.
|
25
|
+
spec.required_ruby_version = [">= 3.2", "<= 3.3"]
|
26
|
+
spec.add_dependency "cogger", "~> 0.12"
|
27
27
|
spec.add_dependency "dry-container", "~> 0.11"
|
28
28
|
spec.add_dependency "dry-monads", "~> 1.6"
|
29
29
|
spec.add_dependency "dry-schema", "~> 1.13"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.8.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-
|
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.
|
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.
|
53
|
+
version: '0.12'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: dry-container
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -417,16 +417,19 @@ require_paths:
|
|
417
417
|
- lib
|
418
418
|
required_ruby_version: !ruby/object:Gem::Requirement
|
419
419
|
requirements:
|
420
|
-
- - "
|
420
|
+
- - ">="
|
421
421
|
- !ruby/object:Gem::Version
|
422
422
|
version: '3.2'
|
423
|
+
- - "<="
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: '3.3'
|
423
426
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
424
427
|
requirements:
|
425
428
|
- - ">="
|
426
429
|
- !ruby/object:Gem::Version
|
427
430
|
version: '0'
|
428
431
|
requirements: []
|
429
|
-
rubygems_version: 3.4.
|
432
|
+
rubygems_version: 3.4.22
|
430
433
|
signing_key:
|
431
434
|
specification_version: 4
|
432
435
|
summary: A command line interface for smithing Ruby projects.
|
metadata.gz.sig
CHANGED
Binary file
|