benchmark_driver 0.7.2 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fbb78399a208f63fd5b6a1aac673ced21fb3c7255e7f0ca48485188f317d3ec
4
- data.tar.gz: c50019833368239e4ba40f7b2723ebb365bc35853e92b5c1017ef877e647a416
3
+ metadata.gz: 0124b5599ebca85abc849c7839e03a0f455a3e5b509a837ee66a70fc99c01c95
4
+ data.tar.gz: 7f3b32fd2fdeccb56c2fac56a3196accbd8e1fd3da44e6927c3612751b7a2ae9
5
5
  SHA512:
6
- metadata.gz: 76655ba02bd4bc409a7e21849da45dec4bd1bf9d99b6f1f630506b397ee429e094a47eb4cc89c4c357d216287d955dacf6d2e7e3c8be9adce8ca0fa09e379dd1
7
- data.tar.gz: 7d5b27fc0863839fa8130da25361b37c0133fab2d228f97999c467ad5794bd8820de8c97e9da6f698dd9219e743cd0c34741590604aa7d8e4347bb694cd437b9
6
+ metadata.gz: e9c0e3c486a09d47c23d1b79ad673d7bd9ee8c7477fda8f3eea974a4f663d3c062c2092e56e8fbbeab38298b982134e6a5f5c30198a0a761ba1d4197cba12544
7
+ data.tar.gz: cfeb3f8f232964221a34a3bab7e27285a561b53214e9aff4f8441e372217ba94b66f26cd7ca43cb770d23d15f824efc915dc7fafdb87db43d48c7cac24689e26
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # v0.8.0
2
+
3
+ - Force using :exec runner for YAML interface
4
+ - Fix bug that executables become emmpty
5
+
1
6
  # v0.7.2
2
7
 
3
8
  - Respect ignored output option in Ruby interface
data/exe/benchmark-driver CHANGED
@@ -77,7 +77,7 @@ end
77
77
  # Proceed parsed options
78
78
  #
79
79
  config = Benchmark::Driver::Configuration.new(jobs)
80
- config.runner_options = Benchmark::Driver::Configuration::RunnerOptions.new
80
+ config.runner_options = Benchmark::Driver::Configuration::RunnerOptions.new(:exec)
81
81
  config.output_options = Benchmark::Driver::Configuration::OutputOptions.new(:ips)
82
82
 
83
83
  options.each do |key, value|
@@ -7,7 +7,7 @@ class Benchmark::Driver::RubyDslParser
7
7
  @prelude = nil
8
8
  @jobs = []
9
9
  @runner = runner
10
- @execs = []
10
+ @execs = nil
11
11
  @bundler = false
12
12
  @output = output
13
13
  @compare = false
@@ -39,6 +39,7 @@ class Benchmark::Driver::RubyDslParser
39
39
 
40
40
  # @param [Array<String>] specs
41
41
  def rbenv(*specs)
42
+ @execs ||= []
42
43
  specs.each do |spec|
43
44
  @execs << Benchmark::Driver::Configuration::Executable.parse_rbenv(spec)
44
45
  end
@@ -1,5 +1,5 @@
1
1
  module Benchmark
2
2
  module Driver
3
- VERSION = '0.7.2'
3
+ VERSION = '0.8.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benchmark_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun