summaryrefslogtreecommitdiff
path: root/json-java.gemspec
blob: 259b908cef78318f3f8dbaae534f1fdbe1c0ee8e (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
35
36
37
38
# -*- 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["{docs,lib,tests}/**/*", "LICENSE"]

  s.homepage = "http://flori.github.com/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' => 'http://flori.github.io/json/doc/index.html',
      'homepage_uri'      => 'http://flori.github.io/json/',
      '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")
  s.test_files = ["tests/test_helper.rb"]

  s.add_development_dependency "rake"
  s.add_development_dependency "test-unit"
end

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