rapgenius 1.0.3 → 1.0.4
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 +4 -4
- data/CHANGELOG.md +3 -2
- data/README.md +1 -1
- data/lib/rapgenius/artist.rb +0 -2
- data/lib/rapgenius/line.rb +1 -1
- data/lib/rapgenius/song.rb +0 -1
- data/lib/rapgenius/version.rb +1 -1
- data/spec/rapgenius/artist_spec.rb +0 -1
- data/spec/rapgenius/line_spec.rb +2 -2
- data/spec/rapgenius/song_spec.rb +0 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c71afe670cc43e7e1c0fbf1b4504e71ac1ec11c2
|
4
|
+
data.tar.gz: d378f0323e4913251404d7f5bc8ed2d38a6315fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 646954e3fe4018e2a68774669e975b748546ec0eb16b30ea0d0a0a99fd043040d85a1f3eb980328fb6e19087bcd8f06abab07eb9456c40fcdfa1e21c225c37ca
|
7
|
+
data.tar.gz: ae683ff90366e036b70ca2e99b8895a2f164c004774463b84cce1f27d50810cc7bbee0aae7efe40e94c6cee14914f38866cbeebab0e42b4e6e87d7d2123f0dc0
|
data/CHANGELOG.md
CHANGED
@@ -33,6 +33,7 @@ __v1.0.2__ (2nd February 2014)
|
|
33
33
|
* Defines a specific `RapGenius::NotFoundError` for when requests to the API
|
34
34
|
return a 404
|
35
35
|
|
36
|
-
__v1.0.
|
36
|
+
__v1.0.4__ (8th November 2014)
|
37
37
|
|
38
|
-
*
|
38
|
+
* Fix annotations, so they're combined into a string with a space between each
|
39
|
+
one
|
data/README.md
CHANGED
data/lib/rapgenius/artist.rb
CHANGED
data/lib/rapgenius/line.rb
CHANGED
data/lib/rapgenius/song.rb
CHANGED
data/lib/rapgenius/version.rb
CHANGED
@@ -7,7 +7,6 @@ module RapGenius
|
|
7
7
|
|
8
8
|
its(:url) { should eq "http://rapgenius.com/artists/Drake" }
|
9
9
|
its(:name) { should eq "Drake" }
|
10
|
-
its(:id) { should eq 130 }
|
11
10
|
its(:image) { should eq "http://images.rapgenius.com/2b3fa8326a5277fa31f2012a7b581e2e.500x319x11.gif" }
|
12
11
|
its(:description) { should include "Drake is part of a generation of new rappers" }
|
13
12
|
|
data/spec/rapgenius/line_spec.rb
CHANGED
@@ -3,10 +3,10 @@ require 'spec_helper'
|
|
3
3
|
module RapGenius
|
4
4
|
describe Line, vcr: { cassette_name: "line-2638695" } do
|
5
5
|
|
6
|
-
let(:line) { described_class.find(2638695) }
|
6
|
+
let(:line) { described_class.find("2638695") }
|
7
7
|
subject { line }
|
8
8
|
|
9
|
-
its(:id) { should eq 2638695 }
|
9
|
+
its(:id) { should eq "2638695" }
|
10
10
|
its(:song) { should be_a Song }
|
11
11
|
its(:lyric) { should eq "Versace, Versace, Medusa head on me like I'm 'luminati" }
|
12
12
|
its("explanations.first") { should include "Versace’s logo is the head of Medusa" }
|
data/spec/rapgenius/song_spec.rb
CHANGED
@@ -5,7 +5,6 @@ module RapGenius
|
|
5
5
|
context "given Migos's Versace", vcr: { cassette_name: "song-176872" } do
|
6
6
|
subject(:song) { described_class.find(176872) }
|
7
7
|
|
8
|
-
its(:id) { should eq 176872 }
|
9
8
|
its(:url) { should eq "http://rapgenius.com/Migos-versace-lyrics" }
|
10
9
|
its(:title) { should eq "Versace" }
|
11
10
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rapgenius
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Rogers
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-11-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.4.1
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: A gem for accessing lyrics and explanations on RapGenius.com
|