rubysmith 8.7.0 → 8.8.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +8 -1
- data/lib/rubysmith/builders/bundler.rb +1 -1
- data/lib/rubysmith/configuration/contract.rb +1 -0
- data/lib/rubysmith/configuration/defaults.yml +3 -1
- data/lib/rubysmith/configuration/model.rb +1 -0
- data/lib/rubysmith/templates/%project_name%/Gemfile.erb +2 -2
- data/rubysmith.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 2b7c9bfae19a0e91265274a66ed28edcd98b560b8377df290c8e5455fd9d87c3
|
4
|
+
data.tar.gz: fdcb91dff56ee1755e46bcd00a429fbaa7fe5119d882c7051bae01354e76c0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67d10a4a3f93d3bf599440f6d6c484c76918e66d1fd9ed5d62f017342925da04d45d615bacba9274b9d516b59a65a4cfef9f52ae7641ad301a503f44fc9455b1
|
7
|
+
data.tar.gz: 515aadf262a9146219d0546daf2caa2c0de6362fabc2619582dcf6ca1105e1fcefe3c188101f2c4ebb98bcc523bcb5ce214ff2daec749970d12770425754230c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -423,6 +423,8 @@ citation:
|
|
423
423
|
message: Please use the following metadata when citing this project in your work.
|
424
424
|
documentation:
|
425
425
|
format: "adoc"
|
426
|
+
gems:
|
427
|
+
uri: "https://rubygems.org"
|
426
428
|
license:
|
427
429
|
label: Hippocratic
|
428
430
|
name: hippocratic
|
@@ -435,7 +437,7 @@ project:
|
|
435
437
|
conduct: "%<organization_uri>s/policies/code_of_conduct"
|
436
438
|
contributions: "%<organization_uri>s/policies/contributions"
|
437
439
|
dcoo: "%<organization_uri>s/policies/developer_certificate_of_origin"
|
438
|
-
download: "
|
440
|
+
download: "%<gems_uri>s/gems/%<project_name>s"
|
439
441
|
funding: "%<repository_uri>s/sponsors/%<repository_handle>s"
|
440
442
|
home: "%<organization_uri>s/projects/%<project_name>s"
|
441
443
|
issues: "%<repository_uri>s/%<repository_handle>s/%<project_name>s/issues"
|
@@ -484,6 +486,7 @@ this project.
|
|
484
486
|
|
485
487
|
This section allows you to configure your link:https://orcid.org[ORCID]
|
486
488
|
link:https://citation-file-format.github.io[citation] information used by the research community.
|
489
|
+
|
487
490
|
[source,yaml]
|
488
491
|
----
|
489
492
|
citation:
|
@@ -502,6 +505,10 @@ following options are available:
|
|
502
505
|
* `adoc`: Uses link:https://asciidoctor.org[ASCII Doc] format.
|
503
506
|
* `md`: Uses link:https://daringfireball.net/projects/markdown[Markdown] format.
|
504
507
|
|
508
|
+
==== Gems
|
509
|
+
|
510
|
+
Use this section to customize where your gems are sourced from. This is perfect when using an alternative or private gem server.
|
511
|
+
|
505
512
|
==== License
|
506
513
|
|
507
514
|
Use this section to define the license you want to use for your project. When picking a license, you can supply the appropriate `label` and `version` in addition to the `name`. The `name` is the only value you _can't_ customize. The following details all supported licenses.
|
@@ -16,7 +16,7 @@ module Rubysmith
|
|
16
16
|
.replace(/ (?=.+(bootsnap|dry-monads|refinements|zeitwerk))/, "")
|
17
17
|
.replace(/(\n+|\s+)end/, "\nend")
|
18
18
|
.replace(/\n\ngroup :(quality|development|test|tools) do\nend/, "")
|
19
|
-
.
|
19
|
+
.insert_after(/source.+"\n/, "\n")
|
20
20
|
|
21
21
|
true
|
22
22
|
end
|
@@ -52,6 +52,7 @@ module Rubysmith
|
|
52
52
|
optional(:citation_message).filled :string
|
53
53
|
optional(:citation_orcid).filled :string
|
54
54
|
required(:documentation_format).filled :string
|
55
|
+
required(:gems_uri).filled :string
|
55
56
|
required(:loaded_at).filled :time
|
56
57
|
required(:license_label).filled :string
|
57
58
|
required(:license_name).filled :string
|
@@ -42,6 +42,8 @@ citation:
|
|
42
42
|
message: Please use the following metadata when citing this project in your work.
|
43
43
|
documentation:
|
44
44
|
format: "adoc"
|
45
|
+
gems:
|
46
|
+
uri: https://rubygems.org
|
45
47
|
license:
|
46
48
|
label: Hippocratic
|
47
49
|
name: hippocratic
|
@@ -54,7 +56,7 @@ project:
|
|
54
56
|
conduct: "%<organization_uri>s/policies/code_of_conduct"
|
55
57
|
contributions: "%<organization_uri>s/policies/contributions"
|
56
58
|
dcoo: "%<organization_uri>s/policies/developer_certificate_of_origin"
|
57
|
-
download: "
|
59
|
+
download: "%<gems_uri>s/gems/%<project_name>s"
|
58
60
|
funding: "%<repository_uri>s/sponsors/%<repository_handle>s"
|
59
61
|
home: "%<organization_uri>s/projects/%<project_name>s"
|
60
62
|
issues: "%<repository_uri>s/%<repository_handle>s/%<project_name>s/issues"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
ruby file: ".ruby-version"
|
2
2
|
|
3
|
-
source "
|
3
|
+
source "<%= settings.gems_uri %>"
|
4
4
|
|
5
5
|
<% if settings.build_bootsnap %>
|
6
6
|
gem "bootsnap", "~> 1.18"
|
@@ -47,7 +47,7 @@ end
|
|
47
47
|
|
48
48
|
group :tools do
|
49
49
|
<% if settings.build_amazing_print %>
|
50
|
-
gem "amazing_print", "~>
|
50
|
+
gem "amazing_print", "~> 2.0"
|
51
51
|
<% end %>
|
52
52
|
<% if settings.build_debug %>
|
53
53
|
gem "debug", "~> 1.11"
|
data/rubysmith.gemspec
CHANGED
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: 8.
|
4
|
+
version: 8.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -431,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
431
431
|
- !ruby/object:Gem::Version
|
432
432
|
version: '0'
|
433
433
|
requirements: []
|
434
|
-
rubygems_version: 3.7.
|
434
|
+
rubygems_version: 3.7.2
|
435
435
|
specification_version: 4
|
436
436
|
summary: A command line interface for smithing Ruby projects.
|
437
437
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|