teodoro 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/teodoro.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb4752b01605040d7acfd90c1669f34116e979c1e67780c5202988a33cd6e90b
4
- data.tar.gz: 14b6dbaa65cf954168cc9ed6dba8770235d560b4776b788b9773b35f15acfc80
3
+ metadata.gz: b5f54e9f8960e5c29d130c9314078cf7372cd507966e1ca4dbb27524ad0a2742
4
+ data.tar.gz: bba87b97780b286859026dafb65174ddcddce28b4b92372ac5e18db62043b7b0
5
5
  SHA512:
6
- metadata.gz: b9f25da72235d6d0ce27fadf2833fd57ad2c6c05eed2dafe7c01d0742958e38a1c7999d25771ea193e5cb293e4f61161c5ab7732557484d43543508a3df3f8db
7
- data.tar.gz: 33a7efa41f9d5ebbabb386cdff3f571e72056f3fef8d234cfd44f0e3abfb021e481896a89f9a7db6bfe07803d7250dc7ddb141b268c059e8d9dc8f8cf5875754
6
+ metadata.gz: 7b96b964178cc54822fec617cd1393c3843dfe55a951df8d4e7bc95b9601b150362feb101d5d8ea7cb5f6c1ef980c4f0d72fb13e796e0dd05c3a41252648c939
7
+ data.tar.gz: 13bf55f1fae770e0df88f517e24cd6d20c6d8df620747ec978c37613a6ac5933fed125e28608054a19eb59430412b7df06001a332aa5bdf88880855e7740c7bd
data/lib/teodoro.rb CHANGED
@@ -12,9 +12,12 @@ require_relative 'teodoro/empresa'
12
12
  require_relative 'teodoro/obj'
13
13
 
14
14
  module Teodoro
15
- VERSION = '0.19.0'.freeze
15
+ VERSION = '0.19.1'.freeze
16
16
 
17
- CBOs = JSON.parse(File.read('lib/CBOs.json')).map { [_1['codigo'], _1['titulo']] }.to_h.freeze
17
+ CBOs = JSON.parse(File.read(File.join(File.dirname(__FILE__), 'CBOs.json')))
18
+ .map { [_1['codigo'], _1['titulo']] }
19
+ .to_h
20
+ .freeze
18
21
 
19
22
  def self.call(args)
20
23
  Execution.new(args).call
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teodoro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clavius Tales