egov_utils 0.5.0 → 0.5.1

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: c74899e7d3af97ca0fe77218374a54990add7d743513151d81f9f32c750f58bf
4
- data.tar.gz: 1ab92137208fdd57c215f9dc73423da363d066def3ec34304fb4171a34bd97a1
3
+ metadata.gz: 2d2e1d5673dcde5b5b71dfc3c0ff99b58358b0cffd8aa96e34d08a2792d89701
4
+ data.tar.gz: f98cff1bdc1746110b2be974637e3e709bb4c5d04276f817ac6c38a00ad59128
5
5
  SHA512:
6
- metadata.gz: 473113746d4b1d0d7654e1c505eb8f71628d5fc38818727dc32535d3430851a75956c2ded3196a5af366a73655425ecb768d5c5d6ec16c2e54fc3115e08fdde9
7
- data.tar.gz: 987e4cc48915df7e45ac4367ed797bb42b379fbe5fe439354555cb205142ea7a1568c155982a11de4ce1a3f2527789ace2d501c8bb1e074434098b819bb21e93
6
+ metadata.gz: fbb27b66ed09a7ae7db1d8ced5521e26b21c1ba24cf07a6173969dbc9d09938bcdf22579cfa3b879bdb263ef71a2b4bc27d8b988745eabf14224b755a621762f
7
+ data.tar.gz: a3c4478a134879f7598dd57eb1e476253cf3828c587aa114914809a966ab68ee61176d58d22e145cc26f3a64a9965f8f9dd58f5e63b895ab48871a79b7983089
@@ -338,7 +338,7 @@ module EgovUtils
338
338
  attr_name.collect{|an| get_attr(entry, an).presence }.compact.first.to_s
339
339
  elsif !attr_name.blank?
340
340
  value = entry[attr_name].is_a?(Array) ? entry[attr_name].first : entry[attr_name]
341
- value.to_s.force_encoding('UTF-8')
341
+ value.to_s.dup.force_encoding('UTF-8')
342
342
  end
343
343
  end
344
344
 
@@ -1,3 +1,3 @@
1
1
  module EgovUtils
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
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: 0.5.0
4
+ version: 0.5.1
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: 2021-11-11 00:00:00.000000000 Z
11
+ date: 2021-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails