rubysmith 0.6.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f85dc46b117c0698caa1f0904db283ea628813000bf452172917ff287696e51e
4
- data.tar.gz: 98e68d55fcbcc04f1cd01366ecd7891ca2692f627df94d7d1c6ee03f0189475f
3
+ metadata.gz: fc61b29f7631893021128bf858b1c47354185e7b14785b21d7efa6a3af8f96c4
4
+ data.tar.gz: 1592e203b7d83a3a212611b01a968794d75dd463eaf786761733ba021f133d4b
5
5
  SHA512:
6
- metadata.gz: 122ca78a91a27293ab325bce3e8064f0c4be2d99d0f4b755bd5be309f2283fb421f872d0247ec7d4cde3f3d0d3c139b44e368584b20575ea45a16463e39d0651
7
- data.tar.gz: e6af238bccd4ae8ca0cd19939be559bd11f0138d61f47fca0b71dcbeb1534550d0ac00cf5c05f2dad999a058fa0cbd9ae5addd8e3e97e7e3f5ee6b7847494698
6
+ metadata.gz: f2e10c908b918b136141151257730dc990863e6cebb86f5d8475995d858cabdc89e0350d21903246fde8ec0d58b1013feae96b2cac7db06de151d3936d744569
7
+ data.tar.gz: d656ebff7d7de45f21cceb610718bfb81cb796647fc325677075dcf6ea5ae2e7b348b770ec217c8b548096f1645a8dd40156d3a9b848b19044f93277e1f284a4
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -23,7 +23,6 @@ toc::[]
23
23
  == Features
24
24
 
25
25
  * Builds a Ruby project skeleton for custom design and development.
26
- * Uses link:https://www.alchemists.io/projects/refinements[Refinements] Ruby core library enhancements.
27
26
  * Uses link:https://www.alchemists.io/projects/runcom[Runcom] for resource configuration management.
28
27
  * Uses link:https://www.alchemists.io/projects/pragmater[Pragmater] for Ruby source pragma directives.
29
28
  * Supports link:https://github.com/amazing-print/amazing_print[Amazing Print].
@@ -40,6 +39,7 @@ toc::[]
40
39
  * Supports link:https://docs.rubocop.org/rubocop-performance[Rubocop Performance].
41
40
  * Supports link:https://github.com/rubocop-hq/rubocop-rake[Rubocop Rake].
42
41
  * Supports link:https://github.com/rubocop-hq/rubocop-rspec[Rubocop RSpec].
42
+ * Supports link:https://github.com/whitesmith/RubyCritic[RubyCritic].
43
43
  * Supports link:https://github.com/simplecov-ruby/simplecov[SimpleCov].
44
44
  * Supports common settings and a structured layout for building projects.
45
45
  * Provides common documentation:
@@ -97,8 +97,9 @@ BUILD OPTIONS:
97
97
  --[no-]refinements Add Refinements.
98
98
  --[no-]rspec Add RSpec.
99
99
  --[no-]rubocop Add Rubocop.
100
+ --[no-]ruby_critic Add RubyCritic.
100
101
  --[no-]setup Add setup script.
101
- --[no-]simple_cov Add SimpleCov
102
+ --[no-]simple_cov Add SimpleCov.
102
103
  --min Use minimum/no options.
103
104
  ....
104
105
 
@@ -173,6 +174,7 @@ The default configuration is as follows:
173
174
  :refinements: true
174
175
  :rspec: true
175
176
  :rubocop: true
177
+ :ruby_critic: true
176
178
  :setup: true
177
179
  :simple_cov: true
178
180
  :builders:
data/bin/rubysmith CHANGED
@@ -1,9 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- # TODO: Remove once the Pattern Matching feature is fully supported.
5
- Warning[:experimental] = false
6
-
7
4
  require "rubysmith"
8
5
  require "rubysmith/cli/shell"
9
6
 
data/lib/rubysmith.rb CHANGED
@@ -22,6 +22,7 @@ require "rubysmith/builders/rspec/helper"
22
22
  require "rubysmith/builders/pragma"
23
23
  require "rubysmith/builders/rubocop/setup"
24
24
  require "rubysmith/builders/rubocop/formatter"
25
+ require "rubysmith/builders/ruby_critic"
25
26
  require "rubysmith/cli/parsers/core"
26
27
  require "rubysmith/cli/parsers/build"
27
28
  require "rubysmith/cli/parsers/assembler"
@@ -10,10 +10,7 @@ module Rubysmith
10
10
  class Builder
11
11
  using Refinements::Pathnames
12
12
 
