devthenet/voyeur — Issue #2: Does not work with ruby 1.8.x
Author: shevegen
Created: 2011-11-29 10:30:36+00:00
State: open

Hi.

When doing:

require 'Voyeur'

It breaks at something like:

Voyeur::Video.new( filename: path_to_file ).convert( to: :mp4 )

The culprit in quiestion is the hash format:

to: :mp4

Is valid in Ruby 1.9.x but not in Ruby 1.8.x

:to => mp4

Would work in Ruby 1.8.x

I can understand if you do not want to allow this format.

I suggest to, if Ruby 1.8.x is not supported, add a disclaimer in the README so that people who still use Ruby 1.8.x could avoid the frustration of testing this project only to notice that it will not work without patching the source.

Thank you for considering.