janio_api 0.3.10 → 0.3.11

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: 06e1633a9d8c251bd3f425150aa8c560601faf0e54782fdf8a27e3364d1807d2
4
- data.tar.gz: bf0ccc57a397323fd86278c632525ddc2d09b5671cffb236d5eeeb604ecb82ee
3
+ metadata.gz: 65d944111d02172422320f061f19faf62123c4dec6fc2608f6b98da9c9235224
4
+ data.tar.gz: '08df2ffcbcbb9dec2f926cfe9db5ca4d18beb2fa0eaa2bbd8451a0f73e1466f5'
5
5
  SHA512:
6
- metadata.gz: 343c9302498a7436e70f8c49a9f3c79af0486c753aac04c1cda6c4325859e445cf84c05ee237007ad079946ec88bcf5b8827a81b26d803f1ca31c187f6315443
7
- data.tar.gz: 38bd8be6e66f8c853b9b9b1584e76ad3354d5ff58a9a8c0d1610a75c207d4585f57619f6aaf091c92a193117afbf8fe0aa834876b8bb0fc57ea931f8b6449fd9
6
+ metadata.gz: c544ee6bbe02b2f109507d1107d1ba0292b89c1112946aec0662c54842f03cefe9fbb3c7b6ff9949da45783735471b4c9cec9662c54c446f9d0685a6195854cb
7
+ data.tar.gz: f2f8f78a58c12b2011ef462ad75d4e0fbc69897725990b6e3298d2600a712146a4a6c8677b22c519a703000391f3506beb0d47527152a7539c65f584e0d59ece
@@ -62,7 +62,6 @@ module JanioAPI
62
62
  :consignee_name, :consignee_country, :consignee_address, :consignee_state, :consignee_email,
63
63
  :pickup_contact_name, :pickup_country, :pickup_address, :pickup_state, presence: true
64
64
 
65
- validates :pickup_date, presence: true, if: -> { PICKUP_DATE_ACCEPTED_COUNTRIES.include?(pickup_country) }
66
65
  validates :pickup_date, absence: true, if: -> { !PICKUP_DATE_ACCEPTED_COUNTRIES.include?(pickup_country) }
67
66
  validates :pickup_country, inclusion: {
68
67
  in: SUPPORTED_PICKUP_COUNTRIES,
@@ -1,3 +1,3 @@
1
1
  module JanioAPI
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: janio_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Chong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-12 00:00:00.000000000 Z
11
+ date: 2023-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  - !ruby/object:Gem::Version
198
198
  version: '0'
199
199
  requirements: []
200
- rubygems_version: 3.2.32
200
+ rubygems_version: 3.2.33
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: Ruby object based Janio API wrapper.