posthog-ruby 1.2.3 → 1.2.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: 3b90a7b41e6a5a6fbbf48f555b9948e05b1d4caec377ca715a07701e5d655123
4
- data.tar.gz: cab835193f7c6ecba36d5121201ef5c216b9bdf31762124811a1fa43754c29e1
3
+ metadata.gz: 48c747d4d40d5c783c8f53c03fbc7324c5de7d41521293c8aef8d1d76a7b19dd
4
+ data.tar.gz: 03f2cf98045fa5bd21cac93fd0858453c5087950cd764d6144c8f98690deae65
5
5
  SHA512:
6
- metadata.gz: bdee6bf1dc34a46de738bfa5c73386d6054677080a25ab79ea37311c01992963b4731a432e2705d96e6fc10f66fed21f8a0438d4b8be3117c866fb4dd622f3b4
7
- data.tar.gz: 91f6a9b65ebbcd9d95536f8542b96b777d2a47ece861912331d5764973101c77818f6104bc1b857f4f458883fe159ed46bd8029eb6076de541705b15f11c70a7
6
+ metadata.gz: 68b3a6223048f1e4a36f6ef7546d5f69651c12ce55e53e4cf9ae0518ac16fe08695071a1439feeb98ed0a0e656fdae34aa0a40f985c4d4e9e0b0876262dfb028
7
+ data.tar.gz: 0b5a18f99c9d208f8803c1f6d4e30db96efceec768b0a25b7de794de436da1ab323d176b90d854a4392e5931418a661ab9812771da75d4c6584a5be4bc5ea427
@@ -54,7 +54,7 @@ class PostHog
54
54
  def parse_for_alias(fields)
55
55
  common = parse_common_fields(fields)
56
56
 
57
- distinct_id = common[:distinct_id] # must move to properties...
57
+ distinct_id = common[:distinct_id] # must both be set and move to properties
58
58
 
59
59
  alias_field = fields[:alias]
60
60
  check_presence! alias_field, 'alias'
@@ -63,7 +63,7 @@ class PostHog
63
63
  {
64
64
  type: 'alias',
65
65
  event: '$create_alias',
66
- distinct_id: nil,
66
+ distinct_id: distinct_id,
67
67
  properties:
68
68
  { distinct_id: distinct_id, alias: alias_field }.merge(
69
69
  common[:properties] || {}
@@ -1,3 +1,3 @@
1
1
  class PostHog
2
- VERSION = '1.2.3'
2
+ VERSION = '1.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posthog-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubygems_version: 3.0.3.1
180
+ rubygems_version: 3.0.3
181
181
  signing_key:
182
182
  specification_version: 4
183
183
  summary: PostHog library