lorca.gemspec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # -*- coding: utf-8 -*-
  2. # -*- frozen_string_literal: true -*-
  3. require "rbconfig"
  4. require_relative "./_expand_lib_path"
  5. require "lorca/version"
  6. require "lorca/doc"
  7. require "lorca/manifest"
  8. Gem::Specification.new do |g|
  9. g.name = Lorca::LorcaManifest.gem_name
  10. g.version = Lorca::LorcaVersion.dup
  11. g.authors = Lorca::LorcaManifest.authors
  12. g.email = Lorca::LorcaManifest.contact_emails
  13. g.summary = Lorca::LorcaDoc.summary
  14. g.description = Lorca::LorcaDoc.description
  15. g.homepage = Lorca::LorcaManifest.repo
  16. g.license = Lorca::LorcaManifest.license
  17. g.metadata = Lorca::LorcaManifest.metadata
  18. g.files = Lorca::LorcaManifest.files
  19. g.require_paths = Lorca::LorcaManifest.codebase
  20. g.test_files = Lorca::LorcaManifest.tests
  21. g.bindir = Lorca::LorcaManifest.bindir
  22. g.executables.<<(*Lorca::LorcaManifest.binstubs)
  23. g.extra_rdoc_files = Lorca::LorcaDoc.appendices
  24. g.rdoc_options = Lorca::LorcaDoc.build_options
  25. g.required_ruby_version = ">= 2.4"
  26. unless RbConfig::CONFIG["ruby_version"] >= "2.5"
  27. g.add_runtime_dependency "sysrandom", "~> 1.0", ">= 1.0.5"
  28. end
  29. g.add_runtime_dependency "clipboard", "~> 1.3", ">= 1.3.3"
  30. g.add_development_dependency "bundler", "~> 2.0", ">= 2.0.1"
  31. g.add_development_dependency "rake", "~> 12.3", ">= 12.3.2"
  32. g.add_development_dependency "hanna-nouveau", "~> 1.0", ">= 1.0.3"
  33. g.add_development_dependency "minitest", "~> 5.11", ">= 5.11.3"
  34. g.add_development_dependency "minitest-unordered", "~> 1.0", ">= 1.0.2"
  35. g.add_development_dependency "minitest-proveit", "~> 1.0", ">= 1.0.0"
  36. g.add_development_dependency "minitest-autotest", "~> 1.0", ">= 1.0.3"
  37. end