remark_analytics 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/remark_analytics/jobs/post_event_job.rb +3 -6
- data/lib/remark_analytics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d693768f37608edf11ab3c9bd6aaaa7839329d6fabdcbc33a29bceb877ce3de
|
4
|
+
data.tar.gz: fd35c2078fbc539ac180553e8e16178918b9efcea15bcaa4dcc792f24688d3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed3bb20e698726602785fc1d4c2bbe372fd65707b8e2222466a1b23bf84a4e94f015480640789bb5108be6c0d2f67bbdcd178005661cbd4f7019b2ff360bfa9e
|
7
|
+
data.tar.gz: b4b11ce2fd34a699e588800552144d546edf1e9aec87712c1770e8ce062ca9ddd1103f59e728c8cc41e22cbbed59e6cfe0b39f425bd105caa9bb3c6f617f5619
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ Make sure the following keys and their values become available in your applicati
|
|
27
27
|
- **REMARK_ANALYTICS_PASSWORD** (the Basic Authentication user password)
|
28
28
|
- **REMARK_ANALYTICS_TENANT_NAME** (the name of the tenant/client)
|
29
29
|
|
30
|
-
or
|
30
|
+
or prevent the raise of missing secrets errors by setting just one secret
|
31
31
|
|
32
32
|
- **NO_REMARK_ANALYTICS** (any value is good enough; true or yes, foo)
|
33
33
|
|
@@ -26,18 +26,15 @@ module RemarkAnalytics
|
|
26
26
|
@events_endpoint = "#{analytics_url}/api/v1/events"
|
27
27
|
|
28
28
|
if analytics_url.blank?
|
29
|
-
|
30
|
-
return
|
29
|
+
raise StandardError 'REMARK_ANALYTICS_URL not set'
|
31
30
|
end
|
32
31
|
|
33
32
|
if username.blank?
|
34
|
-
|
35
|
-
return
|
33
|
+
raise StandardError 'REMARK_ANALYTICS_USERNAME not set'
|
36
34
|
end
|
37
35
|
|
38
36
|
if password.blank?
|
39
|
-
|
40
|
-
return
|
37
|
+
raise StandardError 'REMARK_ANALYTICS_PASSWORD not set'
|
41
38
|
end
|
42
39
|
|
43
40
|
Faraday.new do |conn|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: remark_analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Rockx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|