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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7078991f9fcbcb707c47a3bbc7fb390725c3048c26de414728624f01a5a42a9e
4
- data.tar.gz: aefb802ad6d7e39a454c553b40921c596c5000adee42e14f5e195eafcda95e0b
3
+ metadata.gz: 2eccd3e61093d233577ebd160926db18ee4f1091406bd606af59997b3d34873d
4
+ data.tar.gz: 23b36214567a303cd12d08d3b6cf9f34d7dcc99fcc6e0387f6e52d99f4af8427
5
5
  SHA512:
6
- metadata.gz: 66f5dbee7fd91d463f89b8e95819eac28af1ee9af66bc1314d32103cd085a238c6dd8c8e7011e02ef588781f9397e3db3aacfb35b03a545f3e1fc67ea2591a6a
7
- data.tar.gz: fd91bff49d27af059de47ace1aafacc50b0a4e7938e1b8627f5cb6b856498a64fab0bb4bcf4cbec47a339bf54f09d52e1d18788bc47bdaf849f615c5f83a6f0c
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 configuraition has been updated to support ASCII Doc format by default and the
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 `.pem` key files can be referenced via the `:private_key:` and `:public_key:` keys
294
- within the `$HOME/.gemsmithrc` file.
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 specificaiton metadata which defines the private host to publish to.
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "gemsmith"
5
- spec.version = "18.0.0"
5
+ spec.version = "18.0.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/gemsmith"
@@ -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.warn { "Unable to obtain YubiKey One-Time Password. #{error}." }
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.warn { "Unable to find YubiKey Manager. #{stderr}." }
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.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-10 00:00:00.000000000 Z
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