rubysmith 5.2.0 → 5.3.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/lib/rubysmith/builders/rake.rb +1 -1
  4. data/lib/rubysmith/builders/rspec/helper.rb +1 -0
  5. data/lib/rubysmith/cli/actions/amazing_print.rb +1 -1
  6. data/lib/rubysmith/cli/actions/caliber.rb +1 -1
  7. data/lib/rubysmith/cli/actions/circle_ci.rb +1 -1
  8. data/lib/rubysmith/cli/actions/citation.rb +1 -1
  9. data/lib/rubysmith/cli/actions/community.rb +1 -1
  10. data/lib/rubysmith/cli/actions/conduct.rb +1 -1
  11. data/lib/rubysmith/cli/actions/console.rb +1 -1
  12. data/lib/rubysmith/cli/actions/contributions.rb +1 -1
  13. data/lib/rubysmith/cli/actions/debug.rb +1 -1
  14. data/lib/rubysmith/cli/actions/funding.rb +1 -1
  15. data/lib/rubysmith/cli/actions/git.rb +1 -1
  16. data/lib/rubysmith/cli/actions/git_hub.rb +1 -1
  17. data/lib/rubysmith/cli/actions/git_hub_ci.rb +1 -1
  18. data/lib/rubysmith/cli/actions/git_lint.rb +1 -1
  19. data/lib/rubysmith/cli/actions/guard.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/security.rb +1 -1
  27. data/lib/rubysmith/cli/actions/setup.rb +1 -1
  28. data/lib/rubysmith/cli/actions/simple_cov.rb +1 -1
  29. data/lib/rubysmith/cli/actions/versions.rb +1 -1
  30. data/lib/rubysmith/cli/actions/yard.rb +1 -1
  31. data/lib/rubysmith/cli/actions/zeitwerk.rb +1 -1
  32. data/lib/rubysmith/templates/%project_name%/Rakefile.erb +1 -1
  33. data/lib/rubysmith/templates/%project_name%/bin/console.erb +1 -1
  34. data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +2 -3
  35. data/rubysmith.gemspec +1 -1
  36. data.tar.gz.sig +0 -0
  37. metadata +2 -2
  38. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cba3bd0c9495f7d9eac9352aaddcbff8697352579b03fc66c34cb476870ca967
4
- data.tar.gz: 5792c9c7a7cc5a6d1265bbd4461acb1195d7e19107dd84b4b8f61d7a68946830
3
+ metadata.gz: cc23eb9d3a6f0e1d1d06c596462a9c8622b921d51b637890fdd37fc4141b30d7
4
+ data.tar.gz: 67da0c327b758738432249bb9f061c76ed5c7db30697d81bbd66cde1502b354f
5
5
  SHA512:
6
- metadata.gz: 9edc097233d311cd1d5f7978842aa1e97d8ce49f948221c21b7363aa778be090a890e9b8b41e86c65837d6cd0146dcddcd21590148a198acafc56b700abd533b
7
- data.tar.gz: 076e94f6361e25ab206e7ec2528485a34c62a654452dea13919c655803ccae818c53df0166daecc7c960d2e4f40b25b94997af13dd82f8a6af20a3946e63a538
6
+ metadata.gz: 252f2eaf5a0e6c6c5c73173ad3a1e8cec42e15f87ed6791f40433cd5daf066039e4971bed9bde24af7d71fd815b82c4becb9fb61a44c85e87b0ecb0be63e5631
7
+ data.tar.gz: 3ed51c609c79770c5e080400a89464ea1a517e5c2278c190ecd32b9ae7fcebbc025a545856327a889fd809d8c921cca2fb8b52132da72c00b0652701a96eb506
checksums.yaml.gz.sig CHANGED
Binary file
@@ -39,7 +39,7 @@ module Rubysmith
39
39
  .replace(/\[\s+/, "[")
40
40
  .replace(/\s+\]/, "]")
41
41
  .replace(" ", "")
42
- .replace("task.", " task.")
42
+ .replace("task.options", " task.options")
43
43
  .replace(/\n+(?=require)/, "\n")
44
44
  .replace(/\n{2,}/, "\n\n")
45
45
  end
@@ -21,6 +21,7 @@ module Rubysmith
21
21
 
22
22
  builder.call(configuration.merge(template_path: "%project_name%/spec/spec_helper.rb.erb"))
23
23
  .render
24
+ .replace(/\A\n/, "")
24
25
  .replace("\n\n\n", "\n\n")
25
26
 
26
27
  configuration
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_amazing_print }
17
17
 
18
- def call(value = default) = input.build_amazing_print = value
18
+ def call(value = nil) = input.build_amazing_print = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_caliber }
17
17
 
18
- def call(value = default) = input.build_caliber = value
18
+ def call(value = nil) = input.build_caliber = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_circle_ci }
17
17
 
18
- def call(value = default) = input.build_circle_ci = value
18
+ def call(value = nil) = input.build_circle_ci = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_citation }
17
17
 
