discogs 1.1.0 → 1.1.1
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.txt +3 -3
- data/lib/discogs.rb +1 -1
- metadata +1 -1
data/README.txt
CHANGED
|
@@ -29,7 +29,7 @@ And a bin util
|
|
|
29
29
|
The first time discogs tries to make an api call, it will look for a YAML file '~/.discogs' or 'RAILS_ROOT/config/discogs.yml'.
|
|
30
30
|
If it doesn't exist, it will be created, and will need editing. Paste your discogs api key in place of 'CHANGE ME'.
|
|
31
31
|
|
|
32
|
-
artist =
|
|
32
|
+
artist = Discogs::Artist.new('Broken Social Scene')
|
|
33
33
|
puts "
|
|
34
34
|
Artist: #{artist.name}
|
|
35
35
|
Members: #{artist.members}
|
|
@@ -38,7 +38,7 @@ If it doesn't exist, it will be created, and will need editing. Paste your disc
|
|
|
38
38
|
Releases: #{artist.releases.map{|r| r.title }}
|
|
39
39
|
"
|
|
40
40
|
|
|
41
|
-
release =
|
|
41
|
+
release = Discogs::Release.new('188365')
|
|
42
42
|
puts "
|
|
43
43
|
Title: #{release.title}
|
|
44
44
|
Labels: #{release.labels}
|
|
@@ -53,7 +53,7 @@ If it doesn't exist, it will be created, and will need editing. Paste your disc
|
|
|
53
53
|
Extras: #{release.contributors.join(', ')}
|
|
54
54
|
"
|
|
55
55
|
|
|
56
|
-
label =
|
|
56
|
+
label = Discogs::Label.new(ARGV[0])
|
|
57
57
|
puts "
|
|
58
58
|
Name: #{label.name}
|
|
59
59
|
Images: #{label.images}
|
data/lib/discogs.rb
CHANGED