You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.4 KiB

  1. require_relative 'lib/merton_planning_formatter/version'
  2. Gem::Specification.new do |spec|
  3. spec.name = "merton_planning_formatter"
  4. spec.version = MertonPlanningFormatter::VERSION
  5. spec.authors = ["Adrian Short"]
  6. spec.email = ["adrian@adrianshort.org"]
  7. spec.summary = %q{Format Merton Council planning application descriptions/proposals nicely.}
  8. # spec.description = %q{TODO: Write a longer description or delete this line.}
  9. spec.homepage = "https://github.com/adrianshort/merton_planning_formatter"
  10. spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
  11. spec.licenses = ['LGPL-3.0']
  12. spec.metadata["homepage_uri"] = spec.homepage
  13. spec.metadata["source_code_uri"] = spec.homepage
  14. spec.metadata["changelog_uri"] = "https://github.com/adrianshort/merton_planning_formatter/blob/master/CHANGELOG.md"
  15. # Specify which files should be added to the gem when it is released.
  16. # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  17. spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
  18. `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  19. end
  20. spec.bindir = "exe"
  21. spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  22. spec.require_paths = ["lib"]
  23. spec.add_development_dependency "pry", "~> 0.11"
  24. spec.add_runtime_dependency "pragmatic_segmenter"
  25. end