yolo 1.1.9 → 1.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/yolo/tasks/ios/coverage.rb +2 -1
  2. metadata +1 -1
@@ -25,7 +25,8 @@ module Yolo
25
25
  Find.find(@xcode.build_path) do |path|
26
26
  files << path if path =~ /.*#{name}-.*\/Build\/Intermediates\/#{name}.build\/.*-iphoneos\/#{name}.build\/Objects-normal/
27
27
  end
28
- files.sort_by { |filename| File.mtime(filename)}.last # get the latest
28
+ latest = files.sort_by { |filename| File.mtime(filename)}.last # get the latest
29
+ latest.split("/")[0..-2].join("/") # remove the file and get the dir
29
30
  end
30
31
 
31
32
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yolo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: