issuer_response_codes 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15a220f42db6a4d71bc18b91d3c2109fe4d93c4f7ce33eb9203c3c43e66a6a4a
4
- data.tar.gz: 6ac2b379e7b892e49639a769acdf8e0df24ce3f970cd3417557bb74d45bb5205
3
+ metadata.gz: 9409d71b3251e8efa5353247ccd06c2efad50b4462edd66529aef5943b956acd
4
+ data.tar.gz: 72cee07d93f22315f7dfc2696ce9c929719d0240bf97363ebc236477705e6f23
5
5
  SHA512:
6
- metadata.gz: fb60960f4d64a996c571e44780063b1c4e76b6308c055bb063c76fa020fe5f26d98f651fb0e07f805740c4c697e4628f178ccadfc4e77b2a9659852d6e5fc701
7
- data.tar.gz: 1283cb4e848482d3d926cfbd944ffe22efa53c807ce8ef6bfd2c0fc4b125f9703af586f171df068a8d37672d70f6439f8a9e66e6d55fc996e08cf792b8e77ed8
6
+ metadata.gz: fb3dfd4839472357b148716f2cb6dbeb7ca2cf6c083f2820c74ecc646eb4052669384683fbdb19bd57b55be5ad9d6a8004b1dbcee33f3a1ee3802b92fa4dffe8
7
+ data.tar.gz: 5d3412f16908759a031a7076f1c55bce3dd50b1dffd299f1ee58db59c25c846240898ab87cf9323a058f050b27ddda1c8ae534f914ce659cedf0df49d68ed9bd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- issuer_response_codes (0.1.1)
4
+ issuer_response_codes (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -58,7 +58,8 @@ module IssuerResponseCodes
58
58
  def load_locale(name)
59
59
  name_str = name.to_s
60
60
 
61
- single_locale_hash = self.class.symbolize_keys(::YAML.load_file("lib/locale/#{name_str}.yml")[name_str])
61
+ raw_hash = ::YAML.load_file(::File.join(::File.dirname(::File.expand_path(__FILE__)), "../locale/#{name_str}.yml"))[name_str]
62
+ single_locale_hash = self.class.symbolize_keys(raw_hash)
62
63
  @locale_hash[name] = single_locale_hash
63
64
  end
64
65
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IssuerResponseCodes
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: issuer_response_codes
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
  - Espago