evva 0.4.3 → 0.4.4

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: e3f1cd09cc493a75e644d51edd737562bf55155de573db968b198820c1b1cad8
4
- data.tar.gz: 4bd7cd7e846fde8df4a38fc30bdf00f4f836fa201516fa42209fc32b099f6eef
3
+ metadata.gz: bb65ee62ad17624c7878e2c316cb456dbbb994986e0ff5509a5d7c1fed20a53d
4
+ data.tar.gz: '080d56de87ff335bb34a8fcaa822aa2ff659ddc30278a77fc08effc25e7c4522'
5
5
  SHA512:
6
- metadata.gz: 005373a4fd6e7d93a7f866b8b0d4f84b27e57eb3040d7b268195ef89f6721de34cacfd16d700a234954182fbee1f4b50281f508c623966b6d73d67a96695ebd7
7
- data.tar.gz: 178a841a3bfc177a24722701f8c5531abce5cc5fd1e48f30908443d055851220b2f2cdddc082c8b1bbe31a9ea77bd15c451a219af8cf83fab483c8d41f95bfe9
6
+ metadata.gz: 04e27c83d42cc3e8326bf9c4fd72290007a3b67bc56330f8fa6cb38efd7816c77248d15681750b9c8c3fda0c5fea83df6058d6a89f93f7387fbcbd1f4480d362
7
+ data.tar.gz: c775724b639c906fcfd111ab5ca019b5119c603993a4b4e56c3b6a4035279bc39b5a4f6d1f4c314dd6daa3aaca6136739a96e8c20ade997322346ab8153e30d1
data/changelog.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.4.4] - 2024-10-16
6
+
7
+ ### Breaking Changes
8
+ - Update to Kotlin 2.0 notation which doesn't require a ';' in the last item of an enum
9
+
5
10
  ## [0.4.3] - 2023-09-14
6
11
  - Put class properties in newline for Kotlin
7
12
 
@@ -1,5 +1,5 @@
1
1
  enum class <%= class_name %> {
2
2
  <%- destinations.each_with_index do |destination, index| -%>
3
- <%= destination %><%= index == destinations.count - 1 ? ";" : "," %>
3
+ <%= destination %><%= index == destinations.count - 1 ? "" : "," %>
4
4
  <%- end -%>
5
5
  }
@@ -1,5 +1,5 @@
1
1
  enum class <%= class_name %>(val key: String) {
2
2
  <%- events.each_with_index do |event, index| -%>
3
- <%= event[:name] %>("<%= event[:value] %>")<%= index == events.count - 1 ? ";" : "," %>
3
+ <%= event[:name] %>("<%= event[:value] %>")<%= index == events.count - 1 ? "" : "," %>
4
4
  <%- end -%>
5
5
  }
@@ -1,5 +1,5 @@
1
1
  enum class <%= class_name %>(val key: String) {
2
2
  <%- properties.each_with_index do |property, index| -%>
3
- <%= property[:name] %>("<%= property[:value] %>")<%= index == properties.count - 1 ? ";" : "," %>
3
+ <%= property[:name] %>("<%= property[:value] %>")<%= index == properties.count - 1 ? "" : "," %>
4
4
  <%- end -%>
5
5
  }
@@ -1,7 +1,7 @@
1
1
  <%- enums.each_with_index do |enum, index| -%>
2
2
  enum class <%= enum[:class_name] %>(val key: String) {
3
3
  <%- enum[:values].each_with_index do |v, index| -%>
4
- <%= v[:name] %>("<%= v[:value] %>")<%= index == enum[:values].count - 1 ? ";" : "," %>
4
+ <%= v[:name] %>("<%= v[:value] %>")<%= index == enum[:values].count - 1 ? "" : "," %>
5
5
  <%- end -%>
6
6
  }
7
7
  <%- unless index == enums.count - 1 -%>
data/lib/evva/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Evva
2
- VERSION = '0.4.3'.freeze
3
- VERSION_UPDATED_AT = '2023-09-14'.freeze
2
+ VERSION = '0.4.4'.freeze
3
+ VERSION_UPDATED_AT = '2024-10-16'.freeze
4
4
  end
@@ -118,12 +118,12 @@ package com.hole19golf.hole19.analytics
118
118
 
119
119
  enum class CourseProfileSource(val key: String) {
120
120
  COURSE_DISCOVERY("course_discovery"),
121
- SYNCED_COURSES("synced_courses");
121
+ SYNCED_COURSES("synced_courses")
122
122
  }
123
123
 
124
124
  enum class PremiumFrom(val key: String) {
125
125
  COURSE_PROFILE("Course Profile"),
126
- ROUND_SETUP("Round Setup");
126
+ ROUND_SETUP("Round Setup")
127
127
  }
128
128
  Kotlin
129
129
  }
@@ -146,7 +146,7 @@ package com.hole19golf.hole19.analytics
146
146
 
147
147
  enum class AnalyticsEvents(val key: String) {
148
148
  NAV_FEED_TAP("nav_feed_tap"),
149
- NAV_PERFORMANCE_TAP("nav_performance_tap");
149
+ NAV_PERFORMANCE_TAP("nav_performance_tap")
150
150
  }
151
151
  Kotlin
152
152
  }
@@ -222,7 +222,7 @@ package com.hole19golf.hole19.analytics
222
222
 
223
223
  enum class AnalyticsProperties(val key: String) {
224
224
  ROUNDS_WITH_WEAR("rounds_with_wear"),
225
- WEAR_PLATFORM("wear_platform");
225
+ WEAR_PLATFORM("wear_platform")
226
226
  }
227
227
  Kotlin
228
228
  }
@@ -245,7 +245,7 @@ package com.hole19golf.hole19.analytics
245
245
 
246
246
  enum class AnalyticsDestinations {
247
247
  FIREBASE,
248
- WHATEVER_YOU_WANT_REALLY;
248
+ WHATEVER_YOU_WANT_REALLY
249
249
  }
250
250
  Kotlin
251
251
  }
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.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - RicardoTrindade
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-14 00:00:00.000000000 Z
11
+ date: 2024-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: safe_yaml
@@ -97,7 +97,7 @@ homepage: https://github.com/hole19/
97
97
  licenses:
98
98
  - MIT
99
99
  metadata: {}
100
- post_install_message:
100
+ post_install_message:
101
101
  rdoc_options: []
102
102
  require_paths:
103
103
  - lib
@@ -112,8 +112,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubygems_version: 3.1.6
116
- signing_key:
115
+ rubygems_version: 3.4.22
116
+ signing_key:
117
117
  specification_version: 4
118
118
  summary: An event generating service
119
119
  test_files: []