rubysmith 0.13.0 → 0.16.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +93 -32
- data/{bin → exe}/rubysmith +0 -0
- data/lib/rubysmith/builder.rb +1 -1
- data/lib/rubysmith/builders/bundler.rb +1 -1
- data/lib/rubysmith/builders/circle_ci.rb +26 -0
- data/lib/rubysmith/builders/documentation/change.rb +32 -0
- data/lib/rubysmith/builders/documentation/conduct.rb +32 -0
- data/lib/rubysmith/builders/documentation/contribution.rb +32 -0
- data/lib/rubysmith/builders/documentation/license.rb +36 -0
- data/lib/rubysmith/builders/documentation/readme.rb +44 -0
- data/lib/rubysmith/builders/git_hub.rb +34 -0
- data/lib/rubysmith/cli/actions/build.rb +7 -1
- data/lib/rubysmith/cli/configuration/content.rb +26 -7
- data/lib/rubysmith/cli/configuration/defaults.yml +13 -6
- data/lib/rubysmith/cli/configuration/enhancers/current_time.rb +26 -0
- data/lib/rubysmith/cli/configuration/enhancers/git_hub_user.rb +33 -0
- data/lib/rubysmith/cli/configuration/enhancers/version.rb +26 -0
- data/lib/rubysmith/cli/configuration/loader.rb +13 -5
- data/lib/rubysmith/cli/parsers/build.rb +145 -21
- data/lib/rubysmith/cli/parsers/core.rb +1 -1
- data/lib/rubysmith/cli/shell.rb +4 -2
- data/lib/rubysmith/identity.rb +1 -1
- data/lib/rubysmith/templates/%project_name%/.circleci/config.yml.erb +31 -0
- data/lib/rubysmith/templates/%project_name%/.github/ISSUE_TEMPLATE.md.erb +14 -0
- data/lib/rubysmith/templates/%project_name%/.github/PULL_REQUEST_TEMPLATE.md.erb +8 -0
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +9 -6
- data/lib/rubysmith/templates/%project_name%/README.adoc.erb +4 -0
- data/lib/rubysmith/templates/%project_name%/README.md.erb +3 -0
- data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +0 -3
- data/lib/rubysmith.rb +4 -1
- data.tar.gz.sig +0 -0
- metadata +51 -10
- metadata.gz.sig +0 -0
- data/lib/rubysmith/builders/documentation.rb +0 -57
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "refinements/structs"
|
4
|
+
|
5
|
+
module Rubysmith
|
6
|
+
module CLI
|
7
|
+
module Configuration
|
8
|
+
module Enhancers
|
9
|
+
# Adds this gem's version to content.
|
10
|
+
class Version
|
11
|
+
using Refinements::Structs
|
12
|
+
|
13
|
+
def initialize version = Identity::VERSION_LABEL
|
14
|
+
@version = version
|
15
|
+
end
|
16
|
+
|
17
|
+
def call(content) = content.merge(version: version)
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :version
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -17,21 +17,29 @@ module Rubysmith
|
|
17
17
|
DEFAULTS = YAML.load_file(Pathname(__dir__).join("defaults.yml")).freeze
|
18
18
|
CLIENT = Runcom::Config.new "#{Identity::NAME}/configuration.yml", defaults: DEFAULTS
|
19
19
|
|
20
|
+
ENHANCERS = [
|
21
|
+
Enhancers::GitHubUser.new,
|
22
|
+
Enhancers::CurrentTime.new,
|
23
|
+
Enhancers::Version.new
|
24
|
+
].freeze
|
25
|
+
|
20
26
|
def self.call(...) = new(...).call
|
21
27
|
|
22
|
-
def self.with_defaults
|
28
|
+
def self.with_defaults = new(client: DEFAULTS, enhancers: [])
|
23
29
|
|
24
|
-
def initialize
|
25
|
-
@now = now
|
30
|
+
def initialize content: Content.new, client: CLIENT, enhancers: ENHANCERS
|
26
31
|
@content = content
|
27
32
|
@client = client
|
33
|
+
@enhancers = enhancers
|
28
34
|
end
|
29
35
|
|
30
|
-
def call =
|
36
|
+
def call = enhancers.reduce(preload_content) { |preload, enhancer| enhancer.call preload }
|
31
37
|
|
32
38
|
private
|
33
39
|
|
34
|
-
attr_reader :
|
40
|
+
attr_reader :content, :client, :enhancers
|
41
|
+
|
42
|
+
def preload_content = content.merge(**client.to_h.flatten_keys)
|
35
43
|
end
|
36
44
|
end
|
37
45
|
end
|
@@ -23,108 +23,232 @@ module Rubysmith
|
|
23
23
|
attr_reader :client, :container
|
24
24
|
|
25
25
|
def add_amazing_print
|
26
|
-
client.on
|
26
|
+
client.on(
|
27
|
+
"--[no-]amazing_print",
|
28
|
+
"Add Amazing Print gem. #{default __method__}."
|
29
|
+
) do |value|
|
27
30
|
configuration.build_amazing_print = value
|
28
31
|
end
|
29
32
|
end
|
30
33
|
|
31
34
|
def add_bundler_leak
|
32
|
-
client.on
|
35
|
+
client.on(
|
36
|
+
"--[no-]bundler-leak",
|
37
|
+
"Add Bundler Leak gem. #{default __method__}."
|
38
|
+
) do |value|
|
33
39
|
configuration.build_bundler_leak = value
|
34
40
|
end
|
35
41
|
end
|
36
42
|
|
43
|
+
def add_changes
|
44
|
+
client.on(
|
45
|
+
"--[no-]changes",
|
46
|
+
"Add CHANGES documentation. #{default __method__}."
|
47
|
+
) do |value|
|
48
|
+
configuration.build_changes = value
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
37
52
|
def add_console
|
38
|
-
client.on
|
53
|
+
client.on(
|
54
|
+
"--[no-]console",
|
55
|
+
"Add console script. #{default __method__}."
|
56
|
+
) do |value|
|
39
57
|
configuration.build_console = value
|
40
58
|
end
|
41
59
|
end
|
42
60
|
|
43
|
-
def
|
44
|
-
client.on
|
45
|
-
|
61
|
+
def add_contributions
|
62
|
+
client.on(
|
63
|
+
"--[no-]contributions",
|
64
|
+
"Add CONTRIBUTING documentation. #{default __method__}."
|
65
|
+
) do |value|
|
66
|
+
configuration.build_contributions = value
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
def add_circle_ci
|
71
|
+
client.on(
|
72
|
+
"--[no-]circle_ci",
|
73
|
+
"Add Circle CI configuration and badge. #{default __method__}."
|
74
|
+
) do |value|
|
75
|
+
configuration.build_circle_ci = value
|
46
76
|
end
|
47
77
|
end
|
48
78
|
|
49
|
-
def
|
50
|
-
client.on
|
51
|
-
|
79
|
+
def add_conduct
|
80
|
+
client.on(
|
81
|
+
"--[no-]conduct",
|
82
|
+
"Add CODE_OF_CONDUCT documentation. #{default __method__}."
|
83
|
+
) do |value|
|
84
|
+
configuration.build_conduct = value
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
def add_debug
|
89
|
+
client.on(
|
90
|
+
"--[no-]debug",
|
91
|
+
"Add Debug gem. #{default __method__}."
|
92
|
+
) do |value|
|
93
|
+
configuration.build_debug = value
|
52
94
|
end
|
53
95
|
end
|
54
96
|
|
55
97
|
def add_git
|
56
|
-
client.on
|
98
|
+
client.on(
|
99
|
+
"--[no-]git",
|
100
|
+
"Add Git. #{default __method__}."
|
101
|
+
) do |value|
|
57
102
|
configuration.build_git = value
|
58
103
|
end
|
59
104
|
end
|
60
105
|
|
106
|
+
def add_git_hub
|
107
|
+
client.on(
|
108
|
+
"--[no-]git_hub",
|
109
|
+
"Add GitHub templates. #{default __method__}."
|
110
|
+
) do |value|
|
111
|
+
configuration.build_git_hub = value
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
61
115
|
def add_git_lint
|
62
|
-
client.on
|
116
|
+
client.on(
|
117
|
+
"--[no-]git-lint",
|
118
|
+
"Add Git Lint gem. #{default __method__}."
|
119
|
+
) do |value|
|
63
120
|
configuration.build_git_lint = value
|
64
121
|
end
|
65
122
|
end
|
66
123
|
|
67
124
|
def add_guard
|
68
|
-
client.on
|
125
|
+
client.on(
|
126
|
+
"--[no-]guard",
|
127
|
+
"Add Guard gem. #{default __method__}."
|
128
|
+
) do |value|
|
69
129
|
configuration.build_guard = value
|
70
130
|
end
|
71
131
|
end
|
72
132
|
|
133
|
+
def add_license
|
134
|
+
client.on(
|
135
|
+
"--[no-]license",
|
136
|
+
"Add LICENSE documentation. #{default __method__}."
|
137
|
+
) do |value|
|
138
|
+
configuration.build_license = value
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
def add_maximum
|
143
|
+
client.on(
|
144
|
+
"--max",
|
145
|
+
"Use maximum/enabled options. #{default __method__}."
|
146
|
+
) do |value|
|
147
|
+
configuration.maximize.build_maximum = value
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
73
151
|
def add_minimum
|
74
|
-
client.on
|
152
|
+
client.on(
|
153
|
+
"--min",
|
154
|
+
"Use minimum/disabled options. #{default __method__}."
|
155
|
+
) do |value|
|
75
156
|
configuration.minimize.build_minimum = value
|
76
157
|
end
|
77
158
|
end
|
78
159
|
|
79
160
|
def add_rake
|
80
|
-
client.on
|
161
|
+
client.on(
|
162
|
+
"--[no-]rake",
|
163
|
+
"Add Rake gem. #{default __method__}."
|
164
|
+
) do |value|
|
81
165
|
configuration.build_rake = value
|
82
166
|
end
|
83
167
|
end
|
84
168
|
|
169
|
+
def add_readme
|
170
|
+
client.on(
|
171
|
+
"--[no-]readme",
|
172
|
+
"Add README documentation. #{default __method__}."
|
173
|
+
) do |value|
|
174
|
+
configuration.build_readme = value
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
85
178
|
def add_reek
|
86
|
-
client.on
|
179
|
+
client.on(
|
180
|
+
"--[no-]reek",
|
181
|
+
"Add Reek gem. #{default __method__}."
|
182
|
+
) do |value|
|
87
183
|
configuration.build_reek = value
|
88
184
|
end
|
89
185
|
end
|
90
186
|
|
91
187
|
def add_refinements
|
92
|
-
client.on
|
188
|
+
client.on(
|
189
|
+
"--[no-]refinements",
|
190
|
+
"Add Refinements gem. #{default __method__}."
|
191
|
+
) do |value|
|
93
192
|
configuration.build_refinements = value
|
94
193
|
end
|
95
194
|
end
|
96
195
|
|
97
196
|
def add_rspec
|
98
|
-
client.on
|
197
|
+
client.on(
|
198
|
+
"--[no-]rspec",
|
199
|
+
"Add RSpec gem. #{default __method__}."
|
200
|
+
) do |value|
|
99
201
|
configuration.build_rspec = value
|
100
202
|
end
|
101
203
|
end
|
102
204
|
|
103
205
|
def add_rubocop
|
104
|
-
client.on
|
206
|
+
client.on(
|
207
|
+
"--[no-]rubocop",
|
208
|
+
"Add Rubocop gems. #{default __method__}."
|
209
|
+
) do |value|
|
105
210
|
configuration.build_rubocop = value
|
106
211
|
end
|
107
212
|
end
|
108
213
|
|
109
214
|
def add_setup
|
110
|
-
client.on
|
215
|
+
client.on(
|
216
|
+
"--[no-]setup",
|
217
|
+
"Add setup script. #{default __method__}."
|
218
|
+
) do |value|
|
111
219
|
configuration.build_setup = value
|
112
220
|
end
|
113
221
|
end
|
114
222
|
|
115
223
|
def add_simple_cov
|
116
|
-
client.on
|
224
|
+
client.on(
|
225
|
+
"--[no-]simple_cov",
|
226
|
+
"Add SimpleCov gem. #{default __method__}."
|
227
|
+
) do |value|
|
117
228
|
configuration.build_simple_cov = value
|
118
229
|
end
|
119
230
|
end
|
120
231
|
|
121
232
|
def add_zeitwerk
|
122
|
-
client.on
|
233
|
+
client.on(
|
234
|
+
"--[no-]zeitwerk",
|
235
|
+
"Add Zeitwerk gem. #{default __method__}."
|
236
|
+
) do |value|
|
123
237
|
configuration.build_zeitwerk = value
|
124
238
|
end
|
125
239
|
end
|
126
240
|
|
241
|
+
def default option
|
242
|
+
option.to_s
|
243
|
+
.sub("add_", "build_")
|
244
|
+
.then { |attribute| configuration.public_send attribute }
|
245
|
+
.then { |boolean| boolean ? colorizer.green(boolean) : colorizer.red(boolean) }
|
246
|
+
.then { |colored_boolean| "Default: #{colored_boolean}" }
|
247
|
+
end
|
248
|
+
|
127
249
|
def configuration = container[__method__]
|
250
|
+
|
251
|
+
def colorizer = container[__method__]
|
128
252
|
end
|
129
253
|
end
|
130
254
|
end
|
data/lib/rubysmith/cli/shell.rb
CHANGED
@@ -16,7 +16,7 @@ module Rubysmith
|
|
16
16
|
case parse arguments
|
17
17
|
in action_config: Symbol => action then config action
|
18
18
|
in action_build: true then build
|
19
|
-
in action_version:
|
19
|
+
in action_version: true then logger.info configuration.version
|
20
20
|
else usage
|
21
21
|
end
|
22
22
|
end
|
@@ -28,7 +28,7 @@ module Rubysmith
|
|
28
28
|
def parse arguments = []
|
29
29
|
parser.call arguments
|
30
30
|
rescue StandardError => error
|
31
|
-
|
31
|
+
logger.error error.message
|
32
32
|
end
|
33
33
|
|
34
34
|
def config(action) = actions.fetch(__method__).call(action)
|
@@ -37,6 +37,8 @@ module Rubysmith
|
|
37
37
|
|
38
38
|
def usage = logger.unknown(parser.to_s)
|
39
39
|
|
40
|
+
def configuration = container[__method__]
|
41
|
+
|
40
42
|
def logger = container[__method__]
|
41
43
|
end
|
42
44
|
end
|
data/lib/rubysmith/identity.rb
CHANGED
@@ -0,0 +1,31 @@
|
|
1
|
+
version: 2.1
|
2
|
+
jobs:
|
3
|
+
build:
|
4
|
+
working_directory: ~/project
|
5
|
+
docker:
|
6
|
+
- image: bkuhlmann/alpine-ruby:latest
|
7
|
+
steps:
|
8
|
+
- checkout
|
9
|
+
|
10
|
+
- restore_cache:
|
11
|
+
name: Bundler Restore
|
12
|
+
keys:
|
13
|
+
- gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}}
|
14
|
+
- gem-cache-
|
15
|
+
|
16
|
+
- run:
|
17
|
+
name: Bundler Install
|
18
|
+
command: |
|
19
|
+
gem update --system
|
20
|
+
bundle config set path "vendor/bundle"
|
21
|
+
bundle install
|
22
|
+
|
23
|
+
- save_cache:
|
24
|
+
name: Bundler Store
|
25
|
+
key: gem-cache-{{.Branch}}-{{checksum "Gemfile.lock"}}
|
26
|
+
paths:
|
27
|
+
- vendor/bundle
|
28
|
+
|
29
|
+
- run:
|
30
|
+
name: Build
|
31
|
+
command: bundle exec rake
|
@@ -0,0 +1,14 @@
|
|
1
|
+
## Overview
|
2
|
+
<!-- Required. Describe, briefly, the behavior experienced. -->
|
3
|
+
|
4
|
+
## Screenshots/Screencasts
|
5
|
+
<!-- Optional. Attach screenshot(s) and/or screencast(s) that demo the behavior. -->
|
6
|
+
|
7
|
+
## Steps to Recreate
|
8
|
+
<!-- Required. List exact steps (numbered list) to reproduce errant behavior. -->
|
9
|
+
|
10
|
+
## Desired Behavior
|
11
|
+
<!-- Required. Describe the behavior you'd like to see or your idea of a proposed solution. -->
|
12
|
+
|
13
|
+
## Environment
|
14
|
+
<!-- Required. What is your operating system, software version(s), etc. -->
|
@@ -0,0 +1,8 @@
|
|
1
|
+
## Overview
|
2
|
+
<!-- Required. Why is this important/necessary and what is the overarching architecture. -->
|
3
|
+
|
4
|
+
## Screenshots/Screencasts
|
5
|
+
<!-- Optional. Provide supporting image/video. -->
|
6
|
+
|
7
|
+
## Details
|
8
|
+
<!-- Optional. List the key features/highlights as bullet points. -->
|
@@ -3,10 +3,10 @@ ruby File.read(".ruby-version").strip
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
<% if configuration.build_refinements %>
|
6
|
-
gem "refinements", "~> 8.
|
6
|
+
gem "refinements", "~> 8.5"
|
7
7
|
<% end %>
|
8
8
|
<% if configuration.build_zeitwerk %>
|
9
|
-
gem "zeitwerk", "~> 2.
|
9
|
+
gem "zeitwerk", "~> 2.5"
|
10
10
|
<% end %>
|
11
11
|
|
12
12
|
group :code_quality do
|
@@ -32,11 +32,14 @@ group :code_quality do
|
|
32
32
|
<% end %>
|
33
33
|
end
|
34
34
|
|
35
|
-
|
36
|
-
|
35
|
+
group :development do
|
36
|
+
<% if configuration.build_rake %>
|
37
37
|
gem "rake", "~> 13.0"
|
38
|
-
end
|
39
|
-
<%
|
38
|
+
<% end %>
|
39
|
+
<% if configuration.markdown? %>
|
40
|
+
gem "tocer", "~> 12.1"
|
41
|
+
<% end %>
|
42
|
+
end
|
40
43
|
|
41
44
|
group :test do
|
42
45
|
<% if configuration.build_guard %>
|
@@ -8,6 +8,10 @@
|
|
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 %>
|
11
|
+
<% if configuration.build_circle_ci %>
|
12
|
+
[link=https://circleci.com/gh/<%= configuration.git_hub_user %>/<%= configuration.project_name %>]
|
13
|
+
image::https://circleci.com/gh/<%= configuration.git_hub_user %>/<%= configuration.project_name %>.svg?style=svg[Circle CI Status]
|
14
|
+
<% end %>
|
11
15
|
|
12
16
|
toc::[]
|
13
17
|
|
@@ -3,6 +3,9 @@
|
|
3
3
|
<% if configuration.build_rubocop %>
|
4
4
|
[](https://www.alchemists.io/projects/code_quality)
|
5
5
|
<% end %>
|
6
|
+
<% if configuration.build_circle_ci %>
|
7
|
+
[](https://circleci.com/gh/<%= configuration.git_hub_user %>/<%= configuration.project_name %>)
|
8
|
+
<% end %>
|
6
9
|
|
7
10
|
<!-- Tocer[start]: Auto-generated, don't remove. -->
|
8
11
|
<!-- Tocer[finish]: Auto-generated, don't remove. -->
|
@@ -11,9 +11,6 @@ require "<%= configuration.project_path %>"
|
|
11
11
|
require "refinements"
|
12
12
|
<% end %>
|
13
13
|
|
14
|
-
GC.auto_compact = true
|
15
|
-
GC.verify_compaction_references double_heap: true, toward: :empty
|
16
|
-
|
17
14
|
<% if configuration.build_refinements %>
|
18
15
|
using Refinements::Pathnames
|
19
16
|
|
data/lib/rubysmith.rb
CHANGED
@@ -3,7 +3,10 @@
|
|
3
3
|
require "zeitwerk"
|
4
4
|
|
5
5
|
Zeitwerk::Loader.for_gem.then do |loader|
|
6
|
-
loader.inflector.inflect "cli" => "CLI",
|
6
|
+
loader.inflector.inflect "cli" => "CLI",
|
7
|
+
"circle_ci" => "CircleCI",
|
8
|
+
"erb" => "ERB",
|
9
|
+
"rspec" => "RSpec"
|
7
10
|
loader.setup
|
8
11
|
end
|
9
12
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2021-
|
31
|
+
date: 2021-11-20 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -44,6 +44,20 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0.9'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: git_plus
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.6'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.6'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: pastel
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +92,14 @@ dependencies:
|
|
78
92
|
requirements:
|
79
93
|
- - "~>"
|
80
94
|
- !ruby/object:Gem::Version
|
81
|
-
version: '8.
|
95
|
+
version: '8.5'
|
82
96
|
type: :runtime
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
100
|
- - "~>"
|
87
101
|
- !ruby/object:Gem::Version
|
88
|
-
version: '8.
|
102
|
+
version: '8.5'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: rubocop
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,20 +128,34 @@ dependencies:
|
|
114
128
|
- - "~>"
|
115
129
|
- !ruby/object:Gem::Version
|
116
130
|
version: '7.0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: tocer
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '12.1'
|
138
|
+
type: :runtime
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '12.1'
|
117
145
|
- !ruby/object:Gem::Dependency
|
118
146
|
name: zeitwerk
|
119
147
|
requirement: !ruby/object:Gem::Requirement
|
120
148
|
requirements:
|
121
149
|
- - "~>"
|
122
150
|
- !ruby/object:Gem::Version
|
123
|
-
version: '2.
|
151
|
+
version: '2.5'
|
124
152
|
type: :runtime
|
125
153
|
prerelease: false
|
126
154
|
version_requirements: !ruby/object:Gem::Requirement
|
127
155
|
requirements:
|
128
156
|
- - "~>"
|
129
157
|
- !ruby/object:Gem::Version
|
130
|
-
version: '2.
|
158
|
+
version: '2.5'
|
131
159
|
description:
|
132
160
|
email:
|
133
161
|
- brooke@alchemists.io
|
@@ -140,15 +168,21 @@ extra_rdoc_files:
|
|
140
168
|
files:
|
141
169
|
- LICENSE.adoc
|
142
170
|
- README.adoc
|
143
|
-
-
|
171
|
+
- exe/rubysmith
|
144
172
|
- lib/rubysmith.rb
|
145
173
|
- lib/rubysmith/builder.rb
|
146
174
|
- lib/rubysmith/builders/bundler.rb
|
175
|
+
- lib/rubysmith/builders/circle_ci.rb
|
147
176
|
- lib/rubysmith/builders/console.rb
|
148
177
|
- lib/rubysmith/builders/core.rb
|
149
|
-
- lib/rubysmith/builders/documentation.rb
|
178
|
+
- lib/rubysmith/builders/documentation/change.rb
|
179
|
+
- lib/rubysmith/builders/documentation/conduct.rb
|
180
|
+
- lib/rubysmith/builders/documentation/contribution.rb
|
181
|
+
- lib/rubysmith/builders/documentation/license.rb
|
182
|
+
- lib/rubysmith/builders/documentation/readme.rb
|
150
183
|
- lib/rubysmith/builders/git/commit.rb
|
151
184
|
- lib/rubysmith/builders/git/setup.rb
|
185
|
+
- lib/rubysmith/builders/git_hub.rb
|
152
186
|
- lib/rubysmith/builders/guard.rb
|
153
187
|
- lib/rubysmith/builders/pragma.rb
|
154
188
|
- lib/rubysmith/builders/rake.rb
|
@@ -162,6 +196,9 @@ files:
|
|
162
196
|
- lib/rubysmith/cli/actions/config.rb
|
163
197
|
- lib/rubysmith/cli/configuration/content.rb
|
164
198
|
- lib/rubysmith/cli/configuration/defaults.yml
|
199
|
+
- lib/rubysmith/cli/configuration/enhancers/current_time.rb
|
200
|
+
- lib/rubysmith/cli/configuration/enhancers/git_hub_user.rb
|
201
|
+
- lib/rubysmith/cli/configuration/enhancers/version.rb
|
165
202
|
- lib/rubysmith/cli/configuration/loader.rb
|
166
203
|
- lib/rubysmith/cli/parsers.rb
|
167
204
|
- lib/rubysmith/cli/parsers/assembler.rb
|
@@ -173,6 +210,9 @@ files:
|
|
173
210
|
- lib/rubysmith/pathway.rb
|
174
211
|
- lib/rubysmith/renderers/erb.rb
|
175
212
|
- lib/rubysmith/renderers/namespace.rb
|
213
|
+
- lib/rubysmith/templates/%project_name%/.circleci/config.yml.erb
|
214
|
+
- lib/rubysmith/templates/%project_name%/.github/ISSUE_TEMPLATE.md.erb
|
215
|
+
- lib/rubysmith/templates/%project_name%/.github/PULL_REQUEST_TEMPLATE.md.erb
|
176
216
|
- lib/rubysmith/templates/%project_name%/.reek.yml.erb
|
177
217
|
- lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
|
178
218
|
- lib/rubysmith/templates/%project_name%/.ruby-version.erb
|
@@ -206,6 +246,7 @@ metadata:
|
|
206
246
|
bug_tracker_uri: https://github.com/bkuhlmann/rubysmith/issues
|
207
247
|
changelog_uri: https://www.alchemists.io/projects/rubysmith/changes.html
|
208
248
|
documentation_uri: https://www.alchemists.io/projects/rubysmith
|
249
|
+
rubygems_mfa_required: 'true'
|
209
250
|
source_code_uri: https://github.com/bkuhlmann/rubysmith
|
210
251
|
post_install_message:
|
211
252
|
rdoc_options: []
|
@@ -222,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
263
|
- !ruby/object:Gem::Version
|
223
264
|
version: '0'
|
224
265
|
requirements: []
|
225
|
-
rubygems_version: 3.2.
|
266
|
+
rubygems_version: 3.2.31
|
226
267
|
signing_key:
|
227
268
|
specification_version: 4
|
228
269
|
summary: A command line interface for smithing Ruby projects.
|
metadata.gz.sig
CHANGED
Binary file
|