Skip to content

Commit

Permalink
Cryptographically sign gem
Browse files Browse the repository at this point in the history
- Sign the gem following the guide on rubygems.org.
- Fixes #1.
  • Loading branch information
mnuessler committed Nov 29, 2015
1 parent 6a766a3 commit a7d7817
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog
# Change Log

## v0.1.0 (2015-03-21)
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning][semver].

## [Unreleased]

## [0.2.0] - 2015-11-29

- Cryptographically sign gem.

## 0.1.0 - 2015-03-21

- Initial release.

[Unreleased]: https://github.com/mnuessler/jekyll-asciinema/compare/v0.2.0...HEAD
[0.2.0]: https://github.com/mnuessler/jekyll-asciinema/compare/v0.1.0...v0.2.0
[semver]: https://semver.org
21 changes: 21 additions & 0 deletions certs/mnuessler.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDbDCCAlSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA+MRMwEQYDVQQDDAptLm51
ZXNzbGVyMRMwEQYKCZImiZPyLGQBGRYDd2ViMRIwEAYKCZImiZPyLGQBGRYCZGUw
HhcNMTUxMTI5MjEwNjQ4WhcNMTYxMTI4MjEwNjQ4WjA+MRMwEQYDVQQDDAptLm51
ZXNzbGVyMRMwEQYKCZImiZPyLGQBGRYDd2ViMRIwEAYKCZImiZPyLGQBGRYCZGUw
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVwEy18KL+Ok5MZcKAFFZ7
aZqaPAjPIdA3M66ZXBtC+7uQ7QQ1HkfDwbCcKr6xSrgZHJ8ihPuYY/52pfx1Go7o
SOig3YircS8Vme8V7wZinEKax78vf1+eH91ZSRzb1UBqp/7xZKVSWpxj9t8dz3Ic
sRayHmnLz76QKUC7ULq14123haEV0sdA7LO0uET0phEjgjNS5OiNu9TFcfY3ZDsM
CU9ZmWmseGrAVo+Yfnd9BQvSK1+oKO/DFp0/e/SOY+cXceLGM4i1NU+Ws1D5HQMP
7Qk2LvsQBDnooQjZB8W4Ld0MH/iUFZ/uBtm//Udui3RRiDLP01MB0ZUMhLtUqmAB
AgMBAAGjdTBzMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBTg6ZtP
ZCRslilSTFeJXj2fk9mzGTAcBgNVHREEFTATgRFtLm51ZXNzbGVyQHdlYi5kZTAc
BgNVHRIEFTATgRFtLm51ZXNzbGVyQHdlYi5kZTANBgkqhkiG9w0BAQUFAAOCAQEA
fzOGAh0enoAL2PTMmWSvAkDOCJcKD7smdKPi4cewxR5HgrXAwKGKsVrLMV3hD0Ve
EptqLWAYfP0rTyNxZMvJNwwXERcZxdhx4lD0hUqPdCwRemuuZW1u5/f4VSBblNNy
WyyBdemPEcghp8e9TbE5OXYQlueNlJPgkZcsIdXTnY+2LOMvmt85dnhYa7ZOxcWj
kM+5Asfd6eElzCKVgB9z8NV+3HZ81owov3UtYMNv0W3QLpTFWYuof/LJ2Oo5CJTZ
Tl5nw9bomS8bIbvxbJQtwWLZKxswmsaoFMGrm7oPRveT6dt0go+3uj8yYmO3AzwI
GnGYLl7nD8BooOLzhXzPkQ==
-----END CERTIFICATE-----
5 changes: 4 additions & 1 deletion jekyll-asciinema.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.cert_chain = ['certs/mnuessler.pem']
spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/

spec.add_runtime_dependency "jekyll", ">= 2.0"

spec.add_development_dependency "bundler", "~> 1.9"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.2"
spec.add_development_dependency "pry"
spec.add_development_dependency "pry", "~> 0"
end

0 comments on commit a7d7817

Please sign in to comment.