vagalume 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/vagalume.rb +1 -1
- data/spec/fixtures/vcr_cassettes/vagalume.yml +1 -1
- data/spec/fixtures/vcr_cassettes/vagalume_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/vagalume_song_not_found.yml +1 -1
- data/spec/fixtures/vcr_cassettes/vagalume_with_no_translation_available.yml +1 -1
- data/vagalume.gemspec +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: 89f6c276a9eab71f944cbafea1989b3baa7a7030
|
4
|
+
data.tar.gz: 7f3235959fa230eb2fedce9e421bc8ce4026cbe7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fcf20d75a2f77a561482237d982c459cc0538f9ae09cfd238646da00886e1f207e26307995814fbb6a3c43c4f95f41b4a4c4800ede170de0afb54e5f3375278
|
7
|
+
data.tar.gz: b9b7b1c22c5fd991a8223091714caa8a902a5c8888efc21e037d7febd6eef64591573515392d755b51bd60df9d029db11e586456b131e5920ffbd1cfd0c07163
|
data/Gemfile.lock
CHANGED
data/lib/vagalume.rb
CHANGED
@@ -12,7 +12,7 @@ require_relative "vagalume/status"
|
|
12
12
|
module Vagalume
|
13
13
|
extend self
|
14
14
|
|
15
|
-
BASE_URL = "
|
15
|
+
BASE_URL = "http://api.vagalume.com.br/search.php?"
|
16
16
|
|
17
17
|
def find(artist, song)
|
18
18
|
request_url = BASE_URL + "art=#{CGI.escape(artist)}&mus=#{CGI.escape(song)}"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: http://api.vagalume.com.br/search.php?art=Bruce%20Springsteen&mus=Ain%27t%20good%20enough%20for%20You
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
data/vagalume.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "vagalume"
|
7
7
|
spec.executables = ["vagalume"]
|
8
|
-
spec.version = "0.1.
|
8
|
+
spec.version = "0.1.8"
|
9
9
|
spec.authors = ["Brian Thomas Storti"]
|
10
10
|
spec.email = ["btstorti@gmail.com"]
|
11
11
|
spec.description = "Ruby interface for the Vagalume API"
|