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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c212161ee6bb8c6f116e8bd1dc91287d063638a372924eacbb2d6d5cc563c98e
|
4
|
+
data.tar.gz: 42b045f38fd8a95acd37a7e6f2e84193b387631d8edb3f6adec839d6040cbaa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5af21ff764829a3b75e9c386dacfb9dfddc7ff301492ca071002fc24dff0b2a86ee81e554e6e098e837221e7e3dc006e52531ff8c2aa63cad910de8eb0da625
|
7
|
+
data.tar.gz: 6efb3ee75e7f52071319763fe2fdac13f861564c3e3e670a22ed34133377a8ac58d02c556f10d2435dfd677a29afa1ec783f05df840d8f63cb89c24e7f8a41c6
|
data/README.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
[](https://badge.fury.io/js/moonshot-rails)
|
2
|
+
[](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
|
});
|
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
|
+
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:
|
11
|
+
date: 2024-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|