Skip to content

Commit

Permalink
[chore] change rhapsody references to napster
Browse files Browse the repository at this point in the history
  • Loading branch information
serv committed Jun 15, 2016
1 parent de18feb commit 576106d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ TODO: Add this link to the top when we change name of Google Forum
-->
# Napster Gem

A Ruby interface to the [Napster/Rhapsody API](https://developer.rhapsody.com/).
A Ruby interface to the [Napster API](https://developer.napster.com/).

## Installation

Expand All @@ -39,9 +39,9 @@ Ruby version should be 2.0 or greater.

### Setting up a client

A **client** prepares you to make calls to Napster/Rhapsody API.
A **client** prepares you to make calls to Napster API.
Here is an example code for setting up a client using
[implicit method](https://developer.rhapsody.com/api#authentication).
[implicit method](https://developer.napster.com/api#authentication).

``` ruby
require 'napster'
Expand Down Expand Up @@ -337,10 +337,8 @@ client.artists.top # returns top artists using v2.1

Napster gem uses RSpec and FactoryGirl.

Rhapsody gem uses RSpec and FactoryGirl.

1. Get the API key and API secret from
[Rhapsody Developers site](https://developer.rhapsody.com/).
[Napster Developers site](https://developer.napster.com/).

2. Create a file called `config.yml` in `spec` directory.

Expand All @@ -362,8 +360,7 @@ config_variables:

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rhapsody/napster.

Bug reports and pull requests are welcome on GitHub at https://github.com/napster/napster-ruby.

## License

Expand Down
2 changes: 1 addition & 1 deletion lib/napster/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Napster
# The Request class implements a request object used to
# call Napster API
class Request
HOST_URL = 'https://api.rhapsody.com'.freeze
HOST_URL = 'https://api.napster.com'.freeze

attr_accessor :faraday

Expand Down
2 changes: 1 addition & 1 deletion napster.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |spec|

spec.summary = 'A Ruby interface to the Napster API.'
spec.description = 'A Ruby interface to the Napster API.'
spec.homepage = 'https://developer.rhapsody.com/'
spec.homepage = 'https://developer.napster.com/'
spec.license = 'MIT'

# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
Expand Down

0 comments on commit 576106d

Please sign in to comment.