youtube_dlhelper 0.1.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.gemnasium.yml +5 -0
  4. data/.gemrelease +6 -0
  5. data/.gitignore +8 -0
  6. data/.idea/.name +1 -0
  7. data/.idea/.rakeTasks +7 -0
  8. data/.idea/dictionaries/sascha.xml +3 -0
  9. data/.idea/dictionaries/smanns.xml +3 -0
  10. data/.idea/encodings.xml +5 -0
  11. data/.idea/inspectionProfiles/Project_Default.xml +81 -0
  12. data/.idea/inspectionProfiles/profiles_settings.xml +7 -0
  13. data/.idea/misc.xml +5 -0
  14. data/.idea/modules.xml +9 -0
  15. data/.idea/scopes/scope_settings.xml +5 -0
  16. data/.idea/sonarIssues.xml +29 -0
  17. data/.idea/vagrant.xml +7 -0
  18. data/.idea/vcs.xml +7 -0
  19. data/.idea/workspace.xml +1273 -0
  20. data/.idea/workspace_conflict-20150617-151434.xml +933 -0
  21. data/.idea/youtube_dlhelper.iml +241 -0
  22. data/.idea/youtube_dlhelper_conflict-20150617-151434.iml +230 -0
  23. data/.index +121 -0
  24. data/.overcommit.yml +76 -0
  25. data/.rspec +2 -0
  26. data/.rubocop.yml +39 -0
  27. data/.scrutinizer.yml +26 -0
  28. data/.travis.yml +29 -0
  29. data/.yardopts +7 -0
  30. data/CHANGELOG.md +75 -0
  31. data/CODE_OF_CONDUCT.md +17 -0
  32. data/CONTRIBUTING.md +25 -0
  33. data/Gemfile +5 -0
  34. data/Index.yml +54 -0
  35. data/LICENSE.md +187 -0
  36. data/MANIFEST +635 -0
  37. data/README.md +67 -0
  38. data/Rakefile +318 -0
  39. data/VERSION +1 -0
  40. data/bin/youtube_dlhelper +12 -0
  41. data/circle.yml +16 -0
  42. data/config.reek +111 -0
  43. data/etc/youtube_dlhelper.conf +8 -0
  44. data/lib/youtube_dlhelper.rb +128 -0
  45. data/lib/youtube_dlhelper/checker.rb +160 -0
  46. data/lib/youtube_dlhelper/downloader.rb +80 -0
  47. data/lib/youtube_dlhelper/get.rb +43 -0
  48. data/lib/youtube_dlhelper/import_config.rb +42 -0
  49. data/lib/youtube_dlhelper/ripper.rb +100 -0
  50. data/lib/youtube_dlhelper/version.rb +38 -0
  51. data/ruby-lint.yml +2 -0
  52. data/youtube_dlhelper.gemspec +56 -0
  53. metadata +601 -0
data/.index ADDED
@@ -0,0 +1,121 @@
1
+ ---
2
+ revision: 2013
3
+ type: ruby
4
+ sources:
5
+ - VERSION
6
+ - Index.yml
7
+ authors:
8
+ - name: Sascha Manns
9
+ email: samannsml@directbox.com
10
+ organizations: []
11
+ requirements:
12
+ - name: highline
13
+ - name: parseconfig
14
+ - name: viddl-rb
15
+ - name: streamio-ffmpeg
16
+ - name: rainbow
17
+ - name: addressable
18
+ - name: setup
19
+ - name: notifier
20
+ - groups:
21
+ - build
22
+ development: true
23
+ name: rake
24
+ - groups:
25
+ - build
26
+ development: true
27
+ name: rdoc
28
+ - groups:
29
+ - build
30
+ development: true
31
+ name: bundler
32
+ - groups:
33
+ - build
34
+ development: true
35
+ name: yard
36
+ - groups:
37
+ - build
38
+ development: true
39
+ name: gem-release
40
+ - groups:
41
+ - build
42
+ development: true
43
+ name: rubocop
44
+ - groups:
45
+ - build
46
+ development: true
47
+ name: travis
48
+ - groups:
49
+ - build
50
+ development: true
51
+ name: reek
52
+ - groups:
53
+ - build
54
+ development: true
55
+ name: ruby-lint
56
+ - groups:
57
+ - build
58
+ development: true
59
+ name: bundler-audit
60
+ - groups:
61
+ - build
62
+ development: true
63
+ name: indexer
64
+ - groups:
65
+ - build
66
+ development: true
67
+ name: mast
68
+ - groups:
69
+ - test
70
+ development: true
71
+ name: simplecov
72
+ - groups:
73
+ - test
74
+ development: true
75
+ name: coveralls
76
+ - groups:
77
+ - test
78
+ development: true
79
+ name: rspec
80
+ - groups:
81
+ - test
82
+ development: true
83
+ name: rspec-core
84
+ conflicts: []
85
+ alternatives: []
86
+ resources:
87
+ - type: home
88
+ uri: http://saigkill.github.io
89
+ label: Homepage
90
+ - type: code
91
+ uri: https://github.com/saigkill/youtube_dlhelper
92
+ label: Source Code
93
+ - type: bugs
94
+ uri: http://saigkill-bugs.myjetbrains.com/youtrack
95
+ label: Issue Tracker
96
+ - type: issues
97
+ uri: http://saigkill-bugs.myjetbrains.com/youtrack
98
+ label: Issue Tracker
99
+ repositories:
100
+ - name: upstream
101
+ scm: git
102
+ uri: https://github.com/saigkill/youtube_dlhelper.git
103
+ categories:
104
+ - youtube
105
+ - ruby
106
+ - music
107
+ copyrights:
108
+ - holder: Sascha Manns
109
+ year: '2015'
110
+ license: GPL3
111
+ customs: []
112
+ paths:
113
+ lib:
114
+ - lib
115
+ version: 0.1.9.4
116
+ name: youtube_dlhelper
117
+ title: Youtube_dlhelper
118
+ summary: Youtube Downloadhelper and Ripper
119
+ description: This is a Youtube Downloadhelper who downloads a file, rips it to mp3
120
+ and placed it in a organized form
121
+ date: '2015-09-07'
data/.overcommit.yml ADDED
@@ -0,0 +1,76 @@
1
+ # Use this file to configure the Overcommit hooks you wish to use. This will
2
+ # extend the default configuration defined in:
3
+ # https://github.com/brigade/overcommit/blob/master/config/default.yml
4
+ #
5
+ # At the topmost level of this YAML file is a key representing type of hook
6
+ # being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7
+ # customize each hook, such as whether to only run it on certain files (via
8
+ # `include`), whether to only display output if it fails (via `quiet`), etc.
9
+ #
10
+ # For a complete list of hooks, see:
11
+ # https://github.com/brigade/overcommit/tree/master/lib/overcommit/hook
12
+ #
13
+ # For a complete list of options that you can use to customize hooks, see:
14
+ # https://github.com/brigade/overcommit#configuration
15
+ #
16
+ # Uncomment the following lines to make the configuration take effect.
17
+
18
+ PreCommit:
19
+ BundleCheck:
20
+ enabled: true
21
+ description: 'Checking Gemfile dependencies'
22
+ required_executable: 'bundle'
23
+ flags: ['check']
24
+ install_command: 'gem install bundler'
25
+ include:
26
+ - 'Gemfile'
27
+ - 'Gemfile.lock'
28
+ - '*.gemspec'
29
+
30
+ RuboCop:
31
+ enabled: true
32
+ description: 'Analyzing with RuboCop'
33
+ required_executable: 'rubocop'
34
+ flags: ['--format=emacs', '--force-exclusion', '--display-cop-names']
35
+ command: ['bundle', 'exec', 'rubocop'] # Invoke within Bundler context
36
+ on_warn: fail # Treat all warnings as failures
37
+ install_command: 'gem install rubocop'
38
+ include:
39
+ - '**/*.gemspec'
40
+ - '**/*.rake'
41
+ - '**/*.rb'
42
+ - '**/Gemfile'
43
+ - '**/Rakefile'
44
+ - 'lib/**/*.rb'
45
+
46
+ TravisLint:
47
+ enabled: true
48
+ description: 'Checking Travis CI configuration'
49
+ required_executable: 'travis'
50
+ flags: ['lint']
51
+ install_command: 'gem install travis'
52
+ include: '.travis.yml'
53
+
54
+ Reek:
55
+ enabled: true
56
+ description: 'Analyzing with Reek'
57
+ required_executable: 'reek'
58
+ flags: ['--single-line', '--no-color']
59
+ install_command: 'gem install reek'
60
+ include:
61
+ - '**/*.gemspec'
62
+ - '**/*.rake'
63
+ - '**/*.rb'
64
+ - '**/Gemfile'
65
+ - '**/Rakefile'
66
+
67
+ TrailingWhitespace:
68
+ exclude:
69
+ - '**/db/structure.sql' # Ignore trailing whitespace in generated files
70
+
71
+ #PostCheckout:
72
+ # ALL: # Special hook name that customizes all hooks of this type
73
+ # quiet: true # Change all post-checkout hooks to only display output on failure
74
+ #
75
+ # IndexTags:
76
+ # enabled: true # Generate a tags file with `ctags` each time HEAD changes
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/.rubocop.yml ADDED
@@ -0,0 +1,39 @@
1
+ AllCops:
2
+
3
+ Include:
4
+ - 'lib/**/*.rb'
5
+ - 'test/**/*.rb'
6
+
7
+ Exclude:
8
+ - 'Rakefile'
9
+
10
+ DisplayCopNames: true
11
+
12
+ Metrics/LineLength:
13
+ Enabled: true
14
+ Max: 80
15
+
16
+ Metrics/CyclomaticComplexity:
17
+ Severity: warning
18
+
19
+ Style/PerlBackrefs:
20
+ AutoCorrect: true
21
+
22
+ Metrics/ParameterLists:
23
+ Max: 10
24
+ CountKeywordArgs: true
25
+
26
+ Metrics/ClassLength:
27
+ CountComments: false # count full line comments?
28
+ Max: 150
29
+
30
+ Metrics/ModuleLength:
31
+ CountComments: false # count full line comments?
32
+ Max: 190
33
+
34
+ Metrics/MethodLength:
35
+ CountComments: false # count full line comments?
36
+ Max: 20
37
+
38
+ Style/RedundantReturn:
39
+ Enabled: false
data/.scrutinizer.yml ADDED
@@ -0,0 +1,26 @@
1
+ build:
2
+ environment:
3
+ ruby: '2.1.2'
4
+
5
+ dependencies:
6
+ before:
7
+ - sudo apt-get update
8
+ - sudo apt-get install libav-tools -y
9
+ - bundle install
10
+
11
+ checks:
12
+ ruby:
13
+ code_rating: true
14
+ duplicate_code: true
15
+ style_signal_exception:
16
+ enforced_style: semantic
17
+ style_redundant_exception: true
18
+ style_raise_args:
19
+ enforced_style: exploded
20
+ style_predicate_name: true
21
+ style_comment_annotation: true
22
+ rails_output: false
23
+
24
+ filter:
25
+ excluded_paths:
26
+ - 'test/*'
data/.travis.yml ADDED
@@ -0,0 +1,29 @@
1
+ os:
2
+ -linux
3
+
4
+ dist: trusty
5
+
6
+ language: ruby
7
+
8
+ rvm:
9
+ - 2.2.1
10
+ - 2.2.2
11
+
12
+ env:
13
+ global:
14
+ - JRUBY_OPTS=-Xcext.enabled=true
15
+ - CI=true
16
+ - TRAVIS=true
17
+ - LANG=en_US.UTF-8
18
+ - LC_ALL=en_US.UTF-8
19
+
20
+ before_install:
21
+ - sudo apt-get update
22
+ - sudo apt-get install ffmpeg
23
+
24
+ after_success:
25
+ - CI=true TRAVIS=true coveralls --verbose
26
+
27
+ notifications:
28
+ email:
29
+ - samannsml@directbox.com
data/.yardopts ADDED
@@ -0,0 +1,7 @@
1
+ bin/youtube_dlhelper
2
+ lib/**/*.rb
3
+ -
4
+ CHANGELOG.md
5
+ CODE_OF_CONDUCT.md
6
+ LICENSE.md
7
+ README.rdoc
data/CHANGELOG.md ADDED
@@ -0,0 +1,75 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.1.9.4 (2015-09-07)
4
+ ## Improvements
5
+ * Changed setup procedure to setup.rb
6
+ * Removing /usr/bin/youtube_dlhelper because setup.rb installs in PATH
7
+
8
+ ## 0.1.9.3 (2015-06-15)
9
+ ### New features
10
+ * Using https is now allowed
11
+ * Added option to use ffmpeg OR avconv (depends on os)
12
+ ### Other
13
+ * Added user documentation
14
+ * Extended automatic tests
15
+ * Extended inline code commentation by yard
16
+
17
+ ## 0.1.9 (2015-03-05)
18
+ ### Improved recipes:
19
+ * changed all File.exists? to File.exist?
20
+
21
+ ## 0.1.8 (2015-03-03)
22
+ ### Improved recipes:
23
+ * Updated Dependency to rdoc 4.2.0
24
+ * removed double setting of MYNAME and VERSION
25
+ * updated usage of File.exists? in rspec
26
+
27
+ ## 0.1.7 (2014-01-18)
28
+ ### New features:
29
+ * title: "New parameter in conf: ogg_file_accept"
30
+ * description: "If youtube outputs a webm file, viddl-rb produces a ogg file. If you accept this so no mp3 is needed."
31
+ * title: "Terminal Output: The Results file now shows the right extension (mp3 or ogg)"
32
+ * title: "Added some raise options"
33
+
34
+ ## 0.1.6 (2014-01-13)
35
+ ### New features:
36
+ * title: "added structure elements for terminal output"
37
+ ### Improved recipes:
38
+ * Changed dependency for multi-json to 1.8.4 for security reasons
39
+
40
+ ## 0.1.5 (2014-01-07)
41
+ ### Improved recipes:
42
+ * using system() for viddl-rb
43
+ * rebuild docs
44
+
45
+ ## 0.1.4 (2014-01-06)
46
+ ### Improved recipes:
47
+ * Changed dependency from fileutils to fileutils2 for security reasons.
48
+ * Changed dependency from jeweler to 2.0.0
49
+ * regenerated docfiles
50
+ * changed the lines for finding the filename to File.glob
51
+ * added some tests inside the test/ folder
52
+ * changed LICENSE.txt to LICENSE.md
53
+
54
+ ## 0.1.3 (2013-12-29)
55
+ ### Improved recipes:
56
+ * Same as 0.1.2.alpha
57
+
58
+ ## 0.1.2 (2013-12-28)
59
+ ### Improved recipes:
60
+ * Nothing special happend. Just for experiment with the commandline release
61
+ tools.
62
+
63
+ ## 0.1.1 (2013-12-24)
64
+ ### Improved recipes:
65
+ * Updated two requires because of security reasons found by the dependency
66
+ checker
67
+
68
+ ## 0.1.0 (2013-12-24)
69
+ ### New features:
70
+ * title: "You give the program a URL and starts it with this as parameter"
71
+ * title: "The gem downloads the Video"
72
+ * title: "The gem extracts the audio"
73
+ * title: "Then it transcodes the file to mp3"
74
+ * title: "It asks for a Group or Interprets name and it creates the right
75
+ directories inside your configured Musicfolder"
@@ -0,0 +1,17 @@
1
+ # @markup markdown
2
+ # @title Code of Conduct
3
+ # @author Sascha Manns
4
+
5
+ # Contributor Code of Conduct
6
+
7
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
8
+
9
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
10
+
11
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
12
+
13
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
14
+
15
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
16
+
17
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,25 @@
1
+ # Contributing
2
+
3
+ ## Branches
4
+
5
+ ### `master` branch
6
+
7
+ The master branch is the current stable released version.
8
+
9
+ ### `develop` branch
10
+
11
+ The develop branch is the current edge of development.
12
+
13
+ ## Pull requests
14
+
15
+ * https://github.com/saigkill/latex_curriculum_vitae/pulls
16
+
17
+ Please base all pull requests off the `develop` branch. Merges to
18
+ `master` only occur through the `develop` branch. Pull requests
19
+ based on `master` will likely be cherry picked.
20
+
21
+ ## Issues
22
+
23
+ Need to report an issue? Use that issue tracker:
24
+
25
+ * http://saigkill-bugs.myjetbrains.com/youtrack/issues
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ source 'http://rubygems.org'
2
+ # Gemfile for youtube_dlhelper
3
+ # Add dependencies required to use your gem here.
4
+ gemspec
5
+
data/Index.yml ADDED
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: youtube_dlhelper
3
+ version: 0.1.9.4
4
+ title: Youtube_dlhelper
5
+ summary: Youtube Downloadhelper and Ripper
6
+
7
+ description:
8
+ This is a Youtube Downloadhelper who downloads a file, rips it to mp3 and placed it in a organized form
9
+
10
+ authors:
11
+ - Sascha Manns <samannsml@directbox.com>
12
+
13
+ requirements:
14
+ - highline
15
+ - parseconfig
16
+ - viddl-rb
17
+ - streamio-ffmpeg
18
+ - rainbow
19
+ - addressable
20
+ - setup
21
+ - notifier
22
+ - rake (build)
23
+ - rdoc (build)
24
+ - bundler (build)
25
+ - yard (build)
26
+ - gem-release (build)
27
+ - rubocop (build)
28
+ - travis (build)
29
+ - reek (build)
30
+ - ruby-lint (build)
31
+ - bundler-audit (build)
32
+ - indexer (build)
33
+ - mast (build)
34
+ - simplecov (test)
35
+ - coveralls (test)
36
+ - rspec (test)
37
+ - rspec-core (test)
38
+
39
+ repositories:
40
+ upstream: https://github.com/saigkill/youtube_dlhelper.git
41
+
42
+ resources:
43
+ home: http://saigkill.github.io
44
+ code: https://github.com/saigkill/youtube_dlhelper
45
+ bugs: http://saigkill-bugs.myjetbrains.com/youtrack
46
+ issues: http://saigkill-bugs.myjetbrains.com/youtrack
47
+
48
+ categories:
49
+ - youtube
50
+ - ruby
51
+ - music
52
+
53
+ copyrights:
54
+ - 2015 Sascha Manns (GPL3)