mach5-tools 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: bc58b2a9854f51ce02d29f53e1da689596a8e053
4
- data.tar.gz: eb535dcde3b1b2d4758f5411ffad2ec2f5d6fb6a
3
+ metadata.gz: cce1bb05727559d4d95becf25542e7d9334bd9fd
4
+ data.tar.gz: 603d7c169a843c26666d5ce82215819fda09916e
5
5
  SHA512:
6
- metadata.gz: 70455af7983728b62d62d069b2a3d33e554c634d0bddb8314d32da6df1068a78359a6de9b18b5fe7b81ff51e2169eb0b7f1f3c367ac4326e80fc1950b57ac3dd
7
- data.tar.gz: c8a15833738b4c640c54bb80272be3d25b5870cbfe0f33cd1103a2ec55f6ac77e45d107cf5a681e7ad0c5fe5403f648f840dd1ca36eb328cbf7d181f9e5506f0
6
+ metadata.gz: 1302656407ebbe2177d846c5bc255e93fcc816d59b5d6f4441156cabdaf016bffa1cbda13b352b31a781d8da34fc2f851125a6c396165c108f7ec5bd8da32a5f
7
+ data.tar.gz: 995d488ad455d579d8a47a7a2cc3fce8a5a388f8144cfee0a1bdd7c36661bf3fb1f9335a7e69bd4a55f42c84f30347bb396638485c24d2afef3ba5976d219955
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -107,7 +107,15 @@ module Mach5
107
107
  def _check_benchmarks(chart)
108
108
  benchmarks = []
109
109
  chart.series.each do |benchmark|
110
- benchmarks << "#{benchmark[:commit_id]}.#{benchmark[:benchmark_id]}" unless File.exists?("#{File.join(@config.output_folder, benchmark[:commit_id])}.#{benchmark[:benchmark_id]}.json")
110
+ filename = ""
111
+ if @config.benchmarks.tagged[benchmark[:commit_id]]
112
+ filename = "#{File.join(@config.output_folder, @config.benchmarks.tagged[benchmark[:commit_id]])}.#{benchmark[:benchmark_id]}.json"
113
+ else
114
+ filename = "#{File.join(@config.output_folder, benchmark[:commit_id])}.#{benchmark[:benchmark_id]}.json"
115
+ end
116
+ unless File.exists?(filename)
117
+ benchmarks << "#{benchmark[:commit_id]}.#{benchmark[:benchmark_id]}"
118
+ end
111
119
  end
112
120
  benchmarks
113
121
  end
data/mach5-tools.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: mach5-tools 0.2.1 ruby lib
5
+ # stub: mach5-tools 0.2.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "mach5-tools"
9
- s.version = "0.2.1"
9
+ s.version = "0.2.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["Igor Bonadio"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mach5-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Bonadio