lib/dragonfly-ffmpeg.rb in dragonfly-ffmpeg-0.0.4 vs lib/dragonfly-ffmpeg.rb in dragonfly-ffmpeg-0.1.0

- old
+ new

@@ -14,19 +14,20 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # +require 'dragonfly' +require 'dragonfly-ffmpeg/errors' +require 'streamio-ffmpeg' + module EnMasse module Dragonfly - module FFMPEG + module FFMPEG + autoload :Config, 'dragonfly-ffmpeg/config' + autoload :Analyser, 'dragonfly-ffmpeg/analyser' + autoload :Encoder, 'dragonfly-ffmpeg/encoder' end end end - -require 'dragonfly' -require 'dragonfly-ffmpeg/errors' -require 'dragonfly-ffmpeg/config' -require 'dragonfly-ffmpeg/analyser' -require 'dragonfly-ffmpeg/encoder' Dragonfly::App.register_configuration(:ffmpeg) { EnMasse::Dragonfly::FFMPEG::Config }