yaka 1.0.1 → 1.0.2

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: adbc706650cd04b94a1537131ddac857130956ab301f53202c75257089225550
4
- data.tar.gz: f775b38a8ed44a1ccf60845948560c86699e55b822ee49eb8b0aa89837e7160a
3
+ metadata.gz: 42ca599b1176cba4896986d580b76426ce91ac1832a84df8dfab9e35c10fdce9
4
+ data.tar.gz: e7fcb095c95545cb33225058429d1c21686f915bd7437bede2060cd1f5cd4f1b
5
5
  SHA512:
6
- metadata.gz: e99179ad75402a594290e058d00779520ecaf7f4fa21a24916d5fef18ca3357e89cb47c68add3fc2c72ac39786b4423f12af3905dc6440d7255cad571a37bb6f
7
- data.tar.gz: 60fa4d2e27900ab425011c39c7628a35f48ec392edd8492c08fb5817319e8df5354f4aabe88f5a9bf43406d4c58a07f1a059523ba9f0dd8780a31d4b74835e63
6
+ metadata.gz: a5fdd7b2f550470be1f0e65ad27e69ab062e2f280c04bf0c96964bc23fdd8b2caeac88751e99dc94e54a9c4b306908bddf1b658b63aafed85cdf8adfb215129b
7
+ data.tar.gz: 512f1c20ed4492479b7abdeedafccb44c736590cee4f6f50a1043f5928afe53172797c0d215e061a0872f84c721389b06892aca250e48a986ed86a0918530bce
@@ -1,3 +1,9 @@
1
+ # 1.0.2
2
+ * Fix for empty email/phone for creating receipt
3
+
4
+ # 1.0.1
5
+ * Disable force wrappers
6
+
1
7
  # 1.0.0
2
8
  Breaking changes
3
9
  * Simplified class model
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yaka (1.0.1)
4
+ yaka (1.0.2)
5
5
  dry-configurable
6
6
  dry-struct
7
7
  faraday
@@ -21,7 +21,7 @@ GEM
21
21
  dry-configurable (0.8.3)
22
22
  concurrent-ruby (~> 1.0)
23
23
  dry-core (~> 0.4, >= 0.4.7)
24
- dry-container (0.7.0)
24
+ dry-container (0.7.1)
25
25
  concurrent-ruby (~> 1.0)
26
26
  dry-configurable (~> 0.1, >= 0.1.3)
27
27
  dry-core (0.4.7)
@@ -54,8 +54,8 @@ module Yaka
54
54
  attribute :payment_mode, Types::Strict::String.meta(omittable: true) # https://kassa.yandex.ru/developers/payments/54fz#54fz-payment-mode
55
55
  attribute :payment_subject, PAYMENT_SUBJECTS.meta(omittable: true)
56
56
  end
57
- attribute :phone, Types::String.meta(omittable: true)
58
- attribute :email, Types::String.meta(omittable: true)
57
+ attribute :phone, Types::String.meta(omittable: true).optional
58
+ attribute :email, Types::String.meta(omittable: true).optional
59
59
  attribute :tax_system_code, Types::String.meta(omittable: true) # https://kassa.yandex.ru/developers/payments/54fz#54fz-tax-systems
60
60
  end
61
61
  attribute :payment_token, Types::String.meta(omittable: true)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yaka
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Pavlov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-05 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler