youtubeDL 0.0.7 → 0.0.8

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTRhMTliZmI3YTNjMTFjNTFjOTc0NWUwMGM0ZTVmNmY3ZGIyNDc4MA==
4
+ YTY5MWNlZTc5NmI4YTY4MDU4MGVmZTk4N2QxMGE3NmUwMDFmNjZiZg==
5
5
  data.tar.gz: !binary |-
6
- MDM5YTBlMjk2NGNjZDE0NmRmZjc3NThhMWMxZDJjYjMzZWNjYTQwMg==
6
+ YTJmZjEzOGZkMDI5NzY2YzE2YmE3NmJlNTYzNzk4NTI0YWYzODBjOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGYwOWY4MDQ5NjMzYTA1OGMzYzE5ZjY0ZTcwYjgwMWMyZmYyZjg2NTc1N2Fh
10
- OTU5NDY0Mzg0MzE3NTZjNzFmOTgyYTBmMTQ3OGY3NmMyMDgzNjQ3NDNlNWJi
11
- NDUxNTg1NjI3YzRiNDg1NGMzY2MyMzI0YzkzZjNjYmFlODdlYTU=
9
+ MTgxODVlNTExN2U1MTRmY2I1NWVmYjBkMTM4ODJlZjdlYTg3M2FkZDkzYmY3
10
+ ZDljNzJhMGY3YTBmNDJkMDcyZTI2MDI0Y2VlNjdjNzViMzc5YThmZWE4ZWZk
11
+ Yjg5ZWZlNzRkZjA4NjA2MGQyOTZlMTI5NDJkOWUyMGNiNWFmN2I=
12
12
  data.tar.gz: !binary |-
13
- ODhlNjZmNWNlYjM5OTg1MzkzN2YxODhjY2UwMDYwMWVlMTY5YmFkYTU0OTM4
14
- ZGI5MWIwNThiNDdiOTM3NWRjOWRhZmM2MzFjNzBmOGY3MmIxNjJhNWRkNjkw
15
- ZDRjZDQ4MDhkMzBkNTQyNzE4ZTQzNGRlY2JhZDgzNjIxZjUwNWQ=
13
+ MGU1MDI5YmY3NzM3YzFiYjg3NWFhMTE3MmM4ZTQzZTIxMzEyMTdiMTVhZWE1
14
+ YmY5MmNiZWU0N2RjNjY3YjgyOWJiMzA2M2FkMTEzNTVmZmY5NDIxMTdjMDE2
15
+ YmIwZjVmNzc4N2JkZjYwYWZiOTVhMWZjODg2NWEwZTViYzhmMzA=
@@ -4,8 +4,7 @@ require 'rufus-scheduler'
4
4
  class YoutubeDL
5
5
  attr_accessor :options, :command, :output, :id, :downloadPath, :downloadProgress, :vidID, :running, :finished
6
6
 
7
- def initialize(videoID)
8
- @vidID = videoID
7
+ def initialize
9
8
  @id = SecureRandom.uuid
10
9
  @options = Array.new
11
10
  @downloadPath = "/tmp/" << @id << ".mp4"
@@ -16,6 +15,10 @@ class YoutubeDL
16
15
  #$download_progress = '/tmp/'.$videoID.'_'.session_id().'_progress.txt';
17
16
  end
18
17
 
18
+ def setVideo(videoID)
19
+ @vidID = videoID
20
+ end
21
+
19
22
  def getVideoPath
20
23
  return @downloadPath
21
24
  end
@@ -1,3 +1,3 @@
1
1
  module YoutubeDL
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youtubeDL
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - cyburgee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-29 00:00:00.000000000 Z
11
+ date: 2014-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler