vault-tools 0.6.0 → 0.6.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
  SHA1:
3
- metadata.gz: 3659a73e16232326982244fac1ce9ed09b5ad45f
4
- data.tar.gz: 5ce1c3c552061e26ff1e945d8f82dbfa626fb2b3
3
+ metadata.gz: 14d01726f3aa9567d329f1212fa72de1d7dd3d76
4
+ data.tar.gz: 31767fd0cd8f0aafe0095f9b2aeeefb9b65143ec
5
5
  SHA512:
6
- metadata.gz: 89d887c7303d0246b93ac07a591f9db3deb4f47101702b8c528fb16891e6ea40b776dfc48e23d5008b1272b980403858c2fac0be00ce494879188a03ae196993
7
- data.tar.gz: 5b1fd861313db8223070531f7290da7e2e2474ca0426000135ff15578f271e96e2587a8caa2e9182035257017f8942792ee00f20e656e31040450189917e9d40
6
+ metadata.gz: 7dd47669719e1d49212e1aa97bbaec84fa9dff893c1e43406d054cb9dde8496ad9d6b134ac1406fafec5548ab136b5029eadac9b86784a13a7fac88e1c4db75e
7
+ data.tar.gz: c9cb65406c8947c3088b5b8bae005f8eaa2f986ef6bf682490b80e74dcf9d344ba61b49bab844e20945faa6ae91549eb2e8bd1feb0f12ad08be9995e22eabb9d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vault-tools (0.6.0)
4
+ vault-tools (0.6.1)
5
5
  aws-sdk (~> 1.0)
6
6
  coderay
7
7
  excon
@@ -10,7 +10,7 @@ PATH
10
10
  rack (~> 1.6.4)
11
11
  rack-ssl-enforcer
12
12
  rollbar (~> 2.7.1)
13
- scrolls
13
+ scrolls (~> 0.9)
14
14
  sinatra (~> 1.4.4)
15
15
  uuidtools
16
16
  zipkin-tracer (~> 0.27)
@@ -44,12 +44,12 @@ GEM
44
44
  json (1.8.6)
45
45
  logfmt (0.0.7)
46
46
  method_source (0.9.0)
47
- mini_portile (0.6.2)
47
+ mini_portile2 (2.3.0)
48
48
  minitest (4.7.5)
49
49
  multi_json (1.13.1)
50
50
  multipart-post (2.0.0)
51
- nokogiri (1.6.6.2)
52
- mini_portile (~> 0.6.0)
51
+ nokogiri (1.8.2)
52
+ mini_portile2 (~> 2.3.0)
53
53
  pry (0.11.3)
54
54
  coderay (~> 1.1.0)
55
55
  method_source (~> 0.9.0)
@@ -64,7 +64,7 @@ GEM
64
64
  rollbar (2.7.1)
65
65
  multi_json
66
66
  rr (1.1.2)
67
- scrolls (0.3.8)
67
+ scrolls (0.9.0)
68
68
  shotgun (0.9.1)
69
69
  rack (>= 1.0)
70
70
  sinatra (1.4.8)
@@ -89,7 +89,7 @@ GEM
89
89
  rr
90
90
  scrolls
91
91
  turn
92
- yard (0.8.7.6)
92
+ yard (0.9.12)
93
93
  yard-sinatra (1.0.0)
94
94
  yard (~> 0.7)
95
95
  zipkin-tracer (0.27.2.1)
@@ -1,5 +1,5 @@
1
1
  module Vault
2
2
  module Tools
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
4
4
  end
5
5
  end
data/lib/vault-tools.rb CHANGED
@@ -66,6 +66,14 @@ module Vault
66
66
  end
67
67
  end
68
68
 
69
+ def self.init_scrolls
70
+ # Scrolls 0.9.0+ requires an init
71
+ Scrolls.init(
72
+ global_context: {app: Vault::Config.app_name},
73
+ time_unit: 'milliseconds'
74
+ )
75
+ end
76
+
69
77
  # all in one go
70
78
  def self.setup
71
79
  self.require
@@ -74,6 +82,7 @@ module Vault
74
82
  self.hack_time_class
75
83
  self.override_global_config
76
84
  self.load_shared_config
85
+ self.init_scrolls
77
86
  Tracing.configure
78
87
  end
79
88
  end
data/vault-tools.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep('^(test|spec|features)/')
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'scrolls'
20
+ gem.add_dependency 'scrolls', '~> 0.9'
21
21
  gem.add_dependency 'sinatra', '~> 1.4.4'
22
22
  gem.add_dependency 'uuidtools'
23
23
  gem.add_dependency 'rack-ssl-enforcer'
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Continanza
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-02-26 00:00:00.000000000 Z
12
+ date: 2018-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: scrolls
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '0.9'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: '0.9'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sinatra
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -318,4 +318,3 @@ signing_key:
318
318
  specification_version: 4
319
319
  summary: Test classes, base web classes, and helpers - oh my!
320
320
  test_files: []
321
- has_rdoc: