oj-introspect 0.1.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: e9fc62ff35dbc50422ea8578a2f053c6c1d5036c071bfe46b5d5d3a34e5a8c7a
4
- data.tar.gz: 5106fd71458d000cb2cb06cb0a85f696ab5c6f83327198470e7ce2bf01311a09
3
+ metadata.gz: dba2633765040e6c57bc0efb529d6a28d955d4b58ec2643ac5957b4677602692
4
+ data.tar.gz: 208ae9e552fbce05eec0769634f7c45d463c202f621d8b10182afa17e481a021
5
5
  SHA512:
6
- metadata.gz: b1dd55782690a0186360b503ebc915eb817d4d9d5257a833653d7a6678d0d7cbf7ad85db8d847bff23dec8ef07de27b6119af5daac7e1ac4a5fd034636e6cbb5
7
- data.tar.gz: 88e31090edbb71d09865ae92ddf28cb0559b793836262cfa7440bbea56134c2d2c309064a86cf20c320e65277102c90369393a8016bdb590492db2aead08eeb1
6
+ metadata.gz: b41e516970c5dd6f15ad478e4fd0d179e40bbd361f1577354c8ff3066e06cc8d06e1414561d048257a2b6c3a48b65037573227079691b00bed5bf1f265b31a25
7
+ data.tar.gz: 2ded4748797fb9f87fec3fa9c7fed0a2b4b2ea38539aee5d085a15fea2631bc3f33a69e21f10950dc7233f631c106172a29eb961f03111221b501776ac44d8b6
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oj-introspect (0.1.0)
5
- oj (~> 3.13)
4
+ oj-introspect (0.3.0)
5
+ oj (>= 3.13.22)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -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.1.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.bindir = "exe"
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
+ spec.extensions = ["ext/oj-introspect/extconf.rb"]
25
26
 
26
- spec.add_dependency "oj", "~>3.13"
27
+ spec.add_dependency "oj", ">=3.13.22"
27
28
  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.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Emin INAC
@@ -14,22 +14,23 @@ dependencies:
14
14
  name: oj
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.13'
19
+ version: 3.13.22
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.13'
26
+ version: 3.13.22
27
27
  description: Embeds start and end byte offsets of JSON objects into generated Ruby
28
28
  hashes.
29
29
  email:
30
30
  - mehmetemininac@gmail.com
31
31
  executables: []
32
- extensions: []
32
+ extensions:
33
+ - ext/oj-introspect/extconf.rb
33
34
  extra_rdoc_files: []
34
35
  files:
35
36
  - ".gitignore"