next-big-sound-lite 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/next-big-sound-lite.rb +2 -1
- data/next-big-sound-lite.gemspec +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new('next-big-sound-lite', '0.1.
|
6
|
+
Echoe.new('next-big-sound-lite', '0.1.3') do |p|
|
7
7
|
p.description = "Thin wrapper for the Next Big Sound API."
|
8
8
|
p.url = "http://github.com/rpbertp13/next-big-sound-lite"
|
9
9
|
p.author = "Roberto Thais"
|
data/lib/next-big-sound-lite.rb
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
require 'rest_client'
|
2
|
+
require 'json'
|
2
3
|
|
3
4
|
#for version 2.0 of the NBS API
|
4
5
|
module NBS
|
5
6
|
|
6
|
-
BASE = RestClient::Resource.new("http://#{const_defined? KEY ? KEY : 'key'}.api2.nextbigsound.com")
|
7
|
+
BASE = RestClient::Resource.new("http://#{const_defined? :KEY ? KEY : 'key'}.api2.nextbigsound.com")
|
7
8
|
|
8
9
|
class Artist
|
9
10
|
|
data/next-big-sound-lite.gemspec
CHANGED