sprout 0.7.212 → 0.7.213

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sprout might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/lib/sprout.rb +3 -3
  2. data/lib/sprout/version.rb +1 -1
  3. metadata +1 -1
@@ -255,7 +255,9 @@ EOF
255
255
  exe = File.join(target.installed_path, archive_path)
256
256
  if(User.new.is_a?(WinUser) && !archive_path.match(/.exe$/))
257
257
  # If we're on Win (even Cygwin), add .exe to support custom binaries (see sprout-flex3sdk-tool)
258
- exe << '.exe'
258
+ if(File.exists?(exe + '.exe'))
259
+ exe << '.exe'
260
+ end
259
261
  end
260
262
  elsif(target.url)
261
263
  # Otherwise, use the default path to an executable if the RemoteFileTarget has a url prop
@@ -265,8 +267,6 @@ EOF
265
267
  exe = target.archive_path
266
268
  end
267
269
 
268
-
269
-
270
270
  if(!File.exists?(exe))
271
271
  raise UsageError.new("Could not retrieve requested executable from path: #{exe}")
272
272
  end
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- TINY = 212
6
+ TINY = 213
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.212
4
+ version: 0.7.213
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Bayes