pg_rails 7.0.8.pre.alpha.20 → 7.0.8.pre.alpha.21

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: 698a6639bf79f6c5eccde6ea5d5aacc18040b4eceb3cbeff00b9110929da210d
4
- data.tar.gz: e4f98c5c84dd09a63c6b1e179ca3f3450f376eb62fd291eb4a363de821367fb4
3
+ metadata.gz: 242457a4da70f56123b7fd123f88c96a3b84aa25b958e2d49df70329b018a2f3
4
+ data.tar.gz: 4e8e95c37063829636412299ae87e7ee683e62977d0afa8dbec310b1492bd46f
5
5
  SHA512:
6
- metadata.gz: 9493d7e1d3bc2b64e14bdf079a87433f416dc60983735f2456d4c1f7b58c38cb313fcf6372f96b2f57e838df544d9d7ed5cc6282bddcb8f2855029cac21403aa
7
- data.tar.gz: 666f14a5b5aae6934ebea4afbf0de0e496c45d9c22042d2cdb7f813fff59bc74ab4efb84c0ed72c582883d39279e81d8f053119fc4664107bc9afe3ee9fa3c6f
6
+ metadata.gz: 4ac18ede797969e3e60579bdb3b47494e7b34879a4446ce583fb282b8ea99644d5f6efc9617f853b46554aa83f853a0dd8b21e15edbed41f5fffacb927c66fe1
7
+ data.tar.gz: a425dda11bfe7c0ba6aa63ec71e81ad9bb42bad11991b3bba914e2dd5966f50bb613296c87eec92051a301330de07ec4a8d028796dac1077f958dc0fbb3c7ff7
@@ -2,7 +2,7 @@ Rollbar.configure do |config|
2
2
  # Without configuration, Rollbar is enabled in all environments.
3
3
  # To disable in specific environments, set config.enabled=false.
4
4
 
5
- config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']
5
+ config.access_token = Rails.application.credentials.rollbar.access_token_server
6
6
 
7
7
  # Here we'll disable in 'test':
8
8
  if Rails.env.test?
@@ -1,7 +1,7 @@
1
- <% if ENV['ROLLBAR_ACCESS_TOKEN_CLIENT'].present? %>
1
+ <% if Rails.application.credentials.rollbar.present? %>
2
2
  <script>
3
3
  var _rollbarConfig = {
4
- accessToken: '<%= ENV['ROLLBAR_ACCESS_TOKEN_CLIENT'] %>',
4
+ accessToken: '<%= Rails.application.credentials.rollbar.access_token_client %>',
5
5
  captureUncaught: true,
6
6
  captureUnhandledRejections: true,
7
7
  payload: {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.20'
4
+ VERSION = '7.0.8-alpha.21'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8.pre.alpha.20
4
+ version: 7.0.8.pre.alpha.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso