HDRHistogram 0.1.9 → 0.1.11

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: 0fcf51e54082abf6718fc2208348bb436b0fcb861926be22acf2016d0bc1200d
4
- data.tar.gz: 2bfd734fa43e8bdb50172640f6f1aaaf895703ebc3848e42c8ab746587cbf12f
3
+ metadata.gz: c0a460955917e11bdb911e60fb145e7344cba11bd0ecf25e319b8f0596bc7acc
4
+ data.tar.gz: ac29e6bfb5d02b65f30544c6d8455c2625bba9684f2e23a0058ef4a3317221a3
5
5
  SHA512:
6
- metadata.gz: 79bbcd8db01afb79bc9557fcac0e05d00a8388a4c68422d2d7421d9f53cd089cffb46655d208a244c6b2af0f46003afa537eb34d115857b85eb610c5b4297fde
7
- data.tar.gz: 8003513f49dd10db16d6c679f36a6c4ee50b6a7bb1960faf9e9508e294846e3771746891e5693f460894d72f0fe8e72a0004906954cc3023d441535346d291a2
6
+ metadata.gz: 8c98458e3d3e46262e2e1892c4e5f3617549e2291c5a7bc980bb50bba8a56d87143f61376b0721470eaa3fd280b947a5d5e047feb9431ea222b638210018e3a3
7
+ data.tar.gz: 1a0e10c4eab15d12d40ad564fd66185d040ac0105e40e4071f743b115369552043072e3b23b54476b5d5f9321cbabe24149b6960c3fb57f48783139319afa53b
@@ -148,7 +148,7 @@ class HDRHistogram
148
148
  private_class_method :adjusted_boundary_val
149
149
 
150
150
  def self.unserialize(str, opt={})
151
- regex = /^(?<lowest_trackable_value>\d+) (?<highest_trackable_value>\d+) (?<unit_magnitude>\d+) (?<significant_figures>\d+) (?<sub_bucket_half_count_magnitude>\d+) (?<sub_bucket_half_count>\d+) (?<sub_bucket_mask>\d+) (?<sub_bucket_count>\d+) (?<bucket_count>\d+) (?<min_value>\d+) (?<max_value>\d+) (?<normalizing_index_offset>\d+) (?<conversion_ratio>\S+) (?<counts_len>\d+) (?<total_count>\d+) \[(?<counts>([~!@#$%^&*]?\d+ )+)\]( \((?<unit>.*) (?<multiplier>\S+)\))?/
151
+ regex = /^(?<lowest_trackable_value>\d+) (?<highest_trackable_value>\d+) (?<unit_magnitude>\d+) (?<significant_figures>\d+) (?<sub_bucket_half_count_magnitude>\d+) (?<sub_bucket_half_count>\d+) (?<sub_bucket_mask>\d+) (?<sub_bucket_count>\d+) (?<bucket_count>\d+) (?<min_value>-?\d+) (?<max_value>\d+) (?<normalizing_index_offset>\d+) (?<conversion_ratio>\S+) (?<counts_len>\d+) (?<total_count>\d+) \[(?<counts>([~!@#$%^&*]?\d+ )+)\]( \((?<unit>.*) (?<multiplier>\S+)\))?/
152
152
 
153
153
  m = str.match regex
154
154
 
@@ -1,3 +1,3 @@
1
1
  class HDRHistogram
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HDRHistogram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leo P.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2018-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler