checkout_sdk 1.2.0 → 1.2.1

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: 14e68356d1de167bcf9ba9c5370aaf6ac81804e1b844474f6c2c573cdc41e96b
4
- data.tar.gz: 8061066149def7f8b6288c94cbc6d2362ac4528b2741759dca3d1ad254160637
3
+ metadata.gz: c2863d89cb67340d1e4394007be4f9dbb0476e550bbd4dddf94c689945d7495a
4
+ data.tar.gz: 03133baf1b93027ca2e456945b77c412386f3a2431b6c24d91581609d8cf9aa7
5
5
  SHA512:
6
- metadata.gz: 33cad8c67ad6c941526a6edd897800d975a431da83ca6c0c661181b80943cd63bb417242ee581c523fc1225ae635cc8a0644521c0dfb5f9bc95b3ad78479a9bf
7
- data.tar.gz: e707e11a320e4db4c3612643120a283b8b58de2ddc13b54999cf6ce7d155fc8441d6f584bb03e23f699801f14e413c292c6bc7af62fb542a0809349f4e673d68
6
+ metadata.gz: 0c4ee7c135719735dca4e90c24db6fb4fdd9c6c6744d441a0e260a05ff2d23bddb85a128b92ca01990e96518067781fcd0ff6e7b6e9b1d64c3b8b79ced6b81e6
7
+ data.tar.gz: ed6b2d2595d4a507f18c99b78165b21234751cb75fa543a4cb0319faa9a9eaa825a50e0dc3920a9e1bb56b23c33fec22043c463011e492dda21bd818a87c1cdc
@@ -29,8 +29,7 @@ module CheckoutSdk
29
29
  api_url = environment.base_uri
30
30
  new_environment = api_url
31
31
 
32
- # Regex to match a subdomain consisting of 8 to 11 lowercase alphanumeric characters
33
- if subdomain =~ /^[0-9a-z]{8,11}$/
32
+ if subdomain =~ /^[0-9a-z]+$/
34
33
  url_parts = URI.parse(api_url)
35
34
  new_host = "#{subdomain}.#{url_parts.host}"
36
35
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckoutSdk
4
- VERSION = '1.2.0'
4
+ VERSION = '1.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkout_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Checkout
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake