Skip to content

Commit b86775b

Browse files
Merge pull request #2082 from vimalk78/add-oj
LOG-1157: Added Oj parser for json parsing
2 parents f23e9dd + 1710a1f commit b86775b

File tree

182 files changed

+43065
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

182 files changed

+43065
-0
lines changed

fluentd/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ gem 'fluent-plugin-remote-syslog'
1616
gem 'fluent-plugin-prometheus'
1717
gem 'fluent-plugin-splunk-hec'
1818
gem 'typhoeus'
19+
gem 'oj'
20+
gem 'bigdecimal'
1921

2022
#Below gem(and two of its dependencies) are moved to O_A_L/fluentd/lib, but its dependencies still exist in O_A_L/fluentd/vendored_gem_src/
2123
#gem 'fluent-plugin-remote_syslog', '1.0.0'

fluentd/Gemfile.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ GEM
1515
jmespath (~> 1.0)
1616
aws-sigv4 (1.2.2)
1717
aws-eventstream (~> 1, >= 1.0.2)
18+
bigdecimal (3.0.0)
1819
concurrent-ruby (1.1.6)
1920
connection_pool (2.2.3)
2021
cool.io (1.6.0)
@@ -126,6 +127,7 @@ GEM
126127
net-http-persistent (3.1.0)
127128
connection_pool (~> 2.2)
128129
netrc (0.11.0)
130+
oj (3.11.3)
129131
prometheus-client (0.9.0)
130132
quantile (~> 0.2.1)
131133
public_suffix (4.0.5)
@@ -163,6 +165,7 @@ PLATFORMS
163165
ruby
164166

165167
DEPENDENCIES
168+
bigdecimal
166169
elasticsearch
167170
elasticsearch-api
168171
elasticsearch-transport
@@ -180,6 +183,7 @@ DEPENDENCIES
180183
fluent-plugin-splunk-hec
181184
fluent-plugin-systemd
182185
fluentd (= 1.7.4)!
186+
oj
183187
rake
184188
typhoeus
185189
uuidtools (= 2.1.5)

fluentd/rh-manifest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jmespath 1.4.0 http://github.com/trevorrowe/jmespath.rb
2020
jsonpath 1.0.5 https://github.com/joshbuddy/jsonpath
2121
ltsv 0.1.2 https://github.com/condor/ltsv
2222
rubygem-addressable 2.7.0 https://github.com/sporkmonger/addressable
23+
rubygem-bigdecimal 3.0.0 https://github.com/ruby/bigdecimal
2324
rubygem-concurrent-ruby 1.1.6 http://www.concurrent-ruby.com
2425
rubygem-connection_pool 2.2.3 https://github.com/mperham/connection_pool
2526
rubygem-cool.io 1.6.0 http://coolio.github.com
@@ -52,6 +53,7 @@ rubygem-multi_json 1.15.0 https://github.com/intridea/multi_json
5253
rubygem-multipart-post 2.1.1 https://github.com/nicksieger/multipart-post
5354
rubygem-net-http-persistent 3.1.0 http://docs.seattlerb.org/net-http-persistent
5455
rubygem-netrc 0.11.0 https://github.com/geemus/netrc
56+
rubygem-oj 3.11.3 http://www.ohler.com/oj
5557
rubygem-prometheus-client 0.9.0 https://github.com/prometheus/client_ruby
5658
rubygem-public_suffix 4.0.5 https://simonecarletti.com/code/publicsuffix-ruby
5759
rubygem-quantile 0.2.1 http://github.com/matttproud/ruby_quantile_estimation
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# coding: utf-8
2+
3+
bigdecimal_version = '3.0.0'
4+
5+
Gem::Specification.new do |s|
6+
s.name = "bigdecimal"
7+
s.version = bigdecimal_version
8+
s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
9+
s.email = ["[email protected]"]
10+
11+
s.summary = "Arbitrary-precision decimal floating-point number library."
12+
s.description = "This library provides arbitrary-precision decimal floating-point number class."
13+
s.homepage = "https://github.com/ruby/bigdecimal"
14+
s.license = "Ruby"
15+
16+
s.require_paths = %w[lib]
17+
s.extensions = %w[ext/bigdecimal/extconf.rb]
18+
s.files = %w[
19+
bigdecimal.gemspec
20+
ext/bigdecimal/bigdecimal.c
21+
ext/bigdecimal/bigdecimal.h
22+
lib/bigdecimal.rb
23+
lib/bigdecimal/jacobian.rb
24+
lib/bigdecimal/ludcmp.rb
25+
lib/bigdecimal/math.rb
26+
lib/bigdecimal/newton.rb
27+
lib/bigdecimal/util.rb
28+
sample/linear.rb
29+
sample/nlsolve.rb
30+
sample/pi.rb
31+
]
32+
33+
s.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
34+
35+
s.add_development_dependency "rake", ">= 12.3.3"
36+
s.add_development_dependency "rake-compiler", ">= 0.9"
37+
s.add_development_dependency "minitest", "< 5.0.0"
38+
s.add_development_dependency "pry"
39+
end

0 commit comments

Comments
 (0)