moonshot-rails 0.0.4 → 0.0.5

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: 80ae99ac2e3300a7795f3612397bb4c338c3fe4641392ba83bc2d6910f14cdd6
4
- data.tar.gz: 0b20b0277be40bc1ac7bb57a2c49e5da29726e4d7a400b1777759ad11c8e74d8
3
+ metadata.gz: c212161ee6bb8c6f116e8bd1dc91287d063638a372924eacbb2d6d5cc563c98e
4
+ data.tar.gz: 42b045f38fd8a95acd37a7e6f2e84193b387631d8edb3f6adec839d6040cbaa6
5
5
  SHA512:
6
- metadata.gz: a53608e24e4cabd49d5c426124774e526e1f898f1535615a1bb104384a8088f88197550be8a20f62c714565397d6ce3f82ebe494244c03c0a09971ebd28d63d9
7
- data.tar.gz: 4813fce7da2d850201bfe19e084f7e3371d8e51370be47539d34a239cf6d9a6415d00bb5f78429dc558b28c4ba56e2f549ebb538894bac1c4446a1a6375c55b8
6
+ metadata.gz: d5af21ff764829a3b75e9c386dacfb9dfddc7ff301492ca071002fc24dff0b2a86ee81e554e6e098e837221e7e3dc006e52531ff8c2aa63cad910de8eb0da625
7
+ data.tar.gz: 6efb3ee75e7f52071319763fe2fdac13f861564c3e3e670a22ed34133377a8ac58d02c556f10d2435dfd677a29afa1ec783f05df840d8f63cb89c24e7f8a41c6
data/README.md CHANGED
@@ -1,3 +1,6 @@
1
+ [![npm version](https://badge.fury.io/js/moonshot-rails.svg)](https://badge.fury.io/js/moonshot-rails)
2
+ [![Gem Version](https://badge.fury.io/rb/moonshot-rails.svg)](https://badge.fury.io/rb/moonshot-rails)
3
+
1
4
  # Moonshot Rails
2
5
 
3
6
  A collection of Stimulus controllers and other helpers enabling faster building of SaaS applications using modern Rails and Stimulus. Most of these are heavily opinionated.
@@ -22,7 +22,7 @@ export default class extends Controller {
22
22
 
23
23
  if (Object.keys(this.identificationValue).length) {
24
24
  const { id, email, name } = this.identificationValue
25
- posthog.identify(id, { email, name })
25
+ posthog.identify(id.toString(), { email, name })
26
26
  }
27
27
  }
28
28
  }
@@ -4211,7 +4211,7 @@ class PostHogController extends Controller {
4211
4211
  });
4212
4212
  if (Object.keys(this.identificationValue).length) {
4213
4213
  const {id: id, email: email, name: name} = this.identificationValue;
4214
- $r.identify(id, {
4214
+ $r.identify(id.toString(), {
4215
4215
  email: email,
4216
4216
  name: name
4217
4217
  });
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MoonshotRails
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moonshot-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Catalin Ionescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-22 00:00:00.000000000 Z
11
+ date: 2024-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails