diff --git a/web-push.gemspec b/web-push.gemspec index ea408a5..8eec2f8 100644 --- a/web-push.gemspec +++ b/web-push.gemspec @@ -1,21 +1,16 @@ -lib = File.expand_path('lib', __dir__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'web_push/version' +require_relative 'lib/web_push/version' Gem::Specification.new do |spec| - spec.name = 'web-push' - spec.version = WebPush::VERSION - spec.authors = ['zaru@sakuraba'] - spec.email = ['zarutofu@gmail.com'] + spec.name = 'web-push' + spec.version = WebPush::VERSION + spec.authors = ['zaru', 'collimarco'] + spec.email = ['support@pushpad.xyz'] - spec.summary = 'Encryption Utilities for Web Push payload. ' - spec.homepage = 'https://github.com/zaru/webpush' + spec.summary = 'Web Push library for Ruby (RFC8030)' + spec.homepage = 'https://github.com/pushpad/web-push' + + spec.files = `git ls-files`.split("\n") - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.bindir = 'exe' - spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.require_paths = ['lib'] - spec.required_ruby_version = '>= 2.2' spec.add_dependency 'hkdf', '~> 0.2'