18
- def call(value = default) = input.build_citation = value
18
+ def call(value = nil) = input.build_citation = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_community }
17
17
 
18
- def call(value = default) = input.build_community = value
18
+ def call(value = nil) = input.build_community = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_conduct }
17
17
 
18
- def call(value = default) = input.build_conduct = value
18
+ def call(value = nil) = input.build_conduct = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_console }
17
17
 
18
- def call(value = default) = input.build_console = value
18
+ def call(value = nil) = input.build_console = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_contributions }
17
17
 
18
- def call(value = default) = input.build_contributions = value
18
+ def call(value = nil) = input.build_contributions = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_debug }
17
17
 
18
- def call(value = default) = input.build_debug = value
18
+ def call(value = nil) = input.build_debug = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_funding }
17
17
 
18
- def call(value = default) = input.build_funding = value
18
+ def call(value = nil) = input.build_funding = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_git }
17
17
 
18
- def call(value = default) = input.build_git = value
18
+ def call(value = nil) = input.build_git = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_git_hub }
17
17
 
18
- def call(value = default) = input.build_git_hub = value
18
+ def call(value = nil) = input.build_git_hub = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_git_hub_ci }
17
17
 
18
- def call(value = default) = input.build_git_hub_ci = value
18
+ def call(value = nil) = input.build_git_hub_ci = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_git_lint }
17
17
 
18
- def call(value = default) = input.build_git_lint = value
18
+ def call(value = nil) = input.build_git_lint = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_guard }
17
17
 
18
- def call(value = default) = input.build_guard = value
18
+ def call(value = nil) = input.build_guard = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_license }
17
17
 
18
- def call(value = default) = input.build_license = value
18
+ def call(value = nil) = input.build_license = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_rake }
17
17
 
18
- def call(value = default) = input.build_rake = value
18
+ def call(value = nil) = input.build_rake = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_readme }
17
17
 
18
- def call(value = default) = input.build_readme = value
18
+ def call(value = nil) = input.build_readme = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_reek }
17
17
 
18
- def call(value = default) = input.build_reek = value
18
+ def call(value = nil) = input.build_reek = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_refinements }
17
17
 
18
- def call(value = default) = input.build_refinements = value
18
+ def call(value = nil) = input.build_refinements = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_rspec }
17
17
 
18
- def call(value = default) = input.build_rspec = value
18
+ def call(value = nil) = input.build_rspec = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_security }
17
17
 
18
- def call(value = default) = input.build_security = value
18
+ def call(value = nil) = input.build_security = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_setup }
17
17
 
18
- def call(value = default) = input.build_setup = value
18
+ def call(value = nil) = input.build_setup = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_simple_cov }
17
17
 
18
- def call(value = default) = input.build_simple_cov = value
18
+ def call(value = nil) = input.build_simple_cov = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_versions }
17
17
 
18
- def call(value = default) = input.build_versions = value
18
+ def call(value = nil) = input.build_versions = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_yard }
17
17
 
18
- def call(value = default) = input.build_yard = value
18
+ def call(value = nil) = input.build_yard = value
19
19
  end
20
20
  end
21
21
  end
@@ -15,7 +15,7 @@ module Rubysmith
15
15
 
16
16
  default { Container[:configuration].build_zeitwerk }
17
17
 
18
- def call(value = default) = input.build_zeitwerk = value
18
+ def call(value = nil) = input.build_zeitwerk = value
19
19
  end
20
20
  end
21
21
  end
@@ -23,7 +23,7 @@ require "bundler/setup"
23
23
  Reek::Rake::Task.new
24
24
  <% end %>
25
25
  <% if configuration.build_rspec %>
26
- RSpec::Core::RakeTask.new
26
+ RSpec::Core::RakeTask.new { |task| task.verbose = false }
27
27
  <% end %>
28
28
  <% if configuration.build_caliber %>
29
29
  RuboCop::RakeTask.new
@@ -3,7 +3,7 @@
3
3
  require "bundler/setup"
4
4
  Bundler.require :tools
5
5
 
6
- require_relative "../lib/<%= configuration.project_path %>"
6
+ require "<%= configuration.project_path %>"
7
7
  require "irb"
8
8
 
9
9
  IRB.start __FILE__
@@ -1,6 +1,3 @@
1
- require "bundler/setup"
2
- Bundler.require :tools
3
-
4
1
  <% if configuration.build_simple_cov %>
5
2
  require "simplecov"
6
3
 
@@ -14,6 +11,8 @@ unless ENV["NO_COVERAGE"]
14
11
  end
15
12
  <% end %>
16
13
 
14
+ Bundler.require :tools
15
+
17
16
  require "<%= configuration.project_path %>"
18
17
  <% if configuration.build_refinements %>
19
18
  require "refinements"
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 = "5.2.0"
5
+ spec.version = "5.3.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://github.com/bkuhlmann/rubysmith"
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: 5.2.0
4
+ version: 5.3.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-06-19 00:00:00.000000000 Z
38
+ date: 2023-06-22 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
metadata.gz.sig CHANGED
Binary file