rubysmith 7.0.0 → 7.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/README.adoc +5 -4
  4. data/lib/rubysmith/cli/actions/amazing_print.rb +1 -1
  5. data/lib/rubysmith/cli/actions/caliber.rb +1 -1
  6. data/lib/rubysmith/cli/actions/circle_ci.rb +1 -1
  7. data/lib/rubysmith/cli/actions/citation.rb +1 -1
  8. data/lib/rubysmith/cli/actions/community.rb +1 -1
  9. data/lib/rubysmith/cli/actions/conduct.rb +1 -1
  10. data/lib/rubysmith/cli/actions/console.rb +1 -1
  11. data/lib/rubysmith/cli/actions/contributions.rb +1 -1
  12. data/lib/rubysmith/cli/actions/debug.rb +1 -1
  13. data/lib/rubysmith/cli/actions/funding.rb +1 -1
  14. data/lib/rubysmith/cli/actions/git.rb +1 -1
  15. data/lib/rubysmith/cli/actions/git_hub.rb +1 -1
  16. data/lib/rubysmith/cli/actions/git_hub_ci.rb +1 -1
  17. data/lib/rubysmith/cli/actions/git_lint.rb +1 -1
  18. data/lib/rubysmith/cli/actions/guard.rb +3 -1
  19. data/lib/rubysmith/cli/actions/irb_kit.rb +1 -1
  20. data/lib/rubysmith/cli/actions/license.rb +1 -1
  21. data/lib/rubysmith/cli/actions/rake.rb +1 -1
  22. data/lib/rubysmith/cli/actions/readme.rb +1 -1
  23. data/lib/rubysmith/cli/actions/reek.rb +1 -1
  24. data/lib/rubysmith/cli/actions/refinements.rb +1 -1
  25. data/lib/rubysmith/cli/actions/rspec.rb +1 -1
  26. data/lib/rubysmith/cli/actions/rtc.rb +1 -1
  27. data/lib/rubysmith/cli/actions/security.rb +1 -1
  28. data/lib/rubysmith/cli/actions/setup.rb +1 -1
  29. data/lib/rubysmith/cli/actions/simple_cov.rb +1 -1
  30. data/lib/rubysmith/cli/actions/versions.rb +1 -1
  31. data/lib/rubysmith/cli/actions/zeitwerk.rb +1 -1
  32. data/lib/rubysmith/configuration/defaults.yml +1 -1
  33. data/lib/rubysmith/container.rb +0 -1
  34. data/lib/rubysmith/templates/%project_name%/Gemfile.erb +1 -1
  35. data/rubysmith.gemspec +5 -5
  36. data.tar.gz.sig +0 -0
  37. metadata +11 -11
  38. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ba99960f8d5238ff9f23bc08b866c1d2e808bb7704f2d745b28254ecda1aaab
4
- data.tar.gz: 420ef6ebfc7751d9aa490a2abbe2a24fe09206ef5a4735da6e9f3bb4aaf673b1
3
+ metadata.gz: f9fdd8d0d5d95ffa934cc1530482d7be79e42d5ed191657a8bcd2d5a32156603
4
+ data.tar.gz: 91540e827a5d4a19ddee56f73070d6ab51a300109d3e293aabf7a01921bae108
5
5
  SHA512:
6
- metadata.gz: 53f5f436d69f6218b4eaee550f844fab11c1667666d6bbf19ad01b3ab463fcfcbc0d8e3bd36f2da0e6c384ddea2f1e585311ce3706c87a30246b14a1508af493
7
- data.tar.gz: 69d5ece05c1d3017d01d615dbd4c7efca795dfd863c8ba1149e0057d978095665c8d14f1f877e8c60d35bc2d4279265f5619cee06807e1d7a7b7936e752ec2da
6
+ metadata.gz: ce755310287dcb66dc60075580d96cd98f88a56c83f3f230bddda9ddd53be759871fd52c849ee4a4eea2cbdcc0ee628f827cd82fc82fb8d0abd907f1fee1d5af
7
+ data.tar.gz: 2e35bec0244e5d15ae4c50ec6a9504587855709e217011217731034c05f0c4a4a6da54a25c92ddfd8f0989588c41fd4cc111b75e94efb8579bc4c415bd9ee3b7
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -29,7 +29,6 @@ toc::[]
29
29
  * Supports link:https://git-scm.com[Git].
30
30
  * Supports link:https://github.com[GitHub].
31
31
  * Supports link:https://alchemists.io/projects/git-lint[Git Lint].
32
- * Supports link:https://github.com/guard/guard[Guard].
33
32
  * Supports link:https://alchemists.io/projects/irb-kit[IRB Kit].
34
33
  * Supports link:https://github.com/ruby/rake[Rake].
35
34
  * Supports link:https://github.com/troessner/reek[Reek].
