rubysmith 3.8.0 → 4.0.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 +5 -9
- data/lib/rubysmith/builder.rb +2 -2
- data/lib/rubysmith/builders/documentation/license.rb +1 -1
- data/lib/rubysmith/builders/documentation/readme.rb +1 -1
- data/lib/rubysmith/builders/documentation/version.rb +1 -1
- data/lib/rubysmith/builders/git_hub_ci.rb +34 -0
- data/lib/rubysmith/builders/rspec/binstub.rb +35 -0
- data/lib/rubysmith/cli/actions/build.rb +2 -0
- data/lib/rubysmith/cli/parsers/build.rb +9 -9
- data/lib/rubysmith/configuration/content.rb +1 -1
- data/lib/rubysmith/configuration/defaults.yml +1 -1
- data/lib/rubysmith/configuration/enhancers/git_email.rb +5 -5
- data/lib/rubysmith/configuration/enhancers/git_hub_user.rb +5 -5
- data/lib/rubysmith/configuration/enhancers/git_user.rb +7 -7
- data/lib/rubysmith/extensions/rubocop.rb +2 -2
- data/lib/rubysmith/extensions/tocer.rb +1 -1
- data/lib/rubysmith/templates/%project_name%/.github/workflows/ci.yml.erb +20 -0
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +6 -9
- data/lib/rubysmith/templates/%project_name%/Rakefile.erb +4 -7
- data/lib/rubysmith/templates/%project_name%/bin/rspec.erb +5 -0
- data/lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb +1 -1
- data/lib/rubysmith/templates/.DS_Store +0 -0
- data/lib/rubysmith.rb +1 -0
- data/rubysmith.gemspec +12 -12
- data.tar.gz.sig +0 -0
- metadata +30 -25
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab5b0e11cc7a26ae44d9bfb2f28b5a582a2b785c3e5140cb959d0dba1248492
|
4
|
+
data.tar.gz: b6c20fa6f3bb6e5b1c9f893519ea57a61b20e3a7cba22c273bada97c760615b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d4fc06bbee40a3ec061f572e2380260bc851420a3a6a101a0d0d685b4cc99e84505c3bcbc09376ed7d1dcf70bea6b56af4332e75f32142cd07834ff59b884f3
|
7
|
+
data.tar.gz: 8af8cb102523d0ee51e5f74748b8d2bab01a858c02c72d98477870fed7ac2465f7bf470f232bc3ece2543fecd5ba77f6db3059458a4d72ee885f79a110bd0f0e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -23,7 +23,6 @@ toc::[]
|
|
23
23
|
* Uses link:https://www.alchemists.io/projects/runcom[Runcom] for resource configuration management.
|
24
24
|
* Uses link:https://www.alchemists.io/projects/pragmater[Pragmater] for Ruby source pragma directives.
|
25
25
|
* Supports link:https://github.com/amazing-print/amazing_print[Amazing Print].
|
26
|
-
* Supports link:https://github.com/rubymem/bundler-leak[Bundler Leak].
|
27
26
|
* Supports link:https://www.alchemists.io/projects/caliber[Caliber].
|
28
27
|
* Supports link:https://circleci.com[Circle CI].
|
29
28
|
* Supports link:https://orcid.org[Citations (ORCID)].
|
@@ -81,7 +80,6 @@ USAGE:
|
|
81
80
|
|
82
81
|
BUILD OPTIONS:
|
83
82
|
--[no-]amazing_print Add Amazing Print gem. Default: true.
|
84
|
-
--[no-]bundler-leak Add Bundler Leak gem. Default: true.
|
85
83
|
--[no-]caliber Add Caliber gem. Default: true.
|
86
84
|
--[no-]circle_ci Add Circle CI configuration and badge. Default: false.
|
87
85
|
--[no-]citation Add citation documentation. Default: true.
|
@@ -93,6 +91,7 @@ BUILD OPTIONS:
|
|
93
91
|
--[no-]funding Add GitHub funding configuration. Default: false.
|
94
92
|
--[no-]git Add Git. Default: true.
|
95
93
|
--[no-]git_hub Add GitHub templates. Default: false.
|
94
|
+
--[no-]git_hub_ci Add GitHub templates. Default: false.
|
96
95
|
--[no-]git-lint Add Git Lint gem. Default: true.
|
97
96
|
--[no-]guard Add Guard gem. Default: true.
|
98
97
|
--[no-]license Add license documentation. Default: true.
|
@@ -169,12 +168,6 @@ link:https://github.com/amazing-print/amazing_print[Amazing Print] gem for debug
|
|
169
168
|
a handy debugging tool when inspecting your Ruby objects and printing details in a quick to read
|
170
169
|
format.
|
171
170
|
|
172
|
-
===== Bundler Leak
|
173
|
-
|
174
|
-
The `--bundler-leak` option allows you to build your project with the
|
175
|
-
link:https://github.com/rubymem/bundler-leak[Bundler Leak] gem which helps detect memory leaks in
|
176
|
-
your gem dependencies.
|
177
|
-
|
178
171
|
===== Caliber
|
179
172
|
|
180
173
|
The `--caliber` option allows you to build your project with the
|
@@ -236,6 +229,10 @@ The `--git` option allows you add link:https://git-scm.com[Git] repository suppo
|
|
236
229
|
The `--git_hub` option allows you add link:https://github.com[GitHub] templates to your project for
|
237
230
|
issues and pull requests.
|
238
231
|
|
232
|
+
==== GitHub CI
|
233
|
+
|
234
|
+
The `--git_hub_ci` option allows you to build your project with link:https://docs.github.com/en/actions[GitHub Actions] configured so you can get your project building as quickly as possible.
|
235
|
+
|
239
236
|
===== Git Lint
|
240
237
|
|
241
238
|
The `--git-lint` option allows you to add the link:https://www.alchemists.io/projects/git-lint[Git
|
@@ -351,7 +348,6 @@ variables. The default configuration is as follows:
|
|
351
348
|
:url:
|
352
349
|
:build:
|
353
350
|
:amazing_print: true
|
354
|
-
:bundler_leak: true
|
355
351
|
:caliber: true
|
356
352
|
:circle_ci: false
|
357
353
|
:citation: true
|
data/lib/rubysmith/builder.rb
CHANGED
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "refinements/structs"
|
4
|
+
|
5
|
+
module Rubysmith
|
6
|
+
module Builders
|
7
|
+
# Builds project skeleton GitHub CI template.
|
8
|
+
class GitHubCI
|
9
|
+
using Refinements::Structs
|
10
|
+
|
11
|
+
def self.call(...) = new(...).call
|
12
|
+
|
13
|
+
def initialize configuration, builder: Builder
|
14
|
+
@configuration = configuration
|
15
|
+
@builder = builder
|
16
|
+
end
|
17
|
+
|
18
|
+
def call
|
19
|
+
return configuration unless configuration.build_git_hub_ci
|
20
|
+
|
21
|
+
builder.call(configuration_with_template).render
|
22
|
+
configuration
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
attr_reader :configuration, :builder
|
28
|
+
|
29
|
+
def configuration_with_template
|
30
|
+
configuration.merge template_path: "%project_name%/.github/workflows/ci.yml.erb"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "refinements/structs"
|
4
|
+
|
5
|
+
module Rubysmith
|
6
|
+
module Builders
|
7
|
+
module RSpec
|
8
|
+
# Builds RSpec binstub for project skeleton.
|
9
|
+
class Binstub
|
10
|
+
using Refinements::Structs
|
11
|
+
|
12
|
+
def self.call(...) = new(...).call
|
13
|
+
|
14
|
+
def initialize configuration, builder: Builder
|
15
|
+
@configuration = configuration
|
16
|
+
@builder = builder
|
17
|
+
end
|
18
|
+
|
19
|
+
def call
|
20
|
+
return configuration unless configuration.build_rspec
|
21
|
+
|
22
|
+
builder.call(configuration.merge(template_path: "%project_name%/bin/rspec.erb"))
|
23
|
+
.render
|
24
|
+
.permit 0o755
|
25
|
+
|
26
|
+
configuration
|
27
|
+
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
attr_reader :configuration, :builder
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -43,15 +43,6 @@ module Rubysmith
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
-
def add_bundler_leak
|
47
|
-
client.on(
|
48
|
-
"--[no-]bundler-leak",
|
49
|
-
"Add Bundler Leak gem. #{default __method__}."
|
50
|
-
) do |value|
|
51
|
-
configuration.merge! build_bundler_leak: value
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
46
|
def add_caliber
|
56
47
|
client.on(
|
57
48
|
"--[no-]caliber",
|
@@ -151,6 +142,15 @@ module Rubysmith
|
|
151
142
|
end
|
152
143
|
end
|
153
144
|
|
145
|
+
def add_git_hub_ci
|
146
|
+
client.on(
|
147
|
+
"--[no-]git_hub_ci",
|
148
|
+
"Add GitHub templates. #{default __method__}."
|
149
|
+
) do |value|
|
150
|
+
configuration.merge! build_git_hub_ci: value
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
154
|
def add_git_lint
|
155
155
|
client.on(
|
156
156
|
"--[no-]git-lint",
|
@@ -23,7 +23,6 @@ module Rubysmith
|
|
23
23
|
:author_given_name,
|
24
24
|
:author_url,
|
25
25
|
:build_amazing_print,
|
26
|
-
:build_bundler_leak,
|
27
26
|
:build_caliber,
|
28
27
|
:build_circle_ci,
|
29
28
|
:build_citation,
|
@@ -36,6 +35,7 @@ module Rubysmith
|
|
36
35
|
:build_funding,
|
37
36
|
:build_git,
|
38
37
|
:build_git_hub,
|
38
|
+
:build_git_hub_ci,
|
39
39
|
:build_git_lint,
|
40
40
|
:build_guard,
|
41
41
|
:build_license,
|
@@ -5,7 +5,6 @@
|
|
5
5
|
:url:
|
6
6
|
:build:
|
7
7
|
:amazing_print: true
|
8
|
-
:bundler_leak: true
|
9
8
|
:caliber: true
|
10
9
|
:circle_ci: false
|
11
10
|
:citation: true
|
@@ -18,6 +17,7 @@
|
|
18
17
|
:funding: false
|
19
18
|
:git: true
|
20
19
|
:git_hub: false
|
20
|
+
:git_hub_ci: false
|
21
21
|
:git_lint: true
|
22
22
|
:guard: true
|
23
23
|
:license: true
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "gitt"
|
4
4
|
require "refinements/strings"
|
5
5
|
require "refinements/structs"
|
6
6
|
|
@@ -12,8 +12,8 @@ module Rubysmith
|
|
12
12
|
using Refinements::Strings
|
13
13
|
using Refinements::Structs
|
14
14
|
|
15
|
-
def initialize
|
16
|
-
@
|
15
|
+
def initialize git: Gitt::Repository.new
|
16
|
+
@git = git
|
17
17
|
end
|
18
18
|
|
19
19
|
def call content
|
@@ -22,9 +22,9 @@ module Rubysmith
|
|
22
22
|
|
23
23
|
private
|
24
24
|
|
25
|
-
attr_reader :
|
25
|
+
attr_reader :git
|
26
26
|
|
27
|
-
def email =
|
27
|
+
def email = git.get "user.email", "TODO"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "gitt"
|
4
4
|
require "refinements/strings"
|
5
5
|
require "refinements/structs"
|
6
6
|
|
@@ -12,8 +12,8 @@ module Rubysmith
|
|
12
12
|
using Refinements::Strings
|
13
13
|
using Refinements::Structs
|
14
14
|
|
15
|
-
def initialize
|
16
|
-
@
|
15
|
+
def initialize git: Gitt::Repository.new
|
16
|
+
@git = git
|
17
17
|
end
|
18
18
|
|
19
19
|
def call content
|
@@ -22,9 +22,9 @@ module Rubysmith
|
|
22
22
|
|
23
23
|
private
|
24
24
|
|
25
|
-
attr_reader :
|
25
|
+
attr_reader :git
|
26
26
|
|
27
|
-
def user =
|
27
|
+
def user = git.get "github.user"
|
28
28
|
end
|
29
29
|
end
|
30
30
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "
|
3
|
+
require "gitt"
|
4
4
|
require "refinements/strings"
|
5
5
|
require "refinements/structs"
|
6
6
|
|
@@ -12,20 +12,20 @@ module Rubysmith
|
|
12
12
|
using Refinements::Strings
|
13
13
|
using Refinements::Structs
|
14
14
|
|
15
|
-
def initialize
|
16
|
-
@
|
15
|
+
def initialize git: Gitt::Repository.new
|
16
|
+
@git = git
|
17
17
|
end
|
18
18
|
|
19
19
|
def call(content) = String(content.author_name).blank? ? content.merge(**user) : content
|
20
20
|
|
21
21
|
private
|
22
22
|
|
23
|
-
attr_reader :
|
23
|
+
attr_reader :git
|
24
24
|
|
25
25
|
def user
|
26
|
-
|
27
|
-
|
28
|
-
|
26
|
+
git.get("user.name", "TODO")
|
27
|
+
.then { |name| String(name).split }
|
28
|
+
.then { |first, last| {author_given_name: first, author_family_name: last} }
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "rubocop"
|
4
3
|
require "refinements/ios"
|
4
|
+
require "rubocop"
|
5
5
|
|
6
6
|
module Rubysmith
|
7
7
|
module Extensions
|
@@ -17,7 +17,7 @@ module Rubysmith
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def call
|
20
|
-
STDOUT.squelch { client.run ["--autocorrect", configuration.project_root.to_s] }
|
20
|
+
STDOUT.squelch { client.run ["--autocorrect-all", configuration.project_root.to_s] }
|
21
21
|
configuration
|
22
22
|
end
|
23
23
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: Continuous Integration
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
name: Build
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
steps:
|
11
|
+
- name: Checkout
|
12
|
+
uses: actions/checkout@v3
|
13
|
+
|
14
|
+
- name: Setup Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
bundler-cache: true
|
18
|
+
|
19
|
+
- name: Rake
|
20
|
+
run: bundle exec rake
|
@@ -3,21 +3,18 @@ ruby File.read(".ruby-version").strip
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
5
|
<% if configuration.build_refinements %>
|
6
|
-
gem "refinements", "~>
|
6
|
+
gem "refinements", "~> 10.0"
|
7
7
|
<% end %>
|
8
8
|
<% if configuration.build_zeitwerk %>
|
9
9
|
gem "zeitwerk", "~> 2.6"
|
10
10
|
<% end %>
|
11
11
|
|
12
12
|
group :code_quality do
|
13
|
-
<% if configuration.build_bundler_leak %>
|
14
|
-
gem "bundler-leak", "~> 0.2"
|
15
|
-
<% end %>
|
16
13
|
<% if configuration.build_caliber %>
|
17
|
-
gem "caliber", "~> 0.
|
14
|
+
gem "caliber", "~> 0.21"
|
18
15
|
<% end %>
|
19
16
|
<% if configuration.build_git && configuration.build_git_lint %>
|
20
|
-
gem "git-lint", "~>
|
17
|
+
gem "git-lint", "~> 5.0"
|
21
18
|
<% end %>
|
22
19
|
<% if configuration.build_reek %>
|
23
20
|
gem "reek", "~> 6.1"
|
@@ -35,7 +32,7 @@ group :development do
|
|
35
32
|
gem "rake", "~> 13.0"
|
36
33
|
<% end %>
|
37
34
|
<% if configuration.markdown? %>
|
38
|
-
gem "tocer", "~>
|
35
|
+
gem "tocer", "~> 15.0"
|
39
36
|
<% end %>
|
40
37
|
<% if configuration.build_yard %>
|
41
38
|
gem "yard", "~> 0.9"
|
@@ -47,7 +44,7 @@ group :test do
|
|
47
44
|
gem "guard-rspec", "~> 4.7", require: false
|
48
45
|
<% end %>
|
49
46
|
<% if configuration.build_rspec %>
|
50
|
-
gem "rspec", "~> 3.
|
47
|
+
gem "rspec", "~> 3.12"
|
51
48
|
<% end %>
|
52
49
|
end
|
53
50
|
|
@@ -56,6 +53,6 @@ group :tools do
|
|
56
53
|
gem "amazing_print", "~> 1.4"
|
57
54
|
<% end %>
|
58
55
|
<% if configuration.build_debug %>
|
59
|
-
gem "debug", "~> 1.
|
56
|
+
gem "debug", "~> 1.7"
|
60
57
|
<% end %>
|
61
58
|
end
|
@@ -1,10 +1,7 @@
|
|
1
1
|
require "bundler/setup"
|
2
2
|
|
3
|
-
<% if configuration.build_bundler_leak %>
|
4
|
-
require "bundler/plumber/task"
|
5
|
-
<% end %>
|
6
3
|
<% if configuration.build_git && configuration.build_git_lint %>
|
7
|
-
require "git/lint/rake/
|
4
|
+
require "git/lint/rake/register"
|
8
5
|
<% end %>
|
9
6
|
<% if configuration.build_reek %>
|
10
7
|
require "reek/rake/task"
|
@@ -19,8 +16,8 @@ require "bundler/setup"
|
|
19
16
|
require "yard"
|
20
17
|
<% end %>
|
21
18
|
|
22
|
-
<% if configuration.
|
23
|
-
|
19
|
+
<% if configuration.build_git && configuration.build_git_lint %>
|
20
|
+
Git::Lint::Rake::Register.call
|
24
21
|
<% end %>
|
25
22
|
<% if configuration.build_reek %>
|
26
23
|
Reek::Rake::Task.new
|
@@ -39,6 +36,6 @@ require "bundler/setup"
|
|
39
36
|
<% end %>
|
40
37
|
|
41
38
|
desc "Run code quality checks"
|
42
|
-
task code_quality: %i[<% if configuration.
|
39
|
+
task code_quality: %i[<% if configuration.build_git && configuration.build_git_lint %>git_lint<% end %> <% if configuration.build_reek %>reek<% end %> <% if configuration.build_caliber %>rubocop<% end %>]
|
43
40
|
|
44
41
|
task default: %i[code_quality <% if configuration.build_rspec %>spec<% end %>]
|
@@ -24,7 +24,7 @@ using Refinements::Pathnames
|
|
24
24
|
Pathname.require_tree __dir__, "support/shared_contexts/**/*.rb"
|
25
25
|
<% else %>
|
26
26
|
|
27
|
-
Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].
|
27
|
+
Dir[File.join(__dir__, "support", "shared_contexts", "**/*.rb")].each { |path| require path }
|
28
28
|
<% end %>
|
29
29
|
|
30
30
|
RSpec.configure do |config|
|
Binary file
|
data/lib/rubysmith.rb
CHANGED
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
|
+
spec.version = "4.0.1"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://github.com/bkuhlmann/rubysmith"
|
@@ -22,19 +22,19 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.signing_key = Gem.default_key_path
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
|
-
spec.required_ruby_version = "~> 3.
|
26
|
-
spec.add_dependency "cogger", "~> 0.
|
25
|
+
spec.required_ruby_version = "~> 3.2"
|
26
|
+
spec.add_dependency "cogger", "~> 0.5"
|
27
27
|
spec.add_dependency "dry-container", "~> 0.11"
|
28
|
-
spec.add_dependency "
|
29
|
-
spec.add_dependency "infusible", "~> 0
|
30
|
-
spec.add_dependency "milestoner", "~>
|
28
|
+
spec.add_dependency "gitt", "~> 1.0"
|
29
|
+
spec.add_dependency "infusible", "~> 1.0"
|
30
|
+
spec.add_dependency "milestoner", "~> 15.0"
|
31
31
|
spec.add_dependency "pastel", "~> 0.8"
|
32
|
-
spec.add_dependency "pragmater", "~>
|
33
|
-
spec.add_dependency "refinements", "~>
|
34
|
-
spec.add_dependency "rubocop", "~> 1.
|
35
|
-
spec.add_dependency "runcom", "~>
|
36
|
-
spec.add_dependency "spek", "~> 0
|
37
|
-
spec.add_dependency "tocer", "~>
|
32
|
+
spec.add_dependency "pragmater", "~> 12.0"
|
33
|
+
spec.add_dependency "refinements", "~> 10.0"
|
34
|
+
spec.add_dependency "rubocop", "~> 1.41"
|
35
|
+
spec.add_dependency "runcom", "~> 9.0"
|
36
|
+
spec.add_dependency "spek", "~> 1.0"
|
37
|
+
spec.add_dependency "tocer", "~> 15.0"
|
38
38
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
39
39
|
|
40
40
|
spec.bindir = "exe"
|
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:
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-12-28 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: cogger
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.5'
|
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: '0.
|
46
|
+
version: '0.5'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: dry-container
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,47 +59,47 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0.11'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
62
|
+
name: gitt
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
67
|
+
version: '1.0'
|
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.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: infusible
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0
|
81
|
+
version: '1.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: '0
|
88
|
+
version: '1.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: milestoner
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
95
|
+
version: '15.0'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '15.0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: pastel
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,84 +120,84 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - "~>"
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '12.0'
|
124
124
|
type: :runtime
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '12.0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: refinements
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
137
|
+
version: '10.0'
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
144
|
+
version: '10.0'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: rubocop
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '1.
|
151
|
+
version: '1.41'
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '1.
|
158
|
+
version: '1.41'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: runcom
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - "~>"
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
165
|
+
version: '9.0'
|
166
166
|
type: :runtime
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - "~>"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
172
|
+
version: '9.0'
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: spek
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '0
|
179
|
+
version: '1.0'
|
180
180
|
type: :runtime
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '0
|
186
|
+
version: '1.0'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: tocer
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
193
|
+
version: '15.0'
|
194
194
|
type: :runtime
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - "~>"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
200
|
+
version: '15.0'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: zeitwerk
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,9 +240,11 @@ files:
|
|
240
240
|
- lib/rubysmith/builders/git/ignore.rb
|
241
241
|
- lib/rubysmith/builders/git/setup.rb
|
242
242
|
- lib/rubysmith/builders/git_hub.rb
|
243
|
+
- lib/rubysmith/builders/git_hub_ci.rb
|
243
244
|
- lib/rubysmith/builders/guard.rb
|
244
245
|
- lib/rubysmith/builders/rake.rb
|
245
246
|
- lib/rubysmith/builders/reek.rb
|
247
|
+
- lib/rubysmith/builders/rspec/binstub.rb
|
246
248
|
- lib/rubysmith/builders/rspec/context.rb
|
247
249
|
- lib/rubysmith/builders/rspec/helper.rb
|
248
250
|
- lib/rubysmith/builders/setup.rb
|
@@ -277,6 +279,7 @@ files:
|
|
277
279
|
- lib/rubysmith/templates/%project_name%/.github/FUNDING.yml.erb
|
278
280
|
- lib/rubysmith/templates/%project_name%/.github/ISSUE_TEMPLATE.md.erb
|
279
281
|
- lib/rubysmith/templates/%project_name%/.github/PULL_REQUEST_TEMPLATE.md.erb
|
282
|
+
- lib/rubysmith/templates/%project_name%/.github/workflows/ci.yml.erb
|
280
283
|
- lib/rubysmith/templates/%project_name%/.gitignore.erb
|
281
284
|
- lib/rubysmith/templates/%project_name%/.reek.yml.erb
|
282
285
|
- lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
|
@@ -297,11 +300,13 @@ files:
|
|
297
300
|
- lib/rubysmith/templates/%project_name%/VERSIONS.md.erb
|
298
301
|
- lib/rubysmith/templates/%project_name%/bin/console.erb
|
299
302
|
- lib/rubysmith/templates/%project_name%/bin/guard.erb
|
303
|
+
- lib/rubysmith/templates/%project_name%/bin/rspec.erb
|
300
304
|
- lib/rubysmith/templates/%project_name%/bin/rubocop.erb
|
301
305
|
- lib/rubysmith/templates/%project_name%/bin/setup.erb
|
302
306
|
- lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
|
303
307
|
- lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
|
304
308
|
- lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
|
309
|
+
- lib/rubysmith/templates/.DS_Store
|
305
310
|
- lib/rubysmith/text/inserter.rb
|
306
311
|
- rubysmith.gemspec
|
307
312
|
homepage: https://github.com/bkuhlmann/rubysmith
|
@@ -323,14 +328,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
323
328
|
requirements:
|
324
329
|
- - "~>"
|
325
330
|
- !ruby/object:Gem::Version
|
326
|
-
version: '3.
|
331
|
+
version: '3.2'
|
327
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
328
333
|
requirements:
|
329
334
|
- - ">="
|
330
335
|
- !ruby/object:Gem::Version
|
331
336
|
version: '0'
|
332
337
|
requirements: []
|
333
|
-
rubygems_version: 3.
|
338
|
+
rubygems_version: 3.4.1
|
334
339
|
signing_key:
|
335
340
|
specification_version: 4
|
336
341
|
summary: A command line interface for smithing Ruby projects.
|
metadata.gz.sig
CHANGED
Binary file
|