13
- LOGGER = Logger.new(
14
- STDOUT,
15
- formatter: ->(severity, _at, _program, message) { "#{severity} #{message}\n" }
16
- )
13
+ LOGGER = Logger.new(STDOUT, formatter: ->(_severity, _at, _program, message) { "#{message}\n" })
17
14
 
18
15
  HELPERS = {
19
16
  inserter: Text::Inserter,
@@ -2,19 +2,22 @@
2
2
 
3
3
  require "bundler"
4
4
  require "bundler/cli"
5
+ require "refinements/pathnames"
5
6
 
6
7
  module Rubysmith
7
8
  module Builders
8
9
  # Builds Bundler Gemfile configuration and installs gem dependencies for project skeleton.
9
10
  class Bundler
11
+ using Refinements::Pathnames
12
+
10
13
  def self.call realm, builder: Builder
11
14
  new(realm, builder: builder).call
12
15
  end
13
16
 
14
- def initialize realm, builder: Builder, runner: ::Bundler::CLI
17
+ def initialize realm, builder: Builder, client: ::Bundler::CLI
15
18
  @realm = realm
16
19
  @builder = builder
17
- @runner = runner
20
+ @client = client
18
21
  end
19
22
 
20
23
  def call
@@ -26,13 +29,14 @@ module Rubysmith
26
29
  .replace(/(\n+|\s+)end/, "\nend")
27
30
  .replace(/\n\ngroup :(code_quality|test|tools) do\nend/, "")
28
31
  .replace(/org"\n+/, "org\"\n\n")
29
- Dir.chdir(realm.project_root) { runner.start %w[install --quiet] }
32
+
33
+ realm.project_root.change_dir { client.start %w[install --quiet] }
30
34
  nil
31
35
  end
32
36
 
33
37
  private
34
38
 
35
- attr_reader :realm, :builder, :runner
39
+ attr_reader :realm, :builder, :client
36
40
  end
37
41
  end
38
42
  end
@@ -16,7 +16,7 @@ module Rubysmith
16
16
  def call
17
17
  return unless realm.build_documentation
18
18
 
19
- private_methods.grep(/render_/).each { |method| __send__ method }
19
+ private_methods.sort.grep(/render_/).each { |method| __send__ method }
20
20
  end
21
21
 
22
22
  private
@@ -10,19 +10,19 @@ module Rubysmith
10
10
  new(realm).call
11
11
  end
12
12
 
13
- def initialize realm, runner: Pragmater::Runner
13
+ def initialize realm, client: Pragmater::Runner
14
14
  @realm = realm
15
- @runner = runner
15
+ @client = client
16
16
  end
17
17
 
18
18
  def call
19
- runner.for(**attributes).call
19
+ client.for(**attributes).call
20
20
  nil
21
21
  end
22
22
 
23
23
  private
24
24
 
25
- attr_reader :realm, :runner
25
+ attr_reader :realm, :client
26
26
 
27
27
  def attributes
28
28
  {
@@ -0,0 +1,27 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Rubysmith
4
+ module Builders
5
+ # Builds project skeleton RubyCritic code quality support.
6
+ class RubyCritic
7
+ def self.call realm, builder: Builder
8
+ new(realm, builder: builder).call
9
+ end
10
+
11
+ def initialize realm, builder: Builder
12
+ @realm = realm
13
+ @builder = builder
14
+ end
15
+
16
+ def call
17
+ return unless realm.build_ruby_critic
18
+
19
+ builder.call(realm.with(template_path: "%project_name%/.rubycritic.yml.erb")).render
20
+ end
21
+
22
+ private
23
+
24
+ attr_reader :realm, :builder
25
+ end
26
+ end
27
+ end
@@ -1,8 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "yaml"
3
+ require "pathname"
4
4
  require "refinements/hashes"
5
5
  require "runcom"
6
+ require "yaml"
6
7
 
7
8
  module Rubysmith
8
9
  module CLI
@@ -22,6 +22,7 @@
22
22
  :refinements: true
23
23
  :rspec: true
24
24
  :rubocop: true
25
+ :ruby_critic: true
25
26
  :setup: true
26
27
  :simple_cov: true
27
28
  :builders:
@@ -17,7 +17,7 @@ module Rubysmith
17
17
 
18
18
  def call arguments = []
19
19
  client.separator "\nBUILD OPTIONS:\n"
20
- private_methods.grep(/add_/).each { |method| __send__ method }
20
+ private_methods.sort.grep(/add_/).each { |method| __send__ method }
21
21
  arguments.empty? ? arguments : client.parse!(arguments)
22
22
  end
23
23
 
@@ -109,6 +109,12 @@ module Rubysmith
109
109
  end
110
110
  end
111
111
 
112
+ def add_ruby_critic
113
+ client.on "--[no-]ruby_critic", "Add RubyCritic." do |value|
114
+ options[:build_ruby_critic] = value
115
+ end
116
+ end
117
+
112
118
  def add_setup
113
119
  client.on "--[no-]setup", "Add setup script." do |value|
114
120
  options[:build_setup] = value
@@ -28,7 +28,7 @@ module Rubysmith
28
28
  attr_reader :client, :options
29
29
 
30
30
  def collate
31
- private_methods.grep(/add_/).each { |method| __send__ method }
31
+ private_methods.sort.grep(/add_/).each { |method| __send__ method }
32
32
  end
33
33
 
34
34
  def add_config
@@ -29,6 +29,7 @@ module Rubysmith
29
29
  Builders::Pragma,
30
30
  Builders::Rubocop::Setup,
31
31
  Builders::Rubocop::Formatter,
32
+ Builders::RubyCritic,
32
33
  Builders::Git::Commit
33
34
  ].freeze
34
35
 
@@ -24,11 +24,11 @@ module Rubysmith
24
24
  parse arguments
25
25
 
26
26
  case options
27
- in config: action, **remainder then process_config action
28
- in build_minimum: true, **remainder then process_build :build_minimum, options
29
- in build:, **remainder then process_build :build_maximum, options
30
- in version:, **remainder then puts version
31
- in help:, **remainder then usage
27
+ in config: action then process_config action
28
+ in build_minimum: true then process_build :build_minimum, options
29
+ in build: then process_build :build_maximum, options
30
+ in version: then puts version
31
+ in help: then usage
32
32
  else usage
33
33
  end
34
34
  end
@@ -48,7 +48,8 @@ module Rubysmith
48
48
  end
49
49
 
50
50
  def process_build kind, settings
51
- processors.fetch(kind).call settings.rekey(build: :project_name).merge(now: Time.now)
51
+ processors.fetch(kind).call settings.transform_keys(build: :project_name)
52
+ .merge(now: Time.now)
52
53
  end
53
54
 
54
55
  def options
@@ -4,7 +4,7 @@ module Rubysmith
4
4
  module Identity
5
5
  NAME = "rubysmith"
6
6
  LABEL = "Rubysmith"
7
- VERSION = "0.6.0"
7
+ VERSION = "0.9.1"
8
8
  VERSION_LABEL = "#{LABEL} #{VERSION}"
9
9
  SUMMARY = "A command line interface for smithing Ruby projects."
10
10
  end
@@ -30,6 +30,7 @@ module Rubysmith
30
30
  build_refinements
31
31
  build_rspec
32
32
  build_rubocop
33
+ build_ruby_critic
33
34
  build_setup
34
35
  build_simple_cov
35
36
  builders_pragmater_comments
@@ -1,7 +1,7 @@
1
1
  inherit_from:
2
- - https://raw.githubusercontent.com/bkuhlmann/code_quality/master/configurations/rubocop/ruby.yml
3
- - https://raw.githubusercontent.com/bkuhlmann/code_quality/master/configurations/rubocop/rake.yml
4
- - https://raw.githubusercontent.com/bkuhlmann/code_quality/master/configurations/rubocop/performance.yml
2
+ - https://raw.githubusercontent.com/bkuhlmann/code_quality/main/configurations/rubocop/ruby.yml
3
+ - https://raw.githubusercontent.com/bkuhlmann/code_quality/main/configurations/rubocop/rake.yml
4
+ - https://raw.githubusercontent.com/bkuhlmann/code_quality/main/configurations/rubocop/performance.yml
5
5
  <% if realm.build_rspec %>
6
- - https://raw.githubusercontent.com/bkuhlmann/code_quality/master/configurations/rubocop/rspec.yml
6
+ - https://raw.githubusercontent.com/bkuhlmann/code_quality/main/configurations/rubocop/rspec.yml
7
7
  <% end %>
@@ -0,0 +1,3 @@
1
+ paths:
2
+ - "lib"
3
+ no_browser: true
@@ -1,8 +1,10 @@
1
+ ruby File.read(".ruby-version").strip
2
+
1
3
  source "https://rubygems.org"
2
4
 
3
5
  <% unless realm.build_minimum %>
4
6
  <% if realm.build_refinements %>
5
- gem "refinements", "~> 7.16"
7
+ gem "refinements", "~> 8.0"
6
8
  <% end %>
7
9
 
8
10
  group :code_quality do
@@ -13,35 +15,38 @@ source "https://rubygems.org"
13
15
  gem "bundler-leak", "~> 0.2"
14
16
  <% end %>
15
17
  <% if realm.build_git && realm.build_git_lint %>
16
- gem "git-lint", "~> 1.3"
18
+ gem "git-lint", "~> 2.0"
17
19
  <% end %>
18
20
  <% if realm.build_reek %>
19
21
  gem "reek", "~> 6.0"
20
22
  <% end %>
21
23
  <% if realm.build_rubocop %>
22
- gem "rubocop", "~> 1.5"
24
+ gem "rubocop", "~> 1.10"
23
25
  gem "rubocop-performance", "~> 1.9"
24
26
  gem "rubocop-rake", "~> 0.5"
25
27
  <% end %>
26
28
  <% if realm.build_rspec && realm.build_rubocop %>
27
29
  gem "rubocop-rspec", "~> 2.0"
28
30
  <% end %>
31
+ <% if realm.build_ruby_critic %>
32
+ gem "rubycritic", "~> 4.5", require: false
33
+ <% end %>
34
+ <% if realm.build_simple_cov %>
35
+ gem "simplecov", "~> 0.20"
36
+ <% end %>
29
37
  end
30
38
 
31
39
  group :development do
32
- <% if realm.build_guard %>
33
- gem "guard-rspec", "~> 4.7", require: false
34
- <% end %>
35
40
  gem "rake", "~> 13.0"
36
41
  end
37
42
 
38
43
  group :test do
44
+ <% if realm.build_guard %>
45
+ gem "guard-rspec", "~> 4.7", require: false
46
+ <% end %>
39
47
  <% if realm.build_rspec %>
40
48
  gem "rspec", "~> 3.10"
41
49
  <% end %>
42
- <% if realm.build_simple_cov %>
43
- gem "simplecov", "~> 0.20"
44
- <% end %>
45
50
  end
46
51
 
47
52
  group :tools do
@@ -18,6 +18,9 @@ require "bundler/setup"
18
18
  <% if realm.build_rubocop %>
19
19
  require "rubocop/rake_task"
20
20
  <% end %>
21
+ <% if realm.build_ruby_critic %>
22
+ require "rubycritic/rake_task"
23
+ <% end %>
21
24
 
22
25
  <% if realm.build_bundler_audit %>
23
26
  Bundler::Audit::Task.new
@@ -34,8 +37,11 @@ require "bundler/setup"
34
37
  <% if realm.build_rubocop %>
35
38
  RuboCop::RakeTask.new
36
39
  <% end %>
40
+ <% if realm.build_ruby_critic %>
41
+ RubyCritic::RakeTask.new
42
+ <% end %>
37
43
 
38
44
  desc "Run code quality checks"
39
- task code_quality: %i[<% if realm.build_bundler_audit %>bundle:audit<% end %> <% if realm.build_bundler_leak %>bundle:leak<% end %> <% if realm.build_git && realm.build_git_lint %>git_lint<% end %> <% if realm.build_reek %>reek<% end %> <% if realm.build_rubocop %>rubocop<% end %>]
45
+ task code_quality: %i[<% if realm.build_bundler_audit %>bundle:audit<% end %> <% if realm.build_bundler_leak %>bundle:leak<% end %> <% if realm.build_git && realm.build_git_lint %>git_lint<% end %> <% if realm.build_reek %>reek<% end %> <% if realm.build_rubocop %>rubocop<% end %> <% if realm.build_ruby_critic %>rubycritic<% end %>]
40
46
 
41
47
  task default: %i[code_quality <% if realm.build_rspec %>spec<% end %>]
@@ -1,6 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
- require "rubygems"
4
3
  require "bundler/setup"
5
4
 
6
5
  load Gem.bin_path "guard", "guard"
@@ -1,7 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "rubygems"
5
4
  require "bundler/setup"
6
5
 
7
6
  load Gem.bin_path "rubocop", "rubocop"
@@ -0,0 +1,3 @@
1
+ # The project namespace.
2
+ module <%= realm.project_class %>
3
+ end
@@ -1,5 +1,5 @@
1
1
  require "bundler/setup"
2
- Bundler.require :test, :tools
2
+ Bundler.require :tools
3
3
 
4
4
  <% if realm.build_simple_cov %>
5
5
  require "simplecov"
@@ -7,9 +7,12 @@ Bundler.require :test, :tools
7
7
  <% end %>
8
8
 
9
9
  require "<%= realm.project_name %>"
10
- <% if realm.build_refinements %>
11
- require "refinements"
10
+ <% if realm.build_refinements %>require "refinements"<% end %>
11
+
12
+ GC.auto_compact = true
13
+ GC.verify_compaction_references double_heap: true, toward: :empty
12
14
 
15
+ <% if realm.build_refinements %>
13
16
  using Refinements::Pathnames
14
17
 
15
18
  Pathname.require_tree __dir__, "support/shared_contexts/**/*.rb"
@@ -1,4 +1,4 @@
1
- RSpec.shared_context "with temporary directory", :temp_dir do
1
+ RSpec.shared_context "with temporary directory" do
2
2
  <% if realm.build_refinements %>using Refinements::Pathnames<% end %>
3
3
 
4
4
  let(:temp_dir) { Bundler.root.join "tmp/rspec" }
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: 0.6.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIC/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMDAzMTUxNDQ1MzJaFw0yMTAzMTUx
15
- NDQ1MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
13
+ MIIC/jCCAeagAwIBAgIBBDANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMTAzMTkxMjQ4MDZaFw0yMjAzMTkx
15
+ MjQ4MDZaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
16
  IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
17
  xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
18
  brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
@@ -20,15 +20,15 @@ cert_chain:
20
20
  D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
21
  3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
22
  AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
- 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAIHhAlD3po4sTYqacXaQ
24
- XI9jIhrfMy//2PgbHWcETtlJPBeNUbbSNBABcllUHKqYsVDlSvSmss034KSWNR8F
25
- bF1GcloicyvcCC4y6IoW4it0COAcdeaaxkxiBSgKdQFpff9REnDlIKK4uQ9lLxIo
26
- Y2G5xubiziKZkyfWFuSr67PIjW3Bu673D1JVBArhA1qbgQmYQcy1CkGOjo+iO8Nf
27
- 7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
28
- 2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
- QWc=
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAEjpaOXHHp8s/7GL2qCb
24
+ YAs7urOLv9VHSPfQWAwaTMVnSsIf3Sw4xzISOP/mmfEPBPXtz61K5esrE/uTFtgb
25
+ FyjxQk2H0sEWgrRXGGNHBWQRhhEs7LP/TByoC15A0br++xLxRz4r7HBLGAWQQDpg
26
+ 66BJ2TBVjxS6K64tKbq7+ACyrOZGgTfNHACh4M076y0x0oRf/rwBrU39/KRfuhbb
27
+ cm+nNCEtO35gTmZ2bVDHLGvWazi3gJt6+huQjfXTCUUG2YYBxwhu+GPdAGQPxpf9
28
+ lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
+ W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-12-07 00:00:00.000000000 Z
31
+ date: 2021-04-04 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pragmater
@@ -36,56 +36,56 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '8.1'
39
+ version: '9.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '8.1'
46
+ version: '9.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: refinements
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '7.16'
53
+ version: '8.0'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '7.16'
60
+ version: '8.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rubocop
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.5'
67
+ version: '1.10'
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '1.5'
74
+ version: '1.10'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: runcom
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '6.4'
81
+ version: '7.0'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '6.4'
88
+ version: '7.0'
89
89
  description:
90
90
  email:
91
91
  - brooke@alchemists.io
@@ -115,6 +115,7 @@ files:
115
115
  - lib/rubysmith/builders/rspec/helper.rb
116
116
  - lib/rubysmith/builders/rubocop/formatter.rb
117
117
  - lib/rubysmith/builders/rubocop/setup.rb
118
+ - lib/rubysmith/builders/ruby_critic.rb
118
119
  - lib/rubysmith/builders/setup.rb
119
120
  - lib/rubysmith/cli/configuration.rb
120
121
  - lib/rubysmith/cli/defaults.yml
@@ -132,6 +133,7 @@ files:
132
133
  - lib/rubysmith/templates/%project_name%/.reek.yml.erb
133
134
  - lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
134
135
  - lib/rubysmith/templates/%project_name%/.ruby-version.erb
136
+ - lib/rubysmith/templates/%project_name%/.rubycritic.yml.erb
135
137
  - lib/rubysmith/templates/%project_name%/CHANGES.adoc.erb
136
138
  - lib/rubysmith/templates/%project_name%/CHANGES.md.erb
137
139
  - lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.adoc.erb
@@ -171,14 +173,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
171
173
  requirements:
172
174
  - - "~>"
173
175
  - !ruby/object:Gem::Version
174
- version: '2.7'
176
+ version: '3.0'
175
177
  required_rubygems_version: !ruby/object:Gem::Requirement
176
178
  requirements:
177
179
  - - ">="
178
180
  - !ruby/object:Gem::Version
179
181
  version: '0'
180
182
  requirements: []
181
- rubygems_version: 3.1.4
183
+ rubygems_version: 3.2.15
182
184
  signing_key:
183
185
  specification_version: 4
184
186
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file