servactory 2.5.0.rc6 → 2.5.0.rc7
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 +4 -4
- data/lib/servactory/tool_kit/dynamic_options/format.rb +8 -0
- data/lib/servactory/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf2fb8cd65c29e7a289a894ab2e76967b0bbea248d401242f4585319499e9ac1
|
|
4
|
+
data.tar.gz: 6abc26c7f3794bb4d2c25c32ac0e72551e18db64579f5b12973e9631cf799742
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f56bf7de98905ca33b42d08ad34aeaa4572b36292b169c404761f195ca69679fa19789f85c19b9d314bbdbe40ff988062072b4e7dc7740671af1208ae56fc0f
|
|
7
|
+
data.tar.gz: 4c2497680b3dba26064869548dff8aae78de2abd59a97b80c717a8df40c0a184ddad22ae2e9293d23200d9bf7395f5b661fbbd29b847c68f0832656f972528c7
|
|
@@ -21,6 +21,14 @@ module Servactory
|
|
|
21
21
|
pattern: /^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z]).{8,16}$/,
|
|
22
22
|
validator: ->(value:) { value.present? }
|
|
23
23
|
},
|
|
24
|
+
duration: {
|
|
25
|
+
pattern: nil,
|
|
26
|
+
validator: lambda do |value:|
|
|
27
|
+
ActiveSupport::Duration.parse(value) and return true
|
|
28
|
+
rescue ActiveSupport::Duration::ISO8601Parser::ParsingError
|
|
29
|
+
false
|
|
30
|
+
end
|
|
31
|
+
},
|
|
24
32
|
date: {
|
|
25
33
|
pattern: nil,
|
|
26
34
|
validator: lambda do |value:|
|
data/lib/servactory/version.rb
CHANGED
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.5.0.
|
|
4
|
+
version: 2.5.0.rc7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anton Sokolov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|