fast_jsonparser 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +7 -6
- data/CHANGELOG.md +2 -0
- data/Gemfile.lock +7 -6
- data/README.md +1 -1
- data/ext/fast_jsonparser/extconf.rb +1 -1
- data/lib/fast_jsonparser/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d87b77e2dd63a557d8a32fdf47c962a52476aa921e981dd0120a3d57a5873453
|
4
|
+
data.tar.gz: b859d5d018cb9b7ce88d1bf6fe662ebf80dfbf57f5aed831e1fc22059dde0ceb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3c9ef4836bfae90bb7cfce534a108cd102c621c90a23cd783bacbf65bfe830b863eebb89ee92abf26549b954c247857f32f3d00b44f1e0c37b327393b69161d
|
7
|
+
data.tar.gz: acc8fca8c8110f4f6c88b74cad2a73357d0664db214b8fed5ca3503f0c3290f528d394c9d7abedf6c677ec1f5608667358ec56f0995fa7aa7ce8ada060ddbfcd
|
data/.github/workflows/ruby.yml
CHANGED
@@ -17,16 +17,17 @@ jobs:
|
|
17
17
|
test:
|
18
18
|
|
19
19
|
runs-on: ubuntu-latest
|
20
|
+
|
21
|
+
strategy:
|
22
|
+
matrix:
|
23
|
+
ruby-version: [3.0.1, 2.7.3, 2.6.7, 2.6.5]
|
20
24
|
|
21
25
|
steps:
|
22
26
|
- uses: actions/checkout@v2
|
23
|
-
- name: Set up Ruby
|
24
|
-
|
25
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
26
|
-
# uses: ruby/setup-ruby@v1
|
27
|
-
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
|
27
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
28
|
+
uses: ruby/setup-ruby@v1
|
28
29
|
with:
|
29
|
-
ruby-version:
|
30
|
+
ruby-version: ${{ matrix.ruby-version }}
|
30
31
|
- name: Install dependencies
|
31
32
|
run: bundle install
|
32
33
|
- name: Compile
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# 0.6.0
|
2
|
+
* Fix performance on Ruby 3.0 [Issue #20](https://github.com/anilmaurya/fast_jsonparser/issues/20), thanks to [Watson1978](https://github.com/Watson1978)
|
1
3
|
# 0.5.0
|
2
4
|
* Handle concurrent use of the parser in [Issue #15](https://github.com/anilmaurya/fast_jsonparser/pull/15), thanks to [casperisfine](https://github.com/casperisfine)
|
3
5
|
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fast_jsonparser (0.
|
4
|
+
fast_jsonparser (0.5.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
minitest (5.14.
|
10
|
-
oj (3.
|
11
|
-
rake (13.0.
|
12
|
-
rake-compiler (1.1.
|
9
|
+
minitest (5.14.4)
|
10
|
+
oj (3.11.7)
|
11
|
+
rake (13.0.3)
|
12
|
+
rake-compiler (1.1.1)
|
13
13
|
rake
|
14
14
|
yajl-ruby (1.4.1)
|
15
15
|
|
16
16
|
PLATFORMS
|
17
17
|
ruby
|
18
|
+
x86_64-linux
|
18
19
|
|
19
20
|
DEPENDENCIES
|
20
21
|
bundler (~> 2.0)
|
@@ -26,4 +27,4 @@ DEPENDENCIES
|
|
26
27
|
yajl-ruby
|
27
28
|
|
28
29
|
BUNDLED WITH
|
29
|
-
2.
|
30
|
+
2.2.3
|
data/README.md
CHANGED
@@ -132,7 +132,7 @@ FastJsonparser.parse("123: 1") # FastJsonparser::ParseError (parse error)
|
|
132
132
|
|
133
133
|
`FastJsonparser` behaves mostly like stdlib's `JSON`, but there are a few corner cases:
|
134
134
|
|
135
|
-
- `FastJsonparser` will use symbols for hash keys by default. You can pass `
|
135
|
+
- `FastJsonparser` will use symbols for hash keys by default. You can pass `symbolize_keys: false` to have strings instead like `JSON`.
|
136
136
|
- `FastJsonparser` will raise on integers outside of the 64bits range (`-9223372036854775808..18446744073709551615`), `JSON` will parse them fine.
|
137
137
|
- `FastJsonparser` will raise on invalid string escapings (`"\x15"`), `JSON` will often handle some of them.
|
138
138
|
- `FastJsonparser` will raise on `/**/` comments. `JSON` will sometimes ignore them, sometimes raise.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_jsonparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anil Maurya
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.2.22
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Fast Json Parser
|