rubysmith 5.8.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +3 -2
  3. data/README.adoc +1 -39
  4. data/lib/rubysmith/builder.rb +2 -2
  5. data/lib/rubysmith/builders/bundler.rb +3 -3
  6. data/lib/rubysmith/builders/caliber.rb +2 -2
  7. data/lib/rubysmith/builders/circle_ci.rb +2 -2
  8. data/lib/rubysmith/builders/console.rb +2 -2
  9. data/lib/rubysmith/builders/core.rb +18 -6
  10. data/lib/rubysmith/builders/documentation/citation.rb +2 -2
  11. data/lib/rubysmith/builders/documentation/license.rb +2 -2
  12. data/lib/rubysmith/builders/documentation/readme.rb +2 -2
  13. data/lib/rubysmith/builders/documentation/version.rb +2 -2
  14. data/lib/rubysmith/builders/git/ignore.rb +2 -2
  15. data/lib/rubysmith/builders/git/safe.rb +2 -2
  16. data/lib/rubysmith/builders/git_hub.rb +2 -2
  17. data/lib/rubysmith/builders/git_hub_ci.rb +2 -2
  18. data/lib/rubysmith/builders/guard.rb +2 -2
  19. data/lib/rubysmith/builders/init.rb +2 -2
  20. data/lib/rubysmith/builders/rake.rb +2 -2
  21. data/lib/rubysmith/builders/reek.rb +2 -2
  22. data/lib/rubysmith/builders/rspec/binstub.rb +2 -2
  23. data/lib/rubysmith/builders/rspec/context.rb +2 -2
  24. data/lib/rubysmith/builders/rspec/helper.rb +2 -2
  25. data/lib/rubysmith/builders/setup.rb +2 -2
  26. data/lib/rubysmith/builders/version.rb +2 -2
  27. data/lib/rubysmith/cli/actions/maximum.rb +2 -2
  28. data/lib/rubysmith/cli/actions/minimum.rb +2 -2
  29. data/lib/rubysmith/cli/actions/publish.rb +8 -5
  30. data/lib/rubysmith/cli/commands/build.rb +1 -2
  31. data/lib/rubysmith/configuration/contract.rb +0 -7
  32. data/lib/rubysmith/configuration/defaults.yml +0 -30
  33. data/lib/rubysmith/configuration/model.rb +6 -13
  34. data/lib/rubysmith/configuration/transformers/template_root.rb +2 -2
  35. data/lib/rubysmith/extensions/bundler.rb +9 -3
  36. data/lib/rubysmith/extensions/milestoner.rb +3 -16
  37. data/lib/rubysmith/extensions/pragmater.rb +3 -16
  38. data/lib/rubysmith/extensions/rubocop.rb +2 -2
  39. data/lib/rubysmith/extensions/tocer.rb +3 -16
  40. data/lib/rubysmith/pathway.rb +2 -2
  41. data/lib/rubysmith/renderers/namespace.rb +2 -2
  42. data/lib/rubysmith/templates/%project_name%/.circleci/config.yml.erb +5 -5
  43. data/lib/rubysmith/templates/%project_name%/.github/workflows/ci.yml.erb +3 -3
  44. data/lib/rubysmith/templates/%project_name%/.gitignore.erb +0 -6
  45. data/lib/rubysmith/templates/%project_name%/Gemfile.erb +8 -14
  46. data/lib/rubysmith/templates/%project_name%/Rakefile.erb +2 -11
  47. data/lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb +14 -0
  48. data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +1 -1
  49. data/lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb +1 -1
  50. data/rubysmith.gemspec +15 -15
  51. data.tar.gz.sig +0 -0
  52. metadata +31 -34
  53. metadata.gz.sig +0 -0
  54. data/lib/rubysmith/cli/actions/yard.rb +0 -22
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.1
4
+ version: 6.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-11-17 00:00:00.000000000 Z
38
+ date: 2024-01-06 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -43,14 +43,14 @@ 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: dry-container
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -99,168 +99,168 @@ dependencies:
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '0.2'
102
+ version: '1.0'
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: '0.2'
109
+ version: '1.0'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: gitt
112
112
  requirement: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: '2.0'
116
+ version: '3.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: '2.0'
123
+ version: '3.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: pragmater
154
154
  requirement: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: '13.0'
158
+ version: '14.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: '13.0'
165
+ version: '14.0'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: refinements
168
168
  requirement: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '11.0'
