youtube-dl.rb 0.2.5.2015.12.06.1 → 0.2.5.2015.12.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/Gemfile +0 -0
- data/Rakefile +2 -2
- data/lib/youtube-dl/output.rb +1 -0
- data/lib/youtube-dl/version.rb +1 -1
- data/vendor/bin/youtube-dl +0 -0
- data/vendor/bin/youtube-dl.exe +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b2c2da2d01584c63af2f5fbf3cd7708ba69f09
|
4
|
+
data.tar.gz: 25bf811c48062aa112a03132abf9f1aa391ded92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c2082d27565dc379b98ab47c9a73e1b98610a343f9ba25b1de623daacfe1876d04b098dcb2cc9ae5e6a1440f6197268092bfe621079eeabe8de7a44137af76f
|
7
|
+
data.tar.gz: 98a2b524cc8b94b7fd2825ffa1e220a53e36aba96afb4cf89a6dc95f90987272a22718a07e3e5fd0de193c609bd927235c2687ff4a5e74d1c6c4a96d2e17c7b8
|
data/.travis.yml
CHANGED
@@ -1,13 +1,20 @@
|
|
1
1
|
before_install:
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
- sudo chmod 755 ./vendor/bin/youtube-dl
|
3
|
+
- sudo apt-get update -qq
|
4
|
+
|
5
5
|
rvm:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
- 1.9.3 # EOL, but still supporting
|
7
|
+
- 2.0.0 # Oldest stable
|
8
|
+
- 2.2.3 # Current stable
|
9
|
+
- jruby-head # JRuby
|
10
|
+
- rbx-2 # Rubinius
|
11
|
+
|
12
|
+
cache: bundler
|
13
|
+
|
14
|
+
matrix:
|
15
|
+
allow_failures:
|
16
|
+
- rvm: jruby-head
|
11
17
|
|
12
18
|
notifications:
|
13
19
|
slack: layer8x:cvixULdjCINfq7u9Zs1rS0VY
|
20
|
+
email: false
|
data/Gemfile
CHANGED
File without changes
|
data/Rakefile
CHANGED
@@ -30,8 +30,8 @@ namespace :binaries do
|
|
30
30
|
File.open('./lib/youtube-dl/version.rb', 'r+') do |f|
|
31
31
|
version_file = f.read
|
32
32
|
f.rewind
|
33
|
-
f.write version_file.gsub(/\d{4}\.\d
|
33
|
+
f.write version_file.gsub(/\d{4}\.\d+\.\d+\.?\d+?/, `./vendor/bin/youtube-dl --version`.strip)
|
34
34
|
end
|
35
|
-
system("git commit -a -m 'Updated binaries to #{`./vendor/bin/youtube-dl --version`.strip}'")
|
35
|
+
abort unless system("git commit -a -m 'Updated binaries to #{`./vendor/bin/youtube-dl --version`.strip}'")
|
36
36
|
end
|
37
37
|
end
|
data/lib/youtube-dl/output.rb
CHANGED
@@ -27,6 +27,7 @@ module YoutubeDL
|
|
27
27
|
formats.push format
|
28
28
|
end
|
29
29
|
formats.shift # The first line is just headers
|
30
|
+
return [] if formats.first.nil?
|
30
31
|
formats.map do |format|
|
31
32
|
format[:note].strip! # Get rid of any trailing whitespace on the note.
|
32
33
|
format[:format_code] = format[:format_code].to_i # convert format code to integer
|
data/lib/youtube-dl/version.rb
CHANGED
data/vendor/bin/youtube-dl
CHANGED
Binary file
|
data/vendor/bin/youtube-dl.exe
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youtube-dl.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.5.2015.12.
|
4
|
+
version: 0.2.5.2015.12.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sapslaj
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-12-
|
12
|
+
date: 2015-12-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocaine
|