Skip to content

Commit

Permalink
Sign the gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Jul 18, 2016
1 parent 29ff36b commit 4f3234c
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions certs/parndt.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z
MREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixkARkWBWFybmR0MRIwEAYK
CZImiZPyLGQBGRYCaW8wHhcNMTYwNjEwMDMwNjQyWhcNMTcwNjEwMDMwNjQyWjBN
MQ0wCwYDVQQDDARnZW1zMREwDwYKCZImiZPyLGQBGRYBcDEVMBMGCgmSJomT8ixk
ARkWBWFybmR0MRIwEAYKCZImiZPyLGQBGRYCaW8wggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQDMLLiiRX/NrRDQxcNO/bPNe51IhKeyACDjTTx0VGCG696t
qdD23FjUrAYuQTW5P7Auh9qdcCnvPHJSwf31m+EGTshy/hcNYz2k/mrbwAfdytv3
GAR+sFnMYtWvVQNeHBWXIaYMiSDP0WtbT6QqQx3SuA6ZpXNXD1dbm64MzHgMHqXP
uHnLf2s0VCnTLorPH2J6CO5Y+Sx+IBqJi9/nO2oEEIXQCQRLgRevHk+TovDisW5V
OMEPX7fo29R5J2T7mjkNLGJ5Ae1KiU9A60LsMco37HMWE8DM90pg1ues5tg6MfJT
yuX4N0rJWdIC5ciHDsyJ4pi21s8fdUulk0YmJALDAgMBAAGjcTBvMAkGA1UdEwQC
MAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSqXg48+kmcdOxIrkZhhgSV1flD1jAa
BgNVHREEEzARgQ9nZW1zQHAuYXJuZHQuaW8wGgYDVR0SBBMwEYEPZ2Vtc0BwLmFy
bmR0LmlvMA0GCSqGSIb3DQEBBQUAA4IBAQBSSS4nOXpPPMdAK4ApGHxbzS+/u77p
V8gLBJX4hKMpbMNmdI+n6YsqvG6kMljgYBamucfrAkKdmHWn9ydST3o8RQAcYxS8
bz49gD3c4Nm4P6eEVKFmebO9/MoiM7rMb0lk/xH1drtey/9ulohrg8Dz+BoQJ+9T
m2lJzojOU7w461lPVZtKlDlseu68KvEQ2AdUBBa1b6w3S/EFkcdhErOT7dyQpePI
+wsbjPvdIWsjWQMn6MasZYIVTnenwP2jg+z9HSNxW0NL2vZx8VabpsWGWfrb+koj
rE1h12GTgwaC3r9FOkdnSpClgPYAzTTCJ8kD74qO2zC9pGegrUXdWFM6
-----END CERTIFICATE-----
5 changes: 5 additions & 0 deletions core/refinerycms-core.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ Gem::Specification.new do |s|
s.add_dependency 'decorators', '~> 2.0.0'
s.add_dependency 'zilch-authorisation'
s.add_dependency 'bootstrap', '~> 4.0.0.alpha3'

s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end
5 changes: 5 additions & 0 deletions images/refinerycms-images.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ Gem::Specification.new do |s|
s.add_dependency 'refinerycms-core', version

s.required_ruby_version = Refinery::Version.required_ruby_version

s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end
5 changes: 5 additions & 0 deletions pages/refinerycms-pages.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ Gem::Specification.new do |s|
s.add_dependency 'diffy', '~> 3.1.0'

s.required_ruby_version = Refinery::Version.required_ruby_version

s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end
5 changes: 5 additions & 0 deletions refinerycms.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ Gem::Specification.new do |s|
s.add_dependency 'refinerycms-pages', version
s.add_dependency 'refinerycms-resources', version
s.required_ruby_version = Refinery::Version.required_ruby_version

s.cert_chain = [File.expand_path("../certs/parndt.pem", __FILE__)]
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end
5 changes: 5 additions & 0 deletions resources/refinerycms-resources.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ Gem::Specification.new do |s|
s.add_dependency 'refinerycms-core', version

s.required_ruby_version = Refinery::Version.required_ruby_version

s.cert_chain = [File.expand_path("../../certs/parndt.pem", __FILE__)]
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end
5 changes: 5 additions & 0 deletions testing/refinerycms-testing.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ Gem::Specification.new do |s|
s.add_dependency 'capybara', '~> 2.4.3'

s.required_ruby_version = Refinery::Version.required_ruby_version

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

0 comments on commit 4f3234c

Please sign in to comment.