youtube-dl.rb 0.2.4.2015.11.02 → 0.2.5.2015.11.18

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: 66b0ab6fbd82ed0f4866fa5ea662fae2e6db5098
4
- data.tar.gz: 9baf8abcf1f500315d382e219a6e1e020d5ef2a7
3
+ metadata.gz: 03db78faf350d48ff1be8ece945fe7299f7d67e2
4
+ data.tar.gz: 63e5e6289575bcc8f4e1c41849b629609f2a6734
5
5
  SHA512:
6
- metadata.gz: 4af27b1ad3ee3055120e6582b9ecf28bd20c240ccbe93bf01ace6f2eb250fece533804eb977502fe694b3c0cac570f972fb5375529777e99a461e3aa0c650461
7
- data.tar.gz: 3150f442c4b96a3ea9fb60684dfd2d5c44d7d9ce181d074267ab7d53461739975cb6a6530b13e8e224ca2878e64f9aa97e7d7617b4f446b2e795f08a700ddde6
6
+ metadata.gz: 9a5538a55186bbc7290a749f295a3be5cd5dea1c60685182c6a21566b128ccb1f67db7a6bd56e628abd90fcd219fd43f3ac4dfe5c45338d1cba53d74386118f7
7
+ data.tar.gz: 40e3a6bf823af358498eb3fbe9078894ce471905555838b8c890802d6c43edb3bf5bffcc8fd02ca580aa4dbe3e64f2d97b3979ab9ed5dd40d55b9d50badce7c7
data/Rakefile CHANGED
@@ -32,5 +32,6 @@ namespace :binaries do
32
32
  f.rewind
33
33
  f.write version_file.gsub(/\d{4}\.\d{2}\.\d{2}/, `./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
36
  end
36
37
  end
@@ -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.4.2015.11.02'
4
+ VERSION = '0.2.5.2015.11.18'
5
5
  end
@@ -32,8 +32,8 @@ module YoutubeDL
32
32
 
33
33
  # Download the video.
34
34
  def download
35
- raise ArgumentError.new('url cannot be nil') if url.nil?
36
- raise ArgumentError.new('url cannot be empty') if url.empty?
35
+ raise ArgumentError.new('url cannot be nil') if @url.nil?
36
+ raise ArgumentError.new('url cannot be empty') if @url.empty?
37
37
  @download_options = YoutubeDL::Options.new(runner_options)
38
38
  @last_download_output = YoutubeDL::Runner.new(url, @download_options).run
39
39
  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.4.2015.11.02
4
+ version: 0.2.5.2015.11.18
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-11-03 00:00:00.000000000 Z
12
+ date: 2015-11-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocaine
@@ -190,4 +190,3 @@ test_files:
190
190
  - test/youtube-dl/support_test.rb
191
191
  - test/youtube-dl/video_test.rb
192
192
  - test/youtube-dl_test.rb
193
- has_rdoc: