next-big-sound-lite 0.1.6 → 0.1.7

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.
data/README.rdoc CHANGED
@@ -8,7 +8,7 @@ First setup the gem to use your API key:
8
8
 
9
9
  NBS.api_key = 'your_key'
10
10
 
11
- The methods of this wrapper are organized in the same way as the subsections of the API docs. For example to call the resource 'view' on Artists you should call:
11
+ The methods of this wrapper are organized in the same way as the subsections of the API docs. For example to call the endpoint 'view' on Artists you should call:
12
12
 
13
13
  NBS::Artist.view(id)
14
14
 
@@ -18,9 +18,9 @@ Another example:
18
18
 
19
19
  NBS::Metric.profile(id)
20
20
 
21
- Would call the Profile resource defined under the Metrics subsection. And so on.
21
+ Would call the Profile endpoint defined under the Metrics subsection. And so on.
22
22
 
23
- The one gotcha is the rank resource on the Artists subsection. It expects a type and an array of ids. E.g.
23
+ The one gotcha is the rank endpoint on the Artists subsection. It expects a type and an array of ids. E.g.
24
24
 
25
25
  NBS::Artist.rank(type, [365, 654, 123])
26
26
 
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') do |p|
6
+ Echoe.new('next-big-sound-lite', '0.1.7') 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"
@@ -4,7 +4,6 @@ require 'json'
4
4
  #for version 2.0 of the NBS API
5
5
  module NBS
6
6
 
7
-
8
7
  def self.api_key=(key)
9
8
  @base = RestClient::Resource.new("http://#{key}.api2.nextbigsound.com")
10
9
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{next-big-sound-lite}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Roberto Thais"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roberto Thais