yabeda-prometheus 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
  SHA256:
3
- metadata.gz: 91ea963e20dc59d762257269ec9b4646857f610d99d47836ab18f4873088f97a
4
- data.tar.gz: 01af29b75b3d3e2023643b9c67e22ea34662e87e4d6d78155a3f0b2262cf3240
3
+ metadata.gz: 8485c5f2192aeaa21a9e52dc6471e94eacdbabb644557f6fa892bc4354108ef4
4
+ data.tar.gz: cb51866c033f3678499263f08fb9d09baf16cb51ea86b5d93e88e5e344ea3643
5
5
  SHA512:
6
- metadata.gz: a1f48ae1345bce39bf3341a6f9f1d6c282fc4389f8eeded65ce1d6f400887698130346e8a1872790e08a45ce781e7b3ec620779f9ce02c7155181b5d3fd5b5d2
7
- data.tar.gz: d77af840aa442ab415eab7eeb766331f84523ba1bea800fd4d71c1e5daa195953b28a01fa65b9f92f3dc1a4d8b4218dfb77e401c4994ae47baa179960836d6c8
6
+ metadata.gz: c7770f7bcfe2d8d93ea3d1d8c5732f533836201f96d45ff27e69dfd58c1eb0c76f561747e99e8789d2f7affcf13b958cdfabacff3bb3d436fcdf7ce4fbc90c98
7
+ data.tar.gz: 666db2d2bec50bf6b99a226da010610706d8830aa5af0478af44e563fdce590f1498f64c19bce91ea86435aec4e13e9e47d3b4eb21f448ecb1cbce28d1bdfcbe
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 0.6.1 - 2020-04-28
9
+
10
+ ### Changed
11
+
12
+ - Fixed issue with Push Gateway require. [#13](https://github.com/yabeda-rb/yabeda-prometheus/pull/13) by [@baarkerlounger].
13
+ - Fixed possible issue with rack absense in non-web applications. Declared it as a dependency. [@Envek]
14
+
8
15
  ## 0.6.0 - 2020-04-15
9
16
 
10
17
  ### Changed
@@ -99,4 +106,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
106
 
100
107
  - Initial release of evil-metrics-prometheus gem. @Envek
101
108
 
109
+ [@Envek]: https://github.com/Envek "Andrey Novikov"
102
110
  [@alexander37137]: https://github.com/alexander37137 "Alexander Andreev"
111
+ [@baarkerlounger]: https://github.com/baarkerlounger "Daniel Baark"
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "yabeda"
4
4
  require "prometheus/client"
5
+ require "prometheus/client/push"
5
6
  require "yabeda/prometheus/version"
6
7
  require "yabeda/prometheus/adapter"
7
8
  require "yabeda/prometheus/exporter"
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "prometheus/middleware/exporter"
4
+ require "rack"
4
5
 
5
6
  module Yabeda
6
7
  module Prometheus
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Yabeda
4
4
  module Prometheus
5
- VERSION = "0.6.0"
5
+ VERSION = "0.6.1"
6
6
  end
7
7
  end
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
29
29
 
30
30
  spec.add_dependency "prometheus-client", ">= 0.10", "< 3.0" # Known to work with 1.x and 2.x
31
31
  spec.add_dependency "yabeda", "~> 0.5"
32
+ spec.add_dependency "rack"
32
33
 
33
34
  spec.add_development_dependency "bundler", "~> 1.17"
34
35
  spec.add_development_dependency "rake", "~> 12.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-prometheus
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
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-15 00:00:00.000000000 Z
11
+ date: 2020-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prometheus-client
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0.5'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rack
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: bundler
49
63
  requirement: !ruby/object:Gem::Requirement