dry-elastic_model 0.4.0 → 0.5.0

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: 6daf502764e3b6a3d588c3d9cf91cfb873aeffd96dd482b77735b8eee632f52a
4
- data.tar.gz: 9e17241ba4bc401346a6a798a4f57a82d2ac2516f94a777c30923aeae8733c30
3
+ metadata.gz: 0c47c5ef6440828b4a4831171717c9e722b08ea032b55b0c819b015b2e76c255
4
+ data.tar.gz: 8cf4efdf8b275b1c383653d258975e0f021b0bdcb04ebbe98eb25718e3d85c85
5
5
  SHA512:
6
- metadata.gz: 5aafdb28e596970d6d52080c8ccc9df24c4670d608b4b430ca792a014743b4a419eb027f251c37e028cee5cb394b537cc3e0a723346909bc29db82d56c30d361
7
- data.tar.gz: af741b0299bfaa222bb427f3dad7c808f28fcba9be2c12b812f3a84906b0d2d2057a18bc11372bc1e232359e5c34f25748c9042960d411653dadc488d01fb4f1
6
+ metadata.gz: 7d1b30ff6ab233453824c3fb9d0760b60dfd4943d36cb175b4367659adfd1233ded6ef7e108c818966ec62c1b3bed2fe7d7a878c51cc0eb0e95127d7a8e08abd
7
+ data.tar.gz: f4a470ba333f261daaa902ec8b58420112759fba05e9a6fe5ef9766b2daf5e198ce3ac94bb0d502c1fee18a59169aaaf1d467e9671d9e53be494a67b405d5da1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-elastic_model (0.4.0)
4
+ dry-elastic_model (0.5.0)
5
5
  dry-struct (~> 1.0)
6
6
 
7
7
  GEM
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.5.0
@@ -85,7 +85,7 @@ module Dry
85
85
  ).optional.meta(es_name: "ip", type_options: TypeOptions::IP)
86
86
 
87
87
  Array = lambda do |type|
88
- Types::Strict::Array.of(type).meta(es_name: type.meta[:es_name])
88
+ Types::Strict::Array.of(type).meta(es_name: type.meta[:es_name]).optional
89
89
  end
90
90
 
91
91
  Range = lambda do |type|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-elastic_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konrad Oleksiuk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-22 00:00:00.000000000 Z
11
+ date: 2020-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubygems_version: 3.1.2
171
+ rubygems_version: 3.0.6
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Create Elasticsearch models and mappings from code.