benchmark_driver 0.14.8 → 0.14.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ef37b8f2469b5f5b76f6b876c56529470af2dd56a7736a2ad40287b67abf5fe
4
- data.tar.gz: 38a248dc61c9466af0f2686aa88fe6d0dde2b1f5515b90b13367cd1b3ece9abc
3
+ metadata.gz: 88bc42275e8b77258fbc3fa458fdf11231d9445a9985b477a5943b6836aed3fd
4
+ data.tar.gz: 5c0027726c36361de3602bbfdd06a2b33d0d3869464fcf574d011d033b0872c9
5
5
  SHA512:
6
- metadata.gz: 398765a51dbd262f7bb3962c1bc4ee69dfa9d128a2eae82ac680c93ebac10ef61fb89dcd9b081f01e0128637bc41ff175a14fad583ffbb2e48772be8c55d20c6
7
- data.tar.gz: 517ecb40cd1d677cb92337b309121309609c6b61c6f0ab687f8cddc2512e7c6e11dc15dfacd4cfd0e020c998ae5ade44f775080ed4258b7edcc620a7cbf8d764
6
+ metadata.gz: 282ce1061f171cca4770c6f6f5ee984c6430b5c95f265333654a08276bdf442e140505d1022b300b2c575a621880906e4e659612dcf4f925e3185bb6d9ac74e0
7
+ data.tar.gz: b13f537d17ed7e4a7e3b8b8669b73aca306a8a746c18febd72668b493028272b631b062135e9b1f0ebe053c69c837835315cb45246ce1e7725acc95f935d6146
@@ -1,3 +1,8 @@
1
+ # v0.14.9
2
+
3
+ - Allow recorded runner to run without the recorded Ruby executables
4
+ [#43](https://github.com/benchmark-driver/benchmark-driver/issues/43) [#44](https://github.com/benchmark-driver/benchmark-driver/issues/44)
5
+
1
6
  # v0.14.8
2
7
 
3
8
  - Fix bug that "benchmark\_driver.record.yml" created with `-e`/`--rbenv` option
@@ -54,6 +54,11 @@ module BenchmarkDriver
54
54
  }
55
55
  end
56
56
 
57
+ with_executables, without_executables = contexts.partition { |context| context.name && context.executable }
58
+ with_executables + build_contexts_with_executables(without_executables, executables)
59
+ end
60
+
61
+ def build_contexts_with_executables(contexts, executables)
57
62
  # Create direct product of contexts
58
63
  contexts.product(executables).map do |context, executable|
59
64
  name = context.name
@@ -1,3 +1,3 @@
1
1
  module BenchmarkDriver
2
- VERSION = '0.14.8'
2
+ VERSION = '0.14.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: benchmark_driver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.8
4
+ version: 0.14.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-31 00:00:00.000000000 Z
11
+ date: 2018-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler