benchmark-inputs 1.1.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -2
- data/README.md +2 -12
- data/benchmark-inputs.gemspec +2 -3
- data/lib/benchmark/inputs/version.rb +1 -1
- data/lib/benchmark/inputs.rb +1 -1
- metadata +4 -11
- data/.gitignore +0 -10
- data/.travis.yml +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 479396b0af0c6982d03041ed914bb253c3aba964f83eeecf6d45e251958d4b03
|
|
4
|
+
data.tar.gz: 664df72e260c22324f408d8b32d577748b1b499d1e1168d90f452c3bd37f40b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 163229a9605d1cbca73e25eacf6dcff8624317dd33da2b8dbdef650c1364be343b45500e1322f8c353a315c021993b214ae649172cdc8500ef9d9c1fd5416f83
|
|
7
|
+
data.tar.gz: 22e98dc216a2d82e4824fcc6ffd6a8b7b2cbe904190133f8bef8d59969009db8f32ad0c4c1ebd9a18d44ec6fd6c1f79ed0627e0f6f66ca96474a3ed35c6128ab
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# benchmark-inputs
|
|
1
|
+
# benchmark-inputs
|
|
2
2
|
|
|
3
3
|
Input-focused benchmarking for Ruby. Given one or more blocks and an
|
|
4
4
|
array of inputs to yield to each of them, benchmark-inputs will measure
|
|
@@ -140,17 +140,7 @@ a problem.
|
|
|
140
140
|
|
|
141
141
|
## Installation
|
|
142
142
|
|
|
143
|
-
Install the [gem](https://rubygems.org/gems/benchmark-inputs)
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
$ gem install benchmark-inputs
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Then require in your benchmark script:
|
|
150
|
-
|
|
151
|
-
```ruby
|
|
152
|
-
require "benchmark/inputs"
|
|
153
|
-
```
|
|
143
|
+
Install the [`benchmark-inputs` gem](https://rubygems.org/gems/benchmark-inputs).
|
|
154
144
|
|
|
155
145
|
|
|
156
146
|
## License
|
data/benchmark-inputs.gemspec
CHANGED
|
@@ -9,16 +9,15 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.summary = %q{Input-focused benchmarking}
|
|
10
10
|
spec.homepage = "https://github.com/jonathanhefner/benchmark-inputs"
|
|
11
11
|
spec.license = "MIT"
|
|
12
|
-
spec.required_ruby_version = ">=
|
|
12
|
+
spec.required_ruby_version = ">= 3.4"
|
|
13
13
|
|
|
14
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
15
14
|
spec.metadata["source_code_uri"] = spec.homepage
|
|
16
15
|
spec.metadata["changelog_uri"] = spec.metadata["source_code_uri"] + "/blob/master/CHANGELOG.md"
|
|
17
16
|
|
|
18
17
|
# Specify which files should be added to the gem when it is released.
|
|
19
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
20
19
|
spec.files = Dir.chdir(__dir__) do
|
|
21
|
-
`git ls-files -z`.split("\x0").reject { |f| f.
|
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.start_with?("test/", ".git") }
|
|
22
21
|
end
|
|
23
22
|
spec.bindir = "exe"
|
|
24
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/benchmark/inputs.rb
CHANGED
metadata
CHANGED
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: benchmark-inputs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Hefner
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies: []
|
|
13
|
-
description:
|
|
14
12
|
email:
|
|
15
13
|
- jonathan@hefner.pro
|
|
16
14
|
executables: []
|
|
17
15
|
extensions: []
|
|
18
16
|
extra_rdoc_files: []
|
|
19
17
|
files:
|
|
20
|
-
- ".gitignore"
|
|
21
|
-
- ".travis.yml"
|
|
22
18
|
- CHANGELOG.md
|
|
23
19
|
- Gemfile
|
|
24
20
|
- LICENSE.txt
|
|
@@ -31,10 +27,8 @@ homepage: https://github.com/jonathanhefner/benchmark-inputs
|
|
|
31
27
|
licenses:
|
|
32
28
|
- MIT
|
|
33
29
|
metadata:
|
|
34
|
-
homepage_uri: https://github.com/jonathanhefner/benchmark-inputs
|
|
35
30
|
source_code_uri: https://github.com/jonathanhefner/benchmark-inputs
|
|
36
31
|
changelog_uri: https://github.com/jonathanhefner/benchmark-inputs/blob/master/CHANGELOG.md
|
|
37
|
-
post_install_message:
|
|
38
32
|
rdoc_options: []
|
|
39
33
|
require_paths:
|
|
40
34
|
- lib
|
|
@@ -42,15 +36,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
42
36
|
requirements:
|
|
43
37
|
- - ">="
|
|
44
38
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '
|
|
39
|
+
version: '3.4'
|
|
46
40
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
41
|
requirements:
|
|
48
42
|
- - ">="
|
|
49
43
|
- !ruby/object:Gem::Version
|
|
50
44
|
version: '0'
|
|
51
45
|
requirements: []
|
|
52
|
-
rubygems_version:
|
|
53
|
-
signing_key:
|
|
46
|
+
rubygems_version: 4.0.10
|
|
54
47
|
specification_version: 4
|
|
55
48
|
summary: Input-focused benchmarking
|
|
56
49
|
test_files: []
|
data/.gitignore
DELETED