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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 779553f73b44ead11e1d4b49e4614c4153102013a2546815ce577844b1de1384
4
- data.tar.gz: c301b0f5f83964bd074627f29fb161485e6b14ccf698457ca147859d51e9dc0c
3
+ metadata.gz: ebf837b94a53cbfc4dd35c0fac6f98fd33ba53c23c61fdd88eb3f3c4609ddb9b
4
+ data.tar.gz: 06ad8f634f1833681bcfaa5d0bb39d3ce1870352b330368f3f39dfeb7865ace3
5
5
  SHA512:
6
- metadata.gz: 4875fe0a940a56388daa2cdfe627a69117d7e4ef9d8cd52a946572c8ddc2eb2b02a37fe20cb347add3d30aec32b2a499485f78036e64bdbc1e8605a601d1c6b7
7
- data.tar.gz: 59c579f660e7e1988f523c5d18b594187dd37b67e894ead091f59c658de1902ce679c1b72a55fda6ce9c9bab65b8a44fd8ca6b549899dfdc3ca282a62e87492b
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
- options.endpoint, protocol: options.protocol, method: options.method, buffer_size: options.buffer_size
27
- @client = SnowplowTracker::Tracker.new emitter
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, nil, contexts
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
  ##
@@ -3,7 +3,7 @@
3
3
  class Itly
4
4
  class Plugin
5
5
  class Snowplow < Plugin
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  end
8
8
  end
9
9
  end
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.0
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: 2021-06-15 00:00:00.000000000 Z
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.0.3.1
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