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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d1f1a314f7e3c84ef64184ba490e5d90971fc56213f74829f5af6f0fc6b0274
4
- data.tar.gz: a6e07a214f9e574c8151ea7c459d0445790ed79f1a9b6f9dc9958bab9aef9406
3
+ metadata.gz: 8fe701583dd2d70b9be1dd659ce40864a5724e982fb3951034135f412bdcca01
4
+ data.tar.gz: a78071f0d850a70b940dc8e07957241423a1742265cd026a38ca0915cfb2d4f4
5
5
  SHA512:
6
- metadata.gz: 87bc78e516ccf7ce48eb88b3aaf8045415dd147e6de880b422366fd679b86eac12fb0df34b97358578da75129e49e2dd08285297449a3f26ea85eee503c18098
7
- data.tar.gz: 4b083368ef0dc6fb3cb90bb8fd39dbdbde0731de0e41df4583b188822b9387df4c53620941f91a3173b4a54e56fd99f8ba581f0b3de791672d729ed519f00e8c
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.3)
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.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.7.0)
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.8)
24
- diff-lcs (1.4.4)
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.0)
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.8.7)
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.14.3)
38
- multipart-post (2.1.1)
39
- oj (3.11.3)
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.6)
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.1)
55
+ rspec-core (3.10.2)
56
56
  rspec-support (~> 3.10.0)
57
- rspec-expectations (3.10.1)
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.1)
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.1)
64
- ruby2_keywords (0.0.4)
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.2)
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.16
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
@@ -1,3 +1,3 @@
1
1
  class Swagalicious
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
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
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: 2021-04-23 00:00:00.000000000 Z
11
+ date: 2022-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday