et_fake_ccd 0.1.31 → 0.1.32

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: 292d3013013ba2ff63dfcd80c0e8bcc75905c31ce58f5123b71896519ce9511a
4
- data.tar.gz: 04f5b3d3ddd7c67a813913bc5eb44de2f6c477bfb59dff40806e15581726f45a
3
+ metadata.gz: a7afc10c81912f6e216aa05f50976b235e29e712915fab077bd547e14a5d9651
4
+ data.tar.gz: 53fbc0c99e9941a24e0aaa5f6d4bf252ac1ff726cbcedb5e4bd3572a2cdc053e
5
5
  SHA512:
6
- metadata.gz: c149b5501179a89fdfddbe5ffbff890689153cba32d521b763554356d7c47adb768e025ba06559f66bd06f36abbc04cca81117e0b705155b9da837de46c03531
7
- data.tar.gz: 8881ea586996e17eb191f23aa432d3b55ada8cef241e32fb5d0e0bdf4f25aa755eaca8385ae94d7793681e029d5d6f30a3e1ba6684849d44029f90ae0790ebbc
6
+ metadata.gz: 6a86018a8e767da9306279bc51fef76efe16f4c45569f715837d8d43b2c76f04c3cda34b2a59f8e0def7707fd7d19831d595042cc1159adca7866fb15c00dbe8
7
+ data.tar.gz: ba525a8c7040343c1222b65820a9cb15fc3f28f5c3308ad108f77d0584fb0ee5bf8099ab5ac7306ffc7cf6ca9a01c716e3b071286f91d3503cbde057a33827de
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_fake_ccd (0.1.31)
4
+ et_fake_ccd (0.1.32)
5
5
  activemodel (>= 5.2.3)
6
6
  iodine (~> 0.7)
7
7
  roda (~> 3.21)
@@ -98,7 +98,7 @@ module EtFakeCcd
98
98
  private
99
99
 
100
100
  def force_deliberate_error(data, r)
101
- return false unless data.dig('data', 'claimantIndType', 'claimant_first_names').strip.downcase == 'force'
101
+ return false unless data.dig('data', 'claimantIndType', 'claimant_first_names')&.strip&.downcase == 'force'
102
102
  error, client_id = data.dig('data', 'claimantIndType', 'claimant_last_name').split('-')
103
103
  if client_id.nil?
104
104
  render_error(error)
@@ -1,3 +1,3 @@
1
1
  module EtFakeCcd
2
- VERSION = "0.1.31"
2
+ VERSION = "0.1.32"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_fake_ccd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor