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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 004a2633cebf7ce4d2110d7e9d13afe8c4e009d1e14cfdba2496ec5a0b9d98c2
4
- data.tar.gz: 3dac747f9515e391fe962f0378757ab3be6d8af489980b7effdfc6a569d52691
3
+ metadata.gz: 3d693768f37608edf11ab3c9bd6aaaa7839329d6fabdcbc33a29bceb877ce3de
4
+ data.tar.gz: fd35c2078fbc539ac180553e8e16178918b9efcea15bcaa4dcc792f24688d3e0
5
5
  SHA512:
6
- metadata.gz: dba3317b87fab8e4eb1996b10930fe49fbd3c3318670aecbfca48fdf94cd4d44b69837b29857af6b92cdae15e87a14e48dc978293fcf28935ae235f1e5c973d6
7
- data.tar.gz: c7d39cdab0ffc44ed3cdfb3651142f6e2552af67ac0147192f825982d95dd66520504f8fcbb2e33ebf4b92e75b870a2bf24490e2ee8ed070468bdf8695fe8f21
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 suppress Sentry messages by setting just one secret
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
- Sentry.capture_message('REMARK_ANALYTICS_URL not set')
30
- return
29
+ raise StandardError 'REMARK_ANALYTICS_URL not set'
31
30
  end
32
31
 
33
32
  if username.blank?
34
- Sentry.capture_message('REMARK_ANALYTICS_USERNAME not set')
35
- return
33
+ raise StandardError 'REMARK_ANALYTICS_USERNAME not set'
36
34
  end
37
35
 
38
36
  if password.blank?
39
- Sentry.capture_message('REMARK_ANALYTICS_PASSWORD not set')
40
- return
37
+ raise StandardError 'REMARK_ANALYTICS_PASSWORD not set'
41
38
  end
42
39
 
43
40
  Faraday.new do |conn|
@@ -1,3 +1,3 @@
1
1
  module RemarkAnalytics
2
- VERSION = '1.0.4'.freeze
2
+ VERSION = '1.0.5'.freeze
3
3
  end
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
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-05 00:00:00.000000000 Z
11
+ date: 2022-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday