json_refs 0.1.7 → 0.1.8

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: 1189625a84d998e3d9a6f249368c187bf0144393271aec06398830ba0ddc66a1
4
- data.tar.gz: c079bf4dbf63782819d5d1081396c7f9e8ad9f155e5ef701ca337a6a21f3a176
3
+ metadata.gz: 3192dc90d1f03c619968c9a04fb9dce1ed954c7edf9d25b5d2ec3ce2fb28e3ef
4
+ data.tar.gz: 854faad63c25ac8140bef79411850c4bc1d83078b613fac740a1d678e37f0d24
5
5
  SHA512:
6
- metadata.gz: b18e096f64d639506cc39728e426af5ff276bee765c69331ba9a32d401299439367a851142717ab51214755ef2934eb34793a582e3cda73782fd8f5394eef3ce
7
- data.tar.gz: afab208bf473c6f575761b0e51a83a99e8abefe625e185f13ebb93caed688e9e882eba9bdec49925a53e646eb22d61f59b6d4d8aec3db219ef2f28e09964c1fa
6
+ metadata.gz: 56a13e01d8bda8d1f082cf0b60803fd9f84cfcb519818beaafe7e6b20f181e591f0b3a01842c6fd8a88a2711372c3980217072386ae7fe2c4fee786470752665
7
+ data.tar.gz: defa91538c2a50339efbb1155382bf04ac7eadeea27a0f8202e4c3847c5b87138fe06bdf6e0125eee74038a1979a58d162b1bb8d40a400edca6dbdf426d8e11d
@@ -12,7 +12,7 @@ module JsonRefs
12
12
 
13
13
  class Yaml
14
14
  def call(file)
15
- YAML.load(file)
15
+ RUBY_VERSION >= '3.1.0' ? YAML.unsafe_load(file) : YAML.load(file)
16
16
  end
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module JsonRefs
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_refs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Makoto Tajitsu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-18 00:00:00.000000000 Z
11
+ date: 2023-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hana
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.2.22
109
+ rubygems_version: 3.2.31
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Dereference JSON Pointer