aavimeodl 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abc6e606e4df8ecbc84b46ec13aaa66f6347d730
4
- data.tar.gz: fee81ef0be3c0f76a3c6caeb2ab2051c6b70cfc5
3
+ metadata.gz: 3fa74f0a3caa5270bf33f9ec6bc9d87f5d78e824
4
+ data.tar.gz: e458795698f54a672ee30bd84776a4e437ac5671
5
5
  SHA512:
6
- metadata.gz: bc025b5c0598d9807da8b4872854bd901bca626ea8ba60cfbcb9d18323a109bab1e88ca090fbbd11f811e168e0c610e8a83899d7487731be15aead956c0d9b2c
7
- data.tar.gz: 9d382af980a166970e57ed3a56f23e29873366cf8eda0f2f809dd23627b086d7f10ad791b94135bd0810ccd11f9d993cb163ccf890602f8287f9e6179a22e9bd
6
+ metadata.gz: c64052c20d21b9341e304bc4fea7c1bc2f2a8a53edb1cc7bfb0296e2babcd1120ab4ce5e3facdb47763a48a6e3ed758db5bc87923d30353827c42d6a76859525
7
+ data.tar.gz: a6391616d1a758c268da68543dc5f220660dca330df0a96596cab3bdfaf2fb80efac7a7e486d71f82d97bc1029d8bbce6763781f9f5358eaa14ca7365213125a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aavimeodl (0.1.0)
4
+ aavimeodl (0.2.1)
5
5
  youtube-dl.rb
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,27 +1,52 @@
1
1
  # aa-vimeo-downloader
2
2
 
3
- A script for App Academy students which downloads the day's videos
3
+ A __gem__ for App Academy students which __downloads the day's videos__ and places them __into a folder__, labeled in their __intended order__, to be __viewed without an internet connection__.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ gem install aavimeodl
9
+ ```
4
10
 
5
11
  ## Usage
6
12
 
7
13
  ```bash
8
- getaavids <week+day> <url to readme raw>
14
+ aavimeodl [week+day] [url to readme raw]
9
15
  ```
10
16
 
11
17
  "_<week+day>_" could be _w4d1_, _w2d2_, etc.
12
18
 
13
- To get the url for the readme raw, simply navigate to the README.md file and select _raw_.
19
+ To get the url for the readme raw, simply navigate to the README.md file and select _raw_.
14
20
  Once your screen is filled with plain, unformatted text, grab the url.
15
21
 
16
22
  Here's an example where the user wants to download all the week 2, day 4 videos (with the url truncated):
17
23
 
18
24
  ```bash
19
- getaavids w2d4 https://raw.githubusercontent.com/appacademy/curriculum/.......
25
+ aavimeodl w2d4 https://raw.githubusercontent.com/appacademy/curriculum/.......
20
26
  ```
21
27
 
22
28
  The program will make a folder called _W2D4_videos_ and place all the day's videos in that folder. It might be smart to
23
29
  navigate to the user's _Videos_ directory before running this script!
24
30
 
31
+ ## Offline Video Playback
32
+
33
+ If you don't have a video player which allows the playback speed to be adjusted, consider giving VLC a try. [https://www.videolan.org/vlc/index.html](https://www.videolan.org/vlc/index.html)
34
+
35
+ ### How I Turned this Into a Gem:
36
+
37
+ <details><summary>Links to Gem Guides</summary>
38
+ [http://guides.rubygems.org/make-your-own-gem/](http://guides.rubygems.org/make-your-own-gem/)
39
+
40
+ [http://robdodson.me/how-to-write-a-command-line-ruby-gem/](http://robdodson.me/how-to-write-a-command-line-ruby-gem/)
41
+
42
+ [http://guides.rubygems.org/specification-reference/#add_runtime_dependency](http://guides.rubygems.org/specification-reference/#add_runtime_dependency)
43
+
44
+ Example of an executable gem: [https://github.com/qrush/hola](https://github.com/qrush/hola), and the directions: [http://guides.rubygems.org/make-your-own-gem/#requiring-more-files](http://guides.rubygems.org/make-your-own-gem/#requiring-more-files)
45
+
46
+ The 1st parts here are helpful: [https://bundler.io/v1.13/guides/creating_gem](https://bundler.io/v1.13/guides/creating_gem)
47
+ </details>
48
+
49
+ <details><summary>Old README.md</summary>
25
50
  ## Install
26
51
 
27
52
  ### via copy-pasting this shell script into your terminal:
@@ -38,7 +63,7 @@ exec bash
38
63
 
39
64
  After cloning this repository, run the install shell script like so:
40
65
 
41
- ```bash
66
+ ```bash
42
67
  bash install.sh
43
68
  ```
44
69
 
@@ -59,19 +84,4 @@ getaavids ...
59
84
 
60
85
  This program requires youtube-dl. I've added an automatic installer to the program, so the user doesn't have to install it manually.
61
86
  If you'd like to install it manually, refer to its website: [https://rg3.github.io/youtube-dl/](https://rg3.github.io/youtube-dl/)
62
-
63
- ## Video Playback
64
-
65
- If you don't have a video player which allows the playback speed to be adjusted, consider giving VLC a try. [https://www.videolan.org/vlc/index.html](https://www.videolan.org/vlc/index.html)
66
-
67
- ## How I Turned this Into a Gem:
68
-
69
- [http://guides.rubygems.org/make-your-own-gem/](http://guides.rubygems.org/make-your-own-gem/)
70
-
71
- [http://robdodson.me/how-to-write-a-command-line-ruby-gem/](http://robdodson.me/how-to-write-a-command-line-ruby-gem/)
72
-
73
- [http://guides.rubygems.org/specification-reference/#add_runtime_dependency](http://guides.rubygems.org/specification-reference/#add_runtime_dependency)
74
-
75
- Example of an executable gem: [https://github.com/qrush/hola](https://github.com/qrush/hola), and the directions: [http://guides.rubygems.org/make-your-own-gem/#requiring-more-files](http://guides.rubygems.org/make-your-own-gem/#requiring-more-files)
76
-
77
- The 1st parts here are helpful: [https://bundler.io/v1.13/guides/creating_gem](https://bundler.io/v1.13/guides/creating_gem)
87
+ </details>
@@ -1,4 +1,6 @@
1
1
  require 'open-uri'
2
+ require 'io/console'
3
+ require 'pty'
2
4
  require 'youtube-dl'
3
5
 
4
6
  class GitRaw
@@ -1,3 +1,3 @@
1
1
  module Aavimeodl
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aavimeodl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - candyapplecorn
@@ -87,6 +87,7 @@ files:
87
87
  - lib/aavimeodl/AVD.rb
88
88
  - lib/aavimeodl/version.rb
89
89
  - pkg/aavimeodl-0.1.1.gem
90
+ - pkg/aavimeodl-0.2.1.gem
90
91
  homepage: https://github.com/candyapplecorn/aa-vimeo-downloader
91
92
  licenses:
92
93
  - MIT