-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoj_windows.gemspec
More file actions
35 lines (30 loc) · 1.62 KB
/
oj_windows.gemspec
File metadata and controls
35 lines (30 loc) · 1.62 KB
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
# frozen_string_literal: true
require 'date'
require File.join(File.dirname(__FILE__), 'lib/oj_windows/version')
Gem::Specification.new do |s|
s.name = 'oj_windows'
s.version = Oj::VERSION
s.authors = ['tigel']
s.email = 'tigel-agm@tigel.com'
s.homepage = 'https://github.com/tigel-agm/oj_windows'
s.metadata = {
'bug_tracker_uri' => 'https://github.com/tigel-agm/oj_windows/issues',
'changelog_uri' => 'https://github.com/tigel-agm/oj_windows/blob/main/CHANGELOG.md',
'documentation_uri' => 'https://github.com/tigel-agm/oj_windows/blob/main/README.md',
'source_code_uri' => 'https://github.com/tigel-agm/oj_windows',
'rubygems_mfa_required' => 'true'
}
s.summary = 'High-performance JSON parser for Windows MSVC Ruby'
s.description = 'oj_windows is a Windows-exclusive fork of the Oj gem, optimized for Ruby compiled with MSVC (Visual Studio). Provides fast JSON parsing/serialization with full Rails and JSON gem compatibility. Requires Ruby 3.4+ built with MSVC toolchain.'
s.licenses = ['MIT']
s.required_ruby_version = '>= 3.4'
s.files = Dir['{lib,ext}/**/*.{rb,h,c}'] + ['LICENSE', 'README.md', 'CHANGELOG.md'] + Dir['pages/*.md']
s.extensions = ['ext/oj_windows/extconf.rb']
s.extra_rdoc_files = ['README.md', 'LICENSE', 'CHANGELOG.md'] + Dir['pages/*.md']
s.rdoc_options = ['--title', 'oj_windows', '--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