vidibus-recording 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ module Vidibus::Recording
6
6
  class StreamError < StandardError; end
7
7
 
8
8
  included do
9
+ include ::Mongoid::Timestamps
9
10
  include Vidibus::Recording::Helpers
10
11
  include Vidibus::Uuid::Mongoid
11
12
 
@@ -16,7 +17,6 @@ module Vidibus::Recording
16
17
  field :info, :type => Hash
17
18
  field :size, :type => Integer
18
19
  field :duration, :type => Integer
19
- field :log
20
20
  field :error
21
21
  field :scheduled_at, :type => DateTime
22
22
  field :started_at, :type => DateTime
@@ -140,21 +140,12 @@ module Vidibus::Recording
140
140
  end
141
141
 
142
142
  def postprocess
143
- process_log_file
144
143
  process_yml_file
145
144
  set_size
146
145
  set_duration
147
146
  save!
148
147
  end
149
148
 
150
- def process_log_file
151
- if str = read_file(log_file)
152
- unless str == ""
153
- self.log = str.gsub(/\r\n?/, "\n")
154
- end
155
- end
156
- end
157
-
158
149
  def process_yml_file
159
150
  if str = read_file(yml_file)
160
151
  if values = YAML::load(str)
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Recording
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-recording
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andre Pankratz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 +01:00
18
+ date: 2011-01-26 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency