oj-introspect 0.7.2 → 0.9.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/.gitlab-ci.yml +28 -0
- data/Gemfile.lock +8 -4
- data/ext/oj-introspect/introspect.c +1 -1
- data/lib/oj/introspect/version.rb +1 -1
- data/oj-introspect.gemspec +2 -2
- metadata +10 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c57db85661cdce8eaee43e2e3f410ff6d913c4fe3e87536e7508bcdb12b74947
|
|
4
|
+
data.tar.gz: b6e8333e8532d0d761932bb46116b56e2e2e72754908017bb4b54c06f725b802
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8d71693026dac82dd3ac9bd406d1f2f8ba43a0c6722482270196490683b328ebd7da78109040caf0b880b0e939b2b9a300bf304e8f7c5506d2136137b0b7f46
|
|
7
|
+
data.tar.gz: 1d15e64b5cd4fb2fdf993cc36447edc49f385a51eea265fd15708c4ed2076fa26c19f9b626651ee40f8ebfa790fe5fac208eb9ef04d17d3de22e3c1b53f12b03
|
data/.gitlab-ci.yml
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
include:
|
|
2
|
+
- component: gitlab.com/components/sast/sast@~latest
|
|
3
|
+
- component: gitlab.com/components/secret-detection/secret-detection@~latest
|
|
4
|
+
- component: gitlab.com/gitlab-org/components/gem-release/gem-release@~latest
|
|
5
|
+
- template: Security/Dependency-Scanning.gitlab-ci.yml # https://gitlab.com/gitlab-org/gitlab-foss/blob/master/lib/gitlab/ci/templates/Security/Dependency-Scanning.gitlab-ci.yml
|
|
6
|
+
|
|
7
|
+
variables:
|
|
8
|
+
RUBY_VERSION: "3.3"
|
|
9
|
+
|
|
10
|
+
default:
|
|
11
|
+
image: ruby:${RUBY_VERSION}
|
|
12
|
+
cache:
|
|
13
|
+
paths:
|
|
14
|
+
- vendor
|
|
15
|
+
tags:
|
|
16
|
+
- gitlab-org
|
|
17
|
+
|
|
18
|
+
.before_scripts: &before_scripts
|
|
19
|
+
- bundle install -j $(nproc)
|
|
20
|
+
- rake compile
|
|
21
|
+
|
|
22
|
+
rspec:
|
|
23
|
+
script:
|
|
24
|
+
- bundle exec rspec spec -f d -c
|
|
25
|
+
before_script: *before_scripts
|
|
26
|
+
parallel:
|
|
27
|
+
matrix:
|
|
28
|
+
- RUBY_VERSION: ["3.0", "3.1", "3.2", "3.3", "3.4"]
|
data/Gemfile.lock
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
oj-introspect (0.
|
|
5
|
-
oj (>= 3.
|
|
4
|
+
oj-introspect (0.9.0)
|
|
5
|
+
oj (>= 3.16.16)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
benchmark-ips (2.10.0)
|
|
11
|
+
bigdecimal (3.1.9)
|
|
11
12
|
coderay (1.1.3)
|
|
12
13
|
diff-lcs (1.5.0)
|
|
13
14
|
method_source (1.0.0)
|
|
14
|
-
oj (3.
|
|
15
|
+
oj (3.16.16)
|
|
16
|
+
bigdecimal (>= 3.0)
|
|
17
|
+
ostruct (>= 0.2)
|
|
18
|
+
ostruct (0.6.1)
|
|
15
19
|
pry (0.14.1)
|
|
16
20
|
coderay (~> 1.1)
|
|
17
21
|
method_source (~> 1.0)
|
|
@@ -44,4 +48,4 @@ DEPENDENCIES
|
|
|
44
48
|
rspec (~> 3.0)
|
|
45
49
|
|
|
46
50
|
BUNDLED WITH
|
|
47
|
-
2.
|
|
51
|
+
2.6.9
|
|
@@ -246,7 +246,7 @@ static VALUE rb_new_introspect_parser(int argc, VALUE *argv, VALUE self) {
|
|
|
246
246
|
|
|
247
247
|
VALUE oj_parser = oj_parser_new();
|
|
248
248
|
struct _ojParser *p;
|
|
249
|
-
|
|
249
|
+
TypedData_Get_Struct(oj_parser, struct _ojParser, &oj_parser_type, p);
|
|
250
250
|
|
|
251
251
|
init_introspect_parser(p, options);
|
|
252
252
|
|
data/oj-introspect.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
|
|
9
9
|
spec.summary = "Oj introspect parser."
|
|
10
10
|
spec.description = "Embeds start and end byte offsets of JSON objects into generated Ruby hashes."
|
|
11
|
-
spec.homepage = "https://
|
|
11
|
+
spec.homepage = "https://gitlab.com/gitlab-org/ruby/gems/oj-introspect"
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
|
14
14
|
|
|
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
|
|
|
24
24
|
spec.require_paths = ["lib"]
|
|
25
25
|
spec.extensions = ["ext/oj-introspect/extconf.rb"]
|
|
26
26
|
|
|
27
|
-
spec.add_dependency "oj", ">=3.
|
|
27
|
+
spec.add_dependency "oj", ">=3.16.16"
|
|
28
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oj-introspect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mehmet Emin INAC
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oj
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.
|
|
19
|
+
version: 3.16.16
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - ">="
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.
|
|
26
|
+
version: 3.16.16
|
|
27
27
|
description: Embeds start and end byte offsets of JSON objects into generated Ruby
|
|
28
28
|
hashes.
|
|
29
29
|
email:
|
|
@@ -34,6 +34,7 @@ extensions:
|
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
36
|
- ".gitignore"
|
|
37
|
+
- ".gitlab-ci.yml"
|
|
37
38
|
- ".rspec"
|
|
38
39
|
- CODE_OF_CONDUCT.md
|
|
39
40
|
- Gemfile
|
|
@@ -51,11 +52,11 @@ files:
|
|
|
51
52
|
- lib/oj/introspect.rb
|
|
52
53
|
- lib/oj/introspect/version.rb
|
|
53
54
|
- oj-introspect.gemspec
|
|
54
|
-
homepage: https://
|
|
55
|
+
homepage: https://gitlab.com/gitlab-org/ruby/gems/oj-introspect
|
|
55
56
|
licenses:
|
|
56
57
|
- MIT
|
|
57
58
|
metadata: {}
|
|
58
|
-
post_install_message:
|
|
59
|
+
post_install_message:
|
|
59
60
|
rdoc_options: []
|
|
60
61
|
require_paths:
|
|
61
62
|
- lib
|
|
@@ -70,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
71
|
- !ruby/object:Gem::Version
|
|
71
72
|
version: '0'
|
|
72
73
|
requirements: []
|
|
73
|
-
rubygems_version: 3.
|
|
74
|
-
signing_key:
|
|
74
|
+
rubygems_version: 3.5.22
|
|
75
|
+
signing_key:
|
|
75
76
|
specification_version: 4
|
|
76
77
|
summary: Oj introspect parser.
|
|
77
78
|
test_files: []
|