evva 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +2 -0
- data/lib/evva/templates/kotlin/events.kt +3 -1
- data/lib/evva/version.rb +2 -2
- data/spec/lib/evva/android_generator_spec.rb +11 -4
- 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: e3f1cd09cc493a75e644d51edd737562bf55155de573db968b198820c1b1cad8
|
4
|
+
data.tar.gz: 4bd7cd7e846fde8df4a38fc30bdf00f4f836fa201516fa42209fc32b099f6eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 005373a4fd6e7d93a7f866b8b0d4f84b27e57eb3040d7b268195ef89f6721de34cacfd16d700a234954182fbee1f4b50281f508c623966b6d73d67a96695ebd7
|
7
|
+
data.tar.gz: 178a841a3bfc177a24722701f8c5531abce5cc5fd1e48f30908443d055851220b2f2cdddc082c8b1bbe31a9ea77bd15c451a219af8cf83fab483c8d41f95bfe9
|
data/changelog.md
CHANGED
@@ -10,7 +10,9 @@ sealed class <%= class_name %>(
|
|
10
10
|
object <%= e[:class_name] %> : <%= class_name %>(
|
11
11
|
<%- else -%>
|
12
12
|
data class <%= e[:class_name] %>(
|
13
|
-
|
13
|
+
<%- e[:properties].each_with_index do |p, index| -%>
|
14
|
+
<%= "val #{p[:param_name]}: #{p[:type]}" %><% if index < e[:properties].count - 1 %>,<% end %>
|
15
|
+
<%- end -%>
|
14
16
|
) : <%= class_name %>(
|
15
17
|
<%- end -%>
|
16
18
|
event = <%= enums_class_name %>.<%= e[:event_name] %>,
|
data/lib/evva/version.rb
CHANGED
@@ -40,7 +40,8 @@ sealed class AnalyticsEvent(
|
|
40
40
|
)
|
41
41
|
|
42
42
|
data class CpPageViewA(
|
43
|
-
val courseId: Long,
|
43
|
+
val courseId: Long,
|
44
|
+
val courseName: String
|
44
45
|
) : AnalyticsEvent(
|
45
46
|
event = AnalyticsEvents.CP_PAGE_VIEW_A,
|
46
47
|
properties = mapOf(
|
@@ -54,7 +55,9 @@ sealed class AnalyticsEvent(
|
|
54
55
|
)
|
55
56
|
|
56
57
|
data class CpPageViewB(
|
57
|
-
val courseId: Long,
|
58
|
+
val courseId: Long,
|
59
|
+
val courseName: String,
|
60
|
+
val fromScreen: CourseProfileSource
|
58
61
|
) : AnalyticsEvent(
|
59
62
|
event = AnalyticsEvents.CP_PAGE_VIEW_B,
|
60
63
|
properties = mapOf(
|
@@ -68,7 +71,9 @@ sealed class AnalyticsEvent(
|
|
68
71
|
)
|
69
72
|
|
70
73
|
data class CpPageViewC(
|
71
|
-
val courseId: Long,
|
74
|
+
val courseId: Long,
|
75
|
+
val courseName: String,
|
76
|
+
val fromScreen: CourseProfileSource?
|
72
77
|
) : AnalyticsEvent(
|
73
78
|
event = AnalyticsEvents.CP_PAGE_VIEW_C,
|
74
79
|
properties = mapOf(
|
@@ -79,7 +84,9 @@ sealed class AnalyticsEvent(
|
|
79
84
|
)
|
80
85
|
|
81
86
|
data class CpPageViewD(
|
82
|
-
val courseId: Long?,
|
87
|
+
val courseId: Long?,
|
88
|
+
val courseName: String,
|
89
|
+
val viewedAt: String
|
83
90
|
) : AnalyticsEvent(
|
84
91
|
event = AnalyticsEvents.CP_PAGE_VIEW_D,
|
85
92
|
properties = mapOf(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evva
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RicardoTrindade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: safe_yaml
|