172
+ version: '12.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: '11.0'
179
+ version: '12.0'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: rubocop
182
182
  requirement: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
- version: '1.55'
186
+ version: '1.59'
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: '1.55'
193
+ version: '1.59'
194
194
  - !ruby/object:Gem::Dependency
195
195
  name: runcom
196
196
  requirement: !ruby/object:Gem::Requirement
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '10.0'
200
+ version: '11.0'
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: '10.0'
207
+ version: '11.0'
208
208
  - !ruby/object:Gem::Dependency
209
209
  name: sod
210
210
  requirement: !ruby/object:Gem::Requirement
211
211
  requirements:
212
212
  - - "~>"
213
213
  - !ruby/object:Gem::Version
214
- version: '0.0'
214
+ version: '0.4'
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: '0.0'
221
+ version: '0.4'
222
222
  - !ruby/object:Gem::Dependency
223
223
  name: spek
224
224
  requirement: !ruby/object:Gem::Requirement
225
225
  requirements:
226
226
  - - "~>"
227
227
  - !ruby/object:Gem::Version
228
- version: '2.0'
228
+ version: '3.0'
229
229
  type: :runtime
230
230
  prerelease: false
231
231
  version_requirements: !ruby/object:Gem::Requirement
232
232
  requirements:
233
233
  - - "~>"
234
234
  - !ruby/object:Gem::Version
235
- version: '2.0'
235
+ version: '3.0'
236
236
  - !ruby/object:Gem::Dependency
237
237
  name: tocer
238
238
  requirement: !ruby/object:Gem::Requirement
239
239
  requirements:
240
240
  - - "~>"
241
241
  - !ruby/object:Gem::Version
242
- version: '16.0'
242
+ version: '17.0'
243
243
  type: :runtime
244
244
  prerelease: false
245
245
  version_requirements: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '16.0'
249
+ version: '17.0'
250
250
  - !ruby/object:Gem::Dependency
251
251
  name: tone
252
252
  requirement: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - "~>"
255
255
  - !ruby/object:Gem::Version
256
- version: '0.3'
256
+ version: '1.0'
257
257
  type: :runtime
258
258
  prerelease: false
259
259
  version_requirements: !ruby/object:Gem::Requirement
260
260
  requirements:
261
261
  - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: '0.3'
263
+ version: '1.0'
264
264
  - !ruby/object:Gem::Dependency
265
265
  name: zeitwerk
266
266
  requirement: !ruby/object:Gem::Requirement
@@ -343,7 +343,6 @@ files:
343
343
  - lib/rubysmith/cli/actions/setup.rb
344
344
  - lib/rubysmith/cli/actions/simple_cov.rb
345
345
  - lib/rubysmith/cli/actions/versions.rb
346
- - lib/rubysmith/cli/actions/yard.rb
347
346
  - lib/rubysmith/cli/actions/zeitwerk.rb
348
347
  - lib/rubysmith/cli/commands/build.rb
349
348
  - lib/rubysmith/cli/shell.rb
@@ -396,6 +395,7 @@ files:
396
395
  - lib/rubysmith/templates/%project_name%/bin/rubocop.erb
397
396
  - lib/rubysmith/templates/%project_name%/bin/setup.erb
398
397
  - lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
398
+ - lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
399
399
  - lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
400
400
  - lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
401
401
  - lib/rubysmith/text/inserter.rb
@@ -417,10 +417,7 @@ require_paths:
417
417
  - lib
418
418
  required_ruby_version: !ruby/object:Gem::Requirement
419
419
  requirements:
420
- - - ">="
421
- - !ruby/object:Gem::Version
422
- version: '3.2'
423
- - - "<="
420
+ - - "~>"
424
421
  - !ruby/object:Gem::Version
425
422
  version: '3.3'
426
423
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -429,7 +426,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
429
426
  - !ruby/object:Gem::Version
430
427
  version: '0'
431
428
  requirements: []
432
- rubygems_version: 3.4.22
429
+ rubygems_version: 3.5.4
433
430
  signing_key:
434
431
  specification_version: 4
435
432
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "sod"
4
-
5
- module Rubysmith
6
- module CLI
7
- module Actions
8
- # Stores Yard flag.
9
- class Yard < Sod::Action
10
- include Import[:input]
11
-
12
- description "Add Yard gem."
13
-
14
- on "--[no-]yard"
15
-
16
- default { Container[:configuration].build_yard }
17
-
18
- def call(value = nil) = input.build_yard = value
19
- end
20
- end
21
- end
22
- end