tdlib-schema 1.7.0.2 → 1.7.0.3

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: 691a931e650d64b73bfa8bfd024a999a5baf735233256e7174392a9b2feb3420
4
- data.tar.gz: 0b187827046254185e492cd5ff7dba3f5efdc4d8454d1f08b37d9651d3a5ff4a
3
+ metadata.gz: 9672223e94b7250c02d244a1a92177f07776dcc1295d2721473f8e5357c3a330
4
+ data.tar.gz: 104cbac62ea8de8f4a7fea7134e38f0569810bcecf25da45f0d640523bdf3e88
5
5
  SHA512:
6
- metadata.gz: b709b5aa11b6948a393bde58d0b66f4a437709102b4bd2fd9c93b81c4dc0fecc5e43030b17e9c740ad1a9a5bf9d6194e1423589e3c470495f10444fa959f30d0
7
- data.tar.gz: 70049cdc666212566af6516217bfd1024636b8823226995a72af77f98fc9b3a519482719be4f0be7e4eff49a3e8326f78a71f79199f5b6dec8291f2b036de82b
6
+ metadata.gz: aaf7cd40b43f55ca2000b3cdf1bd38218c22976e49aa2e0b48e1a48ca34f52d0e0f674675886810955f14d0fddd2607483dca0cb68178dcbb05487982716948a
7
+ data.tar.gz: 58f0da7477f165385a0889d44b8d6d2c385422a218c992b8a1c49174bad2bf382836ff9c9ff413e4268e2c91f0bffe84c19c77b37ac21a128e0ec561b346f41d
data/CHANGELOG.md CHANGED
@@ -1,4 +1,6 @@
1
- ## [Unreleased]
1
+ ## [1.7.0.3] - 2021-06-29
2
+
3
+ - Remove strict schema
2
4
 
3
5
  ## [1.7.0.2] - 2021-06-28
4
6
 
data/bin/parser CHANGED
@@ -217,10 +217,7 @@ puts "Writing Base class"
217
217
 
218
218
  klass = <<-RUBY
219
219
  module TD::Types
220
- class Base < Dry::Struct
221
- # throw an error when unknown keys provided
222
- schema schema.strict
223
-
220
+ class Base < Dry::Struct
224
221
  # convert string keys to symbols
225
222
  transform_keys(&:to_sym)
226
223
 
@@ -1,8 +1,5 @@
1
1
  module TD::Types
2
- class Base < Dry::Struct
3
- # throw an error when unknown keys provided
4
- schema schema.strict
5
-
2
+ class Base < Dry::Struct
6
3
  # convert string keys to symbols
7
4
  transform_keys(&:to_sym)
8
5
 
data/tdlib-schema.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tdlib-schema"
5
- spec.version = "1.7.0.2"
5
+ spec.version = "1.7.0.3"
6
6
  spec.authors = ["Southbridge"]
7
7
  spec.email = ["ask@southbridge.io"]
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdlib-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0.2
4
+ version: 1.7.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Southbridge
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct