staugaard-transcoding_machine 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml
CHANGED
data/lib/transcoding_machine.rb
CHANGED
@@ -8,6 +8,9 @@ require 'transcoding_machine/client/result_queue'
|
|
8
8
|
require 'transcoding_machine/client/server_manager'
|
9
9
|
|
10
10
|
module TranscodingMachine
|
11
|
+
version = YAML.load_file(File.expand_path('../VERSION.yml', File.dirname(__FILE__)))
|
12
|
+
VERSION = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}"
|
13
|
+
|
11
14
|
module_function
|
12
15
|
def load_models_from_json(json_string)
|
13
16
|
load_models_from_hash(ActiveSupport::JSON.decode(json_string))
|