oj-introspect 0.2.0 → 0.3.0

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: 9ef5eb39964c5410e92417b54566713dacafaac0d542d8746cf2b5253848b5bf
4
- data.tar.gz: ab4365adc83f7a77bed44eb3af17861c1ae3b45014920366b169e09eea323f2c
3
+ metadata.gz: dba2633765040e6c57bc0efb529d6a28d955d4b58ec2643ac5957b4677602692
4
+ data.tar.gz: 208ae9e552fbce05eec0769634f7c45d463c202f621d8b10182afa17e481a021
5
5
  SHA512:
6
- metadata.gz: e5f9a03ba053f0fac46cf2a294659081a6b74e9bf2732e1442a012062ac1fbe426b05ed30ffdfc299c72a72601a7973fc3398adc0dbabb976c46a524740db072
7
- data.tar.gz: 821d0d025e20ee0c0a358ed1dcc7e91bb20db6c3aa3855d5d471765ad8fec19e7a455d73805b6c3d70d9c45c2990b6d1b889d57f9681cd630b182995f679b831
6
+ metadata.gz: b41e516970c5dd6f15ad478e4fd0d179e40bbd361f1577354c8ff3066e06cc8d06e1414561d048257a2b6c3a48b65037573227079691b00bed5bf1f265b31a25
7
+ data.tar.gz: 2ded4748797fb9f87fec3fa9c7fed0a2b4b2ea38539aee5d085a15fea2631bc3f33a69e21f10950dc7233f631c106172a29eb961f03111221b501776ac44d8b6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oj-introspect (0.2.0)
4
+ oj-introspect (0.3.0)
5
5
  oj (>= 3.13.22)
6
6
 
7
7
  GEM
@@ -1,9 +1,11 @@
1
1
  require "mkmf"
2
- require "bundler"
2
+ require "pathname"
3
+ require "oj"
3
4
 
4
- oj_gemspec = Bundler.definition.specs.find { _1.name == "oj" }
5
+ oj_version_file = Oj.const_source_location(:VERSION).first
6
+ oj_version_file_path = Pathname.new(oj_version_file)
5
7
 
6
- OJ_HEADERS = oj_gemspec.full_gem_path + "/ext/oj"
8
+ OJ_HEADERS = oj_version_file_path.join('..', '..', '..', 'ext', 'oj').to_s
7
9
 
8
10
  dir_config('oj', [OJ_HEADERS], [])
9
11
 
@@ -1,5 +1,5 @@
1
1
  module Oj
2
2
  class Introspect
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oj-introspect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Emin INAC