benchmark 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c8c0b0e48cfa346f2e333800e2ae464167e6b84d140c4aacec32b3757f323e6
4
- data.tar.gz: cb2477677def26e350a7413871050415fd1b65e6928982953d6ee7e851e1e0a1
3
+ metadata.gz: aef3b10579784cec3e456e8dad6823cd6792c3ce812150bbcb59c99841d7ddcb
4
+ data.tar.gz: eed95c5b6a81080da3c9c8bd3300e0227e87915b3b95297eaf7b26362e7a2666
5
5
  SHA512:
6
- metadata.gz: f55ceb4de6f64ed14fdd4d3a8d5c267883a095d96f40b198a8cc4a8d7873e64d8997447a7a5e6056cbfedb8b253cbd1b38e5216d464307026c759199017e5c51
7
- data.tar.gz: 35e6aa851d15e26c3c3f6188902bacf74c50d67991a22a649ea4269d61edb17a92713af082b748a1241e6af2026d404b796d0d678abf6b14cdb08e149baa014c
6
+ metadata.gz: 65194567777f919d9d373226787add8199f40001ee43cfa16ea3a8b0a7a428ba5a1c128429e464e398afb52e96706155f574dbb9e9be299de4a8c35ad4ee63e5
7
+ data.tar.gz: 3fc948af4d9a4a3ac54de2c1310b929a643ea32ceacedca6c3a8074a0e5a4f1a2cd35089f6e2029ec956c28e4a351993d1933c6955398cc9a003b9e3520efae9
@@ -1,17 +1,19 @@
1
- lib = File.expand_path("lib", __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "benchmark/version"
1
+ begin
2
+ require_relative "lib/benchmark/version"
3
+ rescue LoadError # Fallback to load version file in ruby core repository
4
+ require_relative "version"
5
+ end
4
6
 
5
7
  Gem::Specification.new do |spec|
6
8
  spec.name = "benchmark"
7
9
  spec.version = Benchmark::VERSION
8
- spec.authors = ["Hiroshi SHIBATA"]
9
- spec.email = ["hsbt@ruby-lang.org"]
10
+ spec.authors = ["Yukihiro Matsumoto"]
11
+ spec.email = ["matz@ruby-lang.org"]
10
12
 
11
13
  spec.summary = %q{a performance benchmarking library}
12
14
  spec.description = spec.summary
13
15
  spec.homepage = "https://github.com/ruby/benchmark"
14
- spec.license = "BSD-2-Clause"
16
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
15
17
 
16
18
  spec.metadata["homepage_uri"] = spec.homepage
17
19
  spec.metadata["source_code_uri"] = spec.homepage
@@ -19,7 +21,7 @@ Gem::Specification.new do |spec|
19
21
  # Specify which files should be added to the gem when it is released.
20
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
23
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ `git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
25
  end
24
26
  spec.bindir = "exe"
25
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module Benchmark
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,18 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benchmark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Hiroshi SHIBATA
8
- autorequire:
7
+ - Yukihiro Matsumoto
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-06 00:00:00.000000000 Z
11
+ date: 2020-12-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: a performance benchmarking library
14
14
  email:
15
- - hsbt@ruby-lang.org
15
+ - matz@ruby-lang.org
16
16
  executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
@@ -30,11 +30,12 @@ files:
30
30
  - lib/benchmark/version.rb
31
31
  homepage: https://github.com/ruby/benchmark
32
32
  licenses:
33
+ - Ruby
33
34
  - BSD-2-Clause
34
35
  metadata:
35
36
  homepage_uri: https://github.com/ruby/benchmark
36
37
  source_code_uri: https://github.com/ruby/benchmark
37
- post_install_message:
38
+ post_install_message:
38
39
  rdoc_options: []
39
40
  require_paths:
40
41
  - lib
@@ -49,8 +50,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
50
  - !ruby/object:Gem::Version
50
51
  version: '0'
51
52
  requirements: []
52
- rubygems_version: 3.0.3
53
- signing_key:
53
+ rubygems_version: 3.2.2
54
+ signing_key:
54
55
  specification_version: 4
55
56
  summary: a performance benchmarking library
56
57
  test_files: []