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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b5e24a443e11f788768884a4830e8731d4f7f0cbeb02c66e613bb293809b82a
4
- data.tar.gz: 5ccb08d43adccc135c64d3ae9bb06c19cb811c0a8a1a5b647cafdab2370fdaa0
3
+ metadata.gz: e3f1cd09cc493a75e644d51edd737562bf55155de573db968b198820c1b1cad8
4
+ data.tar.gz: 4bd7cd7e846fde8df4a38fc30bdf00f4f836fa201516fa42209fc32b099f6eef
5
5
  SHA512:
6
- metadata.gz: ee89843173f05753970aacb497add3a0408bbebd2ba6c4d757c41c3f3b0ba90fa00e28dcf455069e1b81e348ef8ceac1c91c01a4369a7fb903b4497ba8bc9b5c
7
- data.tar.gz: eb3281e5f3ee84bec798731117504c2e6fdddfc035e772ed13b025a6f506111b4e81875f4126c74fe4582e0bc5fe2aa4b32be29c6f39edb72cbb291192ad424b
6
+ metadata.gz: 005373a4fd6e7d93a7f866b8b0d4f84b27e57eb3040d7b268195ef89f6721de34cacfd16d700a234954182fbee1f4b50281f508c623966b6d73d67a96695ebd7
7
+ data.tar.gz: 178a841a3bfc177a24722701f8c5531abce5cc5fd1e48f30908443d055851220b2f2cdddc082c8b1bbe31a9ea77bd15c451a219af8cf83fab483c8d41f95bfe9
data/changelog.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.4.3] - 2023-09-14
6
+ - Put class properties in newline for Kotlin
5
7
 
6
8
  ## [0.4.2] - 2022-01-05
7
9
  - Fix kotlin generation changes in 0.4.0
@@ -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
- <%= e[:properties].map { |p| "val #{p[:param_name]}: #{p[:type]}" }.join(", ") %>
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
@@ -1,4 +1,4 @@
1
1
  module Evva
2
- VERSION = '0.4.2'.freeze
3
- VERSION_UPDATED_AT = '2022-01-05'.freeze
2
+ VERSION = '0.4.3'.freeze
3
+ VERSION_UPDATED_AT = '2023-09-14'.freeze
4
4
  end
@@ -40,7 +40,8 @@ sealed class AnalyticsEvent(
40
40
  )
41
41
 
42
42
  data class CpPageViewA(
43
- val courseId: Long, val courseName: String
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, val courseName: String, val fromScreen: CourseProfileSource
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, val courseName: String, val fromScreen: CourseProfileSource?
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?, val courseName: String, val viewedAt: String
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.2
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: 2022-01-05 00:00:00.000000000 Z
11
+ date: 2023-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml