Skip to content

Commit

Permalink
Stop signing gem [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Mar 22, 2014
1 parent 78137af commit 419016b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 47 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ Ruby wrapper for the RubyGems.org API.
## Installation
gem install gems

To ensure the code you're installing hasn't been tampered with, it's
recommended that you verify the signature. To do this, you need to add my
public key as a trusted certificate (you only need to do this once):

gem cert --add <(curl -Ls https://raw.github.com/rubygems/gems/master/certs/sferik.pem)

Then, install the gem with the high security trust policy:

gem install gems -P HighSecurity

## Documentation
[http://rdoc.info/gems/gems](http://rdoc.info/gems/gems)

Expand Down
20 changes: 0 additions & 20 deletions certs/sferik.pem

This file was deleted.

32 changes: 15 additions & 17 deletions gems.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'gems/version'

Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober']
spec.cert_chain = ['certs/sferik.pem']
spec.description = %q{Ruby wrapper for the RubyGems.org API}
spec.email = ['[email protected]']
spec.files = `git ls-files`.split("\n")
spec.files = %w(.yardopts CONTRIBUTING.md LICENSE.md README.md Rakefile gems.gemspec)
spec.files += Dir.glob('lib/**/*.rb')
spec.files += Dir.glob('spec/**/*')
spec.homepage = 'https://github.com/rubygems/gems'
spec.licenses = ['MIT']
spec.name = 'gems'
spec.require_paths = ['lib']
spec.signing_key = File.expand_path('~/.gem/private_key.pem') if $PROGRAM_NAME =~ /gem\z/
spec.summary = spec.description
spec.test_files = Dir.glob('spec/**/*')
spec.version = Gems::VERSION
spec.add_dependency 'json', '~> 1.8'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ['Erik Michaels-Ober']
spec.description = %q(Ruby wrapper for the RubyGems.org API)
spec.email = ['[email protected]']
spec.files = %w(.yardopts CONTRIBUTING.md LICENSE.md README.md Rakefile gems.gemspec)
spec.files = `git ls-files`.split("\n")
spec.files += Dir.glob('lib/**/*.rb')
spec.files += Dir.glob('spec/**/*')
spec.homepage = 'https://github.com/rubygems/gems'
spec.licenses = %w(MIT)
spec.name = 'gems'
spec.require_paths = %w(lib)
spec.summary = spec.description
spec.test_files = Dir.glob('spec/**/*')
spec.version = Gems::VERSION
end

0 comments on commit 419016b

Please sign in to comment.