rubysmith 0.9.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +13 -11
- data/bin/rubysmith +0 -1
- data/lib/rubysmith/builder.rb +15 -27
- data/lib/rubysmith/builders/bundler.rb +7 -9
- data/lib/rubysmith/builders/console.rb +6 -8
- data/lib/rubysmith/builders/core.rb +9 -8
- data/lib/rubysmith/builders/documentation.rb +16 -21
- data/lib/rubysmith/builders/git/commit.rb +7 -11
- data/lib/rubysmith/builders/git/setup.rb +6 -8
- data/lib/rubysmith/builders/guard.rb +9 -9
- data/lib/rubysmith/builders/pragma.rb +8 -13
- data/lib/rubysmith/builders/rake.rb +7 -7
- data/lib/rubysmith/builders/reek.rb +6 -8
- data/lib/rubysmith/builders/rspec/context.rb +10 -11
- data/lib/rubysmith/builders/rspec/helper.rb +6 -8
- data/lib/rubysmith/builders/rubocop/formatter.rb +5 -7
- data/lib/rubysmith/builders/rubocop/setup.rb +7 -9
- data/lib/rubysmith/builders/setup.rb +8 -8
- data/lib/rubysmith/cli/configuration/content.rb +71 -0
- data/lib/rubysmith/cli/{defaults.yml → configuration/defaults.yml} +2 -2
- data/lib/rubysmith/cli/configuration/loader.rb +35 -0
- data/lib/rubysmith/cli/parsers/assembler.rb +10 -15
- data/lib/rubysmith/cli/parsers/build.rb +16 -19
- data/lib/rubysmith/cli/parsers/core.rb +5 -9
- data/lib/rubysmith/cli/parsers.rb +11 -0
- data/lib/rubysmith/cli/processors/build.rb +10 -12
- data/lib/rubysmith/cli/processors/config.rb +3 -7
- data/lib/rubysmith/cli/shell.rb +9 -17
- data/lib/rubysmith/identity.rb +2 -2
- data/lib/rubysmith/pathway.rb +3 -9
- data/lib/rubysmith/renderers/erb.rb +7 -9
- data/lib/rubysmith/renderers/namespace.rb +2 -4
- data/lib/rubysmith/templates/%project_name%/.rubocop.yml.erb +5 -5
- data/lib/rubysmith/templates/%project_name%/CHANGES.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/CHANGES.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.adoc.erb +2 -2
- data/lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +25 -26
- data/lib/rubysmith/templates/%project_name%/LICENSE-apache.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-apache.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-mit.adoc.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/LICENSE-mit.md.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/README.adoc.erb +5 -5
- data/lib/rubysmith/templates/%project_name%/README.md.erb +5 -5
- data/lib/rubysmith/templates/%project_name%/Rakefile.erb +11 -23
- data/lib/rubysmith/templates/%project_name%/bin/console.erb +1 -1
- data/lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb +13 -0
- data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +8 -3
- data/lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb +3 -3
- data/lib/rubysmith.rb +9 -30
- data.tar.gz.sig +0 -0
- metadata +34 -21
- metadata.gz.sig +0 -0
- data/lib/rubysmith/builders/ruby_critic.rb +0 -27
- data/lib/rubysmith/cli/configuration.rb +0 -30
- data/lib/rubysmith/realm.rb +0 -74
- data/lib/rubysmith/templates/%project_name%/.rubycritic.yml.erb +0 -3
- data/lib/rubysmith/templates/%project_name%/lib/%project_name%.rb.erb +0 -3
@@ -2,58 +2,57 @@ ruby File.read(".ruby-version").strip
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
<% unless
|
6
|
-
<% if
|
5
|
+
<% unless configuration.build_minimum %>
|
6
|
+
<% if configuration.build_refinements %>
|
7
7
|
gem "refinements", "~> 8.0"
|
8
8
|
<% end %>
|
9
|
+
<% if configuration.build_zeitwerk %>
|
10
|
+
gem "zeitwerk", "~> 2.4"
|
11
|
+
<% end %>
|
9
12
|
|
10
13
|
group :code_quality do
|
11
|
-
<% if
|
12
|
-
gem "bundler-audit", "~> 0.7"
|
13
|
-
<% end %>
|
14
|
-
<% if realm.build_bundler_leak %>
|
14
|
+
<% if configuration.build_bundler_leak %>
|
15
15
|
gem "bundler-leak", "~> 0.2"
|
16
16
|
<% end %>
|
17
|
-
<% if
|
17
|
+
<% if configuration.build_git && configuration.build_git_lint %>
|
18
18
|
gem "git-lint", "~> 2.0"
|
19
19
|
<% end %>
|
20
|
-
<% if
|
20
|
+
<% if configuration.build_reek %>
|
21
21
|
gem "reek", "~> 6.0"
|
22
22
|
<% end %>
|
23
|
-
<% if
|
24
|
-
gem "rubocop", "~> 1.
|
25
|
-
gem "rubocop-performance", "~> 1.
|
26
|
-
gem "rubocop-rake", "~> 0.
|
27
|
-
<% end %>
|
28
|
-
<% if realm.build_rspec && realm.build_rubocop %>
|
29
|
-
gem "rubocop-rspec", "~> 2.0"
|
23
|
+
<% if configuration.build_rubocop %>
|
24
|
+
gem "rubocop", "~> 1.20"
|
25
|
+
gem "rubocop-performance", "~> 1.11"
|
26
|
+
gem "rubocop-rake", "~> 0.6"
|
30
27
|
<% end %>
|
31
|
-
<% if
|
32
|
-
gem "
|
28
|
+
<% if configuration.build_rspec && configuration.build_rubocop %>
|
29
|
+
gem "rubocop-rspec", "~> 2.4"
|
33
30
|
<% end %>
|
34
|
-
<% if
|
31
|
+
<% if configuration.build_simple_cov %>
|
35
32
|
gem "simplecov", "~> 0.20"
|
36
33
|
<% end %>
|
37
34
|
end
|
38
35
|
|
39
|
-
|
40
|
-
|
41
|
-
|
36
|
+
<% if configuration.build_rake %>
|
37
|
+
group :development do
|
38
|
+
gem "rake", "~> 13.0"
|
39
|
+
end
|
40
|
+
<% end %>
|
42
41
|
|
43
42
|
group :test do
|
44
|
-
<% if
|
43
|
+
<% if configuration.build_guard %>
|
45
44
|
gem "guard-rspec", "~> 4.7", require: false
|
46
45
|
<% end %>
|
47
|
-
<% if
|
46
|
+
<% if configuration.build_rspec %>
|
48
47
|
gem "rspec", "~> 3.10"
|
49
48
|
<% end %>
|
50
49
|
end
|
51
50
|
|
52
51
|
group :tools do
|
53
|
-
<% if
|
54
|
-
gem "amazing_print", "~> 1.
|
52
|
+
<% if configuration.build_amazing_print %>
|
53
|
+
gem "amazing_print", "~> 1.3"
|
55
54
|
<% end %>
|
56
|
-
<% if
|
55
|
+
<% if configuration.build_pry %>
|
57
56
|
gem "pry", "~> 0.13"
|
58
57
|
gem "pry-byebug", "~> 3.9"
|
59
58
|
<% end %>
|
@@ -150,7 +150,7 @@ additional liability.
|
|
150
150
|
|
151
151
|
END OF TERMS AND CONDITIONS
|
152
152
|
|
153
|
-
Copyright <%=
|
153
|
+
Copyright <%= configuration.now.strftime "%Y" %> link:<%= configuration.author_url %>[<%= configuration.author_name %>].
|
154
154
|
|
155
155
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
156
156
|
compliance with the License. You may obtain a link:https://www.apache.org/licenses/LICENSE-2.0[copy]
|
@@ -150,7 +150,7 @@ additional liability.
|
|
150
150
|
|
151
151
|
END OF TERMS AND CONDITIONS
|
152
152
|
|
153
|
-
Copyright <%=
|
153
|
+
Copyright <%= configuration.now.strftime "%Y" %> [<%= configuration.author_name %>](<%= configuration.author_url %>).
|
154
154
|
|
155
155
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
156
156
|
compliance with the License. You may obtain a [copy](https://www.apache.org/licenses/LICENSE-2.0) of
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright <%=
|
1
|
+
Copyright <%= configuration.now.strftime "%Y" %> link:<%= configuration.author_url %>[<%= configuration.author_name %>].
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright <%=
|
1
|
+
Copyright <%= configuration.now.strftime "%Y" %> [<%= configuration.author_name %>](<%= configuration.author_url %>).
|
2
2
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining
|
4
4
|
a copy of this software and associated documentation files (the
|
@@ -2,9 +2,9 @@
|
|
2
2
|
:toclevels: 5
|
3
3
|
:figure-caption!:
|
4
4
|
|
5
|
-
= <%=
|
5
|
+
= <%= configuration.project_label %>
|
6
6
|
|
7
|
-
<% if
|
7
|
+
<% if configuration.build_rubocop %>
|
8
8
|
[link=https://www.alchemists.io/projects/code_quality]
|
9
9
|
image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
|
10
10
|
<% end %>
|
@@ -20,7 +20,7 @@ toc::[]
|
|
20
20
|
. link:https://www.ruby-lang.org[Ruby].
|
21
21
|
|
22
22
|
== Setup
|
23
|
-
<% if
|
23
|
+
<% if configuration.build_setup %>
|
24
24
|
|
25
25
|
To set up the project, run:
|
26
26
|
|
@@ -33,7 +33,7 @@ bin/setup
|
|
33
33
|
== Usage
|
34
34
|
|
35
35
|
== Development
|
36
|
-
<% if
|
36
|
+
<% if configuration.build_console %>
|
37
37
|
|
38
38
|
You can also use the IRB console for direct access to all objects:
|
39
39
|
|
@@ -80,4 +80,4 @@ Built with link:https://www.alchemists.io/projects/rubysmith[Rubysmith].
|
|
80
80
|
|
81
81
|
== Credits
|
82
82
|
|
83
|
-
Engineered by link:<%=
|
83
|
+
Engineered by link:<%= configuration.author_url %>[<%= configuration.author_name %>].
|
@@ -1,6 +1,6 @@
|
|
1
|
-
# <%=
|
1
|
+
# <%= configuration.project_label %>
|
2
2
|
|
3
|
-
<% if
|
3
|
+
<% if configuration.build_rubocop %>
|
4
4
|
[![Alchemists Style Guide](https://img.shields.io/badge/code_style-alchemists-brightgreen.svg)](https://www.alchemists.io/projects/code_quality)
|
5
5
|
<% end %>
|
6
6
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
1. [Ruby](https://www.ruby-lang.org)
|
17
17
|
|
18
18
|
## Setup
|
19
|
-
<% if
|
19
|
+
<% if configuration.build_setup %>
|
20
20
|
|
21
21
|
To set up the project, run:
|
22
22
|
|
@@ -26,7 +26,7 @@ To set up the project, run:
|
|
26
26
|
## Usage
|
27
27
|
|
28
28
|
## Development
|
29
|
-
<% if
|
29
|
+
<% if configuration.build_console %>
|
30
30
|
|
31
31
|
You can also use the IRB console for direct access to all objects:
|
32
32
|
|
@@ -67,4 +67,4 @@ Built with [Rubysmith](https://www.alchemists.io/projects/rubysmith).
|
|
67
67
|
|
68
68
|
## Credits
|
69
69
|
|
70
|
-
Engineered by [<%=
|
70
|
+
Engineered by [<%= configuration.author_name %>](<%= configuration.author_url %>).
|
@@ -1,47 +1,35 @@
|
|
1
1
|
require "bundler/setup"
|
2
2
|
|
3
|
-
<% if
|
4
|
-
require "bundler/audit/task"
|
5
|
-
<% end %>
|
6
|
-
<% if realm.build_bundler_leak %>
|
3
|
+
<% if configuration.build_bundler_leak %>
|
7
4
|
require "bundler/plumber/task"
|
8
5
|
<% end %>
|
9
|
-
<% if
|
6
|
+
<% if configuration.build_git && configuration.build_git_lint %>
|
10
7
|
require "git/lint/rake/setup"
|
11
8
|
<% end %>
|
12
|
-
<% if
|
9
|
+
<% if configuration.build_reek %>
|
13
10
|
require "reek/rake/task"
|
14
11
|
<% end %>
|
15
|
-
<% if
|
12
|
+
<% if configuration.build_rspec %>
|
16
13
|
require "rspec/core/rake_task"
|
17
14
|
<% end %>
|
18
|
-
<% if
|
15
|
+
<% if configuration.build_rubocop %>
|
19
16
|
require "rubocop/rake_task"
|
20
17
|
<% end %>
|
21
|
-
<% if realm.build_ruby_critic %>
|
22
|
-
require "rubycritic/rake_task"
|
23
|
-
<% end %>
|
24
18
|
|
25
|
-
<% if
|
26
|
-
Bundler::Audit::Task.new
|
27
|
-
<% end %>
|
28
|
-
<% if realm.build_bundler_leak %>
|
19
|
+
<% if configuration.build_bundler_leak %>
|
29
20
|
Bundler::Plumber::Task.new
|
30
21
|
<% end %>
|
31
|
-
<% if
|
22
|
+
<% if configuration.build_reek %>
|
32
23
|
Reek::Rake::Task.new
|
33
24
|
<% end %>
|
34
|
-
<% if
|
25
|
+
<% if configuration.build_rspec %>
|
35
26
|
RSpec::Core::RakeTask.new :spec
|
36
27
|
<% end %>
|
37
|
-
<% if
|
28
|
+
<% if configuration.build_rubocop %>
|
38
29
|
RuboCop::RakeTask.new
|
39
30
|
<% end %>
|
40
|
-
<% if realm.build_ruby_critic %>
|
41
|
-
RubyCritic::RakeTask.new
|
42
|
-
<% end %>
|
43
31
|
|
44
32
|
desc "Run code quality checks"
|
45
|
-
task code_quality: %i[<% if
|
33
|
+
task code_quality: %i[<% if configuration.build_bundler_leak %>bundle:leak<% end %> <% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_rubocop %>rubocop<% end %>]
|
46
34
|
|
47
|
-
task default: %i[code_quality <% if
|
35
|
+
task default: %i[code_quality <% if configuration.build_rspec %>spec<% end %>]
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<% if configuration.build_zeitwerk %>
|
2
|
+
require "zeitwerk"
|
3
|
+
<% if configuration.project_path.include? "/" %>
|
4
|
+
loader = Zeitwerk::Loader.new
|
5
|
+
loader.push_dir "#{__dir__}/.."
|
6
|
+
loader.setup
|
7
|
+
<% else %>
|
8
|
+
loader = Zeitwerk::Loader.for_gem
|
9
|
+
loader.setup
|
10
|
+
<% end %>
|
11
|
+
<% end %>
|
12
|
+
# Main namespace.
|
13
|
+
<% namespace %>
|
@@ -1,15 +1,20 @@
|
|
1
1
|
require "bundler/setup"
|
2
2
|
Bundler.require :tools
|
3
3
|
|
4
|
-
<% if
|
4
|
+
<% if configuration.build_simple_cov %>
|
5
5
|
require "simplecov"
|
6
6
|
SimpleCov.start { enable_coverage :branch }
|
7
7
|
<% end %>
|
8
8
|
|
9
|
-
require "<%=
|
10
|
-
<% if
|
9
|
+
require "<%= configuration.project_path %>"
|
10
|
+
<% if configuration.build_refinements %>
|
11
11
|
require "refinements"
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
GC.auto_compact = true
|
15
|
+
GC.verify_compaction_references double_heap: true, toward: :empty
|
12
16
|
|
17
|
+
<% if configuration.build_refinements %>
|
13
18
|
using Refinements::Pathnames
|
14
19
|
|
15
20
|
Pathname.require_tree __dir__, "support/shared_contexts/**/*.rb"
|
@@ -1,11 +1,11 @@
|
|
1
1
|
RSpec.shared_context "with temporary directory" do
|
2
|
-
<% if
|
2
|
+
<% if configuration.build_refinements %>using Refinements::Pathnames<% end %>
|
3
3
|
|
4
4
|
let(:temp_dir) { Bundler.root.join "tmp/rspec" }
|
5
5
|
|
6
6
|
around do |example|
|
7
|
-
<%=
|
7
|
+
<%= configuration.build_refinements ? "temp_dir.make_path" : "FileUtils.mkdir_p temp_dir" %>
|
8
8
|
example.run
|
9
|
-
<%=
|
9
|
+
<%= configuration.build_refinements ? "temp_dir.remove_tree" : "FileUtils.rm_rf temp_dir" %>
|
10
10
|
end
|
11
11
|
end
|
data/lib/rubysmith.rb
CHANGED
@@ -1,32 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
require "rubysmith/builders/git/setup"
|
13
|
-
require "rubysmith/builders/git/commit"
|
14
|
-
require "rubysmith/builders/bundler"
|
15
|
-
require "rubysmith/builders/rake"
|
16
|
-
require "rubysmith/builders/console"
|
17
|
-
require "rubysmith/builders/setup"
|
18
|
-
require "rubysmith/builders/guard"
|
19
|
-
require "rubysmith/builders/reek"
|
20
|
-
require "rubysmith/builders/rspec/context"
|
21
|
-
require "rubysmith/builders/rspec/helper"
|
22
|
-
require "rubysmith/builders/pragma"
|
23
|
-
require "rubysmith/builders/rubocop/setup"
|
24
|
-
require "rubysmith/builders/rubocop/formatter"
|
25
|
-
require "rubysmith/builders/ruby_critic"
|
26
|
-
require "rubysmith/cli/parsers/core"
|
27
|
-
require "rubysmith/cli/parsers/build"
|
28
|
-
require "rubysmith/cli/parsers/assembler"
|
29
|
-
require "rubysmith/cli/processors/config"
|
30
|
-
require "rubysmith/cli/processors/build"
|
31
|
-
require "rubysmith/cli/configuration"
|
32
|
-
require "rubysmith/cli/shell"
|
3
|
+
require "zeitwerk"
|
4
|
+
|
5
|
+
loader = Zeitwerk::Loader.for_gem
|
6
|
+
loader.inflector.inflect "cli" => "CLI", "erb" => "ERB", "rspec" => "RSpec"
|
7
|
+
loader.setup
|
8
|
+
|
9
|
+
# Main namespace.
|
10
|
+
module Rubysmith
|
11
|
+
end
|
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: 0.
|
4
|
+
version: 0.12.0
|
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/
|
14
|
-
|
15
|
-
|
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/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
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: 2021-
|
31
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pragmater
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
67
|
+
version: '1.20'
|
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.
|
74
|
+
version: '1.20'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: runcom
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,6 +86,20 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '7.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: zeitwerk
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '2.4'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '2.4'
|
89
103
|
description:
|
90
104
|
email:
|
91
105
|
- brooke@alchemists.io
|
@@ -115,10 +129,11 @@ files:
|
|
115
129
|
- lib/rubysmith/builders/rspec/helper.rb
|
116
130
|
- lib/rubysmith/builders/rubocop/formatter.rb
|
117
131
|
- lib/rubysmith/builders/rubocop/setup.rb
|
118
|
-
- lib/rubysmith/builders/ruby_critic.rb
|
119
132
|
- lib/rubysmith/builders/setup.rb
|
120
|
-
- lib/rubysmith/cli/configuration.rb
|
121
|
-
- lib/rubysmith/cli/defaults.yml
|
133
|
+
- lib/rubysmith/cli/configuration/content.rb
|
134
|
+
- lib/rubysmith/cli/configuration/defaults.yml
|
135
|
+
- lib/rubysmith/cli/configuration/loader.rb
|
136
|
+
- lib/rubysmith/cli/parsers.rb
|
122
137
|
- lib/rubysmith/cli/parsers/assembler.rb
|
123
138
|
- lib/rubysmith/cli/parsers/build.rb
|
124
139
|
- lib/rubysmith/cli/parsers/core.rb
|
@@ -127,13 +142,11 @@ files:
|
|
127
142
|
- lib/rubysmith/cli/shell.rb
|
128
143
|
- lib/rubysmith/identity.rb
|
129
144
|
- lib/rubysmith/pathway.rb
|
130
|
-
- lib/rubysmith/realm.rb
|
131
145
|
- lib/rubysmith/renderers/erb.rb
|
132
146
|
- lib/rubysmith/renderers/namespace.rb
|
133
147
|
- lib/rubysmith/templates/%project_name%/.reek.yml.erb
|
134
148
|
- lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
|
135
149
|
- lib/rubysmith/templates/%project_name%/.ruby-version.erb
|
136
|
-
- lib/rubysmith/templates/%project_name%/.rubycritic.yml.erb
|
137
150
|
- lib/rubysmith/templates/%project_name%/CHANGES.adoc.erb
|
138
151
|
- lib/rubysmith/templates/%project_name%/CHANGES.md.erb
|
139
152
|
- lib/rubysmith/templates/%project_name%/CODE_OF_CONDUCT.adoc.erb
|
@@ -153,7 +166,7 @@ files:
|
|
153
166
|
- lib/rubysmith/templates/%project_name%/bin/guard.erb
|
154
167
|
- lib/rubysmith/templates/%project_name%/bin/rubocop.erb
|
155
168
|
- lib/rubysmith/templates/%project_name%/bin/setup.erb
|
156
|
-
- lib/rubysmith/templates/%project_name%/lib/%
|
169
|
+
- lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
|
157
170
|
- lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
|
158
171
|
- lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
|
159
172
|
- lib/rubysmith/text/inserter.rb
|
@@ -180,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
180
193
|
- !ruby/object:Gem::Version
|
181
194
|
version: '0'
|
182
195
|
requirements: []
|
183
|
-
rubygems_version: 3.2.
|
196
|
+
rubygems_version: 3.2.27
|
184
197
|
signing_key:
|
185
198
|
specification_version: 4
|
186
199
|
summary: A command line interface for smithing Ruby projects.
|