promenade 0.1.8 → 0.1.9

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: a97473b26a487020c3a9fee648234775da0277e10c875d9b422694b1b0717def
4
- data.tar.gz: 2891fd874b452d414a9fbd677fa656841245513a9fe8e8a4765f637a2c6a128b
3
+ metadata.gz: c2bd249f853cbf57e2571cf4bb3fc58c664b0c0e68fe65b9ee9cae8c052e400b
4
+ data.tar.gz: 657e124fdf770d0a6543079afe097c4958e6fdc870e150e2ce0f699d3fa9e072
5
5
  SHA512:
6
- metadata.gz: a67eb34dce4a342c79940dab1dd9196e19339a516aac0c18a7f0d8e41e485e3ae35ea18eb3151f40aa413086afc0f8034e0d0152b4d4f89f2422310567449722
7
- data.tar.gz: 0d48694c0c4009ecb268a0f54aa2cb9b9da7eac4d202d80c0659ac19362d37538978363ea5cd98ef82d3fa3ab12c329579a163d5bda5ed487759a832bcbe8ebb
6
+ metadata.gz: 682fa7be51f6489f72744003794c8d1e7c268c345ba1d035acce315e5acd5172e21a4d64c4207cbf5ae2d09c051f0a4f02ded341fc44d632d407cd58f9e0b15f
7
+ data.tar.gz: db9463b50ab7d5b5093edb545169dd689f1baf8c0ab9f0cd44299a4424dfe53425f098b213a2fce8a4b04a81a62031f3fc4bff4ddf82ec862ec87966d3379435
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- promenade (0.1.8)
4
+ promenade (0.1.9)
5
5
  activesupport
6
6
  prometheus-client-mmap (~> 0.9.3)
7
7
  rack
@@ -9,13 +9,13 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activesupport (5.2.0)
12
+ activesupport (5.2.1)
13
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
14
  i18n (>= 0.7, < 2)
15
15
  minitest (~> 5.1)
16
16
  tzinfo (~> 1.1)
17
17
  ast (2.4.0)
18
- backports (3.11.3)
18
+ backports (3.11.4)
19
19
  binding_of_caller (0.8.0)
20
20
  debug_inspector (>= 0.0.1)
21
21
  climate_control (0.2.0)
@@ -26,69 +26,61 @@ GEM
26
26
  coderay (1.1.2)
27
27
  concurrent-ruby (1.0.5)
28
28
  debug_inspector (0.0.3)
29
- deep-cover (0.6.2)
30
- backports (>= 3.11.0)
31
- binding_of_caller
29
+ deep-cover (0.6.4)
32
30
  bundler
31
+ deep-cover-core (= 0.6.4)
33
32
  highline
34
- parser (~> 2.5.0)
35
- pry
36
- sass
37
33
  slop (~> 4.0)
38
34
  term-ansicolor
39
- terminal-table
40
35
  with_progress
36
+ deep-cover-core (0.6.4)
37
+ backports (>= 3.11.0)
38
+ binding_of_caller
39
+ parser (~> 2.5.0)
40
+ pry
41
+ terminal-table
41
42
  diff-lcs (1.3)
42
43
  docile (1.3.1)
43
- ffi (1.9.25)
44
44
  highline (2.0.0)
45
- i18n (1.0.1)
45
+ i18n (1.1.0)
46
46
  concurrent-ruby (~> 1.0)
47
47
  jaro_winkler (1.5.1)
48
48
  json (2.1.0)
49
49
  method_source (0.9.0)
50
50
  minitest (5.11.3)
51
51
  parallel (1.12.1)
52
- parser (2.5.1.0)
52
+ parser (2.5.1.2)
53
53
  ast (~> 2.4.0)
54
54
  powerpack (0.1.2)
55
- prometheus-client-mmap (0.9.3)
55
+ prometheus-client-mmap (0.9.4)
56
56
  pry (0.11.3)
57
57
  coderay (~> 1.1.0)
58
58
  method_source (~> 0.9.0)
59
59
  rack (2.0.5)
60
60
  rainbow (3.0.0)
61
61
  rake (10.5.0)
62
- rb-fsevent (0.10.3)
63
- rb-inotify (0.9.10)
64
- ffi (>= 0.5.0, < 2)
65
- rspec (3.7.0)
66
- rspec-core (~> 3.7.0)
67
- rspec-expectations (~> 3.7.0)
68
- rspec-mocks (~> 3.7.0)
69
- rspec-core (3.7.1)
70
- rspec-support (~> 3.7.0)
71
- rspec-expectations (3.7.0)
62
+ rspec (3.8.0)
63
+ rspec-core (~> 3.8.0)
64
+ rspec-expectations (~> 3.8.0)
65
+ rspec-mocks (~> 3.8.0)
66
+ rspec-core (3.8.0)
67
+ rspec-support (~> 3.8.0)
68
+ rspec-expectations (3.8.1)
72
69
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.7.0)
74
- rspec-mocks (3.7.0)
70
+ rspec-support (~> 3.8.0)
71
+ rspec-mocks (3.8.0)
75
72
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.7.0)
77
- rspec-support (3.7.1)
78
- rubocop (0.57.2)
73
+ rspec-support (~> 3.8.0)
74
+ rspec-support (3.8.0)
75
+ rubocop (0.59.2)
79
76
  jaro_winkler (~> 1.5.1)
80
77
  parallel (~> 1.10)
81
- parser (>= 2.5)
78
+ parser (>= 2.5, != 2.5.1.1)
82
79
  powerpack (~> 0.1)
83
80
  rainbow (>= 2.2.2, < 4.0)
84
81
  ruby-progressbar (~> 1.7)
85
82
  unicode-display_width (~> 1.0, >= 1.0.1)
86
- ruby-progressbar (1.9.0)
87
- sass (3.5.6)
88
- sass-listen (~> 4.0.0)
89
- sass-listen (4.0.0)
90
- rb-fsevent (~> 0.9, >= 0.9.4)
91
- rb-inotify (~> 0.9, >= 0.9.7)
83
+ ruby-progressbar (1.10.0)
92
84
  simplecov (0.16.1)
93
85
  docile (~> 1.1)
94
86
  json (>= 1.8, < 3)
@@ -19,6 +19,7 @@ module Promenade
19
19
  def self.define_metric(type, name, &block)
20
20
  METRICS_MUTEX.synchronize do
21
21
  fail("Metric: #{name}, is allready defined") if registry.get(name)
22
+
22
23
  options = Options.new
23
24
  options.evaluate(&block)
24
25
  registry.method(type).call(name, *options.args(type))
@@ -1,5 +1,6 @@
1
1
  require "prometheus/client"
2
2
  require "prometheus/client/support/unicorn"
3
+ require "pathname"
3
4
 
4
5
  module Promenade
5
6
  def self.root_dir
@@ -1,3 +1,3 @@
1
1
  module Promenade
2
- VERSION = "0.1.8".freeze
2
+ VERSION = "0.1.9".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.8
4
+ version: 0.1.9
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-07-09 00:00:00.000000000 Z
11
+ date: 2018-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport