blob: 0a8e210d3e57a20164b111c85d30c2a047e53381 (
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
|
require File.dirname(__FILE__) + '/constants'
Gem::Specification.new do |s|
s.name = 'json'
s.version = PKG_VERSION
s.summary = PKG_TITLE
s.description = "This is a JSON implementation as a Ruby extension in C."
s.files = PKG_FILES
s.extensions = Dir.glob('ext/**/extconf.rb')
s.require_path = EXT_ROOT_DIR
s.require_paths << 'ext'
s.require_paths << 'lib'
s.bindir = "bin"
s.executables = [ "edit_json.rb", "prettify_json.rb" ]
s.default_executable = "edit_json.rb"
s.has_rdoc = true
s.extra_rdoc_files << 'README'
s.rdoc_options <<
'--title' << 'JSON implemention for Ruby' << '--main' << 'README'
s.test_files.concat Dir['./tests/test_*.rb']
s.author = "Florian Frank"
s.email = "flori@ping.de"
s.homepage = "http://flori.github.com/#{PKG_NAME}"
s.rubyforge_project = "json"
end
|