foobara 0.0.79 → 0.0.80
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b2fdc64452fe8ed0285ac3b9d9ad26108cd7157f798a3fac36b814a0855d802
|
4
|
+
data.tar.gz: 4e37ca0d5af8ffd919b068a2fb67573ecddf056e2b13d6d39604f09188cc11c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cefd96fe33a1c2fdf1fd2f53aa128e8c6f636507d921f0f30dd9730983b8fa10c5aa10b43bd2b8c0008f50452106f90cf7b8bacae9b0142df4898d3c1ba62b2f
|
7
|
+
data.tar.gz: b8fb560d295f3fe8c6a1f0e194f8528a02771e5504b9c482235e16cd9cba7cb0d51858e7b12952027e14d78909a4fd07c68be54553ff3b6356f029ff4cc3259c
|
data/CHANGELOG.md
CHANGED
@@ -8,7 +8,7 @@ module Foobara
|
|
8
8
|
class TypeSetToArrayDesugarizer < ArrayDesugarizer
|
9
9
|
def applicable?(sugary_type_declaration)
|
10
10
|
if sugary_type_declaration.is_a?(::Hash) && sugary_type_declaration.key?(:type)
|
11
|
-
extra_keys = sugary_type_declaration.keys - %i[type description]
|
11
|
+
extra_keys = sugary_type_declaration.keys - %i[type description sensitive sensitive_exposed]
|
12
12
|
|
13
13
|
return false if extra_keys.any?
|
14
14
|
|
@@ -27,6 +27,14 @@ module Foobara
|
|
27
27
|
strict_type_declaration[:description] = sugary_type_declaration[:description]
|
28
28
|
end
|
29
29
|
|
30
|
+
if sugary_type_declaration.key?(:sensitive)
|
31
|
+
strict_type_declaration[:sensitive] = sugary_type_declaration[:sensitive]
|
32
|
+
end
|
33
|
+
|
34
|
+
if sugary_type_declaration.key?(:sensitive_exposed)
|
35
|
+
strict_type_declaration[:sensitive_exposed] = sugary_type_declaration[:sensitive_exposed]
|
36
|
+
end
|
37
|
+
|
30
38
|
strict_type_declaration
|
31
39
|
end
|
32
40
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.80
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
@@ -468,7 +468,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
468
468
|
- !ruby/object:Gem::Version
|
469
469
|
version: '0'
|
470
470
|
requirements: []
|
471
|
-
rubygems_version: 3.6.
|
471
|
+
rubygems_version: 3.6.6
|
472
472
|
specification_version: 4
|
473
473
|
summary: A command-centric and discoverable software framework with a focus on domain
|
474
474
|
concepts and abstracting away integration code
|