-
Notifications
You must be signed in to change notification settings - Fork 17
/
wisper-rspec.gemspec
27 lines (23 loc) · 1000 Bytes
/
wisper-rspec.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'wisper/rspec/version'
Gem::Specification.new do |spec|
spec.name = "wisper-rspec"
spec.version = Wisper::Rspec::VERSION
spec.authors = ["Kris Leech"]
spec.email = ["[email protected]"]
spec.summary = "Rspec matchers and stubbing for Wisper"
spec.description = "Rspec matchers and stubbing for Wisper"
spec.homepage = "https://github.com/krisleech/wisper-rspec"
spec.license = "MIT"
spec.files = Dir.glob("{bin,lib}/**/*") + %w[LICENSE.txt README.md CHANGELOG.md]
spec.require_paths = ["lib"]
signing_key = File.expand_path(ENV['HOME'].to_s + '/.ssh/gem-private_key.pem')
if File.exist?(signing_key)
spec.signing_key = signing_key
spec.cert_chain = ['gem-public_cert.pem']
else
puts "Warning: NOT CREATING A SIGNED GEM. Could not find signing key: #{signing_key}"
end
end