kubelink 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kubelink/sentry.rb +3 -3
- data/lib/kubelink/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f70ba74e6b17e79e6472ab5e10da0f83a7035f03d4824ff55d904674292af71
|
4
|
+
data.tar.gz: afa4a11bb0198ec6d4676d5124873aabce2eafd1b087ab4919131e722c48408e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87cf218bfd94683d8b73a31afb4bf105793ae460f0480a8289136ed4ec3541a3ce8260826c7b0dd8004b5120f0ace280ed4fd3d94ce1e5419eda5b87cdc756da
|
7
|
+
data.tar.gz: 78bfa0da9712a04a7062b578075a3678471fb84d4ddbef524702f870f7957f881bb914ec9f7894705e263118a366a7f43ead2b53b681bd953b882c158c8e4410
|
data/lib/kubelink/sentry.rb
CHANGED
@@ -5,9 +5,9 @@ module Kubelink
|
|
5
5
|
include Kubelink::Sentry::Helpers
|
6
6
|
end
|
7
7
|
|
8
|
-
if ENV.key?('
|
8
|
+
if ENV.key?('SENTRY_DSN')
|
9
9
|
Raven.configure do |config|
|
10
|
-
config.dsn = ENV['
|
10
|
+
config.dsn = ENV['SENTRY_DSN']
|
11
11
|
config.release = ENV['RAILS_COMMIT']
|
12
12
|
end
|
13
13
|
|
@@ -15,7 +15,7 @@ module Kubelink
|
|
15
15
|
include Kubelink::Sentry::Controller
|
16
16
|
end
|
17
17
|
elsif Rails.env.production? && !Rake.application.top_level_tasks.include?('assets:precompile')
|
18
|
-
throw "This application cannot run in production without setting
|
18
|
+
throw "This application cannot run in production without setting SENTRY_DSN"
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
data/lib/kubelink/version.rb
CHANGED