countriesdb-validator 1.0.1 → 1.0.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: 6853e5839dca278a8cac3fb206ab42203eb33fe13c178ef542952d430d907789
4
- data.tar.gz: 9f54b23120c2910f4554f734fe466507a435811eb44417de54121c668f40fe67
3
+ metadata.gz: 026bd1abf019234cfa5a5e08a050b3ab17c3e99e319bf57069443c3db9dbc863
4
+ data.tar.gz: aa98cd6d11a466069cce9e09bbf4338b98e47e27209f4201965ce5a0ebe57950
5
5
  SHA512:
6
- metadata.gz: f8c8152a572eab9bb548450fb9fbcda71c8946785b905314880bd286d68208d6e68b08f45e5a04fecca7f1c21ca160552fea53d992b9df0e9047b35dc93d3bd2
7
- data.tar.gz: cf4ebb9de7fc0973fe3842df711c7cb40be1d6065db932f9b17cbe4dd826664d48a3ff888ad9f7f679eb4015b724d826ab4b31583ee26ca44b1c533f06614fa6
6
+ metadata.gz: 6b6aeebf408fa743eec4c54854169d179359bed45299de778ae5935a7d9d4b398a580ed3bd874ca5e96ce06f3f24dd748b2174095be3303bd68f2db43c95efe4
7
+ data.tar.gz: fb946815907c2308c9c55551aedc1b408db7621eba1b9acc4da6c141860d81dc89375de4789398a55a0036dbf6cca016dd4f594a6e07cface9a379c4b99eff30
@@ -52,7 +52,7 @@ module CountriesDB
52
52
  code: codes.map(&:upcase),
53
53
  follow_upward: false # Disabled for multi-select
54
54
  })
55
- response['results'] || []
55
+ response[:results] || []
56
56
  rescue StandardError => e
57
57
  raise ValidationError, "Failed to validate countries: #{e.message}"
58
58
  end
@@ -99,7 +99,7 @@ module CountriesDB
99
99
  follow_related: false, # Disabled for multi-select
100
100
  allow_parent_selection: allow_parent_selection
101
101
  })
102
- response['results'] || []
102
+ response[:results] || []
103
103
  rescue StandardError => e
104
104
  raise ValidationError, "Failed to validate subdivisions: #{e.message}"
105
105
  end
@@ -1,5 +1,5 @@
1
1
  module CountriesDB
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countriesdb-validator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - NAYEE LLC