b 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ac9f6236b2922fe169955f52e04a0623c6dc5f08
4
+ data.tar.gz: d5ffad037dcb05f7721c10887846134a5742d79e
5
+ SHA512:
6
+ metadata.gz: 41d4a54762b5ec5a764c1e08de481dc7d7ac7e1c450b87a31a1963165ebf4e169d89cae0b2fa18f644563d4c1645a8ea41c6b045dd1b5b19df6c55661992c890
7
+ data.tar.gz: 2372270ff3a58bec38067e53d8c898477a696da6e91c005969298820f06619f1a270673f5af8d3f4ac72989bda3048426df1318c1bcfc30c3303b07626650bd6
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -1,9 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "1.8.7"
4
- - "1.9.2"
5
- - "1.9.3"
6
- - jruby-18mode # JRuby in 1.8 mode
7
- - jruby-19mode # JRuby in 1.9 mode
8
- - rbx-18mode
9
- - rbx-19mode
3
+ - "2.4.0"
4
+
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # B::enchmark [![Build Status](https://travis-ci.org/busyloop/b.png?branch=master)](https://travis-ci.org/busyloop/b) [![Dependency Status](https://gemnasium.com/busyloop/b.png)](https://gemnasium.com/busyloop/b)
1
+ # B::enchmark [![Build Status](https://travis-ci.org/busyloop/b.png?branch=master)](https://travis-ci.org/busyloop/b) [![Dependency Status](https://gemnasium.com/busyloop/b.png)](https://gemnasium.com/busyloop/b) [![Gem Version](https://badge.fury.io/rb/b.svg)](https://badge.fury.io/rb/b)
2
2
 
3
3
  A small, convenient benchmark-library.
4
4
 
@@ -9,7 +9,7 @@ A small, convenient benchmark-library.
9
9
  * Returns benchmark-results as Array of Hashes (for easy integration with your unit-tests or CI)
10
10
 
11
11
  * Output can be customized with a simple Plugin-API (ships with plugins for TSV and HTML)
12
-
12
+
13
13
  * High precision (via [hitimes](https://github.com/copiousfreetime/hitimes))
14
14
 
15
15
 
@@ -43,10 +43,10 @@ end
43
43
 
44
44
  ```
45
45
  -- Sleep "performance" ---------------------------------------------------------------
46
- rounds r/s mean max min ± stddev x mean
47
- 100ms 10 9.99 100.13 100.17 100.11 0.02 1.00
48
- 200ms 10 5.00 200.14 200.17 200.11 0.02 2.00
49
- 300ms 10 3.33 300.13 300.18 300.11 0.02 3.00
46
+ rounds r/s mean max min ± stddev x mean
47
+ 100ms 10 9.99 100.13 100.17 100.11 0.02 1.00
48
+ 200ms 10 5.00 200.14 200.17 200.11 0.02 2.00
49
+ 300ms 10 3.33 300.13 300.18 300.11 0.02 3.00
50
50
  ```
51
51
 
52
52
  ## Getting started
data/b.gemspec CHANGED
@@ -19,8 +19,8 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
 
21
21
  gem.add_development_dependency 'simplecov'
22
- gem.add_development_dependency 'rake'
23
- gem.add_development_dependency 'rspec'
22
+ gem.add_development_dependency 'rake', '< 11.0.0'
23
+ gem.add_development_dependency 'rspec', '= 2.12.0'
24
24
  gem.add_development_dependency 'guard'
25
25
  gem.add_development_dependency 'guard-rspec'
26
26
  gem.add_development_dependency 'stdiotrap'
@@ -1,3 +1,3 @@
1
1
  module B
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,104 +1,127 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: b
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
5
- prerelease:
4
+ version: 1.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Moe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-06 00:00:00.000000000Z
11
+ date: 2016-12-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: simplecov
16
- requirement: &19674780 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *19674780
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rake
27
- requirement: &19673740 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - "<"
31
32
  - !ruby/object:Gem::Version
32
- version: '0'
33
+ version: 11.0.0
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *19673740
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "<"
39
+ - !ruby/object:Gem::Version
40
+ version: 11.0.0
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rspec
38
- requirement: &19673280 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ! '>='
45
+ - - '='
42
46
  - !ruby/object:Gem::Version
43
- version: '0'
47
+ version: 2.12.0
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *19673280
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.12.0
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: guard
49
- requirement: &19672860 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - ">="
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *19672860
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: guard-rspec
60
- requirement: &19672320 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
- - - ! '>='
73
+ - - ">="
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :development
67
77
  prerelease: false
68
- version_requirements: *19672320
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: stdiotrap
71
- requirement: &19671480 !ruby/object:Gem::Requirement
72
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
73
86
  requirements:
74
- - - ! '>='
87
+ - - ">="
75
88
  - !ruby/object:Gem::Version
76
89
  version: '0'
77
90
  type: :development
78
91
  prerelease: false
79
- version_requirements: *19671480
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
80
97
  - !ruby/object:Gem::Dependency
81
98
  name: hitimes
82
- requirement: &19670780 !ruby/object:Gem::Requirement
83
- none: false
99
+ requirement: !ruby/object:Gem::Requirement
84
100
  requirements:
85
- - - ! '>='
101
+ - - ">="
86
102
  - !ruby/object:Gem::Version
87
103
  version: '0'
88
104
  type: :runtime
89
105
  prerelease: false
90
- version_requirements: *19670780
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
91
111
  - !ruby/object:Gem::Dependency
92
112
  name: blockenspiel
93
- requirement: &19669680 !ruby/object:Gem::Requirement
94
- none: false
113
+ requirement: !ruby/object:Gem::Requirement
95
114
  requirements:
96
- - - ! '>='
115
+ - - ">="
97
116
  - !ruby/object:Gem::Version
98
117
  version: '0'
99
118
  type: :runtime
100
119
  prerelease: false
101
- version_requirements: *19669680
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
102
125
  description: A small, convenient benchmark-library.
103
126
  email:
104
127
  - moe@busyloop.net
@@ -106,8 +129,9 @@ executables: []
106
129
  extensions: []
107
130
  extra_rdoc_files: []
108
131
  files:
109
- - .gitignore
110
- - .travis.yml
132
+ - ".gitignore"
133
+ - ".ruby-version"
134
+ - ".travis.yml"
111
135
  - Gemfile
112
136
  - Guardfile
113
137
  - LICENSE.txt
@@ -122,33 +146,26 @@ files:
122
146
  - spec/spec_helper.rb
123
147
  homepage: https://github.com/busyloop/b
124
148
  licenses: []
149
+ metadata: {}
125
150
  post_install_message:
126
151
  rdoc_options: []
127
152
  require_paths:
128
153
  - lib
129
154
  required_ruby_version: !ruby/object:Gem::Requirement
130
- none: false
131
155
  requirements:
132
- - - ! '>='
156
+ - - ">="
133
157
  - !ruby/object:Gem::Version
134
158
  version: '0'
135
- segments:
136
- - 0
137
- hash: 4128064067268145364
138
159
  required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
160
  requirements:
141
- - - ! '>='
161
+ - - ">="
142
162
  - !ruby/object:Gem::Version
143
163
  version: '0'
144
- segments:
145
- - 0
146
- hash: 4128064067268145364
147
164
  requirements: []
148
165
  rubyforge_project:
149
- rubygems_version: 1.8.10
166
+ rubygems_version: 2.6.8
150
167
  signing_key:
151
- specification_version: 3
168
+ specification_version: 4
152
169
  summary: A small, convenient benchmark-library.
153
170
  test_files:
154
171
  - spec/b_spec.rb