kubelink 0.1.0 → 0.1.1

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: 822c6b2dc5aefd26ccb0ad0edc51d83934aca4031d91e1c768285f2a782ba9a2
4
- data.tar.gz: 074d4552a27b5d36204db79263d9fd1aa428c4890c2552d26fa9011db68d2a58
3
+ metadata.gz: b86cf4b14868912589f23b9ab93d1276a7ba9322c2d3599c7cf973c095cb49c0
4
+ data.tar.gz: 44e8505fcf14251e18c9849660bf987b73be2d38c16b8777627407bc649af53f
5
5
  SHA512:
6
- metadata.gz: fbb3e32067fbe281021dcf191e5158d0c5c097fb34329a327c640846678eb700f25201387dc6e2fd5ad827c4039de67a1ec1a60b40c753b2b17240f3bc33f286
7
- data.tar.gz: c34ade1bd0ad7ab8d28a80cac287e8d1269d1395c9409c44531548db6336672f765946b65ea434410c2f05ad11ed8dcf6acaedc057cd0a103202c85c7749bd4a
6
+ metadata.gz: 512d0a9fb4e388538d84cb0ecf87dec564bbca471d5b4954b88b51c400698973ab6a59c2382c85b1362b49617c296acfdbe2783fe6785bcf418bab7a6d8072d5
7
+ data.tar.gz: f6ca9fc4afaa3dd7fe1d98d8884610b144b0bf6bb05f5723522c369bc620e5fc9b2a0ec5c694f73714701ce03277efe106f4a9e71bfeeb0ab3606bfb718ddef6
@@ -14,7 +14,7 @@ module Kubelink
14
14
  ActiveSupport.on_load :action_controller do
15
15
  include Kubelink::Sentry::Controller
16
16
  end
17
- elsif Rails.env.production?
17
+ elsif Rails.env.production? && !Rake.application.top_level_tasks.include?('assets:precompile')
18
18
  throw "This application cannot run in production without setting RAVEN_DSN"
19
19
  end
20
20
  end
@@ -36,7 +36,7 @@ module Kubelink
36
36
  script = 'https://browser.sentry-cdn.com/4.2.0/bundle.min.js'
37
37
 
38
38
  [ javascript_include_tag(script, crossorigin: :anonymous),
39
- content_tag(:script, %Q{Raven.config("#{sentry_dsn}").install();}.html_safe)
39
+ content_tag(:script, %Q{Sentry.init({ dsn: "#{sentry_dsn}" });}.html_safe)
40
40
  ].join("\n").html_safe
41
41
  end
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Kubelink
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubelink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martino di Filippo