ddmetrics 1.0.0rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +5 -0
- data/.rspec +3 -0
- data/.rubocop.yml +59 -0
- data/.travis.yml +21 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +15 -0
- data/LICENSE.txt +21 -0
- data/NEWS.md +23 -0
- data/README.md +260 -0
- data/Rakefile +18 -0
- data/ddmetrics.gemspec +19 -0
- data/lib/ddmetrics.rb +19 -0
- data/lib/ddmetrics/basic_counter.rb +15 -0
- data/lib/ddmetrics/basic_summary.rb +15 -0
- data/lib/ddmetrics/counter.rb +19 -0
- data/lib/ddmetrics/metric.rb +36 -0
- data/lib/ddmetrics/printer.rb +49 -0
- data/lib/ddmetrics/stats.rb +54 -0
- data/lib/ddmetrics/stopwatch.rb +52 -0
- data/lib/ddmetrics/summary.rb +20 -0
- data/lib/ddmetrics/table.rb +40 -0
- data/lib/ddmetrics/version.rb +5 -0
- data/samples/cache.rb +48 -0
- data/scripts/release +115 -0
- data/spec/ddmetrics/basic_counter_spec.rb +20 -0
- data/spec/ddmetrics/basic_summary_spec.rb +23 -0
- data/spec/ddmetrics/counter_spec.rb +109 -0
- data/spec/ddmetrics/stats_spec.rb +87 -0
- data/spec/ddmetrics/stopwatch_spec.rb +78 -0
- data/spec/ddmetrics/summary_spec.rb +84 -0
- data/spec/ddmetrics/table_spec.rb +47 -0
- data/spec/ddmetrics_spec.rb +7 -0
- data/spec/spec_helper.rb +19 -0
- metadata +77 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'simplecov'
|
4
|
+
SimpleCov.start
|
5
|
+
|
6
|
+
require 'codecov'
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::Codecov
|
8
|
+
|
9
|
+
require 'ddmetrics'
|
10
|
+
|
11
|
+
require 'fuubar'
|
12
|
+
require 'rspec/its'
|
13
|
+
require 'timecop'
|
14
|
+
|
15
|
+
RSpec.configure do |c|
|
16
|
+
c.fuubar_progress_bar_options = {
|
17
|
+
format: '%c/%C |<%b>%i| %p%%',
|
18
|
+
}
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ddmetrics
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0rc1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Denis Defreyne
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-01-04 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- denis+rubygems@denis.ws
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".gitignore"
|
21
|
+
- ".rspec"
|
22
|
+
- ".rubocop.yml"
|
23
|
+
- ".travis.yml"
|
24
|
+
- CODE_OF_CONDUCT.md
|
25
|
+
- Gemfile
|
26
|
+
- LICENSE.txt
|
27
|
+
- NEWS.md
|
28
|
+
- README.md
|
29
|
+
- Rakefile
|
30
|
+
- ddmetrics.gemspec
|
31
|
+
- lib/ddmetrics.rb
|
32
|
+
- lib/ddmetrics/basic_counter.rb
|
33
|
+
- lib/ddmetrics/basic_summary.rb
|
34
|
+
- lib/ddmetrics/counter.rb
|
35
|
+
- lib/ddmetrics/metric.rb
|
36
|
+
- lib/ddmetrics/printer.rb
|
37
|
+
- lib/ddmetrics/stats.rb
|
38
|
+
- lib/ddmetrics/stopwatch.rb
|
39
|
+
- lib/ddmetrics/summary.rb
|
40
|
+
- lib/ddmetrics/table.rb
|
41
|
+
- lib/ddmetrics/version.rb
|
42
|
+
- samples/cache.rb
|
43
|
+
- scripts/release
|
44
|
+
- spec/ddmetrics/basic_counter_spec.rb
|
45
|
+
- spec/ddmetrics/basic_summary_spec.rb
|
46
|
+
- spec/ddmetrics/counter_spec.rb
|
47
|
+
- spec/ddmetrics/stats_spec.rb
|
48
|
+
- spec/ddmetrics/stopwatch_spec.rb
|
49
|
+
- spec/ddmetrics/summary_spec.rb
|
50
|
+
- spec/ddmetrics/table_spec.rb
|
51
|
+
- spec/ddmetrics_spec.rb
|
52
|
+
- spec/spec_helper.rb
|
53
|
+
homepage: https://github.com/ddfreyne/ddmetrics
|
54
|
+
licenses:
|
55
|
+
- MIT
|
56
|
+
metadata: {}
|
57
|
+
post_install_message:
|
58
|
+
rdoc_options: []
|
59
|
+
require_paths:
|
60
|
+
- lib
|
61
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ">="
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 2.3.0
|
66
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.3.1
|
71
|
+
requirements: []
|
72
|
+
rubyforge_project:
|
73
|
+
rubygems_version: 2.7.4
|
74
|
+
signing_key:
|
75
|
+
specification_version: 4
|
76
|
+
summary: Non-timeseries measurements for Ruby programs
|
77
|
+
test_files: []
|