@@ -96,10 +95,10 @@ options, you can use `--no-*` prefixes. Example:
96
95
 
97
96
  [source,bash]
98
97
  ----
99
- rubysmith build --name demo --no-debug --no-guard
98
+ rubysmith build --name demo --no-debug --no-reek
100
99
  ----
101
100
 
102
- With the above example, both Debug and Guard support would have been disabled when building the
101
+ With the above example, both Debug and Reek support would have been disabled when building the
103
102
  `demo` project. Taking this a step further, you can also use the `--min` option to generate a
104
103
  project with bare minimum of options. Example:
105
104
 
@@ -209,6 +208,8 @@ manner.
209
208
 
210
209
  ===== Guard
211
210
 
211
+ ⚠️ _This is deprecated and will be removed in the next major version._
212
+
212
213
  The `--guard` option allows you add the link:https://github.com/guard/guard[Guard] gem to your
213
214
  project for rapid red, green, refactor development cycles.
214
215
 
@@ -312,7 +313,7 @@ build:
312
313
  git_hub: false
313
314
  git_hub_ci: false
314
315
  git_lint: true
315
- guard: true
316
+ guard: false
316
317
  irb_kit: true
317
318
  license: true
318
319
  maximum: false
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_amazing_print }
17
17
 
18
- def call(value = nil) = settings.build_amazing_print = value
18
+ def call(boolean) = settings.build_amazing_print = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_caliber }
17
17
 
18
- def call(value = nil) = settings.build_caliber = value
18
+ def call(boolean) = settings.build_caliber = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_circle_ci }
17
17
 
18
- def call(value = nil) = settings.build_circle_ci = value
18
+ def call(boolean) = settings.build_circle_ci = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_citation }
17
17
 
18
- def call(value = nil) = settings.build_citation = value
18
+ def call(boolean) = settings.build_citation = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_community }
17
17
 
18
- def call(value = nil) = settings.build_community = value
18
+ def call(boolean) = settings.build_community = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_conduct }
17
17
 
18
- def call(value = nil) = settings.build_conduct = value
18
+ def call(boolean) = settings.build_conduct = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_console }
17
17
 
18
- def call(value = nil) = settings.build_console = value
18
+ def call(boolean) = settings.build_console = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_contributions }
17
17
 
18
- def call(value = nil) = settings.build_contributions = value
18
+ def call(boolean) = settings.build_contributions = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_debug }
17
17
 
18
- def call(value = nil) = settings.build_debug = value
18
+ def call(boolean) = settings.build_debug = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_funding }
17
17
 
18
- def call(value = nil) = settings.build_funding = value
18
+ def call(boolean) = settings.build_funding = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_git }
17
17
 
18
- def call(value = nil) = settings.build_git = value
18
+ def call(boolean) = settings.build_git = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_git_hub }
17
17
 
18
- def call(value = nil) = settings.build_git_hub = value
18
+ def call(boolean) = settings.build_git_hub = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_git_hub_ci }
17
17
 
18
- def call(value = nil) = settings.build_git_hub_ci = value
18
+ def call(boolean) = settings.build_git_hub_ci = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_git_lint }
17
17
 
18
- def call(value = nil) = settings.build_git_lint = value
18
+ def call(boolean) = settings.build_git_lint = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -11,11 +11,13 @@ module Rubysmith
11
11
 
12
12
  description "Add Guard gem."
13
13
 
14
+ ancillary "DEPRECATED: Will be removed in next major version."
15
+
14
16
  on "--[no-]guard"
15
17
 
16
18
  default { Container[:settings].build_guard }
17
19
 
18
- def call(value = nil) = settings.build_guard = value
20
+ def call(boolean) = settings.build_guard = boolean
19
21
  end
20
22
  end
21
23
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_irb_kit }
17
17
 
18
- def call(value = nil) = settings.build_irb_kit = value
18
+ def call(boolean) = settings.build_irb_kit = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_license }
17
17
 
18
- def call(value = nil) = settings.build_license = value
18
+ def call(boolean) = settings.build_license = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_rake }
17
17
 
18
- def call(value = nil) = settings.build_rake = value
18
+ def call(boolean) = settings.build_rake = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_readme }
17
17
 
18
- def call(value = nil) = settings.build_readme = value
18
+ def call(boolean) = settings.build_readme = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_reek }
17
17
 
18
- def call(value = nil) = settings.build_reek = value
18
+ def call(boolean) = settings.build_reek = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_refinements }
17
17
 
18
- def call(value = nil) = settings.build_refinements = value
18
+ def call(boolean) = settings.build_refinements = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_rspec }
17
17
 
18
- def call(value = nil) = settings.build_rspec = value
18
+ def call(boolean) = settings.build_rspec = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_rtc }
17
17
 
18
- def call(value = nil) = settings.build_rtc = value
18
+ def call(boolean) = settings.build_rtc = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_security }
17
17
 
