vault-tools 0.7.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f446bd84b2eda87b17e6aeda507007ef5eb1c70
4
- data.tar.gz: 3b99cfa7710146aad56c572c91807bbf39c57568
3
+ metadata.gz: e19054d0a98568e3f5b1a45f6ead097dd798dd8a
4
+ data.tar.gz: 8cf2c7af26d27d4fdf7a82f603006e5911195bac
5
5
  SHA512:
6
- metadata.gz: 127f16f37b2061645c3a352598f3948a061a2d0fa97c15fc7abb159bd292ebb355c0e705a6afa45e43e1a7f14f5e57c07dbca4c0147985f6ce63d3c36068e021
7
- data.tar.gz: 539c7464fd0b88aef7cbbe125e59b806c372d9e29d003fd008ac20490fdb0253fd447184d75fe3a4a7633449a449a8da813a4d05f774281e5d536f8afed6094f
6
+ metadata.gz: 4e89b0edb8f6e3e72a3be0581ed799be2c3384de73806100a33a10b88ad11471fb8829f61d2dc50a0d5707aefe576a2e411ccd65244e412a3addf148576e8732
7
+ data.tar.gz: 1c5f0330871411b17456599903e4d516613991e6ef84f36e9802b65506202307c8b7337049aa217e5d59454b55a7c02c0b454276eaffa48dcaed86e999831de8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vault-tools (0.7.1)
4
+ vault-tools (1.0.0)
5
5
  aws-sdk (~> 1.0)
6
6
  coderay
7
7
  excon
@@ -27,8 +27,8 @@ GEM
27
27
  coderay (1.1.2)
28
28
  concurrent-ruby (1.0.5)
29
29
  dotenv (2.0.0)
30
- excon (0.60.0)
31
- faraday (0.15.1)
30
+ excon (0.62.0)
31
+ faraday (0.15.2)
32
32
  multipart-post (>= 1.2, < 3)
33
33
  fernet (2.0.rc2)
34
34
  valcro (= 0.1)
@@ -71,8 +71,8 @@ GEM
71
71
  rack (~> 1.5)
72
72
  rack-protection (~> 1.4)
73
73
  tilt (>= 1.3, < 3)
74
- sucker_punch (2.0.4)
75
- concurrent-ruby (~> 1.0.0)
74
+ sucker_punch (2.1.1)
75
+ concurrent-ruby (~> 1.0)
76
76
  thrift (0.9.3.0)
77
77
  tilt (2.0.8)
78
78
  turn (0.9.7)
@@ -92,7 +92,7 @@ GEM
92
92
  yard (0.9.12)
93
93
  yard-sinatra (1.0.0)
94
94
  yard (~> 0.7)
95
- zipkin-tracer (0.27.2.1)
95
+ zipkin-tracer (0.28.0)
96
96
  faraday (~> 0.8)
97
97
  finagle-thrift (~> 1.4.2)
98
98
  rack (>= 1.0)
@@ -114,4 +114,4 @@ DEPENDENCIES
114
114
  yard-sinatra
115
115
 
116
116
  BUNDLED WITH
117
- 1.16.1
117
+ 1.16.4
@@ -6,17 +6,6 @@ require 'rack/ssl-enforcer'
6
6
  require 'heroku-api'
7
7
  require 'rollbar'
8
8
 
9
- Rollbar.configure do |config|
10
- config.environment = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || ENV['APP_ENV'] || ENV['ROLLBAR_ENV'] || 'unassigned'
11
- config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']
12
- config.scrub_headers = (config.scrub_headers || []) | ["Authorization", "Cookie", "Set-Cookie", "X_CSRF_TOKEN", "X-CSRF-Token", "HTTP_X_CSRF_TOKEN"]
13
- config.scrub_fields = (config.scrub_fields || []) | [:passwd, :password, :password_confirmation, :secret, :confirm_password,
14
- :secret_token, :api_key, :access_token, :authenticity_token, :"bouncer.token", :"bouncer.refresh_token",
15
- :heroku_oauth_token, :heroku_session_nonce, :heroku_users_session, :oauth_token, :postgres_session_nonce,
16
- :"request.cookies.signup-sso-session", :sudo_oauth_token, :super_user_session_secret, :user_session_secret,
17
- :"wwo-sso-session"]
18
- end
19
-
20
9
  # Yes, there's a lot of stuff on STDERR. But its on
21
10
  # stderr and not stdout so you can pipe to /dev/null if
22
11
  # you hate it. These methods do some pretty heavy-handed
@@ -104,3 +93,17 @@ require 'vault-tools/rollbar_helper'
104
93
  require 'vault-tools/tracing/sidekiq_client'
105
94
  require 'vault-tools/tracing/sidekiq_server'
106
95
  require 'vault-tools/tracing'
96
+
97
+ Rollbar.configure do |config|
98
+ config.environment = ENV['RACK_ENV'] || ENV['RAILS_ENV'] || ENV['APP_ENV'] || ENV['ROLLBAR_ENV'] || 'unassigned'
99
+ config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']
100
+ config.scrub_headers = (config.scrub_headers || []) | ["Authorization", "Cookie", "Set-Cookie", "X_CSRF_TOKEN", "X-CSRF-Token", "HTTP_X_CSRF_TOKEN"]
101
+ config.scrub_fields = (config.scrub_fields || []) | [:passwd, :password, :password_confirmation, :secret, :confirm_password,
102
+ :secret_token, :api_key, :access_token, :authenticity_token, :"bouncer.token", :"bouncer.refresh_token",
103
+ :heroku_oauth_token, :heroku_session_nonce, :heroku_users_session, :oauth_token, :postgres_session_nonce,
104
+ :"request.cookies.signup-sso-session", :sudo_oauth_token, :super_user_session_secret, :user_session_secret,
105
+ :"wwo-sso-session"]
106
+
107
+
108
+ config.enabled = Vault::Config.production?
109
+ end
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Vault
2
4
  module Tools
3
- VERSION = '0.7.1'
5
+ VERSION = '1.0.0'
4
6
  end
5
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vault-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Continanza
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-04 00:00:00.000000000 Z
12
+ date: 2018-09-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: scrolls