summaryrefslogtreecommitdiff
path: root/json-java.gemspec
blob: 87d8c87f5e1898523fa424a821efe5c0f86ec10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- encoding: utf-8 -*-

spec = Gem::Specification.new do |s|
  s.name = "json"
  s.version = File.read("VERSION").chomp

  s.summary = "JSON Implementation for Ruby"
  s.description = "A JSON implementation as a JRuby extension."
  s.licenses = ["Ruby"]
  s.author = "Daniel Luz"
  s.email = "dev+ruby@mernen.com"

  s.platform = 'java'

  s.files = Dir["lib/**/*", "LICENSE"]

  s.homepage = "https://flori.github.io/json"
  s.metadata = {
      'bug_tracker_uri'   => 'https://github.com/flori/json/issues',
      'changelog_uri'     => 'https://github.com/flori/json/blob/master/CHANGES.md',
      'documentation_uri' => 'https://flori.github.io/json/doc/index.html',
      'homepage_uri'      => s.homepage,
      'source_code_uri'   => 'https://github.com/flori/json',
      'wiki_uri'          => 'https://github.com/flori/json/wiki'
  }

  s.required_ruby_version = Gem::Requirement.new(">= 2.3")
end

if $0 == __FILE__
  Gem::Builder.new(spec).build
else
  spec
end