Fixed readme
This commit is contained in:
parent
4bb639d853
commit
ccba134aac
56
README.rdoc
56
README.rdoc
|
@ -7,9 +7,7 @@
|
|||
=== Usage
|
||||
|
||||
require 'musicbrainz'
|
||||
|
||||
@kasabian = MusicBrainzArtist.find('69b39eab-6577-46a4-a9f5-817839092033')
|
||||
|
||||
@kasabian = MusicBrainz::Artist.find('69b39eab-6577-46a4-a9f5-817839092033')
|
||||
@empire_tracks = @kasabian.release_groups[8].releases.first.tracks
|
||||
|
||||
=== Future
|
||||
|
@ -20,41 +18,41 @@ It should work all like ActiveRecord models.
|
|||
|
||||
MusicBrainzArtist
|
||||
|
||||
MusicBrainzArtist.find(mbid)
|
||||
MusicBrainzArtist.id
|
||||
MusicBrainzArtist.type
|
||||
MusicBrainzArtist.name
|
||||
MusicBrainzArtist.country
|
||||
MusicBrainzArtist.date_begin
|
||||
MusicBrainzArtist.date_end
|
||||
MusicBrainzArtist.release_groups
|
||||
@artist = MusicBrainz::Artist.find(mbid)
|
||||
@artist.id
|
||||
@artist.type
|
||||
@artist.name
|
||||
@artist.country
|
||||
@artist.date_begin
|
||||
@artist.date_end
|
||||
@artist.release_groups
|
||||
|
||||
MusicBrainzReleaseGroup
|
||||
|
||||
MusicBrainzReleaseGroup.find(mbid)
|
||||
MusicBrainzReleaseGroup.id
|
||||
MusicBrainzReleaseGroup.type
|
||||
MusicBrainzReleaseGroup.title
|
||||
MusicBrainzReleaseGroup.first_release_date
|
||||
MusicBrainzReleaseGroup.releases
|
||||
@release_group = MusicBrainz::ReleaseGroup.find(mbid)
|
||||
@release_group.id
|
||||
@release_group.type
|
||||
@release_group.title
|
||||
@release_group.first_release_date
|
||||
@release_group.releases
|
||||
|
||||
MusicBrainzRelease
|
||||
|
||||
MusicBrainzRelease.find(mbid)
|
||||
MusicBrainzRelease.id
|
||||
MusicBrainzRelease.title
|
||||
MusicBrainzRelease.status
|
||||
MusicBrainzRelease.date
|
||||
MusicBrainzRelease.country
|
||||
MusicBrainzRelease.tracks
|
||||
@release = MusicBrainz::Release.find(mbid)
|
||||
@release.id
|
||||
@release.title
|
||||
@release.status
|
||||
@release.date
|
||||
@release.country
|
||||
@release.tracks
|
||||
|
||||
MusicBrainzTrack
|
||||
|
||||
MusicBrainzTrack.find(mbid)
|
||||
MusicBrainzTrack.position
|
||||
MusicBrainzTrack.recording_id
|
||||
MusicBrainzTrack.title
|
||||
MusicBrainzTrack.length
|
||||
@track = MusicBrainz::Track.find(mbid)
|
||||
@track.position
|
||||
@track.recording_id
|
||||
@track.title
|
||||
@track.length
|
||||
|
||||
|
||||
=== Contributing
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = %q{musicbrainz}
|
||||
s.version = "0.3.0"
|
||||
s.version = "0.3.1"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = [%q{Gregory Eremin}]
|
||||
|
|
Loading…
Reference in New Issue