From 576106d6f2ddab5c61f1461573317790319752b9 Mon Sep 17 00:00:00 2001 From: Jason Kim Date: Wed, 15 Jun 2016 14:18:47 -0700 Subject: [PATCH] [chore] change rhapsody references to napster --- README.md | 13 +++++-------- lib/napster/request.rb | 2 +- napster.gemspec | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index cb4a884..5d89d9c 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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' @@ -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. @@ -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 diff --git a/lib/napster/request.rb b/lib/napster/request.rb index 050aec9..2641731 100644 --- a/lib/napster/request.rb +++ b/lib/napster/request.rb @@ -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 diff --git a/napster.gemspec b/napster.gemspec index bb88b02..a30822a 100644 --- a/napster.gemspec +++ b/napster.gemspec @@ -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