youtube_dlhelper 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gemnasium.yml +1 -1
- data/.rubocop.yml +1 -1
- data/.scrutinizer.yml +2 -2
- data/.travis.yml +0 -6
- data/CHANGELOG.md +80 -0
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +8 -12
- data/Gemfile.lock +60 -136
- data/History.rdoc +12 -0
- data/LICENSE.rdoc +1 -1
- data/Manifest.txt +3 -8
- data/README.rdoc +11 -10
- data/Rakefile +11 -17
- data/lib/youtube_dlhelper.rb +3 -15
- data/lib/youtube_dlhelper/change.rb +1 -1
- data/lib/youtube_dlhelper/checker.rb +0 -16
- data/lib/youtube_dlhelper/downloader.rb +1 -14
- data/lib/youtube_dlhelper/import_config.rb +1 -15
- data/lib/youtube_dlhelper/notifier.rb +1 -1
- data/lib/youtube_dlhelper/ripper.rb +2 -16
- data/{test → spec}/lib_spec.rb +26 -44
- data/{test → spec}/spec_helper.rb +1 -1
- metadata +34 -116
- checksums.yaml.gz.sig +0 -2
- data.tar.gz.sig +0 -0
- data/.gemrelease +0 -6
- data/.index +0 -180
- data/Index.yml +0 -64
- data/VERSION +0 -1
- data/circle.yml +0 -16
- data/ruby-lint.yml +0 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 874726b6dcf22fcc63caf53aaf24cb2b613b9f8d
|
4
|
+
data.tar.gz: a412ea5383dcb08c8ccd30fff1c23e3e42606661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c4451327112b7f0b615077cc3c44b1e581684ba8ce04f1998519062e8e704edebb3d7bb62b26c4100c78ae4c3ff795cf7524001defae1a5d42e90042e555e10
|
7
|
+
data.tar.gz: 2f8e0ecd662efe5ba05e8dbd9fdfbb7837d4145868ef10110fa5a1cd97165e9a2f9df86ad122e956b599cbfaf30aa8442f1347742e314d83f26108962756fa9b
|
data/.gemnasium.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
|
2
|
-
api_key:
|
2
|
+
api_key: 0f4473f5825f325227eb7a3a9a3425af # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
|
3
3
|
project_name: youtube_dlhelper # A name to remember your project.
|
4
4
|
project_slug: saigkill/youtube_dlhelper # Unique slug for this project. Get it on the "project settings" page.
|
5
5
|
project_branch: master # /!\ If you don't use git, remove this line
|
data/.rubocop.yml
CHANGED
data/.scrutinizer.yml
CHANGED
data/.travis.yml
CHANGED
@@ -6,9 +6,6 @@ dist: trusty
|
|
6
6
|
language: ruby
|
7
7
|
|
8
8
|
rvm:
|
9
|
-
- 2.2.0
|
10
|
-
- 2.2.1
|
11
|
-
- 2.2.2
|
12
9
|
- 2.2.3
|
13
10
|
|
14
11
|
env:
|
@@ -23,9 +20,6 @@ before_install:
|
|
23
20
|
- sudo apt-get update
|
24
21
|
- sudo apt-get install libav-tools libavcodec-extra-54 -y
|
25
22
|
|
26
|
-
before_script:
|
27
|
-
- rake setup
|
28
|
-
|
29
23
|
after_success:
|
30
24
|
- CI=true TRAVIS=true coveralls --verbose
|
31
25
|
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# CHANGELOG
|
2
|
+
|
3
|
+
## 0.1.9.5 (2015-09-12)
|
4
|
+
### Improvements
|
5
|
+
* Added a project logo for using in blogposts and notifier.
|
6
|
+
* Updated dependencies triggered by gemnasium
|
7
|
+
|
8
|
+
## 0.1.9.4 (2015-09-07)
|
9
|
+
### Improvements
|
10
|
+
* Changed setup procedure to setup.rb
|
11
|
+
* Removing /usr/bin/youtube_dlhelper because setup.rb installs in PATH
|
12
|
+
|
13
|
+
## 0.1.9.3 (2015-06-15)
|
14
|
+
### New features
|
15
|
+
* Using https is now allowed
|
16
|
+
* Added option to use ffmpeg OR avconv (depends on os)
|
17
|
+
### Other
|
18
|
+
* Added user documentation
|
19
|
+
* Extended automatic tests
|
20
|
+
* Extended inline code commentation by yard
|
21
|
+
|
22
|
+
## 0.1.9 (2015-03-05)
|
23
|
+
### Improved recipes:
|
24
|
+
* changed all File.exists? to File.exist?
|
25
|
+
|
26
|
+
## 0.1.8 (2015-03-03)
|
27
|
+
### Improved recipes:
|
28
|
+
* Updated Dependency to rdoc 4.2.0
|
29
|
+
* removed double setting of MYNAME and VERSION
|
30
|
+
* updated usage of File.exists? in rspec
|
31
|
+
|
32
|
+
## 0.1.7 (2014-01-18)
|
33
|
+
### New features:
|
34
|
+
* title: "New parameter in conf: ogg_file_accept"
|
35
|
+
* description: "If youtube outputs a webm file, viddl-rb produces a ogg file. If you accept this so no mp3 is needed."
|
36
|
+
* title: "Terminal Output: The Results file now shows the right extension (mp3 or ogg)"
|
37
|
+
* title: "Added some raise options"
|
38
|
+
|
39
|
+
## 0.1.6 (2014-01-13)
|
40
|
+
### New features:
|
41
|
+
* title: "added structure elements for terminal output"
|
42
|
+
### Improved recipes:
|
43
|
+
* Changed dependency for multi-json to 1.8.4 for security reasons
|
44
|
+
|
45
|
+
## 0.1.5 (2014-01-07)
|
46
|
+
### Improved recipes:
|
47
|
+
* using system() for viddl-rb
|
48
|
+
* rebuild docs
|
49
|
+
|
50
|
+
## 0.1.4 (2014-01-06)
|
51
|
+
### Improved recipes:
|
52
|
+
* Changed dependency from fileutils to fileutils2 for security reasons.
|
53
|
+
* Changed dependency from jeweler to 2.0.0
|
54
|
+
* regenerated docfiles
|
55
|
+
* changed the lines for finding the filename to File.glob
|
56
|
+
* added some tests inside the test/ folder
|
57
|
+
* changed LICENSE.txt to LICENSE.md
|
58
|
+
|
59
|
+
## 0.1.3 (2013-12-29)
|
60
|
+
### Improved recipes:
|
61
|
+
* Same as 0.1.2.alpha
|
62
|
+
|
63
|
+
## 0.1.2 (2013-12-28)
|
64
|
+
### Improved recipes:
|
65
|
+
* Nothing special happend. Just for experiment with the commandline release
|
66
|
+
tools.
|
67
|
+
|
68
|
+
## 0.1.1 (2013-12-24)
|
69
|
+
### Improved recipes:
|
70
|
+
* Updated two requires because of security reasons found by the dependency
|
71
|
+
checker
|
72
|
+
|
73
|
+
## 0.1.0 (2013-12-24)
|
74
|
+
### New features:
|
75
|
+
* title: "You give the program a URL and starts it with this as parameter"
|
76
|
+
* title: "The gem downloads the Video"
|
77
|
+
* title: "The gem extracts the audio"
|
78
|
+
* title: "Then it transcodes the file to mp3"
|
79
|
+
* title: "It asks for a Group or Interprets name and it creates the right
|
80
|
+
directories inside your configured Musicfolder"
|
data/CONTRIBUTING.md
CHANGED
data/Gemfile
CHANGED
@@ -11,27 +11,23 @@ gem "streamio-ffmpeg", "~>2.0"
|
|
11
11
|
gem "rainbow", "~>2.1"
|
12
12
|
gem "addressable", "~>2.4.0"
|
13
13
|
gem "notifier", "~>0.5"
|
14
|
-
gem "youtube-dl.rb", "~>0.
|
14
|
+
gem "youtube-dl.rb", "~>0.3.1.2016"
|
15
15
|
|
16
16
|
gem "rdoc", "~>4.0", :group => [:development, :test]
|
17
17
|
gem "coveralls", "~>0.8", :group => [:development, :test]
|
18
|
-
gem "
|
19
|
-
gem "hoe-bundler", "~>1.2", :group => [:development, :test]
|
20
|
-
gem "hoe-gemspec", "~>1.0", :group => [:development, :test]
|
18
|
+
gem "hoe-bundler", "~>1.3", :group => [:development, :test]
|
21
19
|
gem "hoe-git", "~>1.6", :group => [:development, :test]
|
22
|
-
gem "hoe-manns", "~>1.
|
23
|
-
gem "hoe-packaging", "~>1.1", :group => [:development, :test]
|
20
|
+
gem "hoe-manns", "~>1.5", :group => [:development, :test]
|
24
21
|
gem "hoe-rubocop", "~>1.0", :group => [:development, :test]
|
25
22
|
gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
|
26
23
|
gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
|
27
24
|
gem "hoe-version", "~>1.2", :group => [:development, :test]
|
28
25
|
gem "indexer", "~>0.3", :group => [:development, :test]
|
29
|
-
gem "rake", "~>
|
30
|
-
gem "rspec", "~>3.
|
31
|
-
gem "rubocop", "~>0.
|
32
|
-
gem "simplecov", "~>0.
|
33
|
-
gem "bundler-audit", "~>0.4", :group => [:development, :test]
|
26
|
+
gem "rake", "~>11.2", :group => [:development, :test]
|
27
|
+
gem "rspec", "~>3.5", :group => [:development, :test]
|
28
|
+
gem "rubocop", "~>0.42", :group => [:development, :test]
|
29
|
+
gem "simplecov", "~>0.12", :group => [:development, :test]
|
34
30
|
gem "manns_shared", "~>1.0", :group => [:development, :test]
|
35
|
-
gem "hoe", "~>3.
|
31
|
+
gem "hoe", "~>3.15", :group => [:development, :test]
|
36
32
|
|
37
33
|
# vim: syntax=ruby
|
data/Gemfile.lock
CHANGED
@@ -1,160 +1,88 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
CFPropertyList (2.2.8)
|
5
|
-
activesupport (4.2.5.1)
|
6
|
-
i18n (~> 0.7)
|
7
|
-
json (~> 1.7, >= 1.7.7)
|
8
|
-
minitest (~> 5.1)
|
9
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
10
|
-
tzinfo (~> 1.1)
|
11
4
|
addressable (2.4.0)
|
12
|
-
|
13
|
-
|
14
|
-
ast (2.2.0)
|
15
|
-
backports (3.6.7)
|
16
|
-
bundler-audit (0.4.0)
|
5
|
+
ast (2.3.0)
|
6
|
+
bundler-audit (0.5.0)
|
17
7
|
bundler (~> 1.2)
|
18
8
|
thor (~> 0.18)
|
19
|
-
|
20
|
-
childprocess (0.5.9)
|
21
|
-
ffi (~> 1.0, >= 1.0.11)
|
22
|
-
clamp (0.6.5)
|
23
|
-
climate_control (0.0.3)
|
24
|
-
activesupport (>= 3.0)
|
9
|
+
climate_control (0.1.0)
|
25
10
|
cocaine (0.5.8)
|
26
11
|
climate_control (>= 0.0.3, < 1.0)
|
27
|
-
coveralls (0.8.
|
28
|
-
json (
|
29
|
-
|
30
|
-
simplecov (~> 0.11.0)
|
12
|
+
coveralls (0.8.19)
|
13
|
+
json (>= 1.8, < 3)
|
14
|
+
simplecov (~> 0.12.0)
|
31
15
|
term-ansicolor (~> 1.3)
|
32
16
|
thor (~> 0.19.1)
|
33
|
-
tins (~> 1.6
|
34
|
-
diff-lcs (1.
|
17
|
+
tins (~> 1.6)
|
18
|
+
diff-lcs (1.3)
|
35
19
|
docile (1.1.5)
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
CFPropertyList (~> 2.2.6)
|
40
|
-
ffi (1.9.10)
|
41
|
-
fpm (1.4.0)
|
42
|
-
arr-pm (~> 0.0.10)
|
43
|
-
backports (>= 2.6.2)
|
44
|
-
cabin (>= 0.6.0)
|
45
|
-
childprocess
|
46
|
-
clamp (~> 0.6)
|
47
|
-
ffi
|
48
|
-
json (>= 1.7.7)
|
49
|
-
fpm-cookery (0.31.0)
|
50
|
-
addressable
|
51
|
-
facter
|
52
|
-
fpm (~> 1.1)
|
53
|
-
puppet (~> 3.4)
|
54
|
-
systemu
|
55
|
-
gem-release (0.7.4)
|
56
|
-
hiera (1.3.4)
|
57
|
-
json_pure
|
58
|
-
hoe (3.14.2)
|
59
|
-
rake (>= 0.8, < 11.0)
|
60
|
-
hoe-bundler (1.2.0)
|
61
|
-
hoe (>= 2.2.0)
|
62
|
-
hoe-gemspec (1.0.0)
|
20
|
+
hoe (3.16.0)
|
21
|
+
rake (>= 0.8, < 13.0)
|
22
|
+
hoe-bundler (1.3.0)
|
63
23
|
hoe (>= 2.2.0)
|
64
24
|
hoe-git (1.6.0)
|
65
|
-
hoe-manns (1.
|
66
|
-
bundler-audit (~> 0.
|
67
|
-
hoe (~> 3.14)
|
68
|
-
indexer (~> 0.3)
|
69
|
-
pandoc-ruby (~> 1.0)
|
25
|
+
hoe-manns (1.6.1)
|
26
|
+
bundler-audit (~> 0.5)
|
70
27
|
parseconfig (~> 1.0)
|
71
28
|
rainbow (~> 2.1)
|
72
|
-
hoe-
|
73
|
-
bundler (~> 1.10)
|
74
|
-
fpm (~> 1.4)
|
75
|
-
fpm-cookery (~> 0.31)
|
76
|
-
hoe-rubocop (1.0.6)
|
29
|
+
hoe-rubocop (1.0.7)
|
77
30
|
bundler (~> 1.11)
|
78
|
-
|
79
|
-
rubocop (~> 0.37)
|
31
|
+
rubocop (~> 0.42)
|
80
32
|
hoe-rubygems (1.0.0)
|
81
|
-
hoe-seattlerb (1.3.
|
33
|
+
hoe-seattlerb (1.3.5)
|
82
34
|
hoe-version (1.2.0)
|
83
|
-
http-cookie (1.0.2)
|
84
|
-
domain_name (~> 0.5)
|
85
|
-
i18n (0.7.0)
|
86
35
|
indexer (0.3.1)
|
87
|
-
json (
|
88
|
-
|
89
|
-
|
90
|
-
nokogiri (~> 1.6.7)
|
36
|
+
json (2.0.3)
|
37
|
+
manns_shared (1.0.7)
|
38
|
+
nokogiri (~> 1.6)
|
91
39
|
setup (~> 5.2)
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
nokogiri (1.6.7.2)
|
98
|
-
mini_portile2 (~> 2.0.0.rc2)
|
99
|
-
notifier (0.5.1)
|
100
|
-
pandoc-ruby (1.0.0)
|
40
|
+
mini_portile2 (2.1.0)
|
41
|
+
multi_json (1.12.1)
|
42
|
+
nokogiri (1.7.0.1)
|
43
|
+
mini_portile2 (~> 2.1.0)
|
44
|
+
notifier (0.5.2)
|
101
45
|
parseconfig (1.0.8)
|
102
|
-
parser (2.
|
46
|
+
parser (2.4.0.0)
|
103
47
|
ast (~> 2.2)
|
104
48
|
powerpack (0.1.1)
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
mime-types (>= 1.16, < 3.0)
|
116
|
-
netrc (~> 0.7)
|
117
|
-
rspec (3.4.0)
|
118
|
-
rspec-core (~> 3.4.0)
|
119
|
-
rspec-expectations (~> 3.4.0)
|
120
|
-
rspec-mocks (~> 3.4.0)
|
121
|
-
rspec-core (3.4.2)
|
122
|
-
rspec-support (~> 3.4.0)
|
123
|
-
rspec-expectations (3.4.0)
|
49
|
+
rainbow (2.2.1)
|
50
|
+
rake (11.3.0)
|
51
|
+
rdoc (4.3.0)
|
52
|
+
rspec (3.5.0)
|
53
|
+
rspec-core (~> 3.5.0)
|
54
|
+
rspec-expectations (~> 3.5.0)
|
55
|
+
rspec-mocks (~> 3.5.0)
|
56
|
+
rspec-core (3.5.4)
|
57
|
+
rspec-support (~> 3.5.0)
|
58
|
+
rspec-expectations (3.5.0)
|
124
59
|
diff-lcs (>= 1.2.0, < 2.0)
|
125
|
-
rspec-support (~> 3.
|
126
|
-
rspec-mocks (3.
|
60
|
+
rspec-support (~> 3.5.0)
|
61
|
+
rspec-mocks (3.5.0)
|
127
62
|
diff-lcs (>= 1.2.0, < 2.0)
|
128
|
-
rspec-support (~> 3.
|
129
|
-
rspec-support (3.
|
130
|
-
rubocop (0.
|
131
|
-
parser (>= 2.3.
|
63
|
+
rspec-support (~> 3.5.0)
|
64
|
+
rspec-support (3.5.0)
|
65
|
+
rubocop (0.47.1)
|
66
|
+
parser (>= 2.3.3.1, < 3.0)
|
132
67
|
powerpack (~> 0.1)
|
133
68
|
rainbow (>= 1.99.1, < 3.0)
|
134
69
|
ruby-progressbar (~> 1.7)
|
135
|
-
unicode-display_width (~> 0.
|
136
|
-
ruby-progressbar (1.
|
70
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
71
|
+
ruby-progressbar (1.8.1)
|
137
72
|
setup (5.2.0)
|
138
|
-
simplecov (0.
|
73
|
+
simplecov (0.12.0)
|
139
74
|
docile (~> 1.1.0)
|
140
|
-
json (
|
75
|
+
json (>= 1.8, < 3)
|
141
76
|
simplecov-html (~> 0.10.0)
|
142
77
|
simplecov-html (0.10.0)
|
143
|
-
streamio-ffmpeg (2.
|
78
|
+
streamio-ffmpeg (2.1.0)
|
144
79
|
multi_json (~> 1.8)
|
145
|
-
|
146
|
-
term-ansicolor (1.3.2)
|
80
|
+
term-ansicolor (1.4.0)
|
147
81
|
tins (~> 1.0)
|
148
|
-
thor (0.19.
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
thread_safe (~> 0.1)
|
153
|
-
unf (0.1.4)
|
154
|
-
unf_ext
|
155
|
-
unf_ext (0.0.7.2)
|
156
|
-
unicode-display_width (0.3.1)
|
157
|
-
youtube-dl.rb (0.2.5.2016.02.05.1)
|
82
|
+
thor (0.19.4)
|
83
|
+
tins (1.13.2)
|
84
|
+
unicode-display_width (1.1.3)
|
85
|
+
youtube-dl.rb (0.3.1.2016.09.11.1)
|
158
86
|
cocaine (>= 0.5.4)
|
159
87
|
|
160
88
|
PLATFORMS
|
@@ -163,15 +91,11 @@ PLATFORMS
|
|
163
91
|
DEPENDENCIES
|
164
92
|
addressable (~> 2.4.0)
|
165
93
|
bundler (~> 1.11)
|
166
|
-
bundler-audit (~> 0.4)
|
167
94
|
coveralls (~> 0.8)
|
168
|
-
|
169
|
-
hoe (~> 3
|
170
|
-
hoe-bundler (~> 1.2)
|
171
|
-
hoe-gemspec (~> 1.0)
|
95
|
+
hoe (~> 3.15)
|
96
|
+
hoe-bundler (~> 1.3)
|
172
97
|
hoe-git (~> 1.6)
|
173
|
-
hoe-manns (~> 1.
|
174
|
-
hoe-packaging (~> 1.1)
|
98
|
+
hoe-manns (~> 1.5)
|
175
99
|
hoe-rubocop (~> 1.0)
|
176
100
|
hoe-rubygems (~> 1.0)
|
177
101
|
hoe-seattlerb (~> 1.3)
|
@@ -181,14 +105,14 @@ DEPENDENCIES
|
|
181
105
|
notifier (~> 0.5)
|
182
106
|
parseconfig (~> 1.0)
|
183
107
|
rainbow (~> 2.1)
|
184
|
-
rake (~>
|
108
|
+
rake (~> 11.2)
|
185
109
|
rdoc (~> 4.0)
|
186
|
-
rspec (~> 3.
|
187
|
-
rubocop (~> 0.
|
110
|
+
rspec (~> 3.5)
|
111
|
+
rubocop (~> 0.42)
|
188
112
|
setup (~> 5.2)
|
189
|
-
simplecov (~> 0.
|
113
|
+
simplecov (~> 0.12)
|
190
114
|
streamio-ffmpeg (~> 2.0)
|
191
|
-
youtube-dl.rb (~> 0.
|
115
|
+
youtube-dl.rb (~> 0.3.1.2016)
|
192
116
|
|
193
117
|
BUNDLED WITH
|
194
|
-
1.
|
118
|
+
1.13.6
|
data/History.rdoc
CHANGED