oj-introspect 0.2.0 → 0.4.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: c8275f7a7bc4675418e94fb048888662e5b9e9292eb0e8a7d3f5bd1cb2c4d6cc
4
+ data.tar.gz: b8aa813939f082f384d4300cfe56fb41e660c366b18709a0dc8efe97336baa44
5
5
  SHA512:
6
- metadata.gz: e5f9a03ba053f0fac46cf2a294659081a6b74e9bf2732e1442a012062ac1fbe426b05ed30ffdfc299c72a72601a7973fc3398adc0dbabb976c46a524740db072
7
- data.tar.gz: 821d0d025e20ee0c0a358ed1dcc7e91bb20db6c3aa3855d5d471765ad8fec19e7a455d73805b6c3d70d9c45c2990b6d1b889d57f9681cd630b182995f679b831
6
+ metadata.gz: 965b4a25bd1fa1549dcb20162b0f80a6963d29352a5b2333ddc6590b3b32fa0b25e6627470aa94c327cd103472f62669f47e5c823050d4a5038ba8c6b66b10c8
7
+ data.tar.gz: 688d27daf26686b8b5dfd71d926d35e3f91adcdb430d21b388dd077fd05f9e2974b296e8eb520543ab7a2f4e1e5587b2152a3437026e8a3d74591e2a436197e4
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.4.0)
5
5
  oj (>= 3.13.22)
6
6
 
7
7
  GEM
@@ -1,10 +1,12 @@
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
 
10
- create_makefile("oj-introspect/introspect_ext")
12
+ create_makefile("oj/introspect/introspect_ext")
@@ -1,5 +1,5 @@
1
1
  module Oj
2
2
  class Introspect
3
- VERSION = "0.2.0"
3
+ VERSION = "0.4.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.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Emin INAC