-
Notifications
You must be signed in to change notification settings - Fork 334
/
json_pure.gemspec
56 lines (52 loc) · 2.01 KB
/
json_pure.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
/^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1
end rescue nil
Gem::Specification.new do |s|
s.name = "json_pure".freeze
s.version = version
s.summary = "JSON Implementation for Ruby".freeze
s.description = "This is a JSON implementation in pure Ruby.".freeze
s.licenses = ["Ruby".freeze]
s.authors = ["Florian Frank".freeze]
s.email = "flori@ping.de".freeze
s.extra_rdoc_files = ["README.md".freeze]
s.rdoc_options = ["--title".freeze, "JSON implementation for ruby".freeze, "--main".freeze, "README.md".freeze]
s.files = [
"CHANGES.md".freeze,
"LICENSE".freeze,
"README.md".freeze,
"json_pure.gemspec".freeze,
"lib/json.rb".freeze,
"lib/json/add/bigdecimal.rb".freeze,
"lib/json/add/complex.rb".freeze,
"lib/json/add/core.rb".freeze,
"lib/json/add/date.rb".freeze,
"lib/json/add/date_time.rb".freeze,
"lib/json/add/exception.rb".freeze,
"lib/json/add/ostruct.rb".freeze,
"lib/json/add/range.rb".freeze,
"lib/json/add/rational.rb".freeze,
"lib/json/add/regexp.rb".freeze,
"lib/json/add/set.rb".freeze,
"lib/json/add/struct.rb".freeze,
"lib/json/add/symbol.rb".freeze,
"lib/json/add/time.rb".freeze,
"lib/json/common.rb".freeze,
"lib/json/ext.rb".freeze,
"lib/json/generic_object.rb".freeze,
"lib/json/pure.rb".freeze,
"lib/json/pure/generator.rb".freeze,
"lib/json/pure/parser.rb".freeze,
"lib/json/version.rb".freeze,
]
s.homepage = "https://flori.github.io/json".freeze
s.metadata = {
'bug_tracker_uri' => 'https://github.com/flori/json/issues',
'changelog_uri' => 'https://github.com/flori/json/blob/master/CHANGES.md',
'documentation_uri' => 'https://flori.github.io/json/doc/index.html',
'homepage_uri' => s.homepage,
'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".freeze)
end