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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8344e4ea03bb224e5911727d82641178d51384929ec66d40518b44b9d06cf1a
4
- data.tar.gz: 6cd47873367c3d0305b40022ca35e46f22060df2fa3d5997927161150cf6996c
3
+ metadata.gz: 3580745638644530947070ce26315b0fbff712b1eb432ab400c21bc7c0c2ea10
4
+ data.tar.gz: a0ed502b5d573ef2dd851684c04f9545a98b0855216e931c92a2be78924d2c73
5
5
  SHA512:
6
- metadata.gz: c6c63c1724ed3b9295eef1b7858f78ff926042a3bef6d558648822a7a144dd2426ad2e884f8173f576a23c484c2e50c2170c90d905aefe4efa0a4c56b6eccc58
7
- data.tar.gz: 50992a4c4cc58fe8589afc32669ea6bbb34a699078112e853299b707389f4883ee9e82f1fc0370ee87f61fb9847edb111e2d0540205378b88f9fc05ec008672f
6
+ metadata.gz: 4885e5a949e2e978fb48b7c9f3e7dff4c22eb786baa069c78bb6861c542503b78bbc536d8185566bbad296fc8f51720a89f011c7b34f63dabe27deb8489c78f4
7
+ data.tar.gz: ce3f9f5f42fe8f4592dc88072d0c7ce6d621327e76cfbb88ff2c21ed2d5f367825b21f19b0ead99b4e5e12bbabbbb68cbb2c66962527483cfb2f4dcde2de45ca
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oj-introspect (0.7.0)
4
+ oj-introspect (0.7.2)
5
5
  oj (>= 3.13.23)
6
6
 
7
7
  GEM
@@ -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")
@@ -0,0 +1,3 @@
1
+ _oj_init_usual
2
+ _oj_parser_new
3
+ _oj_parser_set_option
@@ -1,5 +1,5 @@
1
1
  module Oj
2
2
  class Introspect
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.2"
4
4
  end
5
5
  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.7.0
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: 2022-11-09 00:00:00.000000000 Z
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.1.6
73
+ rubygems_version: 3.3.26
73
74
  signing_key:
74
75
  specification_version: 4
75
76
  summary: Oj introspect parser.