Sha256: e65024e86ebd4e430676dbebf7fca1797213ea22072e222804d20633ecb53e1d

Contents?: true

Size: 1.68 KB

Versions: 2

Compression:

Stored size: 1.68 KB

Contents

# (c) Copyright 2020 Ribose Inc.
#

require_relative "lib/jekyll/geolexica/version"

all_files_in_git = Dir.chdir(__dir__) { `git ls-files -z`.split("\x0") }

ribose_url = "https://open.ribose.com/"
github_url = "https://github.com/geolexica/geolexica-server"

Gem::Specification.new do |spec|
  spec.name          = "jekyll-geolexica"
  spec.version       = Jekyll::Geolexica::VERSION
  spec.authors       = ["Ribose Inc."]
  spec.email         = ["open.source@ribose.com"]

  spec.summary       = "Geolexica plugin for Jekyll"
  spec.homepage      = ribose_url
  spec.license       = "MIT"

  spec.metadata      = {
    "bug_tracker_uri"   => (github_url + "/issues"),
    "homepage_uri"      => ribose_url,
    "source_code_uri"   => github_url,
  }

  spec.files         = all_files_in_git.reject do |f|
    [
      f.match(%r{^(test|spec|features|.github)/}),
      f.match(%r{^\.}),
    ].any?
  end

  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  # Jekyll 4.1.0 adds some breaking changes which are reverted in 4.1.1.
  # I doubt we should be worried, but there is no good reason to allow them
  # either.
  # See: https://jekyllrb.com/news/2020/06/24/jekyll-4-1-1-released/
  spec.add_runtime_dependency "jekyll", ">= 3.8.5", "< 4.2", "!= 4.1.0"

  spec.add_runtime_dependency "jekyll-asciidoc"

  # Zeitwerk::Loader#push_dir supports :namespace argument from v. 2.4.
  spec.add_runtime_dependency "zeitwerk", "~> 2.4"

  spec.add_development_dependency "bundler", "~> 2.1"
  spec.add_development_dependency "pry"
  spec.add_development_dependency "rake", ">= 10"
  spec.add_development_dependency "rspec", "~> 3.9"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-geolexica-1.5.4 jekyll-geolexica.gemspec
jekyll-geolexica-1.5.3 jekyll-geolexica.gemspec