itly-plugin-snowplow 0.1.0 → 0.1.1
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/lib/itly/plugin/snowplow/snowplow.rb +6 -4
- data/lib/itly/plugin/snowplow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebf837b94a53cbfc4dd35c0fac6f98fd33ba53c23c61fdd88eb3f3c4609ddb9b
|
|
4
|
+
data.tar.gz: 06ad8f634f1833681bcfaa5d0bb39d3ce1870352b330368f3f39dfeb7865ace3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: feb25a7572296534f822e0cba63b1a2d4dc4edea53bdd8cf6f7dba7910fbfd76e065881042f8a036fe92d72ba0d32b5228aba3bed3825a57f10a6c696d70bc0c
|
|
7
|
+
data.tar.gz: 3d2956fd07e3afd555ba54e404c2cfa3b6c3aff0a7a129d4180df801bb36607ed2fab3de64e65d7620d5e4901af032e3f4d1c1173bd1085463fc2f84565b6912
|
|
@@ -23,8 +23,10 @@ class Itly
|
|
|
23
23
|
@disabled = options.disabled
|
|
24
24
|
|
|
25
25
|
emitter = SnowplowTracker::Emitter.new \
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
endpoint: options.endpoint, options: {
|
|
27
|
+
protocol: options.protocol, method: options.method, buffer_size: options.buffer_size
|
|
28
|
+
}
|
|
29
|
+
@client = SnowplowTracker::Tracker.new emitters: emitter
|
|
28
30
|
end
|
|
29
31
|
|
|
30
32
|
##
|
|
@@ -94,7 +96,7 @@ class Itly
|
|
|
94
96
|
contexts = options.contexts.collect(&:to_self_describing_json)
|
|
95
97
|
end
|
|
96
98
|
|
|
97
|
-
client.track_screen_view name
|
|
99
|
+
client.track_screen_view name: name, context: contexts
|
|
98
100
|
end
|
|
99
101
|
|
|
100
102
|
##
|
|
@@ -132,7 +134,7 @@ class Itly
|
|
|
132
134
|
contexts = options.contexts.collect(&:to_self_describing_json)
|
|
133
135
|
end
|
|
134
136
|
|
|
135
|
-
client.track_self_describing_event event_json, contexts
|
|
137
|
+
client.track_self_describing_event event_json: event_json, context: contexts
|
|
136
138
|
end
|
|
137
139
|
|
|
138
140
|
##
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: itly-plugin-snowplow
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iteratively
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: itly-sdk
|
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
90
|
version: '0'
|
|
91
91
|
requirements: []
|
|
92
|
-
rubygems_version: 3.
|
|
92
|
+
rubygems_version: 3.1.4
|
|
93
93
|
signing_key:
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: Snowplow plugin for Iteratively SDK for Ruby
|