metric_system 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metric_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - radiospiel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-04 00:00:00.000000000 Z
11
+ date: 2014-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: expectation
@@ -46,13 +46,23 @@ extra_rdoc_files: []
46
46
  files:
47
47
  - README.md
48
48
  - lib/metric_system.rb
49
- - lib/metric_system/benchmark.rb
50
49
  - lib/metric_system/core_extensions.rb
50
+ - lib/metric_system/database.rb
51
+ - lib/metric_system/io.rb
52
+ - lib/metric_system/server.rb
51
53
  - lib/metric_system/sqlite3_extensions.rb
52
54
  - lib/metric_system/version.rb
55
+ - lib/metric_system/web.rb
56
+ - lib/metric_system/web/dashboard.erb
57
+ - lib/sqlite3/database_extension.rb
58
+ - lib/sqlite3/query.rb
59
+ - lib/sqlite3/record.rb
60
+ - lib/to_js.rb
61
+ - test/benchmark.rb
53
62
  - test/counters_test.rb
54
63
  - test/gauges_test.rb
55
64
  - test/mixed_test.rb
65
+ - test/parallel.rb
56
66
  homepage: http://github.com/radiospiel/metric_system
57
67
  licenses: []
58
68
  metadata: {}
@@ -1,11 +0,0 @@
1
- def benchmark(msg, &block)
2
- starts = Time.now
3
-
4
- yield
5
-
6
- ensure
7
- runtime = Time.now - starts
8
- if runtime > 0.5
9
- STDERR.puts "%s: %.3f secs" % [ msg, runtime = Time.now - starts ]
10
- end
11
- end