swagalicious 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -20
- data/lib/swagalicious/extended_schema.rb +1 -1
- data/lib/swagalicious/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: 8fe701583dd2d70b9be1dd659ce40864a5724e982fb3951034135f412bdcca01
|
4
|
+
data.tar.gz: a78071f0d850a70b940dc8e07957241423a1742265cd026a38ca0915cfb2d4f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c306f2b4cb881e8581a4c079b4565789a4cabc3df4388955dde7ca89519eca45234f6c15d7cb9b8550df311afbc5f009a133700cfc4003de5245422ec37db02
|
7
|
+
data.tar.gz: 31e69267fef1575cd91652418c22a7a538c97c9698be86c147980b25b854c9f0918c02ffa26aa3c9863b875cc5912c38a40166255f326a9e9eb94031f9fdd890
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swagalicious (0.4.
|
4
|
+
swagalicious (0.4.4)
|
5
5
|
faraday (~> 1.3.0)
|
6
6
|
json-schema (~> 2.8.1)
|
7
7
|
oj (~> 3.11.0)
|
@@ -10,41 +10,41 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (6.1.
|
13
|
+
activesupport (6.1.6)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
15
|
i18n (>= 1.6, < 2)
|
16
16
|
minitest (>= 5.1)
|
17
17
|
tzinfo (~> 2.0)
|
18
18
|
zeitwerk (~> 2.3)
|
19
|
-
addressable (2.
|
19
|
+
addressable (2.8.0)
|
20
20
|
public_suffix (>= 2.0.2, < 5.0)
|
21
21
|
byebug (11.1.3)
|
22
22
|
coderay (1.1.3)
|
23
|
-
concurrent-ruby (1.1.
|
24
|
-
diff-lcs (1.
|
23
|
+
concurrent-ruby (1.1.10)
|
24
|
+
diff-lcs (1.5.0)
|
25
25
|
factory_bot (6.1.0)
|
26
26
|
activesupport (>= 5.0.0)
|
27
|
-
faraday (1.3.
|
27
|
+
faraday (1.3.1)
|
28
28
|
faraday-net_http (~> 1.0)
|
29
29
|
multipart-post (>= 1.2, < 3)
|
30
|
-
ruby2_keywords
|
30
|
+
ruby2_keywords (>= 0.0.4)
|
31
31
|
faraday-net_http (1.0.1)
|
32
|
-
i18n (1.
|
32
|
+
i18n (1.10.0)
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
json-schema (2.8.1)
|
35
35
|
addressable (>= 2.4)
|
36
36
|
method_source (1.0.0)
|
37
|
-
minitest (5.
|
38
|
-
multipart-post (2.
|
39
|
-
oj (3.11.
|
37
|
+
minitest (5.15.0)
|
38
|
+
multipart-post (2.2.0)
|
39
|
+
oj (3.11.8)
|
40
40
|
pry (0.13.1)
|
41
41
|
coderay (~> 1.1)
|
42
42
|
method_source (~> 1.0)
|
43
43
|
pry-byebug (3.9.0)
|
44
44
|
byebug (~> 11.0)
|
45
45
|
pry (~> 0.13.0)
|
46
|
-
public_suffix (4.0.
|
47
|
-
rack (2.2.3)
|
46
|
+
public_suffix (4.0.7)
|
47
|
+
rack (2.2.3.1)
|
48
48
|
rack-test (1.1.0)
|
49
49
|
rack (>= 1.0, < 3)
|
50
50
|
rake (12.3.3)
|
@@ -52,19 +52,19 @@ GEM
|
|
52
52
|
rspec-core (~> 3.10.0)
|
53
53
|
rspec-expectations (~> 3.10.0)
|
54
54
|
rspec-mocks (~> 3.10.0)
|
55
|
-
rspec-core (3.10.
|
55
|
+
rspec-core (3.10.2)
|
56
56
|
rspec-support (~> 3.10.0)
|
57
|
-
rspec-expectations (3.10.
|
57
|
+
rspec-expectations (3.10.2)
|
58
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
59
59
|
rspec-support (~> 3.10.0)
|
60
|
-
rspec-mocks (3.10.
|
60
|
+
rspec-mocks (3.10.3)
|
61
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
62
62
|
rspec-support (~> 3.10.0)
|
63
|
-
rspec-support (3.10.
|
64
|
-
ruby2_keywords (0.0.
|
63
|
+
rspec-support (3.10.3)
|
64
|
+
ruby2_keywords (0.0.5)
|
65
65
|
tzinfo (2.0.4)
|
66
66
|
concurrent-ruby (~> 1.0)
|
67
|
-
zeitwerk (2.4
|
67
|
+
zeitwerk (2.5.4)
|
68
68
|
|
69
69
|
PLATFORMS
|
70
70
|
ruby
|
@@ -78,4 +78,4 @@ DEPENDENCIES
|
|
78
78
|
swagalicious!
|
79
79
|
|
80
80
|
BUNDLED WITH
|
81
|
-
2.2.
|
81
|
+
2.2.31
|
@@ -12,7 +12,7 @@ class Swagalicious
|
|
12
12
|
|
13
13
|
class ExtendedTypeAttribute < JSON::Schema::TypeV4Attribute
|
14
14
|
def self.validate(current_schema, data, fragments, processor, validator, options={})
|
15
|
-
return if data.nil? && current_schema.schema["null"] == true
|
15
|
+
return if data.nil? && (current_schema.schema["null"] == true || current_schema.schema["nullable"] == true)
|
16
16
|
super
|
17
17
|
end
|
18
18
|
end
|
data/lib/swagalicious/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagalicious
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Howe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|