promenade 0.1.9 → 0.1.10

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: c2bd249f853cbf57e2571cf4bb3fc58c664b0c0e68fe65b9ee9cae8c052e400b
4
- data.tar.gz: 657e124fdf770d0a6543079afe097c4958e6fdc870e150e2ce0f699d3fa9e072
3
+ metadata.gz: 6d222c254996b462ac7314436b4cc4c59806a3beedb90d77e761f0f771604fc0
4
+ data.tar.gz: 23177e7fe90c5b80c8425a1cd86bc2b85ac4a40756957a4a2788ccc97cfeecb3
5
5
  SHA512:
6
- metadata.gz: 682fa7be51f6489f72744003794c8d1e7c268c345ba1d035acce315e5acd5172e21a4d64c4207cbf5ae2d09c051f0a4f02ded341fc44d632d407cd58f9e0b15f
7
- data.tar.gz: db9463b50ab7d5b5093edb545169dd689f1baf8c0ab9f0cd44299a4424dfe53425f098b213a2fce8a4b04a81a62031f3fc4bff4ddf82ec862ec87966d3379435
6
+ metadata.gz: 6588b702827ced64b962fd8ecd88febcf6daa74a9cf11c73ad9cbb939595899bc28d516bb3e5584d7b8f1681fc762e148b3d62f15bd8c3618b12b32e01dd7a39
7
+ data.tar.gz: 839d7696d71185bb2ee883fff46aab962e7e0e4458fd13705091838a93c3e98fdf42df9783436729fd5354165f73045e039e7f81ad447c3241ceea96b664fbcd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- promenade (0.1.9)
4
+ promenade (0.1.10)
5
5
  activesupport
6
6
  prometheus-client-mmap (~> 0.9.3)
7
7
  rack
@@ -9,7 +9,7 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (5.2.1)
12
+ activesupport (5.2.2)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 0.7, < 2)
15
15
  minitest (~> 5.1)
@@ -19,44 +19,44 @@ GEM
19
19
  binding_of_caller (0.8.0)
20
20
  debug_inspector (>= 0.0.1)
21
21
  climate_control (0.2.0)
22
- codecov (0.1.10)
22
+ codecov (0.1.14)
23
23
  json
24
24
  simplecov
25
25
  url
26
26
  coderay (1.1.2)
27
- concurrent-ruby (1.0.5)
27
+ concurrent-ruby (1.1.3)
28
28
  debug_inspector (0.0.3)
29
- deep-cover (0.6.4)
29
+ deep-cover (0.7.0)
30
30
  bundler
31
- deep-cover-core (= 0.6.4)
31
+ deep-cover-core (= 0.7.0)
32
32
  highline
33
- slop (~> 4.0)
34
- term-ansicolor
33
+ thor (>= 0.20.3)
35
34
  with_progress
36
- deep-cover-core (0.6.4)
35
+ deep-cover-core (0.7.0)
37
36
  backports (>= 3.11.0)
38
37
  binding_of_caller
39
38
  parser (~> 2.5.0)
40
39
  pry
40
+ term-ansicolor
41
41
  terminal-table
42
42
  diff-lcs (1.3)
43
43
  docile (1.3.1)
44
44
  highline (2.0.0)
45
- i18n (1.1.0)
45
+ i18n (1.1.1)
46
46
  concurrent-ruby (~> 1.0)
47
47
  jaro_winkler (1.5.1)
48
48
  json (2.1.0)
49
- method_source (0.9.0)
49
+ method_source (0.9.2)
50
50
  minitest (5.11.3)
51
51
  parallel (1.12.1)
52
- parser (2.5.1.2)
52
+ parser (2.5.3.0)
53
53
  ast (~> 2.4.0)
54
54
  powerpack (0.1.2)
55
- prometheus-client-mmap (0.9.4)
56
- pry (0.11.3)
55
+ prometheus-client-mmap (0.9.5)
56
+ pry (0.12.2)
57
57
  coderay (~> 1.1.0)
58
58
  method_source (~> 0.9.0)
59
- rack (2.0.5)
59
+ rack (2.0.6)
60
60
  rainbow (3.0.0)
61
61
  rake (10.5.0)
62
62
  rspec (3.8.0)
@@ -65,34 +65,34 @@ GEM
65
65
  rspec-mocks (~> 3.8.0)
66
66
  rspec-core (3.8.0)
67
67
  rspec-support (~> 3.8.0)
68
- rspec-expectations (3.8.1)
68
+ rspec-expectations (3.8.2)
69
69
  diff-lcs (>= 1.2.0, < 2.0)
70
70
  rspec-support (~> 3.8.0)
71
71
  rspec-mocks (3.8.0)
72
72
  diff-lcs (>= 1.2.0, < 2.0)
73
73
  rspec-support (~> 3.8.0)
74
74
  rspec-support (3.8.0)
75
- rubocop (0.59.2)
75
+ rubocop (0.61.1)
76
76
  jaro_winkler (~> 1.5.1)
77
77
  parallel (~> 1.10)
78
78
  parser (>= 2.5, != 2.5.1.1)
79
79
  powerpack (~> 0.1)
80
80
  rainbow (>= 2.2.2, < 4.0)
81
81
  ruby-progressbar (~> 1.7)
82
- unicode-display_width (~> 1.0, >= 1.0.1)
82
+ unicode-display_width (~> 1.4.0)
83
83
  ruby-progressbar (1.10.0)
84
84
  simplecov (0.16.1)
85
85
  docile (~> 1.1)
86
86
  json (>= 1.8, < 3)
87
87
  simplecov-html (~> 0.10.0)
88
88
  simplecov-html (0.10.2)
89
- slop (4.6.2)
90
- term-ansicolor (1.6.0)
89
+ term-ansicolor (1.7.0)
91
90
  tins (~> 1.0)
92
91
  terminal-table (1.8.0)
93
92
  unicode-display_width (~> 1.1, >= 1.1.1)
93
+ thor (0.20.3)
94
94
  thread_safe (0.3.6)
95
- tins (1.16.3)
95
+ tins (1.20.2)
96
96
  tzinfo (1.2.5)
97
97
  thread_safe (~> 0.1)
98
98
  unicode-display_width (1.4.0)
@@ -115,4 +115,4 @@ DEPENDENCIES
115
115
  simplecov
116
116
 
117
117
  BUNDLED WITH
118
- 1.16.2
118
+ 1.16.6
@@ -1,5 +1,3 @@
1
- require "prometheus/client"
2
- require "prometheus/client/support/unicorn"
3
1
  require "pathname"
4
2
 
5
3
  module Promenade
@@ -17,6 +15,11 @@ module Promenade
17
15
  FileUtils.mkdir_p multiprocess_files_dir
18
16
  end
19
17
 
18
+ ENV["prometheus_multiproc_dir"] = multiprocess_files_dir.to_s
19
+
20
+ require "prometheus/client"
21
+ require "prometheus/client/support/unicorn"
22
+
20
23
  ::Prometheus::Client.configure do |config|
21
24
  config.multiprocess_files_dir = multiprocess_files_dir
22
25
  config.pid_provider = ::Prometheus::Client::Support::Unicorn.method(:worker_pid_provider)
@@ -1,3 +1,3 @@
1
1
  module Promenade
2
- VERSION = "0.1.9".freeze
2
+ VERSION = "0.1.10".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promenade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ed Robinson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2018-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport