rubysmith 3.8.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fc770b95d663343d5e00259dab60ae73d3a066c2922ad2fd2d8b499d21daa58
4
- data.tar.gz: e6dae16037a540ea594de321769fbb2e7fec16614a535207b6a9f047c9f645d1
3
+ metadata.gz: 7e456bc3cda3a146f67ac5483a46f207c85708f1f4b20629be82e41c67a3d9df
4
+ data.tar.gz: 700869ba36613c8d0f99f9ff016f6ecfb44eeff41b54955288557429678c4131
5
5
  SHA512:
6
- metadata.gz: a41b8601b8a5b4db493b43f15d2360c89427430ab89d5fb90e9b8bee4a6906fae3fedfa1021a41841ad4fef28813f59331e59023994f2d284d2b06776e7d0e19
7
- data.tar.gz: 363fd4598261c4cbf3df234b8b2f5f8bbd975fefd6c456cbabcb64f5eb2a651e12e2b565f699371b631706f930f7fa165337bd2df929157b1434be34b7def785
6
+ metadata.gz: 5d698025fd900e127b569e1ae0c74d7a5cd5d373789b41d010d30b67b5c175dee466f7b0ee0eae38250b34894645bf80791de17ceed4c96c941c78197b02cff2
7
+ data.tar.gz: 11d5c688588c60d77df3a11bd3c5da008bf441c25a854d3359d01e7e077359d8e8a194859b05c6a68f25f5ddd4f1296b3dbe20358b75e380acba5886cd1c1bf6
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.
@@ -169,12 +167,6 @@ link:https://github.com/amazing-print/amazing_print[Amazing Print] gem for debug
169
167
  a handy debugging tool when inspecting your Ruby objects and printing details in a quick to read
170
168
  format.
171
169
 
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
170
  ===== Caliber
179
171
 
180
172
  The `--caliber` option allows you to build your project with the
@@ -351,7 +343,6 @@ variables. The default configuration is as follows:
351
343
  :url:
352
344
  :build:
353
345
  :amazing_print: true
354
- :bundler_leak: true
355
346
  :caliber: true
356
347
  :circle_ci: false
357
348
  :citation: true
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/pathnames"
4
- require "open3"
5
3
  require "logger"
4
+ require "open3"
5
+ require "refinements/pathnames"
6
6
 
7
7
  module Rubysmith
8
8
  # Provides common functionality necessary for all builders.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "tocer"
4
3
  require "refinements/structs"
4
+ require "tocer"
5
5
 
6
6
  module Rubysmith
7
7
  module Builders
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "tocer"
4
3
  require "refinements/structs"
4
+ require "tocer"
5
5
 
6
6
  module Rubysmith
7
7
  module Builders
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "tocer"
4
3
  require "refinements/structs"
4
+ require "tocer"
5
5
 
6
6
  module Rubysmith
7
7
  module Builders
@@ -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
@@ -23,8 +23,10 @@ module Rubysmith
23
23
  Builders::CircleCI,
24
24
  Builders::Setup,
25
25
  Builders::GitHub,
26
+ Builders::GitHubCI,
26
27
  Builders::Guard,
27
28
  Builders::Reek,
29
+ Builders::RSpec::Binstub,
28
30
  Builders::RSpec::Context,
29
31
  Builders::RSpec::Helper,
30
32
  Builders::Caliber,
@@ -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 "git_plus"
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 repository: GitPlus::Repository.new
16
- @repository = repository
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 :repository
25
+ attr_reader :git
26
26
 
27
- def email = repository.config_get("user.email")
27
+ def email = git.get "user.email"
28
28
  end
29
29
  end
30
30
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "git_plus"
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 repository: GitPlus::Repository.new
16
- @repository = repository
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 :repository
25
+ attr_reader :git
26
26
 
27
- def user = repository.config_get("github.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 "git_plus"
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 repository: GitPlus::Repository.new
16
- @repository = repository
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 :repository
23
+ attr_reader :git
24
24
 
25
25
  def user
26
- repository.config_get("user.name")
27
- .then { |name| String(name).split }
28
- .then { |first, last| {author_given_name: first, author_family_name: last} }
26
+ git.get("user.name")
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
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "tocer"
4
3
  require "refinements/structs"
4
+ require "tocer"
5
5
 
6
6
  module Rubysmith
7
7
  module Extensions
@@ -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", "~> 9.7"
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.16"
14
+ gem "caliber", "~> 0.21"
18
15
  <% end %>
19
16
  <% if configuration.build_git && configuration.build_git_lint %>
20
- gem "git-lint", "~> 4.0"
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", "~> 14.5"
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.11"
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.6"
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/setup"
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.build_bundler_leak %>
23
- Bundler::Plumber::Task.new
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.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_caliber %>rubocop<% end %>]
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 %>]
@@ -0,0 +1,5 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+
5
+ load Gem.bin_path "rspec-core", "rspec"
@@ -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")].sort.each { |path| require path }
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
@@ -6,6 +6,7 @@ Zeitwerk::Loader.for_gem.then do |loader|
6
6
  loader.inflector.inflect "cli" => "CLI",
7
7
  "circle_ci" => "CircleCI",
8
8
  "erb" => "ERB",
9
+ "git_hub_ci" => "GitHubCI",
9
10
  "rspec" => "RSpec"
10
11
  loader.setup
11
12
  end
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 = "3.8.0"
5
+ spec.version = "4.0.0"
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.1"
26
- spec.add_dependency "cogger", "~> 0.4"
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 "git_plus", "~> 1.7"
29
- spec.add_dependency "infusible", "~> 0.2"
30
- spec.add_dependency "milestoner", "~> 14.5"
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", "~> 11.5"
33
- spec.add_dependency "refinements", "~> 9.7"
34
- spec.add_dependency "rubocop", "~> 1.35"
35
- spec.add_dependency "runcom", "~> 8.7"
36
- spec.add_dependency "spek", "~> 0.6"
37
- spec.add_dependency "tocer", "~> 14.5"
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
@@ -1,3 +1 @@
1
- �P��?�K$�����f��^mqT�ǁl_����l,_DE����[7
2
- ?G���_�ߘ���+�$U۔�g,�]��:���C����7֙��$�dQ�
3
- ��`����d+֠sx�qű�ߴ8�������
1
+ } �vk|9a-]�I|f��3і��U��k?�9������}ZOg��nh(�@/�ǹf��'�s)*ڸl�x��n�s���l�1$��!g(��t�q�/;�d��D���2���اD�{<(���n����ڃBgZ����(�������������i#�b+>�?�:�r�;[a��;���j��+8l������ià2n8��z��������r���C���zr(yr=��J?9��ˌ�ٰg�~��k ��e��
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: 3.8.0
4
+ version: 4.0.0
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-10-22 00:00:00.000000000 Z
31
+ date: 2022-12-27 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.4'
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.4'
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: git_plus
62
+ name: gitt
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '1.7'
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.7'
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.2'
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.2'
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: '14.5'
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: '14.5'
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: '11.5'
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: '11.5'
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: '9.7'
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: '9.7'
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.35'
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.35'
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: '8.7'
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: '8.7'
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.6'
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.6'
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: '14.5'
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: '14.5'
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
@@ -273,10 +275,12 @@ files:
273
275
  - lib/rubysmith/pathway.rb
274
276
  - lib/rubysmith/renderers/erb.rb
275
277
  - lib/rubysmith/renderers/namespace.rb
278
+ - lib/rubysmith/templates/%project_name%/.DS_Store
276
279
  - lib/rubysmith/templates/%project_name%/.circleci/config.yml.erb
277
280
  - lib/rubysmith/templates/%project_name%/.github/FUNDING.yml.erb
278
281
  - lib/rubysmith/templates/%project_name%/.github/ISSUE_TEMPLATE.md.erb
279
282
  - lib/rubysmith/templates/%project_name%/.github/PULL_REQUEST_TEMPLATE.md.erb
283
+ - lib/rubysmith/templates/%project_name%/.github/workflows/ci.yml.erb
280
284
  - lib/rubysmith/templates/%project_name%/.gitignore.erb
281
285
  - lib/rubysmith/templates/%project_name%/.reek.yml.erb
282
286
  - lib/rubysmith/templates/%project_name%/.rubocop.yml.erb
@@ -297,11 +301,13 @@ files:
297
301
  - lib/rubysmith/templates/%project_name%/VERSIONS.md.erb
298
302
  - lib/rubysmith/templates/%project_name%/bin/console.erb
299
303
  - lib/rubysmith/templates/%project_name%/bin/guard.erb
304
+ - lib/rubysmith/templates/%project_name%/bin/rspec.erb
300
305
  - lib/rubysmith/templates/%project_name%/bin/rubocop.erb
301
306
  - lib/rubysmith/templates/%project_name%/bin/setup.erb
302
307
  - lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
303
308
  - lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
304
309
  - lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
310
+ - lib/rubysmith/templates/.DS_Store
305
311
  - lib/rubysmith/text/inserter.rb
306
312
  - rubysmith.gemspec
307
313
  homepage: https://github.com/bkuhlmann/rubysmith
@@ -323,14 +329,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
323
329
  requirements:
324
330
  - - "~>"
325
331
  - !ruby/object:Gem::Version
326
- version: '3.1'
332
+ version: '3.2'
327
333
  required_rubygems_version: !ruby/object:Gem::Requirement
328
334
  requirements:
329
335
  - - ">="
330
336
  - !ruby/object:Gem::Version
331
337
  version: '0'
332
338
  requirements: []
333
- rubygems_version: 3.3.24
339
+ rubygems_version: 3.4.1
334
340
  signing_key:
335
341
  specification_version: 4
336
342
  summary: A command line interface for smithing Ruby projects.
metadata.gz.sig CHANGED
Binary file