18
- def call(value = nil) = settings.build_security = value
18
+ def call(boolean) = settings.build_security = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_setup }
17
17
 
18
- def call(value = nil) = settings.build_setup = value
18
+ def call(boolean) = settings.build_setup = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_simple_cov }
17
17
 
18
- def call(value = nil) = settings.build_simple_cov = value
18
+ def call(boolean) = settings.build_simple_cov = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_versions }
17
17
 
18
- def call(value = nil) = settings.build_versions = value
18
+ def call(boolean) = settings.build_versions = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:settings].build_zeitwerk }
17
17
 
18
- def call(value = nil) = settings.build_zeitwerk = value
18
+ def call(boolean) = settings.build_zeitwerk = boolean
19
19
  end
20
20
  end
21
21
  end
@@ -17,7 +17,7 @@ build:
17
17
  git_hub: false
18
18
  git_hub_ci: false
19
19
  git_lint: true
20
- guard: true
20
+ guard: false
21
21
  irb_kit: true
22
22
  license: true
23
23
  maximum: false
@@ -22,7 +22,6 @@ module Rubysmith
22
22
  .add_transformer(Configuration::Transformers::TemplateRoot.new)
23
23
  .add_transformer(:root, :target_root)
24
24
  .add_transformer(:format, :author_uri)
25
- .add_transformer(:format, :author_uri)
26
25
  .add_transformer(:format, :project_uri_community)
27
26
  .add_transformer(:format, :project_uri_conduct)
28
27
  .add_transformer(:format, :project_uri_contributions)
@@ -3,7 +3,7 @@ ruby file: ".ruby-version"
3
3
  source "https://rubygems.org"
4
4
 
5
5
  <% if settings.build_refinements %>
6
- gem "refinements", "~> 12.5"
6
+ gem "refinements", "~> 12.7"
7
7
  <% end %>
8
8
  <% if settings.build_zeitwerk %>
9
9
  gem "zeitwerk", "~> 2.6"
data/rubysmith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubysmith"
5
- spec.version = "7.0.0"
5
+ spec.version = "7.2.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/rubysmith"
@@ -30,13 +30,13 @@ Gem::Specification.new do |spec|
30
30
  spec.add_dependency "etcher", "~> 2.1"
31
31
  spec.add_dependency "gitt", "~> 3.6"
32
32
  spec.add_dependency "infusible", "~> 3.8"
33
- spec.add_dependency "pragmater", "~> 15.0"
34
- spec.add_dependency "refinements", "~> 12.5"
33
+ spec.add_dependency "pragmater", "~> 15.2"
34
+ spec.add_dependency "refinements", "~> 12.7"
35
35
  spec.add_dependency "rubocop", "~> 1.65"
36
36
  spec.add_dependency "runcom", "~> 11.5"
37
- spec.add_dependency "sod", "~> 0.12"
37
+ spec.add_dependency "sod", "~> 0.14"
38
38
  spec.add_dependency "spek", "~> 3.0"
39
- spec.add_dependency "tocer", "~> 18.0"
39
+ spec.add_dependency "tocer", "~> 18.2"
40
40
  spec.add_dependency "tone", "~> 1.0"
41
41
  spec.add_dependency "zeitwerk", "~> 2.6"
42
42
 
data.tar.gz.sig CHANGED
Binary file
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: 7.0.0
4
+ version: 7.2.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: 2024-07-10 00:00:00.000000000 Z
38
+ date: 2024-08-11 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -141,28 +141,28 @@ dependencies:
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '15.0'
144
+ version: '15.2'
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: '15.0'
151
+ version: '15.2'
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: '12.5'
158
+ version: '12.7'
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: '12.5'
165
+ version: '12.7'
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: rubocop
168
168
  requirement: !ruby/object:Gem::Requirement
@@ -197,14 +197,14 @@ dependencies:
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '0.12'
200
+ version: '0.14'
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.12'
207
+ version: '0.14'
208
208
  - !ruby/object:Gem::Dependency
209
209
  name: spek
210
210
  requirement: !ruby/object:Gem::Requirement
@@ -225,14 +225,14 @@ dependencies:
225
225
  requirements:
226
226
  - - "~>"
227
227
  - !ruby/object:Gem::Version
228
- version: '18.0'
228
+ version: '18.2'
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: '18.0'
235
+ version: '18.2'
236
236
  - !ruby/object:Gem::Dependency
237
237
  name: tone
238
238
  requirement: !ruby/object:Gem::Requirement
@@ -413,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
413
  - !ruby/object:Gem::Version
414
414
  version: '0'
415
415
  requirements: []
416
- rubygems_version: 3.5.15
416
+ rubygems_version: 3.5.17
417
417
  signing_key:
418
418
  specification_version: 4
419
419
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file