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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +23 -9
- data/gemsmith.gemspec +1 -1
- data/lib/gemsmith/builders/specification.rb +2 -0
- data/lib/gemsmith/templates/%project_name%/%project_name%.gemspec.erb +18 -6
- 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: efa40f1261ef7850d3675a9a7ce4dc529a9440767c74ea7ac51737367feb176a
|
4
|
+
data.tar.gz: b7d00bdacacd6031710d3c60867db5a76c23af9043916baf5c97c8b86a455fb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
@@ -8,13 +8,25 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.license = "<%= configuration.license_label_version %>"
|
9
9
|
|
10
10
|
spec.metadata = {
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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
|
-
|
17
|
-
|
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.
|
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-
|
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
|