gmo_services 0.1.3 → 0.1.4

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: fea401ec2462ff2cb94fdf9d6cfd6a41848218d82e8f4508e800403971fd0b50
4
- data.tar.gz: fed889f8f769bd3496edea6ae308b0e248164e8d4e7e1c72f1bd2be074a1b119
3
+ metadata.gz: a362bc8b0273001906d46dbe6100c61717bae00081203cd17a329723d190aaf0
4
+ data.tar.gz: d5952d4c79cd9ab7107ca7e3977eef8ddc32d99edf656a812e3dcbd18d34fe90
5
5
  SHA512:
6
- metadata.gz: af7ca8d3382b4b2d90923234154a099efa76c0ff078f5ff055c15add338c8a6102cf88ab4104bd7d5e3afacdd5c1ccc45ebfac8320cb449ae6ead9d7a790feca
7
- data.tar.gz: accdeb14f72ecefed4785f0d1fc0102058bb2857ab4d9e498d9fa2f05c4bada7e4d5b0ab039c1f1dad904b9a81ca3ba48577c1973c50872c117edd55570e1c82
6
+ metadata.gz: f8d1782915873426bfc4e29d4bb04ae895845de9c243080ad9fbeec603257e3378d86cd6f832675c33d37106075bbbd9c0b71d36879dbd7ebee374fe5de02da9
7
+ data.tar.gz: a09442f07de362cc85de4673c3b0e3fd104295fd93c64e6c1c93a6627994eb486d2f7229fe72a8abbeb1098057318f246a0aa483036eae88f5d82acd91348e87
@@ -1,3 +1,3 @@
1
1
  module GmoServices
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/lib/gmo_services.rb CHANGED
@@ -6,10 +6,12 @@ require 'net/http'
6
6
  require 'rack/utils'
7
7
 
8
8
  require 'i18n'
9
- I18n.load_path << Dir["#{File.expand_path('lib/config/locales')}/**/*.yml"]
9
+ english_locale_file_path = File.join(File.dirname(__FILE__), 'config/locales/gmo_error_info/en.yml')
10
+ I18n.load_path << english_locale_file_path
10
11
 
11
12
  require 'config'
12
- Config.load_and_set_settings('lib/config/settings.yml')
13
+ settings_file_path = File.join(File.dirname(__FILE__), 'config/settings.yml')
14
+ Config.load_and_set_settings(settings_file_path)
13
15
 
14
16
  module GmoServices
15
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmo_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - NGUYEN THANH VIET
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-15 00:00:00.000000000 Z
11
+ date: 2022-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: config