rubysmith 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e456bc3cda3a146f67ac5483a46f207c85708f1f4b20629be82e41c67a3d9df
4
- data.tar.gz: 700869ba36613c8d0f99f9ff016f6ecfb44eeff41b54955288557429678c4131
3
+ metadata.gz: 800b586dd843e166d9fc97e0034b4929111ee1f9dc0cb9e02ce294d512cfb227
4
+ data.tar.gz: 984327cfa351cd57aa103cbfc94e09a060afe4611d49504e61263cc5a6ff776a
5
5
  SHA512:
6
- metadata.gz: 5d698025fd900e127b569e1ae0c74d7a5cd5d373789b41d010d30b67b5c175dee466f7b0ee0eae38250b34894645bf80791de17ceed4c96c941c78197b02cff2
7
- data.tar.gz: 11d5c688588c60d77df3a11bd3c5da008bf441c25a854d3359d01e7e077359d8e8a194859b05c6a68f25f5ddd4f1296b3dbe20358b75e380acba5886cd1c1bf6
6
+ metadata.gz: e6012f65fb94be8bd2a515d3647c51b905bb591a3d4f5e692e53e502bc9ac573cf753de33d041639d21e10f2668258d3cfb9cb4c620365a04098dc6f7da1bbff
7
+ data.tar.gz: e226baccb45c568d104bd4775672573509bdd6d5d03f478b61b4c125bbc056ed21803949771a542fd975687782f3bed90a06bfc1f694b333e569f4963d0b8c35
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -91,6 +91,7 @@ BUILD OPTIONS:
91
91
  --[no-]funding Add GitHub funding configuration. Default: false.
92
92
  --[no-]git Add Git. Default: true.
93
93
  --[no-]git_hub Add GitHub templates. Default: false.
94
+ --[no-]git_hub_ci Add GitHub templates. Default: false.
94
95
  --[no-]git-lint Add Git Lint gem. Default: true.
95
96
  --[no-]guard Add Guard gem. Default: true.
96
97
  --[no-]license Add license documentation. Default: true.
@@ -228,6 +229,10 @@ The `--git` option allows you add link:https://git-scm.com[Git] repository suppo
228
229
  The `--git_hub` option allows you add link:https://github.com[GitHub] templates to your project for
229
230
  issues and pull requests.
230
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
+
231
236
  ===== Git Lint
232
237
 
233
238
  The `--git-lint` option allows you to add the link:https://www.alchemists.io/projects/git-lint[Git
@@ -24,7 +24,7 @@ module Rubysmith
24
24
 
25
25
  attr_reader :git
26
26
 
27
- def email = git.get "user.email"
27
+ def email = git.get("user.email").value_or("")
28
28
  end
29
29
  end
30
30
  end
@@ -24,6 +24,7 @@ module Rubysmith
24
24
 
25
25
  def user
26
26
  git.get("user.name")
27
+ .value_or("")
27
28
  .then { |name| String(name).split }
28
29
  .then { |first, last| {author_given_name: first, author_family_name: last} }
29
30
  end
@@ -20,7 +20,7 @@ group :code_quality do
20
20
  gem "reek", "~> 6.1"
21
21
  <% end %>
22
22
  <% if configuration.build_simple_cov %>
23
- gem "simplecov", "~> 0.21", require: false
23
+ gem "simplecov", "~> 0.22", require: false
24
24
  <% end %>
25
25
  end
26
26
 
@@ -6,8 +6,9 @@ require "simplecov"
6
6
 
7
7
  unless ENV["NO_COVERAGE"]
8
8
  SimpleCov.start do
9
- enable_coverage :branch
10
9
  add_filter %r(^/spec/)
10
+ enable_coverage :branch
11
+ enable_coverage_for_eval
11
12
  minimum_coverage_by_file line: 95, branch: 95
12
13
  end
13
14
  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 = "4.0.0"
5
+ spec.version = "4.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://github.com/bkuhlmann/rubysmith"
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.0.0
4
+ version: 4.1.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-12-27 00:00:00.000000000 Z
31
+ date: 2022-12-28 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -275,7 +275,6 @@ files:
275
275
  - lib/rubysmith/pathway.rb
276
276
  - lib/rubysmith/renderers/erb.rb
277
277
  - lib/rubysmith/renderers/namespace.rb
278
- - lib/rubysmith/templates/%project_name%/.DS_Store
279
278
  - lib/rubysmith/templates/%project_name%/.circleci/config.yml.erb
280
279
  - lib/rubysmith/templates/%project_name%/.github/FUNDING.yml.erb
281
280
  - lib/rubysmith/templates/%project_name%/.github/ISSUE_TEMPLATE.md.erb
@@ -307,7 +306,6 @@ files:
307
306
  - lib/rubysmith/templates/%project_name%/lib/%project_path%.rb.erb
308
307
  - lib/rubysmith/templates/%project_name%/spec/spec_helper.rb.erb
309
308
  - lib/rubysmith/templates/%project_name%/spec/support/shared_contexts/temp_dir.rb.erb
310
- - lib/rubysmith/templates/.DS_Store
311
309
  - lib/rubysmith/text/inserter.rb
312
310
  - rubysmith.gemspec
313
311
  homepage: https://github.com/bkuhlmann/rubysmith
metadata.gz.sig CHANGED
Binary file
Binary file