gemsmith 20.7.0 → 21.0.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: 2bb4ca21832872e88aeeebcd540a6184965c1f7c04dfe9f126682c02ac165fcd
4
- data.tar.gz: ea5dad79433bafd217d14e657b1b27387f626a67d65be15e7721c5fde5774d79
3
+ metadata.gz: 55189b747d34d379a6b2977042d513a6f9d4ff90e569e29ccbd67acdfeb3ab34
4
+ data.tar.gz: e81f07ebfd0612a802a684ad3191f2a8ff4bf94c26529a50be0d17eaa5cb09a0
5
5
  SHA512:
6
- metadata.gz: f127073af2c5475e18169206bf2ec6e5a74dd2d8ea7dd5627fa885f9f68231d9935016d008a8d1426b49cca0a44ad115c15a7c4878693533c30c882ea3fa3e48
7
- data.tar.gz: 7cfd234615d9b17c908a1c4ed1064433095ee17f20ed636f871b46678364f1e4c4d320ea35ffbea0a49d51df0dcc9bd0598fe4e5c76ceed7d76b7cb63d846703
6
+ metadata.gz: 0b0d142d48d0a256131a5789f66ef90e7b7b401a6a7214f426096be0f5c767ada0471aa652bc0c1f5e4876eb8aa5f07d92a9f904f29f45a82845db95854af269
7
+ data.tar.gz: 85105a630b5403e4058bd3147c81ba9d422a18a467810a1cb0313e61ba23e8ae8530015447d50775cb480a7d8e9c856c350d6f48bcf23d4a385e3efc362dd87c
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.7.0"
5
+ spec.version = "21.0.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/gemsmith"
@@ -22,21 +22,20 @@ 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 = [">= 3.2", "<= 3.3"]
26
- spec.add_dependency "cogger", "~> 0.12"
27
- spec.add_dependency "core", "~> 0.1"
25
+ spec.required_ruby_version = "~> 3.3"
26
+ spec.add_dependency "cogger", "~> 0.15"
27
+ spec.add_dependency "core", "~> 1.0"
28
28
  spec.add_dependency "dry-container", "~> 0.11"
29
29
  spec.add_dependency "dry-monads", "~> 1.6"
30
30
  spec.add_dependency "dry-schema", "~> 1.13"
31
- spec.add_dependency "etcher", "~> 0.2"
32
- spec.add_dependency "infusible", "~> 2.2"
33
- spec.add_dependency "milestoner", "~> 16.0"
34
- spec.add_dependency "refinements", "~> 11.0"
35
- spec.add_dependency "rubysmith", "~> 5.9"
36
- spec.add_dependency "runcom", "~> 10.0"
37
- spec.add_dependency "sod", "~> 0.0"
38
- spec.add_dependency "spek", "~> 2.0"
39
- spec.add_dependency "versionaire", "~> 12.0"
31
+ spec.add_dependency "etcher", "~> 1.0"
32
+ spec.add_dependency "infusible", "~> 3.0"
33
+ spec.add_dependency "milestoner", "~> 17.0"
34
+ spec.add_dependency "refinements", "~> 12.0"
35
+ spec.add_dependency "rubysmith", "~> 6.0"
36
+ spec.add_dependency "runcom", "~> 11.0"
37
+ spec.add_dependency "sod", "~> 0.4"
38
+ spec.add_dependency "spek", "~> 3.0"
40
39
  spec.add_dependency "zeitwerk", "~> 2.6"
41
40
 
42
41
  spec.bindir = "exe"
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  # Builds project skeleton with Gemfile configuration.
8
8
  class Bundler
9
- using Refinements::Structs
9
+ using Refinements::Struct
10
10
 
11
11
  def self.call(...) = new(...).call
12
12
 
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  # Builds project skeleton Circle CI configuration.
8
8
  class CircleCI
9
- using Refinements::Structs
9
+ using Refinements::Struct
10
10
 
11
11
  def self.call(...) = new(...).call
12
12
 
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  # Builds project skeleton CLI templates.
8
8
  class CLI
9
- using Refinements::Structs
9
+ using Refinements::Struct
10
10
 
11
11
  def self.call(...) = new(...).call
12
12
 
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  # Builds project skeleton console for object inspection and exploration.
8
8
  class Console < Rubysmith::Builders::Console
9
- using Refinements::Structs
9
+ using Refinements::Struct
10
10
 
11
11
  def call
12
12
  return configuration unless configuration.build_console
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  module Documentation
8
8
  # Builds project skeleton README documentation.
9
9
  class Readme
10
- using Refinements::Structs
10
+ using Refinements::Struct
11
11
 
12
12
  def self.call(...) = new(...).call
13
13
 
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  module Git
8
8
  # Builds project skeleton Git ignore.
9
9
  class Ignore
10
- using Refinements::Structs
10
+ using Refinements::Struct
11
11
 
12
12
  def self.call(...) = new(...).call
13
13
 
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  module RSpec
8
8
  # Builds RSpec spec helper for project skeleton.
9
9
  class Helper
10
- using Refinements::Structs
10
+ using Refinements::Struct
11
11
 
12
12
  def self.call(...) = new(...).call
13
13
 
@@ -1,12 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
3
+ require "refinements/struct"
4
4
 
5
5
  module Gemsmith
6
6
  module Builders
7
7
  # Builds project skeleton gem specification for use by RubyGems.
8
8
  class Specification
9
- using Refinements::Structs
9
+ using Refinements::Struct
10
10
 
11
11
  def self.call(...) = new(...).call
12
12
 
@@ -80,7 +80,6 @@ module Gemsmith
80
80
  on Rubysmith::CLI::Actions::Setup, input: Container[:input]
81
81
  on Rubysmith::CLI::Actions::SimpleCov, input: Container[:input]
82
82
  on Rubysmith::CLI::Actions::Versions, input: Container[:input]
83
- on Rubysmith::CLI::Actions::Yard, input: Container[:input]
84
83
  on Rubysmith::CLI::Actions::Zeitwerk, input: Container[:input]
85
84
 
86
85
  def initialize(builders: BUILDERS, **)
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
 
37
37
  spec.required_ruby_version = "~> <%= RUBY_VERSION[/\d+\.\d+/] %>"
38
38
  <% if configuration.build_cli %>
39
- spec.add_dependency "cogger", "~> 0.12"
39
+ spec.add_dependency "cogger", "~> 0.15"
40
40
  <% end %>
41
41
  <% if configuration.build_cli %>
42
42
  spec.add_dependency "dry-container", "~> 0.11"
@@ -45,22 +45,22 @@ Gem::Specification.new do |spec|
45
45
  spec.add_dependency "dry-monads", "~> 1.6"
46
46
  <% end %>
47
47
  <% if configuration.build_cli %>
48
- spec.add_dependency "etcher", "~> 0.2"
48
+ spec.add_dependency "etcher", "~> 1.0"
49
49
  <% end %>
50
50
  <% if configuration.build_cli %>
51
- spec.add_dependency "infusible", "~> 2.2"
51
+ spec.add_dependency "infusible", "~> 3.0"
52
52
  <% end %>
53
53
  <% if configuration.build_refinements %>
54
- spec.add_dependency "refinements", "~> 11.0"
54
+ spec.add_dependency "refinements", "~> 12.0"
55
55
  <% end %>
56
56
  <% if configuration.build_cli %>
57
- spec.add_dependency "runcom", "~> 10.0"
57
+ spec.add_dependency "runcom", "~> 11.0"
58
58
  <% end %>
59
59
  <% if configuration.build_cli %>
60
- spec.add_dependency "sod", "~> 0.0"
60
+ spec.add_dependency "sod", "~> 0.4"
61
61
  <% end %>
62
62
  <% if configuration.build_cli %>
63
- spec.add_dependency "spek", "~> 2.0"
63
+ spec.add_dependency "spek", "~> 3.0"
64
64
  <% end %>
65
65
  <% if configuration.build_zeitwerk %>
66
66
  spec.add_dependency "zeitwerk", "~> 2.6"
@@ -1,7 +1,7 @@
1
1
  require "spec_helper"
2
2
 
3
3
  RSpec.describe <%= configuration.project_namespaced_class %>::CLI::Shell do
4
- using Refinements::Pathnames
4
+ using Refinements::Pathname
5
5
  using Infusible::Stub
6
6
 
7
7
  subject(:shell) { described_class.new }
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/monads"
4
- require "refinements/pathnames"
4
+ require "refinements/pathname"
5
5
 
6
6
  module Gemsmith
7
7
  module Tools
@@ -9,7 +9,7 @@ module Gemsmith
9
9
  class Cleaner
10
10
  include Dry::Monads[:result]
11
11
 
12
- using Refinements::Pathnames
12
+ using Refinements::Pathname
13
13
 
14
14
  def initialize root_dir: Pathname.pwd
15
15
  @root_dir = root_dir
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "dry/monads"
4
- require "refinements/pathnames"
4
+ require "refinements/pathname"
5
5
  require "rubygems/command_manager"
