evva 0.2.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +10 -10
- data/Gemfile +0 -1
- data/Gemfile.lock +3 -6
- data/README.md +3 -2
- data/changelog.md +18 -2
- data/lib/evva/{mixpanel_enum.rb → analytics_enum.rb} +2 -1
- data/lib/evva/analytics_event.rb +17 -0
- data/lib/evva/analytics_property.rb +17 -0
- data/lib/evva/android_generator.rb +142 -84
- data/lib/evva/config.rb +12 -2
- data/lib/evva/google_sheet.rb +43 -25
- data/lib/evva/swift_generator.rb +91 -81
- data/lib/evva/templates/kotlin/base.kt +7 -0
- data/lib/evva/templates/kotlin/destinations.kt +5 -0
- data/lib/evva/templates/kotlin/event_enum.kt +5 -0
- data/lib/evva/templates/kotlin/events.kt +36 -0
- data/lib/evva/templates/kotlin/people_properties.kt +26 -0
- data/lib/evva/templates/kotlin/people_properties_enum.kt +5 -0
- data/lib/evva/templates/kotlin/special_property_enums.kt +10 -0
- data/lib/evva/templates/swift/base.swift +7 -0
- data/lib/evva/templates/swift/destinations.swift +5 -0
- data/lib/evva/templates/swift/events.swift +66 -0
- data/lib/evva/templates/swift/people_properties.swift +50 -0
- data/lib/evva/templates/swift/special_property_enums.swift +10 -0
- data/lib/evva/version.rb +2 -2
- data/lib/evva.rb +14 -4
- data/spec/evva_spec.rb +3 -5
- data/spec/fixtures/sample_public_events.csv +4 -4
- data/spec/fixtures/sample_public_people_properties.csv +4 -3
- data/spec/fixtures/test.yml +5 -3
- data/spec/lib/evva/android_generator_spec.rb +163 -69
- data/spec/lib/evva/config_spec.rb +7 -3
- data/spec/lib/evva/google_sheet_spec.rb +25 -7
- data/spec/lib/evva/swift_generator_spec.rb +157 -40
- metadata +17 -6
- data/.ruby-version +0 -1
- data/evva_config.yml +0 -14
- data/lib/evva/mixpanel_event.rb +0 -13
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.7.3
|
data/evva_config.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
type: iOS
|
2
|
-
|
3
|
-
data_source:
|
4
|
-
type: google_sheet
|
5
|
-
sheet_id: 1LaJd68os3g_GFlerogC64grNIlXb2iukMznOvdml7A4
|
6
|
-
events_url: https://path-to-csv
|
7
|
-
people_properties_url: https://path-to-csv
|
8
|
-
enum_classes_url: https://path-to-csv
|
9
|
-
|
10
|
-
out_path: analytics
|
11
|
-
event_file_name: MixpanelAnalytics
|
12
|
-
event_enum_file_name: MixpanelEvent
|
13
|
-
people_file_name: MixpanelProperties
|
14
|
-
package_name: com.hole19golf.hole19.analytics
|
data/lib/evva/mixpanel_event.rb
DELETED