recurly 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86e71af763156d271a7fcf2ea80772d3dcac815be1c04d4b1744a992d831e8ff
4
- data.tar.gz: 0af4214b4807663c5030f453de310f9b9454ced0b315565ac1a788a7886ad9b6
3
+ metadata.gz: dedb6b4ebbfe8edc81164fbd909ea366d705c2513a157c870d0176ec246ae5f0
4
+ data.tar.gz: aa1cb993c065fed87ebdc4213a65676b450dc97b60d61af2b60b9fe4c460fdcf
5
5
  SHA512:
6
- metadata.gz: 6d61e6be1e7cbd00857b0305f4b32a716c8ffa05b874df4a38f3f2c7776d1566d13626302e4e307fcee50c48145dd5c4abf24abe86cc3247953d434174e7b307
7
- data.tar.gz: 385aded563eed2e32ca9d4839fc533ac2e488fa57513f7b7636df27a5babeb59267a4fb1b07004e4176f2beaf494e5d5b9ad184da15bb9994af992b97d179f39
6
+ metadata.gz: c41232bb0b2cab634214611f71a3ae15cf9e12dcf2e1a841f5b6de66e52532d0e78ef24c15c6847c0b2a1779e3d8eea4939d1a1b6e871afdea0b5ed55502d56a
7
+ data.tar.gz: 2ee27b6276aa4f150ce9fa7de504065f9875dec093b1f9ce35034db31964e1fa763c2517efbb723a2e3f139c8de84319020483d269fa660e0625a4b0539a28c6
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 3.1.1
2
+ current_version = 3.1.2
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "3.1.1"
2
+ VERSION = "3.1.2"
3
3
  end
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.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-27 00:00:00.000000000 Z
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.3
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