avm 0.56.0 → 0.56.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: 2fe83959f89ed9d43c44578111aa230b740036e6d9231b5c80a6a59ba777d7cc
4
- data.tar.gz: 48911ce71466c63dbe3e8dd4ab84f0ecfa061a1c7c55103150ce325bcf745462
3
+ metadata.gz: c3fbdddcdbc848524b57336f7c1ac341950a1f725d4de87a64dde6951499d835
4
+ data.tar.gz: bf01ee819ed341084e1dea109d318d0275d1661a3228048d98e873df544eacb9
5
5
  SHA512:
6
- metadata.gz: 210f097d0c4f57a0fa0a1bbf64e83e9d4a116250ba552f477401fbc5064eaa7f781c7ff1a3115b5a42844299728578cc13508c663031c2e287994d0507f7b488
7
- data.tar.gz: 7b65907b3c3201914d97d1e3efa2a740b26dcb87cd820e689a81fdcfbb6e0e1d21619807a6a0f02759af964cae5f0278020eea4dce16672e8aad391bc6d8ee8d
6
+ metadata.gz: 22a5f8d897b2eeb7e19ca82e4f1e50c864a97ff08936a83dfcf4ede15d8510650ce8beb69b300d5800b7c825825cf200a9e1eb6672c4a097028857ec7b6384c3
7
+ data.tar.gz: b3956dc0425e73d3a4579d1d50d9ad9704adc41079ba4fbf779d2f52edd31055ea255ee47bb8d88a52351124c583cc4b33ff0857ef65d1f57eb85ace1abdfef9
@@ -46,8 +46,10 @@ module Avm
46
46
  field_get(translate_field(avm_field))
47
47
  end
48
48
 
49
+ # @return [String, nil]
49
50
  def field_get(name)
50
- data[name.to_sym].if_present(&:to_s)
51
+ v = data[name.to_sym]
52
+ v.nil? ? nil : v.to_s
51
53
  end
52
54
 
53
55
  def field_set(field, value)
data/lib/avm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Avm
4
- VERSION = '0.56.0'
4
+ VERSION = '0.56.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.56.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-09 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.29'
39
+ version: '0.30'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.29'
46
+ version: '0.30'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: eac_config
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0.13'
95
+ version: '0.14'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: '0.13'
102
+ version: '0.14'
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: eac_ruby_utils
105
105
  requirement: !ruby/object:Gem::Requirement