File: json-java.gemspec

package info (click to toggle)
ruby-json 2.6.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,028 kB
  • sloc: ansic: 4,527; ruby: 3,852; java: 3,183; sh: 37; makefile: 11
file content (34 lines) | stat: -rw-r--r-- 996 bytes parent folder | download
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 = "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")
end

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