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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f40a1bca62c7827873285840c675a0301240811f
4
- data.tar.gz: d2e5fe7f94e8164060fbae84fe5050676e0c7f7d
3
+ metadata.gz: 94b2c2da2d01584c63af2f5fbf3cd7708ba69f09
4
+ data.tar.gz: 25bf811c48062aa112a03132abf9f1aa391ded92
5
5
  SHA512:
6
- metadata.gz: 2544f3c8a40cda791cd206e3c4a2f52337ff4a061428d45e98dfb3d934afe345f19d1f66df4d422a9e7fee6a0457ba44a95ff39d9e0c9f848fbb7e7e1f1b692a
7
- data.tar.gz: 704af5114f44c5ae35034edfbd23bd4255ba9570e9e397dfb4f2ca918110743ad680be13158eb62efb0aa185dbff0554598abe60f89e025e32307c2b1bbd4f1a
6
+ metadata.gz: 4c2082d27565dc379b98ab47c9a73e1b98610a343f9ba25b1de623daacfe1876d04b098dcb2cc9ae5e6a1440f6197268092bfe621079eeabe8de7a44137af76f
7
+ data.tar.gz: 98a2b524cc8b94b7fd2825ffa1e220a53e36aba96afb4cf89a6dc95f90987272a22718a07e3e5fd0de193c609bd927235c2687ff4a5e74d1c6c4a96d2e17c7b8
data/.travis.yml CHANGED
@@ -1,13 +1,20 @@
1
1
  before_install:
2
- - sudo chmod 755 ./vendor/bin/youtube-dl
3
- - sudo apt-get update -qq
4
-
2
+ - sudo chmod 755 ./vendor/bin/youtube-dl
3
+ - sudo apt-get update -qq
4
+
5
5
  rvm:
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
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{2}\.\d{2}/, `./vendor/bin/youtube-dl --version`.strip)
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
@@ -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
@@ -1,5 +1,5 @@
1
1
  module YoutubeDL
2
2
  # Semantic Version as well as the bundled binary version.
3
3
  # "(semver)(pre-release)(binary-version)"
4
- VERSION = '0.2.5.2015.12.06.1'
4
+ VERSION = '0.2.5.2015.12.10'
5
5
  end
Binary file
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.06.1
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-08 00:00:00.000000000 Z
12
+ date: 2015-12-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocaine