Skip to content

Commit

Permalink
Remove gem signing so I can push
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorrison committed Oct 5, 2023
1 parent 05ee2c1 commit 285d35a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions awesome_nested_set.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,4 @@ Gem::Specification.new do |s|
s.add_development_dependency 'pry-nav'
s.add_development_dependency 'rake', '~> 13'
s.add_development_dependency 'rspec-rails', '~> 4.0.0'

s.cert_chain = [File.expand_path('certs/parndt.pem', __dir__)]
if $PROGRAM_NAME =~ /gem\z/ && ARGV.include?('build') && ARGV.include?(__FILE__)
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
end
end

3 comments on commit 285d35a

@parndt
Copy link
Collaborator

@parndt parndt commented on 285d35a Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can also add your own cert 😄

@danielmorrison
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can also add your own cert 😄

I couldn't figure out how to get it to recognize multiple paths, but I was also in a hurry. 🤪

@parndt
Copy link
Collaborator

@parndt parndt commented on 285d35a Aug 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, fair enough.

I think something like:

s.cert_chain = [
  File.expand_path('certs/parndt.pem', __dir__),
  File.expand_path('certs/danielmorrison.pem', __dir__)
]

then if your private key is also ~/.ssh/gem-private_key.pem it might work. But to be honest, I've never tried!

Please sign in to comment.