prometheus-api-client 0.6.2 → 0.6.3

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: 6e310a4a142367008c1ae3b15b6569d5e77f5c342dbf0f9bde0953e1e18f2957
4
- data.tar.gz: bdb110737b8e6dcf411dfb2004b443699478bb2276d4ce88419b6fc0d67bf4e0
3
+ metadata.gz: 2d294bf6f65b6fec8a2351a5be3ff46629c26fd7ae1d1592b468180faf71ea04
4
+ data.tar.gz: b66b47d6a953fbf0416793533eaaf33d7d33ef4e575f02a987f9f7de09446bd5
5
5
  SHA512:
6
- metadata.gz: 75a25b92d3f1ecf16ca9a9fae0df98383d3ec50db46cb04a660baa1ced3f069bb2ef6a278c969141b75861977347d72b2af71f36994a9a05dc56f237bcdb41a5
7
- data.tar.gz: 5b6a0c287139dc68a8af7936a310331897f20a4ab49d47dbd2e6b7457e6e567065a533e7714257d9797633e0de05a9a1b21a8e30650230c242513f1ee09eca86
6
+ metadata.gz: 9b14ee8b7de5de2deb0a09f768a826aefba9584506e5a75851b82cafcb865d98e494585f1750ed0420bf6be47749c8e39a3a5ad33305150d009df1b8cf005cb5
7
+ data.tar.gz: 2d81ef022b0dc8d8ec7ad0a0b999989455c2770d7056f2e155ed9a18a9c39daaa01791b5fba28ff33909ea31b732efba91a1feea98710fd52768af7c8e5226e4
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'json'
4
4
  require 'faraday'
5
+ require 'faraday/net_http'
5
6
 
6
7
  module Prometheus
7
8
  # Client is a ruby implementation for a Prometheus compatible api_client.
@@ -38,7 +39,9 @@ module Prometheus
38
39
 
39
40
  @client = Faraday.new(
40
41
  faraday_options(options),
41
- )
42
+ ) do |f|
43
+ f.adapter :net_http
44
+ end
42
45
  end
43
46
 
44
47
  # Evaluates an instant query at a single point in time:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Prometheus
4
4
  module ApiClient
5
- VERSION = '0.6.2'
5
+ VERSION = '0.6.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yaacov Zamir
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,21 +16,21 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.9'
19
+ version: 2.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: 2.0.0
22
+ version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.9'
29
+ version: 2.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: 2.0.0
33
- description:
32
+ version: 3.0.0
33
+ description:
34
34
  email:
35
35
  - kobi.zamir@gmail.com
36
36
  executables: []
@@ -46,7 +46,7 @@ homepage: https://github.com/yaacov/prometheus_api_client_ruby
46
46
  licenses:
47
47
  - Apache-2.0
48
48
  metadata: {}
49
- post_install_message:
49
+ post_install_message:
50
50
  rdoc_options: []
51
51
  require_paths:
52
52
  - lib
@@ -54,15 +54,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: '0'
57
+ version: 3.0.0
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.0.3
65
- signing_key:
64
+ rubygems_version: 3.4.6
65
+ signing_key:
66
66
  specification_version: 4
67
67
  summary: A suite of reading metrics stored on a Prometheus server.
68
68
  test_files: []