fotos.gemspec 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # frozen_string_literal: true
  2. require_relative "lib/fotos/version"
  3. Gem::Specification.new do |spec|
  4. spec.name = "fotos"
  5. spec.version = Fotos::VERSION
  6. spec.authors = ["Lukasz Badura"]
  7. spec.email = ["lb@badura.me"]
  8. spec.summary = "Static HTML gallery generator"
  9. spec.description = "Quickly create and deploy HTML gallery pages out of photo directories"
  10. spec.homepage = "https://src.niebo.net/lukasz/fotos"
  11. spec.license = "MIT"
  12. spec.required_ruby_version = ">= 2.6.0"
  13. spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
  14. spec.metadata["homepage_uri"] = spec.homepage
  15. spec.metadata["source_code_uri"] = spec.homepage
  16. spec.metadata["changelog_uri"] = spec.homepage
  17. # Specify which files should be added to the gem when it is released.
  18. # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  19. spec.files = Dir.chdir(__dir__) do
  20. `git ls-files -z`.split("\x0").reject do |f|
  21. (File.expand_path(f) == __FILE__) ||
  22. f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
  23. end
  24. end
  25. spec.bindir = "bin"
  26. spec.executables = "fotos"
  27. spec.require_paths = ["lib"]
  28. spec.add_dependency "image_science", "~> 1.3"
  29. spec.add_dependency "rubyzip", "~> 2.4"
  30. spec.add_dependency "rake", "~> 13.2"
  31. spec.add_dependency "ruby-vips", "~> 2.2"
  32. spec.add_dependency "logger"
  33. # For more information and examples about making a new gem, check out our
  34. # guide at: https://bundler.io/guides/creating_gem.html
  35. end