servactory 2.0.0.rc4 → 2.0.0.rc6

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: 83987eae2d3539d8eb196d0dd08d13ffee8449050d297794577933e8e5735e98
4
- data.tar.gz: e35002ff20d061cc257c9e8ff99a8fd258f784ac19abce0d7c8f5c7a2c46f683
3
+ metadata.gz: d337c1c09df29b2014f467f12add33fe12d19fcceb44a6307e34f554867b9312
4
+ data.tar.gz: 6a32967282f264550f51d82b94c50c73ad0e66c394d80041eb89b2f367199932
5
5
  SHA512:
6
- metadata.gz: 43268e0c7630e1eacd10efaf852eb0d26cbb5e30b4a4e5395202e67b4e9246dd2b92775da9318ced39cbd407aa714e4b89f151b6f2bc6164dab7bda722d84085
7
- data.tar.gz: 999194eaeb288a7919d1177a46acac0ad35d07c039b7feb088140141ae9c34eb069cce39c5aaa22033bae0f9df7dc7981a8eb9c78bededfe0df540d97e7bb649
6
+ metadata.gz: 2d93a26fa64a8216eb590799d7535fadf85b25c2a19d30572fcb9608a8250c5c93c54de9d63525ca00319d27194946289d75fe4b11bfacd5722442c16118fceb
7
+ data.tar.gz: e90c2907c3b7806974f98e7b8950d6595e80cdbc0dc314c4340c70c254e6baee0fafd5c0d96685793b3aa8fb720669547dde176c6b698f109f1383733781a41f
@@ -48,8 +48,8 @@ module Servactory
48
48
 
49
49
  input.value = input.default if input.optional? && input.value.blank?
50
50
 
51
- if input.hash_mode?
52
- input.value = prepare_hash_values_inside(object: input.value, schema: input.schema.fetch(:is))
51
+ if input.hash_mode? && (tmp_schema = input.schema.fetch(:is)).present?
52
+ input.value = prepare_hash_values_inside(object: input.value, schema: tmp_schema)
53
53
  end
54
54
 
55
55
  input_prepare = input.prepare.fetch(:in, nil)
@@ -5,7 +5,7 @@ module Servactory
5
5
  MAJOR = 2
6
6
  MINOR = 0
7
7
  PATCH = 0
8
- PRE = "rc4"
8
+ PRE = "rc6"
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH, PRE].compact.join(".")
11
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc4
4
+ version: 2.0.0.rc6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-28 00:00:00.000000000 Z
11
+ date: 2023-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport