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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc96b203160cf2fa57d2b27b19085ee0cdff34baea3590fb964fd41b7c5e31fb
4
- data.tar.gz: aa26d42416921f5c5f8b4d33b5d83cd35ce214b6517e94cdecc9fc6134dc2198
3
+ metadata.gz: 867c69bb85ba649dad9ea824991ca04590144909b2a6a6ee0fc084ff5ba72ba8
4
+ data.tar.gz: 85c7e574a2dcd7dc3adb2e9e111628eec9c199cf45727aebec9b48ebf6217f62
5
5
  SHA512:
6
- metadata.gz: 39d8a1447e89945d39f9fc29061ef59f96fcb75e057e43a21b475365336978f3e18b5a684991592c1b251f21122b4274c2a79fff7cb6dc29e5edf0350cf21702
7
- data.tar.gz: 167b0dde36de872c6f8608333194c108f3753d48aade42af1415f25087894bc05ddd7983386ac80efcd5befd3ad1cb0055032f724618ddb01a9a4a41b6f89b00
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))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Paygate
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paygate-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jagdeepsingh