robbie 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -2
- data/lib/robbie/request.rb +1 -2
- data/lib/robbie/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2074093789ac3f1c1665def17931fb816aa4973
|
4
|
+
data.tar.gz: 304466afde8f17dda4dd7ff4eee7b53edd4665df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 771d61dc57c370d6ab401cbe70c68665615af8794ccfe99a54e91f2d0d7dcd9a2cf761bdf7942fdfc58fff5676bee3d2bdd00477caf1aa5b850c83fe5308fc5e
|
7
|
+
data.tar.gz: a07afc63f0ab90787736ddc23156b87c9963888882487cc3d27cbcb4d43844b8ca44fb5f048610847e220ea8c1bd81d820a523a02ab19f24d592dfed8d5f9737
|
data/README.md
CHANGED
@@ -18,13 +18,26 @@ Specify one of the following afterwards (as well as as a title for the media)
|
|
18
18
|
- `tv`
|
19
19
|
|
20
20
|
```bash
|
21
|
-
robbie
|
21
|
+
robbie info tv "Rick and Morty"
|
22
22
|
```
|
23
23
|
|
24
24
|
- `music`
|
25
|
+
- `album`
|
25
26
|
|
26
27
|
```bash
|
27
|
-
robbie
|
28
|
+
robbie info album "Pablo Honey" "Radiohead"
|
29
|
+
```
|
30
|
+
|
31
|
+
- `song`
|
32
|
+
|
33
|
+
```bash
|
34
|
+
robbie info song "Runaway" "Kanye West"
|
35
|
+
```
|
36
|
+
|
37
|
+
- `artist`
|
38
|
+
|
39
|
+
```
|
40
|
+
robbie info artist "The Rolling Stones"
|
28
41
|
```
|
29
42
|
|
30
43
|
- `book`
|
data/lib/robbie/request.rb
CHANGED
@@ -53,14 +53,13 @@ module Request
|
|
53
53
|
puts "Artist: \t#{@json['album']['artist']}"
|
54
54
|
puts "Year: \t\t#{@json['album']['wiki']['published']}"
|
55
55
|
puts "Tracks: \t"
|
56
|
-
|
56
|
+
|
57
57
|
@json['album']['tracks']['track'].length.times do |i|
|
58
58
|
puts "\t##{i+1}:\t#{@json['album']['tracks']['track'][i]['name']}"
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
62
|
def movie(title)
|
63
|
-
puts "title: #{title}"
|
64
63
|
Bitly.use_api_version_3
|
65
64
|
|
66
65
|
bitly = Bitly.new('benp51', 'R_886e9ca24b25c1e91d66f5c6379568a9')
|
data/lib/robbie/version.rb
CHANGED