gemsmith 20.1.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: 39cb21c5f4fd6bf0f9b55f7231eed4f26927cefcfa585de323938cb52e235921
4
- data.tar.gz: 280470b297a057bf18bd70ff3cf0b8b81427d3da105aba4c2b8f5497507a7db9
3
+ metadata.gz: 509e89d73fd8509ffc81cb2aa4b6725595a5107c556f37ca4bf5cbf093f2f46e
4
+ data.tar.gz: 92480590fd323605bc379a4655ec59040801e7d8634050a045a719c58e2845ea
5
5
  SHA512:
6
- metadata.gz: 3d39f8e7a543a6ef6d0263d90aa887118643644a5f568a3b43682b63fb28e8a6b55246a2b85a2f3443c4d22dc49ff9762416a8b21930b4478d6ef4c1a150beab
7
- data.tar.gz: a49cf2548a6eea33ac118d89219b713b471ff6790131296e4d0e0a42ddb1a7bb63a6c257644ef40c3ee7fb4c6ebbe3145c4d5a63decd32c37860f4e94c941932
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.1.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"
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "infusible", "~> 2.0"
33
33
  spec.add_dependency "milestoner", "~> 16.0"
34
34
  spec.add_dependency "refinements", "~> 11.0"
35
- spec.add_dependency "rubysmith", "~> 5.2"
35
+ spec.add_dependency "rubysmith", "~> 5.3"
36
36
  spec.add_dependency "runcom", "~> 10.0"
37
37
  spec.add_dependency "sod", "~> 0.0"
38
38
  spec.add_dependency "spek", "~> 2.0"
@@ -15,7 +15,7 @@ module Gemsmith
15
15
 
16
16
  default { Container[:configuration].build_cli }
17
17
 
18
- def call(value = default) = input.build_cli = value
18
+ def call(value = nil) = input.build_cli = value
19
19
  end
20
20
  end
21
21
  end
@@ -9,7 +9,7 @@ module Gemsmith
9
9
  module Actions
10
10
  # Handles the edit action for editing an installed gem.
11
11
  class Edit < Sod::Action
12
- include Gemsmith::Import[:kernel, :logger]
12
+ include Import[:kernel, :logger]
13
13
  include Dry::Monads[:result]
14
14
 
15
15
  description "Edit installed gem in default editor."
@@ -10,7 +10,7 @@ module Gemsmith
10
10
  module Actions
11
11
  # Handles the install action.
12
12
  class Install < Sod::Action
13
- include Gemsmith::Import[:logger]
13
+ include Import[:logger]
14
14
  include Dry::Monads[:result]
15
15
 
16
16
  description "Install gem for local development."
@@ -27,7 +27,6 @@ module Gemsmith
27
27
  @loader = loader
28
28
  end
29
29
 
30
- # :reek:ControlParameter
31
30
  def call name = nil
32
31
  case installer.call loader.call("#{name || default}.gemspec")
33
32
  in Success(spec) then logger.info { "Installed: #{spec.package_name}." }
@@ -10,7 +10,7 @@ module Gemsmith
10
10
  module Actions
11
11
  # Handles the publish action.
12
12
  class Publish < Sod::Action
13
- include Gemsmith::Import[:logger]
13
+ include Import[:logger]
14
14
  include Dry::Monads[:result]
15
15
 
16
16
  description "Publish gem to remote gem server."
@@ -27,7 +27,6 @@ module Gemsmith
27
27
  @loader = loader
28
28
  end
29
29
 
30
- # :reek:ControlParameter
31
30
  def call name = nil
32
31
  case publisher.call loader.call("#{name || default}.gemspec")
33
32
  in Success(spec) then logger.info { "Published: #{spec.package_name}." }
@@ -9,7 +9,7 @@ module Gemsmith
9
9
  module Actions
10
10
  # Handles the view action for viewing an installed gem in default browser.
11
11
  class View < Sod::Action
12
- include Gemsmith::Import[:kernel, :logger]
12
+ include Import[:kernel, :logger]
13
13
  include Dry::Monads[:result]
14
14
 
15
15
  description "View installed gem in default browser."
@@ -7,11 +7,11 @@ module Gemsmith
7
7
  module Commands
8
8
  # Handles the build action.
9
9
  class Build < Sod::Command
10
- include Gemsmith::Import[:input, :logger]
10
+ include Import[:input, :logger]
11
11
 
12
12
  # Order is important.
13
- # rubocop:todo Metrics/CollectionLiteralLength
14
13
  BUILDERS = [
14
+ Rubysmith::Builders::Init,
15
15
  Rubysmith::Builders::Core,
16
16
  Rubysmith::Builders::Version,
17
17
  Builders::Specification,
@@ -46,7 +46,6 @@ module Gemsmith
46
46
  Rubysmith::Extensions::Rubocop,
47
47
  Builders::Git::Commit
48
48
  ].freeze
49
- # rubocop:enable Metrics/CollectionLiteralLength
50
49
 
51
50
  handle "build"
52
51
 
@@ -57,7 +56,7 @@ module Gemsmith
57
56
  on Rubysmith::CLI::Actions::Caliber, input: Container[:input]
58
57
  on Rubysmith::CLI::Actions::CircleCI, input: Container[:input]
59
58
  on Rubysmith::CLI::Actions::Citation, input: Container[:input]
60
- on Actions::CLI, input: Container[:input]
59
+ on Actions::CLI
61
60
  on Rubysmith::CLI::Actions::Community, input: Container[:input]
62
61
  on Rubysmith::CLI::Actions::Conduct, input: Container[:input]
63
62
  on Rubysmith::CLI::Actions::Console, input: Container[:input]
@@ -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.1.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-19 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
@@ -169,14 +169,14 @@ dependencies:
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '5.2'
172
+ version: '5.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: '5.2'
179
+ version: '5.3'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: runcom
182
182
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file