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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/gemsmith.gemspec +1 -1
- data/lib/gemsmith/cli/actions/install.rb +2 -2
- data/lib/gemsmith/cli/actions/publish.rb +2 -2
- data/lib/gemsmith/cli/shell.rb +0 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 509e89d73fd8509ffc81cb2aa4b6725595a5107c556f37ca4bf5cbf093f2f46e
|
4
|
+
data.tar.gz: 92480590fd323605bc379a4655ec59040801e7d8634050a045a719c58e2845ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a60cae602f76629871fc04f7791849a1110d69d3cb4e5fdba43b031a9e1aa6e7d5d7bb56bce7e73bc66e0fda392b6abc2edc8d5cfc5e3cd2a1ec463bba99427
|
7
|
+
data.tar.gz: 52aa0a96df73218283b76b84c391acbb6dfc53b3174545b841819fbc878ae178e2df06f63b314b0ca04bbacab60cf6b80a3dffdff9178c97ef2ded6b93f68db9
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/gemsmith.gemspec
CHANGED
@@ -27,8 +27,8 @@ module Gemsmith
|
|
27
27
|
@loader = loader
|
28
28
|
end
|
29
29
|
|
30
|
-
def call name =
|
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 =
|
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." }
|
data/lib/gemsmith/cli/shell.rb
CHANGED
@@ -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.
|
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-
|
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
|