6
6
 
7
7
  module Gemsmith
@@ -10,7 +10,7 @@ module Gemsmith
10
10
  class Packager
11
11
  include Dry::Monads[:result]
12
12
 
13
- using Refinements::Pathnames
13
+ using Refinements::Pathname
14
14
 
15
15
  def initialize command: Gem::CommandManager.new
16
16
  @command = command
@@ -21,7 +21,7 @@ module Gemsmith
21
21
  end
22
22
 
23
23
  def call specification
24
- publisher.call settings(specification)
24
+ publisher.call specification.version
25
25
  Success specification
26
26
  rescue Milestoner::Error => error
27
27
  Failure error.message
@@ -30,14 +30,6 @@ module Gemsmith
30
30
  private
31
31
 
32
32
  attr_reader :publisher, :model
33
-
34
- def settings specification
35
- model[
36
- documentation_format: configuration.extensions_milestoner_documentation_format,
37
- prefixes: configuration.extensions_milestoner_prefixes,
38
- version: specification.version
39
- ]
40
- end
41
33
  end
42
34
  end
43
35
  end
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.7.0
4
+ version: 21.0.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: 2023-12-03 00:00:00.000000000 Z
38
+ date: 2024-01-07 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -43,28 +43,28 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.12'
46
+ version: '0.15'
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.12'
53
+ version: '0.15'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: core
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0.1'
60
+ version: '1.0'
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.1'
67
+ version: '1.0'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: dry-container
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -113,126 +113,112 @@ dependencies:
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '0.2'
116
+ version: '1.0'
117
117
  type: :runtime
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0.2'
123
+ version: '1.0'
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: infusible
126
126
  requirement: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '2.2'
130
+ version: '3.0'
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '2.2'
137
+ version: '3.0'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: milestoner
140
140
  requirement: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '16.0'
144
+ version: '17.0'
145
145
  type: :runtime
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: '16.0'
151
+ version: '17.0'
152
152
  - !ruby/object:Gem::Dependency
153
153
  name: refinements
154
154
  requirement: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: '11.0'
158
+ version: '12.0'
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: '11.0'
165
+ version: '12.0'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: rubysmith
168
168
  requirement: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '5.9'
172
+ version: '6.0'
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.9'
179
+ version: '6.0'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: runcom
182
182
  requirement: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '10.0'
186
+ version: '11.0'
187
187
  type: :runtime
188
188
  prerelease: false
189
189
  version_requirements: !ruby/object:Gem::Requirement
190
190
  requirements:
191
191
  - - "~>"
192
192
  - !ruby/object:Gem::Version
193
- version: '10.0'
193
+ version: '11.0'
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: sod
196
196
  requirement: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '0.0'
200
+ version: '0.4'
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.0'
207
+ version: '0.4'
208
208
  - !ruby/object:Gem::Dependency
209
209
  name: spek
210
210
  requirement: !ruby/object:Gem::Requirement
211
211
  requirements:
212
212
  - - "~>"
213
213
  - !ruby/object:Gem::Version
214
- version: '2.0'
214
+ version: '3.0'
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: '2.0'
222
- - !ruby/object:Gem::Dependency
223
- name: versionaire
224
- requirement: !ruby/object:Gem::Requirement
225
- requirements:
226
- - - "~>"
227
- - !ruby/object:Gem::Version
228
- version: '12.0'
229
- type: :runtime
230
- prerelease: false
231
- version_requirements: !ruby/object:Gem::Requirement
232
- requirements:
233
- - - "~>"
234
- - !ruby/object:Gem::Version
235
- version: '12.0'
221
+ version: '3.0'
236
222
  - !ruby/object:Gem::Dependency
237
223
  name: zeitwerk
238
224
  requirement: !ruby/object:Gem::Requirement
@@ -316,10 +302,7 @@ require_paths:
316
302
  - lib
317
303
  required_ruby_version: !ruby/object:Gem::Requirement
318
304
  requirements:
319
- - - ">="
320
- - !ruby/object:Gem::Version
321
- version: '3.2'
322
- - - "<="
305
+ - - "~>"
323
306
  - !ruby/object:Gem::Version
324
307
  version: '3.3'
325
308
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -328,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
328
311
  - !ruby/object:Gem::Version
329
312
  version: '0'
330
313
  requirements: []
331
- rubygems_version: 3.4.22
314
+ rubygems_version: 3.5.4
332
315
  signing_key:
333
316
  specification_version: 4
334
317
  summary: A command line interface for smithing Ruby gems.
metadata.gz.sig CHANGED
Binary file