noawsalbumart 1.0.2 → 1.0.3

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: 45ad60d40151f5c08466f500ffcf19d2ea08c30a
4
- data.tar.gz: 2498910d0a90e4135285669bd9d0cfceab5a0c81
3
+ metadata.gz: a884ac869d0f2990f183a00201ef6e727fca872a
4
+ data.tar.gz: c120c1116bd2af160f0a610f14cba23ca24a2d10
5
5
  SHA512:
6
- metadata.gz: e78a5807a8a11c8a9e585a2cce47c8da2c8c2c037bdd49b0c3eee759aa72f3caf281abdf096cba9bc0933c209ca325cf92957c6c5382cbfadf9918cea9ff5c45
7
- data.tar.gz: bf8f0ab57df1cbfed6d7747281e1c4518f2be3f29a88bf63ff6c357a3d3e8a848cee0443e2c37635a86d8cf7dd63a787ba831d8802d724a59f7c4832ccf9959b
6
+ metadata.gz: 7456be20a94e019d1a641ee2ce47d9618885dd5fee402b65c9482db7a05d7a1fb27ec572c24a436f3b2b3d5e28dae2dfb52b3b388da0edb574d6bb960c1d4c25
7
+ data.tar.gz: 65ecd49a0b1539e8f12dfa23ed46835ba094bfc96f58387878bc849ae488af28b45a02d4b8eec15ebb2d4db86699b07a916f0a6cd93823e9eb6fdf990c8e8648
data/README.md CHANGED
@@ -22,6 +22,19 @@ NoAWSAlbumArt was mainly an exercise in building an alternative to Amazon Album
22
22
 
23
23
  I mainly chose to use amazon simply because of image normalization for most album art at certain sizes.
24
24
 
25
+ To use, simply search using Noawsalbumart("artist name", "album name") to return a url to a small album image.
26
+
27
+ <pre><code> Noawsalbumart.search("Kanye West", "Graduation") </code></pre>
28
+ returns
29
+ <pre><code> http://ecx.images-amazon.com/images/I/516is-FPgmL._AA160_.jpg </code></pre>
30
+ ![graduation](http://ecx.images-amazon.com/images/I/516is-FPgmL._AA160_.jpg)
31
+
32
+ If provided with nil or an empty string, the search will return "Album Art Not Found".
33
+
34
+ <pre><code> Noawsalbumart.search("", nil) </code></pre>
35
+ returns
36
+ <pre><code> "Album Art Not Found" </pre></code>
37
+
25
38
  ## Development
26
39
 
27
40
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module Noawsalbumart
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noawsalbumart
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenneth Liu