gemsmith 22.1.0 → 22.3.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: d49495c8c8032e854185873001478f3d125a00668945008277b803c93bd0e866
4
- data.tar.gz: a9810bc571423a2d2a7d1f551d46f26e2ae6c693d4382806443c48c652a8a532
3
+ metadata.gz: fd847eaa92e6442529b538a931feaf48b832393d7f1c93d07fcc4ec1280b0dd0
4
+ data.tar.gz: 482c77e106dd83fc2fa0e5cbb6bbb79e1284ea31106c9b4541269b6b4eab3065
5
5
  SHA512:
6
- metadata.gz: b9bd244dd94f167c8065d34b9dad609cd28b421b526571fb72dfac17d854c6c4ca1670ee89b56f264da8c0bf1de1dbe0242914f7f531b24d436abbd3a38821a0
7
- data.tar.gz: 142dc5ed6017f7c54a2797716a501946396b99ed3ea99e7d01fc0a67ed4748c181e38a2223fbc818371575b7d1a47ccb6a68be1063baff90cc128278e988d00a
6
+ metadata.gz: 8bcddf66b8b1296d8661d8a7572004ad80d14a969643fd693ad14746c8a99348bf380a527c5f7c9607d11f9244af40892d32ba7edfef864f202df7867643eafb
7
+ data.tar.gz: 9ceca06a054257fcd9825d4ae4d2054414e98b072a5d6701257d7fd1cf6d12096cf8bb18881731d790189961b57e62c9a731145ca1a4490617906fc624ea4d3f
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -504,6 +504,8 @@ bin/rake
504
504
 
505
505
  == link:https://alchemists.io/policies/contributions[Contributions]
506
506
 
507
+ == link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
508
+
507
509
  == link:https://alchemists.io/projects/gemsmith/versions[Versions]
508
510
 
509
511
  == link:https://alchemists.io/community[Community]
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 = "22.1.0"
5
+ spec.version = "22.3.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/gemsmith"
@@ -32,9 +32,9 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "infusible", "~> 3.8"
33
33
  spec.add_dependency "milestoner", "~> 18.0"
34
34
  spec.add_dependency "refinements", "~> 12.7"
35
- spec.add_dependency "rubysmith", "~> 7.1"
35
+ spec.add_dependency "rubysmith", "~> 7.3"
36
36
  spec.add_dependency "runcom", "~> 11.5"
37
- spec.add_dependency "sod", "~> 0.12"
37
+ spec.add_dependency "sod", "~> 0.14"
38
38
  spec.add_dependency "spek", "~> 3.0"
39
39
  spec.add_dependency "zeitwerk", "~> 2.6"
40
40
 
@@ -14,8 +14,8 @@ module Gemsmith
14
14
  builder.call(settings.merge(template_path: "%project_name%/Gemfile.erb"))
15
15
  .insert_after("source", "\ngemspec\n")
16
16
  .replace(/spec\n\n\Z/m, "spec\n")
17
- .replace(/.+refinements.+/, "")
18
- .replace(/.+zeitwerk.+/, "")
17
+ .replace(/.+(refinements|zeitwerk).+/, "")
18
+ .replace(/"\s+group/m, %("\n\ngroup))
19
19
  .replace("\n\n\n\n", "\n")
20
20
 
21
21
  true
@@ -15,7 +15,7 @@ module Gemsmith
15
15
 
16
16
  default { Container[:settings].build_cli }
17
17
 
18
- def call(value = nil) = settings.build_cli = value
18
+ def call(value) = settings.build_cli = value
19
19
  end
20
20
  end
21
21
  end
@@ -27,8 +27,8 @@ module Gemsmith
27
27
  @loader = loader
28
28
  end
29
29
 
30
- def call name = nil
31
- case installer.call loader.call("#{name || default}.gemspec")
30
+ def call name = default
31
+ case installer.call loader.call("#{name}.gemspec")
32
32
  in Success(spec) then logger.info { "Installed: #{spec.package_name}." }
33
33
  in Failure(message) then log_error { message }
34
34
  else log_error { "Unable to handle install action." }
@@ -27,8 +27,8 @@ module Gemsmith
27
27
  @loader = loader
28
28
  end
29
29
 
30
- def call name = nil
31
- case publisher.call loader.call("#{name || default}.gemspec")
30
+ def call name = default
31
+ case publisher.call loader.call("#{name}.gemspec")
32
32
  in Success(spec) then logger.info { "Published: #{spec.package_name}." }
33
33
  in Failure(message) then log_error message
34
34
  else log_error "Publish failed, unable to parse result."
@@ -39,6 +39,14 @@ module Gemsmith
39
39
  Rubysmith::Builders::RSpec::Context,
40
40
  Builders::RSpec::Helper,
41
41
  Rubysmith::Builders::Caliber,
42
+ Rubysmith::Builders::DevContainer::Dockerfile,
43
+ Rubysmith::Builders::DevContainer::Compose,
44
+ Rubysmith::Builders::DevContainer::Configuration,
45
+ Rubysmith::Builders::Docker::Build,
46
+ Rubysmith::Builders::Docker::Console,
47
+ Rubysmith::Builders::Docker::Entrypoint,
48
+ Rubysmith::Builders::Docker::File,
49
+ Rubysmith::Builders::Docker::Ignore,
42
50
  Rubysmith::Extensions::Bundler,
43
51
  Rubysmith::Extensions::Pragmater,
44
52
  Rubysmith::Extensions::Tocer,
@@ -52,6 +60,7 @@ module Gemsmith
52
60
 
53
61
  on Rubysmith::CLI::Actions::Name, settings: Container[:settings]
54
62
  on Rubysmith::CLI::Actions::AmazingPrint, settings: Container[:settings]
63
+ on Rubysmith::CLI::Actions::Bootsnap, settings: Container[:settings]
55
64
  on Rubysmith::CLI::Actions::Caliber, settings: Container[:settings]
56
65
  on Rubysmith::CLI::Actions::CircleCI, settings: Container[:settings]
57
66
  on Rubysmith::CLI::Actions::Citation, settings: Container[:settings]
@@ -60,13 +69,17 @@ module Gemsmith
60
69
  on Rubysmith::CLI::Actions::Conduct, settings: Container[:settings]
61
70
  on Rubysmith::CLI::Actions::Console, settings: Container[:settings]
62
71
  on Rubysmith::CLI::Actions::Contributions, settings: Container[:settings]
72
+ on Rubysmith::CLI::Actions::DCOO, settings: Container[:settings]
63
73
  on Rubysmith::CLI::Actions::Debug, settings: Container[:settings]
74
+ on Rubysmith::CLI::Actions::DevContainer, settings: Container[:settings]
75
+ on Rubysmith::CLI::Actions::Docker, settings: Container[:settings]
64
76
  on Rubysmith::CLI::Actions::Funding, settings: Container[:settings]
65
77
  on Rubysmith::CLI::Actions::Git, settings: Container[:settings]
66
78
  on Rubysmith::CLI::Actions::GitHub, settings: Container[:settings]
67
79
  on Rubysmith::CLI::Actions::GitHubCI, settings: Container[:settings]
68
80
  on Rubysmith::CLI::Actions::GitLint, settings: Container[:settings]
69
81
  on Rubysmith::CLI::Actions::Guard, settings: Container[:settings]
82
+ on Rubysmith::CLI::Actions::IRBKit, settings: Container[:settings]
70
83
  on Rubysmith::CLI::Actions::License, settings: Container[:settings]
71
84
  on Rubysmith::CLI::Actions::Maximum, settings: Container[:settings]
72
85
  on Rubysmith::CLI::Actions::Minimum, settings: Container[:settings]
@@ -75,6 +88,7 @@ module Gemsmith
75
88
  on Rubysmith::CLI::Actions::Reek, settings: Container[:settings]
76
89
  on Rubysmith::CLI::Actions::Refinements, settings: Container[:settings]
77
90
  on Rubysmith::CLI::Actions::RSpec, settings: Container[:settings]
91
+ on Rubysmith::CLI::Actions::RTC, settings: Container[:settings]
78
92
  on Rubysmith::CLI::Actions::Security, settings: Container[:settings]
79
93
  on Rubysmith::CLI::Actions::Setup, settings: Container[:settings]
80
94
  on Rubysmith::CLI::Actions::SimpleCov, settings: Container[:settings]
@@ -57,7 +57,7 @@ Gem::Specification.new do |spec|
57
57
  spec.add_dependency "runcom", "~> 11.5"
58
58
  <% end %>
59
59
  <% if settings.build_cli %>
60
- spec.add_dependency "sod", "~> 0.12"
60
+ spec.add_dependency "sod", "~> 0.14"
61
61
  <% end %>
62
62
  <% if settings.build_cli %>
63
63
  spec.add_dependency "spek", "~> 3.0"
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: 22.1.0
4
+ version: 22.3.0
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: 2024-07-24 00:00:00.000000000 Z
38
+ date: 2024-08-21 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -169,14 +169,14 @@ dependencies:
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '7.1'
172
+ version: '7.3'
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: '7.1'
179
+ version: '7.3'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: runcom
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -197,14 +197,14 @@ dependencies:
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '0.12'
200
+ version: '0.14'
201
201
  type: :runtime
202
202
  prerelease: false
203
203
  version_requirements: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - "~>"
206
206
  - !ruby/object:Gem::Version
207
- version: '0.12'
207
+ version: '0.14'
208
208
  - !ruby/object:Gem::Dependency
209
209
  name: spek
210
210
  requirement: !ruby/object:Gem::Requirement
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
311
311
  - !ruby/object:Gem::Version
312
312
  version: '0'
313
313
  requirements: []
314
- rubygems_version: 3.5.16
314
+ rubygems_version: 3.5.17
315
315
  signing_key:
316
316
  specification_version: 4
317
317
  summary: A command line interface for smithing Ruby gems.
metadata.gz.sig CHANGED
Binary file