oj-introspect 0.7.0 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/ext/oj-introspect/extconf.rb +16 -0
- data/ext/oj-introspect/oj.sym +3 -0
- data/lib/oj/introspect/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3580745638644530947070ce26315b0fbff712b1eb432ab400c21bc7c0c2ea10
|
4
|
+
data.tar.gz: a0ed502b5d573ef2dd851684c04f9545a98b0855216e931c92a2be78924d2c73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4885e5a949e2e978fb48b7c9f3e7dff4c22eb786baa069c78bb6861c542503b78bbc536d8185566bbad296fc8f51720a89f011c7b34f63dabe27deb8489c78f4
|
7
|
+
data.tar.gz: ce3f9f5f42fe8f4592dc88072d0c7ce6d621327e76cfbb88ff2c21ed2d5f367825b21f19b0ead99b4e5e12bbabbbb68cbb2c66962527483cfb2f4dcde2de45ca
|
data/Gemfile.lock
CHANGED
@@ -7,6 +7,22 @@ oj_version_file_path = Pathname.new(oj_version_file)
|
|
7
7
|
|
8
8
|
OJ_HEADERS = oj_version_file_path.join('..', '..', '..', 'ext', 'oj').to_s
|
9
9
|
|
10
|
+
cc_version = `#{RbConfig.expand("$(CC) --version".dup)}`
|
11
|
+
if cc_version.match?(/clang/i) && RUBY_PLATFORM =~ /darwin/
|
12
|
+
# Ignore symbols loaded from Oj in case Ruby is compiled without
|
13
|
+
# "-Wl,-undefined,dynamic_lookup" (related to https://bugs.ruby-lang.org/issues/19005)
|
14
|
+
symfile = File.join(__dir__, 'oj.sym')
|
15
|
+
dynamic_symbols = File.readlines(symfile)
|
16
|
+
dynamic_symbols.each do |sym|
|
17
|
+
$DLDFLAGS << " -Wl,-U,#{sym.strip}"
|
18
|
+
end
|
19
|
+
|
20
|
+
# Needed for Ruby 3.2 ABI check: https://github.com/ruby/ruby/pull/5474
|
21
|
+
if RUBY_VERSION >= "3.2" && RUBY_PATCHLEVEL < 0
|
22
|
+
$LDFLAGS << " -Wl,-exported_symbol,_ruby_abi_version"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
10
26
|
dir_config('oj', [OJ_HEADERS], [])
|
11
27
|
|
12
28
|
create_makefile("oj/introspect/introspect_ext")
|
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.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mehmet Emin INAC
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -47,6 +47,7 @@ files:
|
|
47
47
|
- bin/test_run
|
48
48
|
- ext/oj-introspect/extconf.rb
|
49
49
|
- ext/oj-introspect/introspect.c
|
50
|
+
- ext/oj-introspect/oj.sym
|
50
51
|
- lib/oj/introspect.rb
|
51
52
|
- lib/oj/introspect/version.rb
|
52
53
|
- oj-introspect.gemspec
|
@@ -69,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
70
|
- !ruby/object:Gem::Version
|
70
71
|
version: '0'
|
71
72
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
73
|
+
rubygems_version: 3.3.26
|
73
74
|
signing_key:
|
74
75
|
specification_version: 4
|
75
76
|
summary: Oj introspect parser.
|