gemsmith 18.1.0 → 18.1.1

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: 28fb66ba1ffc978d88dad82d5b14e898581da78cb8c599c9ba702b6a68c6ad21
4
- data.tar.gz: 8cb98c3f67fcbc64cac58706430431b14429a7a5ad0399f14d03db04eb3f9215
3
+ metadata.gz: efa40f1261ef7850d3675a9a7ce4dc529a9440767c74ea7ac51737367feb176a
4
+ data.tar.gz: b7d00bdacacd6031710d3c60867db5a76c23af9043916baf5c97c8b86a455fb3
5
5
  SHA512:
6
- metadata.gz: afe90b17b858eae6e574b1f41af7b5ed9f7b95b421ff52a4726ce2a837116a3ceb759ab610e2a5eef06a088070773c96ce7467449e18ac3f6354a86efef18fbb
7
- data.tar.gz: 47302fcdba57685e3c5b1f46cc082974194eb81217e350960aed20fd696c75a0741dc795cea271b1266955035b86e8c719ea5d1ef56fcbbf1842e9fb71654b63
6
+ metadata.gz: 4a0bb9fb6b20c9314b513a6c63b0d7e0f508ad968df59e4e50c2b31f28e1de0b25ab0e277ddc2ec3f203247394b93f930cc4cd5f347a8cd2a407d220030395e4
7
+ data.tar.gz: 2bab2e73aaf57e439302744e2a0099130b4da472eba6908abf78bfbb3f0ca0df34d1cd6190e8ba7c300a0d580a5ffefde31782e137426c41ec033467a9f06e6f
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -25,15 +25,6 @@ toc::[]
25
25
  . link:https://www.ruby-lang.org[Ruby].
26
26
  . link:https://rubygems.org[RubyGems].
27
27
 
28
- == Setup
29
-
30
- To install, run:
31
-
32
- [source,bash]
33
- ----
34
- gem install gemsmith
35
- ----
36
-
37
28
  == Upgrade
38
29
 
39
30
  If upgrading from 17.0.0 to 18.0.0, you'll want to be aware of the following changes:
@@ -43,6 +34,15 @@ If upgrading from 17.0.0 to 18.0.0, you'll want to be aware of the following cha
43
34
  ability to sign tags has been removed (this happens dynamically based on your Git configuration
44
35
  which gives you more flexibility).
45
36
 
37
+ == Setup
38
+
39
+ To install, run:
40
+
41
+ [source,bash]
42
+ ----
43
+ gem install gemsmith
44
+ ----
45
+
46
46
  == Usage
47
47
 
48
48
  === Command Line Interface (CLI)
@@ -222,6 +222,20 @@ the following:
222
222
  Feel free to take the combined Rubysmith + Gemsmith configuration, modify, and save as your own
223
223
  custom `configuration.yml`.
224
224
 
225
+ It is recommended that you provide URLs for your project which would be all keys found in this
226
+ section:
227
+
228
+ [source,yaml]
229
+ ----
230
+ :project:
231
+ :url:
232
+ # Add sub-key values here.
233
+ ----
234
+
235
+ When these values exist, you'll benefit from having this information added to your generated
236
+ `gemspec` and project documentation. Otherwise -- if these values are empty -- they are removed from
237
+ new gem generation.
238
+
225
239
  === Workflows
226
240
 
227
241
  When building/testing your gem locally, a typical workflow is:
data/gemsmith.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "gemsmith"
5
- spec.version = "18.1.0"
5
+ spec.version = "18.1.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/gemsmith"
@@ -20,6 +20,8 @@ module Gemsmith
20
20
 
21
21
  builder.call(config)
22
22
  .render
23
+ .replace(" \n", "")
24
+ .replace(" ", " ")
23
25
  .replace(" \n", "")
24
26
  .replace(" spec", " spec")
25
27
  .replace(/\}\s+s/m, "}\n\n s")
@@ -8,13 +8,25 @@ Gem::Specification.new do |spec|
8
8
  spec.license = "<%= configuration.license_label_version %>"
9
9
 
10
10
  spec.metadata = {
11
- "bug_tracker_uri" => "<%= configuration.computed_project_url_issues %>",
12
- "changelog_uri" => "<%= configuration.computed_project_url_versions %>",
13
- "documentation_uri" => "<%= configuration.computed_project_url_home %>",
14
- "funding_uri" => "<%= configuration.computed_project_url_funding %>",
11
+ <% unless configuration.computed_project_url_issues.empty? %>
12
+ "bug_tracker_uri" => "<%= configuration.computed_project_url_issues %>",
13
+ <% end %>
14
+ <% unless configuration.computed_project_url_versions.empty? %>
15
+ "changelog_uri" => "<%= configuration.computed_project_url_versions %>",
16
+ <% end %>
17
+ <% unless configuration.computed_project_url_home.empty? %>
18
+ "documentation_uri" => "<%= configuration.computed_project_url_home %>",
19
+ <% end %>
20
+ <% unless configuration.computed_project_url_funding.empty? %>
21
+ "funding_uri" => "<%= configuration.computed_project_url_funding %>",
22
+ <% end %>
15
23
  "label" => "<%= configuration.project_label %>",
16
- "rubygems_mfa_required" => "true",
17
- "source_code_uri" => "<%= configuration.computed_project_url_source %>"
24
+ <% if configuration.computed_project_url_source.empty? %>
25
+ "rubygems_mfa_required" => "true"
26
+ <% else %>
27
+ "rubygems_mfa_required" => "true",
28
+ "source_code_uri" => "<%= configuration.computed_project_url_source %>"
29
+ <% end %>
18
30
  }
19
31
 
20
32
  <% if configuration.build_security %>
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 18.1.0
4
+ version: 18.1.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-04-30 00:00:00.000000000 Z
31
+ date: 2022-05-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: auto_injector
metadata.gz.sig CHANGED
Binary file