Package not found. Please check the package name and try again.
musicbrainz_wrapper 0.0.4 → 0.0.5
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.
- checksums.yaml +8 -8
- data/lib/musicbrainz_wrapper/version.rb +1 -1
- data/lib/wrapper/resources/recording.rb +1 -1
- data/lib/wrapper/wrapper.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YTk3ODcyNzkwMmVmNjFmZTYzZTIwNDdkNjRkNmY4ZTE4NzRjMWU0MQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NmQxZmJjYTAzNDYwM2NlM2FlYTQ3NWY2MzQ0ZDg3OTdlMTEzYmU3MQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
YmNmZDMwMDg4NmNmOGYxZDg3ZGFlMjcxYThmNDE2NDVhMDFkZWM4MzMwOTA1
|
|
10
|
+
MTRjY2Q4NDNkYWUxZDU4YTYyNDM2OGE4MGE1YjJlMzM1YzM3ZDNhN2M0N2Mw
|
|
11
|
+
NTAxN2NjZjFiNmY3ODZjODNmOGNiNWQxMTI2NWI4OTVlZTZhZmI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MWZmNzVjN2EzOTY3MjBlNTM1YjhjYzcwNDlkZjBmMDE5ZTIzMWViZjMxNTUx
|
|
14
|
+
YTNmMjdkYmE4NTVmNTg0OWI3MjllZDkzYWQzMDg5MTQyYzYwMmQ2MzA0MTVh
|
|
15
|
+
YjY1NGUwMzVkMmMwYTc3NTg4MGE0NjE2ZDQzNGNkY2JmM2ZlODI=
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
class Musicbrainz::Recording
|
|
2
2
|
|
|
3
|
-
attr_accessor :id, :title, :disambiguation, :score, :length, :video, :artist_credit, :releases, :tags, :relations, :recording, :work
|
|
3
|
+
attr_accessor :id, :title, :disambiguation, :score, :length, :video, :artist_credit, :releases, :tags, :relations, :recording, :work, :isrcs
|
|
4
4
|
|
|
5
5
|
def initialize args
|
|
6
6
|
args.each do |k, v|
|
data/lib/wrapper/wrapper.rb
CHANGED
|
@@ -217,6 +217,7 @@ class Musicbrainz::Wrapper
|
|
|
217
217
|
|
|
218
218
|
# Cover Art Archive
|
|
219
219
|
def cover_art_archive_query(id)
|
|
220
|
+
require 'open-uri'
|
|
220
221
|
query = "#{@@cover_art_archive_url}mbid-#{id}/index.json"
|
|
221
222
|
file = open(query).read() rescue nil
|
|
222
223
|
json = JSON.parse(file) rescue {}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: musicbrainz_wrapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tomallen400
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|