gemsmith 18.0.0 → 18.0.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 +15 -4
- data/gemsmith.gemspec +1 -1
- data/lib/gemsmith/templates/%project_name%/%project_name%.gemspec.erb +0 -3
- data/lib/gemsmith/tools/pusher.rb +2 -2
- 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: 2eccd3e61093d233577ebd160926db18ee4f1091406bd606af59997b3d34873d
|
4
|
+
data.tar.gz: 23b36214567a303cd12d08d3b6cf9f34d7dcc99fcc6e0387f6e52d99f4af8427
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3fd459e7834d9ba463d3b547b0ce37fade1c5aead0981c4c161003eccdcbfa9da8e9a0bd69c7a996833920230411fb01995a5c6f35c0d623bcd72e37a16610
|
7
|
+
data.tar.gz: 63e1d3ce286241e9b63764d4efad434217437d6de2d88ea0daedc15ef2dfcf8bf1c04be084ab413dc8e4d3ac6ef439648091bdf269a2e8e8e84e247dbcb39cca
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -39,7 +39,7 @@ gem install gemsmith
|
|
39
39
|
If upgrading from 17.0.0 to 18.0.0, you'll want to be aware of the following changes:
|
40
40
|
|
41
41
|
* The `--dead_end` build option has been removed.
|
42
|
-
* The Milestoner
|
42
|
+
* The Milestoner configuration has been updated to support ASCII Doc format by default and the
|
43
43
|
ability to sign tags has been removed (this happens dynamically based on your Git configuration
|
44
44
|
which gives you more flexibility).
|
45
45
|
|
@@ -290,8 +290,19 @@ gem cert --build you@example.com
|
|
290
290
|
chmod 600 gem-*.pem
|
291
291
|
----
|
292
292
|
|
293
|
-
The resulting
|
294
|
-
|
293
|
+
The resulting `*.pem` key files can be referenced via the `signing_key` and `cert_chain` of your
|
294
|
+
`*.gemspec` which Gemsmith provides for you via the `--security` build option. Example:
|
295
|
+
|
296
|
+
[source,ruby]
|
297
|
+
----
|
298
|
+
# frozen_string_literal: true
|
299
|
+
|
300
|
+
Gem::Specification.new do |spec|
|
301
|
+
# Truncated for brevity.
|
302
|
+
spec.signing_key = Gem.default_key_path
|
303
|
+
spec.cert_chain = [Gem.default_cert_path]
|
304
|
+
end
|
305
|
+
----
|
295
306
|
|
296
307
|
To learn more about gem certificates, read about RubyGems
|
297
308
|
link:https://guides.rubygems.org/security[Security].
|
@@ -353,7 +364,7 @@ to our private server. This is important as this is how we link our gem specific
|
|
353
364
|
our private credentials. To illustrate further, here are both files truncated and shown together:
|
354
365
|
|
355
366
|
....
|
356
|
-
# Gem
|
367
|
+
# Gem specification metadata which defines the private host to publish to.
|
357
368
|
spec.metadata = {"allowed_push_host" => "https://private.example.com"}
|
358
369
|
|
359
370
|
# Gem credentials where the URL value above becomes the key which enables authentication.
|
data/gemsmith.gemspec
CHANGED
@@ -28,9 +28,6 @@ Gem::Specification.new do |spec|
|
|
28
28
|
<% if configuration.build_cli %>
|
29
29
|
spec.add_dependency "dry-container", "~> 0.9"
|
30
30
|
<% end %>
|
31
|
-
<% if configuration.build_cli %>
|
32
|
-
spec.add_dependency "pastel", "~> 0.8"
|
33
|
-
<% end %>
|
34
31
|
<% if configuration.build_refinements %>
|
35
32
|
spec.add_dependency "refinements", "~> 9.2"
|
36
33
|
<% end %>
|
@@ -34,7 +34,7 @@ module Gemsmith
|
|
34
34
|
executor.capture3(check_yubikey.success, "oath", "accounts", "code", "--single", "RubyGems")
|
35
35
|
.then { |stdout, _stderr, status| status.success? ? ["--otp", stdout.chomp] : [] }
|
36
36
|
rescue Errno::ENOENT => error
|
37
|
-
logger.
|
37
|
+
logger.debug { "Unable to obtain YubiKey One-Time Password. #{error}." }
|
38
38
|
[]
|
39
39
|
end
|
40
40
|
|
@@ -44,7 +44,7 @@ module Gemsmith
|
|
44
44
|
if status.success?
|
45
45
|
Success stdout.chomp
|
46
46
|
else
|
47
|
-
logger.
|
47
|
+
logger.debug { "Unable to find YubiKey Manager. #{stderr}." }
|
48
48
|
Failure()
|
49
49
|
end
|
50
50
|
end
|
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.0.
|
4
|
+
version: 18.0.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-
|
31
|
+
date: 2022-04-15 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
|