MxnBanks 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: '082c397c1f003e00b08986b4551cd16c6c320c34'
4
- data.tar.gz: 2451cec5db57beb5e28f51aa99d434ce0b57d425
3
+ metadata.gz: bb575c1b2c8f6a5667d866d3ff00eac686c25ffc
4
+ data.tar.gz: 03cb87d0da0847413d6059de82437100457dc09c
5
5
  SHA512:
6
- metadata.gz: e03f9baf5fb08be77b6ba2c6783a6fc696cb97ec5fb19edc007269946279f8a19784a8c551e4504c523667fdb0010973b396208f5934c8457c08c586fc7b9eb6
7
- data.tar.gz: cfb7f1b119fe0a1c067fe6a0bdcb8156206dda30ab62a4cd0941e86f54bb9112415d16de6c345a3243e151673821204a40731318e256892b81a58b8a23889d92
6
+ metadata.gz: 630bf104ac27a0e96f2c666c1ace21bf29e0832393175440c1eb7c0b0abfe691dd3a7e76be58517a14e4b670c1b90acae83bb102a2b16f8f1d942a3bc76eae98
7
+ data.tar.gz: fe64dd5a5d9a688886903ab4a866d3b56581415ec70f0435d3b0b9ef188f65ce140fa12041ff941a59536d3dd4d30dde29904408ba169b750945bd7dd567843c
data/lib/MxnBanks.rb CHANGED
@@ -7,6 +7,7 @@ module MxnBanks
7
7
  end
8
8
 
9
9
  def self.to_hash
10
- @banks ||= JSON.parse(File.read('lib/banks.json'), symbolize_names: true)
10
+ json_file = File.read(File.join(File.dirname(__FILE__), 'banks.json'))
11
+ @banks ||= JSON.parse(json_file, symbolize_names: true)
11
12
  end
12
13
  end
@@ -1,3 +1,3 @@
1
1
  module MxnBanks
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MxnBanks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - aldosolorzano