polly-ffmpeg 0.1.6 → 0.1.7

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.
Files changed (3) hide show
  1. data/ffmpeg.gemspec +1 -1
  2. data/lib/ffmpeg.rb +4 -4
  3. metadata +1 -1
data/ffmpeg.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ffmpeg}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Patrik Hedman"]
data/lib/ffmpeg.rb CHANGED
@@ -59,11 +59,11 @@ module FFMpeg
59
59
  # Ru§ns ffmpeg
60
60
  #
61
61
  def run
62
- @@ffmpeg_path ||= ""
63
- unless (path = @@ffmpeg_path ? @@ffmpeg_path : locate_ffmpeg).empty?
64
- execute_command FFMpegCommand.command(path)
62
+ @@ffmpeg_path ||= locate_ffmpeg
63
+ unless @@ffmpeg_path.empty?
64
+ execute_command FFMpegCommand.command(@@ffmpeg_path)
65
65
  else
66
- $stderr.puts "Couldn't locate ffmpeg, try to specify an explicit path
66
+ $stderr.puts "Couldn't locate ffmpeg, try to specify an explicit path
67
67
  with the ffmpeg_path(path) method"
68
68
  end
69
69
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polly-ffmpeg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Hedman