gobl 0.3.2 → 0.3.3

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: 5d76cccae7dcefa86ad6553de26fdccdcf1070c86b94397b2afd6fce95973c5d
4
- data.tar.gz: b08932429a3dceda76e61fad765e221126542b105b5141cfcac2bbab7df9d9fa
3
+ metadata.gz: 4713d28b3038a3c64f461a1ec0c2b6253d4bd5933e75831b1068935c64fe0199
4
+ data.tar.gz: e85dd1a93f8fc0e2cf3a0d69eff9d87449c61d7b7616dd20f71e80e905739fba
5
5
  SHA512:
6
- metadata.gz: 343e9b78a8c5d9e41614345310358b12b64360a2d6da81b52d5e0e03a4f819f045c0caa79772a02a285f6a62f991ff5804298eeaf6e0fe559a56d25c40a2cf01
7
- data.tar.gz: d623de76e1c087bc6e391c43e5501ac74a593dadd0e3548ad1649b4955130589164538da7d3454d875f9a19bbc029e73e63cc47c7b5304eb51e0e9d254e8f091
6
+ metadata.gz: 33d031c78cbea619d3e9c5c4e773917eb1cc2adae9397a78289fbb858fd70831acce5c4763e659958182dcb840fc0a9f0770c413d138648f84c9897349500c87
7
+ data.tar.gz: '09ec88008c59902e7bc9fbbdcd6f452bdf1c6d4fec0baa36adfcb067821628e9593e84906e29511651619a3c4d02e8c0b49ac957c856409f78281ae648d05c79'
data/data/tax/CO.json CHANGED
@@ -408,7 +408,7 @@
408
408
  {
409
409
  "code": "RR",
410
410
  "name": {
411
- "es": "ReteRenta"
411
+ "es": "Retefuente"
412
412
  },
413
413
  "desc": {
414
414
  "es": "Retención en la fuente por el Impuesto de la Renta"
@@ -207,7 +207,7 @@ module GOBL
207
207
  v2 = x[1].to_i
208
208
  e = x[1].length
209
209
  v *= 10**e
210
- v += x[0].match?(/^-/) ? -v2 : v2
210
+ v += x[0].start_with?('-') ? -v2 : v2
211
211
  end
212
212
 
213
213
  @value = v
data/lib/gobl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GOBL
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Lilue
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-11-18 00:00:00.000000000 Z
13
+ date: 2022-11-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport