stun-client.gemspec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. require_relative 'lib/stun-client/module'
  2. # rubocop:disable Layout/FirstArrayElementIndentation
  3. # rubocop:disable Layout/FirstHashElementIndentation
  4. Gem::Specification.new do |spec|
  5. spec.name = 'stun-client'
  6. spec.version = StunClient::VERSION
  7. spec.summary = 'Library to act with STUN servers.'
  8. spec.description = <<DESCRIPTION.strip.tr("\n", ' ')
  9. Library to act with STUN servers. It implements RFC3489 ("classic" STUN). It
  10. has no authentication methods against STUN servers. It includes functions to
  11. request STUN servers. Furthermore there is the possibility to detect the NAT
  12. type.
  13. DESCRIPTION
  14. spec.authors = ['Marek Küthe']
  15. spec.email = 'm.k@mk16.de'
  16. spec.files = [
  17. 'lib/stun-client/generic/client.rb',
  18. 'lib/stun-client/generic/errors.rb',
  19. 'lib/stun-client/generic/utilities.rb',
  20. 'lib/stun-client/rfc3489/client.rb',
  21. 'lib/stun-client/rfc3489/message.rb',
  22. 'lib/stun-client/rfc3489/discovery/nat.rb',
  23. 'lib/stun-client/rfc3489/discovery/lifetime.rb',
  24. 'lib/stun-client/module.rb'
  25. ]
  26. spec.extra_rdoc_files = [
  27. 'LICENSE',
  28. 'README.md'
  29. ]
  30. spec.homepage = 'https://codeberg.org/mark22k/stun-client'
  31. spec.license = 'GPL-3.0-or-later'
  32. spec.metadata = {
  33. 'source_code_uri' => 'https://codeberg.org/mark22k/stun-client',
  34. 'bug_tracker_uri' => 'https://codeberg.org/mark22k/stun-client/issues',
  35. 'rubygems_mfa_required' => 'true'
  36. }
  37. spec.required_ruby_version = '>= 3.1.1'
  38. spec.add_runtime_dependency 'bindata', '~> 2.4', '>= 2.4.15'
  39. end
  40. # rubocop:enable Layout/FirstArrayElementIndentation
  41. # rubocop:enable Layout/FirstHashElementIndentation