evva 0.8.2 → 0.8.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 +4 -4
- data/Gemfile.lock +1 -1
- data/changelog.md +4 -0
- data/lib/evva/templates/swift/people_properties.swift +1 -1
- data/lib/evva/version.rb +1 -1
- data/spec/lib/evva/swift_generator_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: adf6c749578c3874989cbfbc7be1e6e2958061fa22490ad06e653912133b7963
|
|
4
|
+
data.tar.gz: a3020ae83cc629223a12d7b6dcce5a624f89700ed4bb31e6225c288577d2e664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e97b4a3f4847123dd28086036b45a5801040e85b4f67a745889b9ee463b5af1348c96e28537fa11b691b2ee9e556e09b5a87a5f05fb19f589c43159a94c23baa
|
|
7
|
+
data.tar.gz: 73c81eb216c97823cbf1e8dd3cb1e1c37aee098c43c1d98396128fcd6411cf0cf80982845a9698e56eed7ad6a7a9898a3c5d219a6001d462a9ae8e0da2ceecf2
|
data/Gemfile.lock
CHANGED
data/changelog.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [0.8.3] - 2026-05-27
|
|
4
|
+
|
|
5
|
+
- Add explicit `as Any` cast for optional people property values to silence Swift compiler warning
|
|
6
|
+
|
|
3
7
|
## [0.8.2] - 2026-05-26
|
|
4
8
|
|
|
5
9
|
- Strip whitespace from property names and types when parsing CSV, fixing double spaces in generated Swift code
|
|
@@ -40,7 +40,7 @@ enum Property {
|
|
|
40
40
|
<%- properties.each_with_index do |p, index| -%>
|
|
41
41
|
case let .<%= p[:case_name] %>(value):
|
|
42
42
|
return PropertyData(type: .<%= p[:case_name] %>,
|
|
43
|
-
value: value<% if p[:is_special_property] %><%= "?" if p[:is_optional] %>.rawValue<% end %>)
|
|
43
|
+
value: value<% if p[:is_special_property] %><%= "?" if p[:is_optional] %>.rawValue<% end %><%= " as Any" if p[:is_optional] %>)
|
|
44
44
|
<%- unless index == properties.count - 1 -%>
|
|
45
45
|
|
|
46
46
|
<%- end -%>
|
data/lib/evva/version.rb
CHANGED
|
@@ -213,7 +213,7 @@ extension Analytics {
|
|
|
213
213
|
|
|
214
214
|
case let .reverseTrialType(value):
|
|
215
215
|
return PropertyData(type: .reverseTrialType,
|
|
216
|
-
value: value?.rawValue)
|
|
216
|
+
value: value?.rawValue as Any)
|
|
217
217
|
|
|
218
218
|
case let .numberOfTimesItHappened(value):
|
|
219
219
|
return PropertyData(type: .numberOfTimesItHappened,
|