/
oj.gemspec
32 lines (24 loc) · 1.03 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
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.date = Date.today.to_s
s.email = "peter@ohler.com"
s.homepage = "https://github.com/ohler55/oj"
s.summary = "A fast JSON parser and serializer."
s.description = %{A fast JSON parser and object serializer that uses only standard C lib.
Optimized JSON (Oj), as the name implies was written to provide speed optimized
JSON handling. It was designed to be an alternative to Yajl and other Ruby
JSON parsers and as an alternative to Marshal for Object serialization. }
# s.files = Dir["{lib,ext,test}/**/*.{rb,h,c}"] + ['LICENSE', 'README.md']
s.files = Dir["{lib,ext}/**/*.{rb,h,c}"] + ['LICENSE', 'README.md']
s.extensions = ["ext/oj/extconf.rb"]
# s.executables = []
s.require_paths = ["lib", "ext"]
s.has_rdoc = true
s.extra_rdoc_files = ['README.md']
s.rdoc_options = ['--main', 'README.md']
s.rubyforge_project = 'oj'
end