diff --git a/README.rdoc b/README.rdoc index 1c6de48..2dc65b4 100644 --- a/README.rdoc +++ b/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 diff --git a/VERSION b/VERSION index 9325c3c..a2268e2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.0 \ No newline at end of file +0.3.1 \ No newline at end of file diff --git a/musicbrainz.gemspec b/musicbrainz.gemspec index d868c78..4ac42a0 100644 --- a/musicbrainz.gemspec +++ b/musicbrainz.gemspec @@ -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}]