recurly 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/lib/recurly/schema/schema_validator.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dedb6b4ebbfe8edc81164fbd909ea366d705c2513a157c870d0176ec246ae5f0
|
4
|
+
data.tar.gz: aa1cb993c065fed87ebdc4213a65676b450dc97b60d61af2b60b9fe4c460fdcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c41232bb0b2cab634214611f71a3ae15cf9e12dcf2e1a841f5b6de66e52532d0e78ef24c15c6847c0b2a1779e3d8eea4939d1a1b6e871afdea0b5ed55502d56a
|
7
|
+
data.tar.gz: 2ee27b6276aa4f150ce9fa7de504065f9875dec093b1f9ce35034db31964e1fa763c2517efbb723a2e3f139c8de84319020483d269fa660e0625a4b0539a28c6
|
data/.bumpversion.cfg
CHANGED
@@ -34,7 +34,7 @@ module Recurly
|
|
34
34
|
|
35
35
|
# Validates an individual attribute
|
36
36
|
def validate_attribute!(name, schema_attr, val)
|
37
|
-
unless schema_attr.is_valid?(val)
|
37
|
+
unless val.nil? || schema_attr.is_valid?(val)
|
38
38
|
# If it's safely castable, the json deserializer or server
|
39
39
|
# will take care of it for us
|
40
40
|
unless safely_castable?(val.class, schema_attr.type)
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -315,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
315
|
- !ruby/object:Gem::Version
|
316
316
|
version: '0'
|
317
317
|
requirements: []
|
318
|
-
rubygems_version: 3.0.
|
318
|
+
rubygems_version: 3.0.6
|
319
319
|
signing_key:
|
320
320
|
specification_version: 4
|
321
321
|
summary: The ruby client for Recurly's V3 API
|