forked from ohler55/oj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
oj.gemspec
37 lines (32 loc) · 1.47 KB
/
oj.gemspec
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
# frozen_string_literal: true
require 'date'
require File.join(File.dirname(__FILE__), 'lib/oj/version')
Gem::Specification.new do |s|
s.name = 'oj'
s.version = Oj::VERSION
s.authors = 'Peter Ohler'
s.email = '[email protected]'
s.homepage = 'http://www.ohler.com/oj'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/ohler55/oj/issues',
'changelog_uri' => 'https://github.com/ohler55/oj/blob/master/CHANGELOG.md',
'documentation_uri' => 'http://www.ohler.com/oj/doc/index.html',
'homepage_uri' => 'http://www.ohler.com/oj/',
'source_code_uri' => 'https://github.com/ohler55/oj',
'wiki_uri' => 'https://github.com/ohler55/oj/wiki',
'rubygems_mfa_required' => 'true'
}
s.summary = 'A fast JSON parser and serializer.'
s.description = 'The fastest JSON parser and object serializer.'
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.7'
s.files = Dir['{lib,ext,test}/**/*.{rb,h,c}'] + ['LICENSE', 'README.md', 'CHANGELOG.md', 'RELEASE_NOTES.md'] + Dir['pages/*.md']
s.extensions = ['ext/oj/extconf.rb']
s.extra_rdoc_files = ['README.md', 'LICENSE', 'CHANGELOG.md', 'RELEASE_NOTES.md'] + Dir['pages/*.md']
s.rdoc_options = ['--title', 'Oj', '--main', 'README.md']
s.add_runtime_dependency 'bigdecimal', '>= 3.0'
s.add_runtime_dependency 'ostruct', '>= 0.2'
s.add_development_dependency 'minitest', '~> 5'
s.add_development_dependency 'rake-compiler', '>= 0.9', '< 2.0'
s.add_development_dependency 'test-unit', '~> 3.0'
end