json_refs 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/json_refs.rb +2 -2
- data/lib/json_refs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afda1a9f8de85cb20c9baadba689f01b21a664a16d5c47e405c3c2dffc7f8203
|
4
|
+
data.tar.gz: db450eb89016442f61af6325fc7f66dc1e642bb70420a087277d5172025469ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c90414cb7617ebf433c1a05079600032f692136bcca25ae3388b21ff27c8764750cdcf82d69f300d159fef97f629b1147de36c81d84334735c8af20df8643deb
|
7
|
+
data.tar.gz: 02c43b3dc1aa1737050b863b591b7c03d4acf9f8ef54885643cfe2d19c4aa37d11e77422a7baf047bda8db83dc46d9e77101417a90b6ab32eff12c95256fd8ac
|
data/lib/json_refs.rb
CHANGED
@@ -57,7 +57,7 @@ module JsonRefs
|
|
57
57
|
|
58
58
|
def dereference_local(referenced_path)
|
59
59
|
if @options[:resolve_local_ref] === false
|
60
|
-
return { '$ref'
|
60
|
+
return { '$ref' => referenced_path }
|
61
61
|
end
|
62
62
|
|
63
63
|
klass = JsonRefs::DereferenceHandler::Local
|
@@ -66,7 +66,7 @@ module JsonRefs
|
|
66
66
|
|
67
67
|
def dereference_file(referenced_path)
|
68
68
|
if @options[:resolve_file_ref] === false
|
69
|
-
return { '$ref'
|
69
|
+
return { '$ref' => referenced_path }
|
70
70
|
end
|
71
71
|
|
72
72
|
klass = JsonRefs::DereferenceHandler::File
|
data/lib/json_refs/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Makoto Tajitsu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hana
|