prometheus-client-mmap 0.16.1 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prometheus/client/version.rb +1 -1
- metadata +1 -2
- data/lib/prometheus/client/helper/#json_parser.rb# +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35a2193b5080273f3311b1a3dbaf2fcd854af38f4cc30017da7b91c0879dbaa0
|
4
|
+
data.tar.gz: 503c7bcfbc1acf0ff4a1dfb88e151bd71720c03569f91e4b9b61e16591ad063f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a774996689975c51d3d763a6e7d9187ccba7238212db72762df8981b1476559cd6c92b24d20b869f7402fdcf4ee4b9256efdc46f46dc7280d80a4024baf508f5
|
7
|
+
data.tar.gz: a190ed7b811320c9c3f48cf084330e7347cfe173fd09deae795d991c6b3d0a7d8737940de0b50970eb34fcda61092864b4266d74d6220dad90d9c097071459f0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus-client-mmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
@@ -123,7 +123,6 @@ files:
|
|
123
123
|
- lib/prometheus/client/counter.rb
|
124
124
|
- lib/prometheus/client/formats/text.rb
|
125
125
|
- lib/prometheus/client/gauge.rb
|
126
|
-
- lib/prometheus/client/helper/#json_parser.rb#
|
127
126
|
- lib/prometheus/client/helper/entry_parser.rb
|
128
127
|
- lib/prometheus/client/helper/file_locker.rb
|
129
128
|
- lib/prometheus/client/helper/json_parser.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
require 'json'
|
2
|
-
|
3
|
-
module Prometheus
|
4
|
-
module Client
|
5
|
-
module Helper
|
6
|
-
module JsonParser
|
7
|
-
class << self
|
8
|
-
if defined?(Oj)
|
9
|
-
def load(s)
|
10
|
-
Oj.load(s)
|
11
|
-
rescue Oj::ParseError => e
|
12
|
-
raise JSON::ParserError.new(e.message)
|
13
|
-
end
|
14
|
-
else
|
15
|
-
def load(s)
|
16
|
-
JSON.parse(s)
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|