Sha256: dd1eeea80a99826a60fbf663dcc05862e154d6000fcd4602c1e59799bb36207f

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 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/jekyll-geolexica"

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.3", "!= 4.1.0"
  spec.add_runtime_dependency "jbuilder"

  spec.add_runtime_dependency "jekyll-asciidoc"
  # Pin logger to <= 1.5.3 due to incompatibility of logger 1.6.0 with Jekyll 4.3.2
  spec.add_runtime_dependency "logger", "<= 1.5.3"
  spec.add_runtime_dependency "relaton"

  # 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

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-geolexica-1.8.15 jekyll-geolexica.gemspec