paygate-ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/paygate/version.rb +1 -1
- data/lib/paygate.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 867c69bb85ba649dad9ea824991ca04590144909b2a6a6ee0fc084ff5ba72ba8
|
4
|
+
data.tar.gz: 85c7e574a2dcd7dc3adb2e9e111628eec9c199cf45727aebec9b48ebf6217f62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c889a068601299a78a9c20d2eeccb96c397ad4acde7d396f5c0d6412f69526ac3b9a4abe62c8dfaea2053b92a878dcde81b7ca2b2c9cd17c42ed8c3c85bbbcb7
|
7
|
+
data.tar.gz: ef08826c863b4f9bbef90fc9020193ee200457f7675b2734d3482c1c689ed43e0fba82eeb70592155a087cb4520c2330024dd065bd1db1972ccd7d151defcf88
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## Next
|
4
4
|
|
5
|
+
## 0.2.1 - 2023-04-26
|
6
|
+
|
7
|
+
- [PR#11](https://github.com/tablecheck/paygate-ruby/pull/11) Deep freeze constants. ([johnnyshields](https://github.com/johnnyshields))
|
8
|
+
|
5
9
|
## 0.2.0 - 2023-04-26
|
6
10
|
|
7
11
|
- [PR#9](https://github.com/tablecheck/paygate-ruby/pull/9) Rename Paygate::FormHelper to Paygate::Rails::FormHelper. ([johnnyshields](https://github.com/johnnyshields))
|
data/lib/paygate/version.rb
CHANGED
data/lib/paygate.rb
CHANGED
@@ -17,8 +17,11 @@ module Paygate
|
|
17
17
|
CONFIG = YAML.safe_load(File.read(File.expand_path('../data/config.yml', __dir__)),
|
18
18
|
permitted_classes: [Symbol]).freeze
|
19
19
|
LOCALES_MAP = CONFIG[:locales].freeze
|
20
|
+
LOCALES_MAP.each { |k, v| k.freeze; v.freeze } # rubocop:disable Style/Semicolon
|
20
21
|
INTL_BRANDS_MAP = CONFIG[:intl_brands].freeze
|
22
|
+
INTL_BRANDS_MAP.each_value(&:freeze)
|
21
23
|
KOREA_BIN_NUMBERS = CONFIG[:korea_bin_numbers].freeze
|
24
|
+
KOREA_BIN_NUMBERS.each(&:freeze)
|
22
25
|
DEFAULT_CURRENCY = 'WON'
|
23
26
|
DEFAULT_LOCALE = 'US'
|
24
27
|
|