egov_utils 1.5.6 → 1.5.7

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: f2660a5e3990b9a1e04c3ee2143b7fc04bcdb2b7ee36461bef0844d4126cb3eb
4
- data.tar.gz: d396d3750b49423ba640ab35150c43b19350821eb931878c8418c22fd39acd96
3
+ metadata.gz: ab139a77a5e4ef1f3339cb992849bfe93941b04c8c52b4e6cabdf4147fbac878
4
+ data.tar.gz: 5780b155acb5c0064d7dd57c0575f852e98872b98d35964789ce441b3e651273
5
5
  SHA512:
6
- metadata.gz: 044ebe11c2b66d36bc9287660e807c5756acbced9a2f1e882d1a28d3a02c5a5e21d45d69c141627332c6ee9a6833128b1256fa312a9cb784ce5a4c2ada86c5b1
7
- data.tar.gz: 491bf67c11602d3ae5b0026ebcc64d8fbee628dfc1ab36effe13ddcfabbe0e4baee8d90432840b488647be4a0ecb09fd56612c6134c242ac075a5f60e2a24ccb
6
+ metadata.gz: fbfa1a8fc2b2d9d33acc9f7e9daae053b5d0da0e16630f16527132ef725984e8ae0d2da591a32e879edc919749240ed6a33ee8a044790dc7a42d9fdba9cd1b60
7
+ data.tar.gz: b7e64583181ca417835fca539db5345736a9550265dd941056d51d1fd52758df8633ce14414e36e0bc3ee9343e12a394a795a52a72f2654434d532165610eba5
@@ -71,7 +71,7 @@ module EgovUtils
71
71
  return @invalid_record_code if defined?(@invalid_record_code)
72
72
 
73
73
  @invalid_record_code =
74
- if response_body.xpath('//AdresaTextem').text.blank? && response_body.xpath('//UliceNazev').text.blank?
74
+ if response_body.xpath('//AdresaTextem').text.blank? && response_body.xpath('//UliceNazev').text.blank? && response_body.xpath('//CastObceNazev').text.blank?
75
75
  'invalid_address'
76
76
  end
77
77
  end
@@ -46,7 +46,7 @@ module EgovUtils
46
46
  @invalid_record_code =
47
47
  if response_body.xpath('//NarozeniSvet').text.present?
48
48
  'not_found'
49
- elsif response_body.xpath('//AdresaTextem').text.blank? && response_body.xpath('//UliceNazev').text.blank?
49
+ elsif response_body.xpath('//AdresaTextem').text.blank? && response_body.xpath('//UliceNazev').text.blank? && response_body.xpath('//CastObceNazev').text.blank?
50
50
  'invalid_address'
51
51
  end
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '1.5.6'
2
+ VERSION = '1.5.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: egov_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-01 00:00:00.000000000 Z
11
+ date: 2026-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails