gemsmith 20.2.0 → 20.2.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: c07779f7a63388c6c6ec265b63d03a1f050e87aeae86d16674ceb035c209ef6d
4
- data.tar.gz: a31f491232f07e08abc83f87d806d70e10f03192124332c474d11779165c7743
3
+ metadata.gz: 509e89d73fd8509ffc81cb2aa4b6725595a5107c556f37ca4bf5cbf093f2f46e
4
+ data.tar.gz: 92480590fd323605bc379a4655ec59040801e7d8634050a045a719c58e2845ea
5
5
  SHA512:
6
- metadata.gz: dec10ba9b8346c6c622bf840a2e46b68dedd329cd4b935d6f4792715f2e1edd314562c34d7b43378206ab7bab14e0292bdc88ea3f82e106b3cac56439e588d15
7
- data.tar.gz: f38743add33f8c6a86c733d34739ff56dc3abb227a551b379664e4c08f38a9fb518b5208e25a765d2680f1c7028663c697852c5f7c17d9061c36828a67cf7f99
6
+ metadata.gz: 6a60cae602f76629871fc04f7791849a1110d69d3cb4e5fdba43b031a9e1aa6e7d5d7bb56bce7e73bc66e0fda392b6abc2edc8d5cfc5e3cd2a1ec463bba99427
7
+ data.tar.gz: 52aa0a96df73218283b76b84c391acbb6dfc53b3174545b841819fbc878ae178e2df06f63b314b0ca04bbacab60cf6b80a3dffdff9178c97ef2ded6b93f68db9
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.2.0"
5
+ spec.version = "20.2.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/gemsmith"
@@ -27,8 +27,8 @@ module Gemsmith
27
27
  @loader = loader
28
28
  end
29
29
 
30
- def call name = default
31
- case installer.call loader.call("#{name}.gemspec")
30
+ def call name = nil
31
+ case installer.call loader.call("#{name || default}.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 = default
31
- case publisher.call loader.call("#{name}.gemspec")
30
+ def call name = nil
31
+ case publisher.call loader.call("#{name || default}.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 { "Unable to handle publish action." }
@@ -20,8 +20,6 @@ module Gemsmith
20
20
 
21
21
  attr_reader :context, :dsl
22
22
 
23
- # :reek:TooManyStatements
24
- # rubocop:todo Metrics/MethodLength
25
23
  def cli
26
24
  context = build_context
27
25
 
@@ -36,7 +34,6 @@ module Gemsmith
36
34
  on Sod::Prefabs::Actions::Help, self
37
35
  end
38
36
  end
39
- # rubocop:enable Metrics/MethodLength
40
37
 
41
38
  def build_context
42
39
  context[defaults_path:, xdg_config:, version_label: specification.labeled_version]
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.2.0
4
+ version: 20.2.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-06-22 00:00:00.000000000 Z
38
+ date: 2023-06-23 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
metadata.gz.sig CHANGED
Binary file