decibel_wrapper 0.0.3 → 0.0.4
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/decibel_wrapper/version.rb +1 -1
- data/lib/wrapper/resources/album.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWE5MzAzZWQzOGExN2I1MmU0Yzg4YWQ4MzA4MzhkNTZjNDg3ZjkwZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmNmNTdjZTdkMWUwNTU4MjBlMmFjZTY4ZTE2MGRiNzZkNDJmZDY3OA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2YzNTA4YTQ1YzE3OGI4MzI0MDNiNDBmOWE1OTBiZDYxYTcwYzk3NzYwNDgy
|
10
|
+
MzUwZDIzZWQ5YmEyNjMyODVmMmFmMDBkMmViNDliOWMyMzEwMzNhZmExM2Rk
|
11
|
+
NTM5YzA4ZmE3MzYxNzM3M2Q0OTFhMjBjZjUxOGJkZDQxMjA0ZTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDgyMWRlNTUyZTg4Yjc5NDYxNGFiZTM1YTNiMDNkM2Q1NDYzOWQxMGNjYWY1
|
14
|
+
Y2Y5NjY2MTM3ZWEzYzYwZjBkMDZkYmIwYzQ3ODExYjBjZWFhMTlmMzhlMDdh
|
15
|
+
Y2RhZWUwZjA2YWQzN2ZmNWFhODBmODZhZjdmY2Q4NTFiZTRkZTk=
|
@@ -6,12 +6,13 @@ class Decibel::Album
|
|
6
6
|
args.each do |k, v|
|
7
7
|
instance_variable_set("@#{k}", v) unless v.nil?
|
8
8
|
end
|
9
|
-
|
9
|
+
self.child_initializers
|
10
10
|
end
|
11
11
|
|
12
12
|
def child_initializers
|
13
13
|
self.identifiers_initialize if self.Identifiers
|
14
14
|
self.genres_initialize if self.Genres
|
15
|
+
self.tracks_initialize if self.Tracks
|
15
16
|
end
|
16
17
|
|
17
18
|
def identifiers_initialize
|
@@ -35,7 +36,7 @@ class Decibel::Album
|
|
35
36
|
self.Tracks.each do |i|
|
36
37
|
array << Decibel::Recording.new(i)
|
37
38
|
end
|
38
|
-
self.
|
39
|
+
self.Tracks = array
|
39
40
|
end
|
40
41
|
|
41
42
|
end
|