time_up 0.0.5 → 0.0.6

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: f6241f3e0e1e66bc75c67a7e7cfc76424ae4e711c5a535b87da3bdf4fa78c153
4
- data.tar.gz: 33c77eb409cb4d4d4142207ff93a938a1124b87768047f29be0d51057c4eb5fb
3
+ metadata.gz: 74e2d5917cd228f02d8e8b4ae785affd6f2feeeb689db16003a1ba397653496f
4
+ data.tar.gz: 2752fe3c544f39ba6c869e0a58ed628ed18f85c7d938ebdf2b0b2a8dcc879e35
5
5
  SHA512:
6
- metadata.gz: df9e90669ceef219dcea0bf8b21548252b97abe40b950b922f6c9ee17987494d145fdd130b5c4735a6e57daffaf5ba2d915057044f424ba68656d9b55b5f7820
7
- data.tar.gz: ad014a9ec0471bfbc3f315b673988d7d5b5115ad29d0cc664ad63eaa81547086bff539de50e311078261c99a9616a0e683c75f9e552bf0a254d26e14d0ef702d
6
+ metadata.gz: 74cb8513be353995a49ff1a2a39eaf7247da0c8344d29bd4e6eddc0fdb5a662a22ce0473378dc8f65bf8ae42b5c4284b49f46f587b32995856ea9b12d8da51a2
7
+ data.tar.gz: 5f9d08ad26099efdcf0410108fe7fc8d156e3fd7920e0c0461b0bee4d3a47b30487f4a7eb7b4441b1d64fde68c9c2e3b908cc231e783bd1332667153575a5d21
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.6
2
+
3
+ - Add `TimeUp.all_timers`. It's weird that it's not a thing.
4
+
1
5
  # 0.0.5
2
6
 
3
7
  - Add `median` and `percentile` timer statistics, and added them to
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- time_up (0.0.5)
4
+ time_up (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/time_up.rb CHANGED
@@ -47,6 +47,10 @@ module TimeUp
47
47
  }.to_h
48
48
  end
49
49
 
50
+ def self.all_timers
51
+ __timers.values
52
+ end
53
+
50
54
  def self.all_stats
51
55
  __timers.values.map { |timer|
52
56
  [timer.name, {
@@ -1,3 +1,3 @@
1
1
  module TimeUp
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls